Yes you can but it seems to be platform specific:

interface Serial4/1/2
 no ip address
 no ip directed-broadcast
 no ip route-cache
 no ip mroute-cache
 loopback

C7500MIX#sh int ser 4/1/2
Serial4/1/2 is up, line protocol is up (looped)
  Hardware is cyBus Serial

  Dave

Dimitris Vassilopoulos wrote:
> 
> There is no way you can spoof a serial line to up/up state via
> configuration...
> 
> Here is what I did:
> 
> !
> interface Serial1
>  ip address 10.1.1.1 255.255.255.0
>  loopback
>  no keepalive
> !
> 
> Still...
> 
> R2#sh int ser 1
> Serial1 is down, line protocol is down
>   Hardware is PQUICC Serial
>   Internet address is 10.1.1.1/24
>   MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
>      reliability 255/255, txload 1/255, rxload 1/255
>   Encapsulation HDLC, crc 16, loopback set
>   Keepalive not set
>   Scramble enabled
>   Last input never, output never, output hang never
>   Last clearing of "show interface" counters never
>   Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
>   Queueing strategy: weighted fair
>   Output queue: 0/1000/64/0 (size/max total/threshold/drops)
>      Conversations  0/0/256 (active/max active/max total)
>      Reserved Conversations 0/0 (allocated/max allocated)
>   5 minute input rate 0 bits/sec, 0 packets/sec
>   5 minute output rate 0 bits/sec, 0 packets/sec
>      0 packets input, 0 bytes, 0 no buffer
>      Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
>      0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
>      0 packets output, 0 bytes, 0 underruns
>      0 output errors, 0 collisions, 33 interface resets
>      0 output buffer failures, 0 output buffers swapped out
>      0 carrier transitions
>   Cable attached: No cable
>   Hardware config: No cable; DTE;  DSR = DOWN   DTR = DOWN   RTS = DOWN
> CTS = DOWN   DCD = DOWN
> 
> If you haven't attached a cable, serial interface will always be
> down/down.
> 
> Only if you build a harware loopback interface and can cross the correct
> signals you can spoof the interface...
> 
> Only the Ethernet intarfaces can be spoofed by disabling the keepalives..
> 
> Dvass
-- 
David Madland
Sr. Network Engineer
CCIE# 2016
Qwest Communications Int. Inc.
[EMAIL PROTECTED]
612-664-3367

"Emotion should reflect reason not guide it"




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=32448&t=32410
--------------------------------------------------
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to