02-28-2023 07:04 AM
Is there a way in nx-os where I can view all interface input and output rate, so that I dont have to go each interface & check ?
02-28-2023 07:12 AM
try below
#sh inter | inc rate
02-28-2023 09:14 AM
02-28-2023 04:55 PM - edited 02-28-2023 04:56 PM
True, but as MHM added, possibly you just need to further refine your regex.
(PT) e.g.:
Router#sh int | include (is down)|(rate)
GigabitEthernet0/0/0 is administratively down, line protocol is down (disabled)
Queueing strategy: fifo
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
GigabitEthernet0/0/1 is administratively down, line protocol is down (disabled)
Queueing strategy: fifo
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
GigabitEthernet0/0/2 is administratively down, line protocol is down (disabled)
Queueing strategy: fifo
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
Vlan1 is administratively down, line protocol is down
Queueing strategy: fifo
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
Cisco's regex.
02-28-2023 07:36 AM
I try
show interface | include input , output, and rate
all show the rate but the problem not show interface for each line.
if you dont want interface number then | inlcude is ok if not
please mention that and I will make deep dive.
thanks
02-28-2023 05:36 PM
Capture the output show interface and filter using Grep tool
03-01-2023 02:51 PM
show interface e4/1 , e4/2 | i Ethernet4|rate <<- I found this command try it
thanks
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: