This article provides a reference to some commonly-used CLI commands useful in troubleshooting systems.
Command Line Interface (CLI) Manual
Privileged Exec mode
Many commands must be performed from Privileged Exec mode which is entered by typing enable from the main command prompt. Privileged Exec mode is identified by a “#” included in the command line prompt.
AVB diagnostic commands
** Must be in Privileged Exec mode
show msrp stream summary
Returns a list of active msrp streams including stream ID, source, and destination MAC addresses.
show msrp stream summary | count Reg
This command counts the number of lines returned by the show msrp stream summary command and indirectly returns the number of AVB streams.
show msrp stream detail
Returns a list of active msrp streams with additional details including failure codes, talker ports, TSpec, and traffic class.
show msrp reservation summary
Returns a list of all active msrp stream reservations and any associated failure codes.
show msrp reservation <slot/port> detail
show msrp reservation <slot/port> summary
Returns a list of msrp reservations associated with a specific port where <slot/port> represents the interface. For example 0/1 is used to return information associated with port 1.
show msrp interface summary
Returns a list of interfaces containing the mode and class A/B boundary port information.
show msrp interface bandwidth
Returns a list of interfaces containing the bandwidth class reservations and bandwidth usage.
show mrp interface summary
Returns a list of interfaces and the values of the join, leave, and leaveAll timers.
show dot1as interface summary
Returns a list of interfaces that includes the current 802.1as values including 802.1as-capable and Pdelay values.
show dot1as summary
Returns 802.1as values such as clock priority, grandmaster MAC address, and steps to best clock.
Other useful commands
show ip management
Displays the IP configuration associated with the management interface.
Displays the IP configuration associated with the out-of-band service port.
Display the current running configuration
This will clear the current configuration and return the switch to factory defaults
Display the model, version, and MAC address of the switch.
Display the OS versions currently stored in the two available images along with which image is active and which one will be active on the next reboot.
Helps provide valid commands or attributes.