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

ios command for active connection

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
Silver

Re: ios command for active connection

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

Re: ios command for active connection

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

3 REPLIES
Silver

Re: ios command for active connection

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

Re: ios command for active connection

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

New Member

Re: ios command for active connection

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

112
Views
9
Helpful
3
Replies
CreatePlease to create content