Link to home
Start Free TrialLog in
Avatar of AymanDasa
AymanDasaFlag for Saudi Arabia

asked on

esy cisco CLI for router ? unplugged cable ?

I need for testing only to make one fast Ethernet interface up even I unplugged the cable from that interface

so what is the command to do that ?


Avatar of nasirsh
nasirsh
Flag of Pakistan image

do the following

conf t
int fast ethernet 0/0
no shut
ip address 192.168.0.1 255.255.255.0

thats it
ASKER CERTIFIED SOLUTION
Avatar of that1guy15
that1guy15
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AymanDasa

ASKER

no that is not it

because if you remove the cable

FastEthernet0/1 is up, line protocol is down

so still is down ?

you cannot ping ?

This is not possible because line protocol checks for connectivity. It will go down then you unplugg the cable
If you need an interface that never goes down, use a loopback interface instead.

int loopback0
ip address x.x.x.x 255.255.255.0
THANKS that1guy15

Int f0/0
No keepalives



FastEthernet0/0 is up, line protocol is up
No problem.

This is only recomended for testing only. As jfred said if you need an interface that never goes down in production then use a loopback

Int loopback1
No shut