cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
9
Helpful
3
Replies

ios command for active connection

eliaspaulos
Level 1
Level 1

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

2 Accepted Solutions

Accepted Solutions

kerek
Level 4
Level 4

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

View solution in original post

PAUL TRIVINO
Level 3
Level 3

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

View solution in original post

3 Replies 3

kerek
Level 4
Level 4

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

PAUL TRIVINO
Level 3
Level 3

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

this is very power full command ever seen...thank you....thank you so much!!!!!

Review Cisco Networking products for a $25 gift card