Ethernet Switches & Routers

Reply
New Member
Posts: 1
Registered: ‎05-30-2017

interfaces not used information

Hi Is there a command to show alle interfaces not used for more than 9 weeks?

Cisco has a way to show this with:

show int | i proto.notconnect|proto.administratively down|Last in. [6-9]w|Last in.[0-9][0-9]w|[0-9]y|disabled|Last input never, output never, output hang never

Port info

 

  Last input never, output never, output hang never

FastEthernet0/1 is down, line protocol is down (notconnect)

  Last input 10w5d, output 10w5d, output hang never

FastEthernet0/4 is down, line protocol is down (notconnect)

  Last input 10w5d, output 10w5d, output hang never

FastEthernet0/7 is down, line protocol is down (notconnect)

  Last input 8w1d, output 8w1d, output hang never

  Last input 17w1d, output 00:00:00, output hang never

FastEthernet0/12 is down, line protocol is down (notconnect)

FastEthernet0/16 is down, line protocol is down (notconnect)

FastEthernet0/18 is down, line protocol is down (notconnect)

  Last input 10w5d, output 10w5d, output hang never

FastEthernet0/23 is down, line protocol is down (notconnect)

  Last input never, output never, output hang never

 

 

 

 

Brocade Moderator
Posts: 226
Registered: ‎06-30-2010

Re: interfaces not used information

[ Edited ]

Hi,

 

The Cisco command you included below is just the show interface command followed by regular expression

 

show interface | include proto.notconnect|proto.administratively down|Last in. [6-9]w|Last in.[0-9][0-9]w|[0-9]y|disabled|Last input never, output never, output hang never

 

Regular expressions are also supported on Brocade switch commands it is simply a matter of working out the correct regex to return the values you require

 

icx6450#show interfaces
GigabitEthernet1/1/1 is down, line protocol is down
Port down for 50 day(s) 1 minute(s) 38 second(s)
Hardware is GigabitEthernet, address is 748e.f883.28a0 (bia 748e.f883.28a0)
Configured speed auto, actual unknown, configured duplex fdx, actual unknown
Configured mdi mode AUTO, actual unknown
Member of L2 VLAN ID 1, port is untagged, port state is BLOCKING
BPDU guard is Disabled, ROOT protect is Disabled, Designated protect is Disabled
Link Error Dampening is Disabled
STP configured to ON, priority is level0, mac-learning is enabled
Flow Control is config enabled, oper disabled, negotiation disabled
Mirror disabled, Monitor disabled
Mac-notification is disabled
Not member of any active trunks
Not member of any configured trunks
No port name
Inter-Packet Gap (IPG) is 96 bit times
MTU 1500 bytes, encapsulation ethernet
300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts, 0 multicasts, 0 unicasts
0 input errors, 0 CRC, 0 frame, 0 ignored
0 runts, 0 giants
0 packets output, 0 bytes, 0 underruns
Transmitted 0 broadcasts, 0 multicasts, 0 unicasts
0 output errors, 0 collisions
Relay Agent Information option: Disabled

Egress queues:
Queue counters Queued packets Dropped Packets
0 0 0
1 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0

<TRUNCATED>

 

icx6450#show interfaces | include ?
Regular expression string Pattern to match against output lines

 

Regex has many options and reference guide can be found here: http://www.regular-expressions.info/reference.html

 

Regards

Mick


If my response has solved your query please click the "Accept as Solution" button.

Any and all information provided by me is not reviewed, approved or endorsed by Brocade and is provided solely as a convenience for Brocade customers.

All systems and all networks are different and unique. If you have a service affecting network problem, please open a TAC service request for service through Brocade, or through your OEM equipment provider.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.