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 ?


AymanDasaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

nasirshCommented:
do the following

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

thats it
0
that1guy15Commented:
Disable keepalives and your interface will neves go down.

Int f0/0
No keepalives


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AymanDasaAuthor Commented:
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 ?

0
Do You Have a Trusted Wireless Environment?

A Trusted Wireless Environment is a framework for building a complete Wi-Fi network that is fast, easy to manage, and secure.

nasirshCommented:
This is not possible because line protocol checks for connectivity. It will go down then you unplugg the cable
0
JFrederick29Commented:
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
0
AymanDasaAuthor Commented:
THANKS that1guy15

Int f0/0
No keepalives



FastEthernet0/0 is up, line protocol is up
0
that1guy15Commented:
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
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Hardware Firewalls

From novice to tech pro — start learning today.