Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

To see all up/down ports in a switch

Dear friends,

Is it possible to get an output of all ports whose interface status is up and line protocol is down.

If i say sh ip int brief | inc down, it also includes down/down status.

I only want up/down status of ports.

Thanks a lot

Gautam

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: To see all up/down ports in a switch

Here you go: sh ip int | i up, line protocol is down

Produces the following output,

Router#sh ip int | i up, line protocol is down
FastEthernet0/0 is up, line protocol is down
FastEthernet0/1 is up, line protocol is down
FastEthernet0/2 is up, line protocol is down
FastEthernet0/3 is up, line protocol is down
FastEthernet0/4 is up, line protocol is down
FastEthernet0/5 is up, line protocol is down
FastEthernet0/6 is up, line protocol is down
FastEthernet0/7 is up, line protocol is down
FastEthernet0/8 is up, line protocol is down
FastEthernet0/9 is up, line protocol is down
FastEthernet0/10 is up, line protocol is down
FastEthernet0/11 is up, line protocol is down
FastEthernet0/12 is up, line protocol is down
FastEthernet0/13 is up, line protocol is down
FastEthernet0/14 is up, line protocol is down
FastEthernet0/15 is up, line protocol is down

2 REPLIES
New Member

Re: To see all up/down ports in a switch

Here you go: sh ip int | i up, line protocol is down

Produces the following output,

Router#sh ip int | i up, line protocol is down
FastEthernet0/0 is up, line protocol is down
FastEthernet0/1 is up, line protocol is down
FastEthernet0/2 is up, line protocol is down
FastEthernet0/3 is up, line protocol is down
FastEthernet0/4 is up, line protocol is down
FastEthernet0/5 is up, line protocol is down
FastEthernet0/6 is up, line protocol is down
FastEthernet0/7 is up, line protocol is down
FastEthernet0/8 is up, line protocol is down
FastEthernet0/9 is up, line protocol is down
FastEthernet0/10 is up, line protocol is down
FastEthernet0/11 is up, line protocol is down
FastEthernet0/12 is up, line protocol is down
FastEthernet0/13 is up, line protocol is down
FastEthernet0/14 is up, line protocol is down
FastEthernet0/15 is up, line protocol is down

New Member

Re: To see all up/down ports in a switch

Thanks a lot Justin.

351
Views
0
Helpful
2
Replies
CreatePlease login to create content