05-27-2008 12:52 PM - edited 03-03-2019 10:07 PM
is there any IOS command to count active interface connection. like to know how many t1 connection I have on my router. I'm trying to write a script. instead of showing all connection(show int desc) just
let say have 20 active connection on routers.thanks
Solved! Go to Solution.
05-29-2008 06:14 AM
Hi,
Normally u can filter the output of the issued show command using |.
For instance to show the ports are up.
show ip int brief | inc up
Hope it helps, rate if does,
Krisztian
05-29-2008 04:17 PM
Or, try this - "sh int summary" where "*" means the interface is UP:
NETFTLWRT01#sh int summ | incl \* | excl rfac
* FastEthernet0/0 0 0 0 0 1000 2 1000 2 0
* FastEthernet0/0.100 - - - - - - - - -
* FastEthernet0/0.200 - - - - - - - - -
* Serial0/0 0 0 0 0 2000 4 2000 3 0
NETFTLWRT01#
Paul
05-29-2008 06:14 AM
Hi,
Normally u can filter the output of the issued show command using |.
For instance to show the ports are up.
show ip int brief | inc up
Hope it helps, rate if does,
Krisztian
05-29-2008 04:17 PM
Or, try this - "sh int summary" where "*" means the interface is UP:
NETFTLWRT01#sh int summ | incl \* | excl rfac
* FastEthernet0/0 0 0 0 0 1000 2 1000 2 0
* FastEthernet0/0.100 - - - - - - - - -
* FastEthernet0/0.200 - - - - - - - - -
* Serial0/0 0 0 0 0 2000 4 2000 3 0
NETFTLWRT01#
Paul
05-30-2008 05:51 AM
this is very power full command ever seen...thank you....thank you so much!!!!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide