This section describes the commands you use to view information about system features, components, and configurations.
show arp switch
This command displays the contents of the IP stack’s Address Resolution Protocol (ARP) table. The IP stack only learns ARP entries associated with the management interfaces -network or service ports. ARP entries associated with routing interfaces are not listed.
Format: show arp switch
Mode: Privileged EXEC
The display parameters for above command are:
IP Address: IP address of the management interface or another device on the management network.
MAC Address: Hardware MAC address of that device.
Interface: For a service port the output is <Management>. For a network port, the output is the <unit/slot/port> of the physical interface.
show eventlog
This command displays the event log, which contains error messages from the system. The event log is not cleared on a system reset. The <unit> is the switch identifier.
Format: show eventlog [<unit>]
Mode: Privileged EXEC
The display parameters for above command are:
File: The file in which the event originated.
Line: The line number of the event
Task Id: The task ID of the event.
Code: The event code.
Time: The time this event occurred.
Unit: The unit for the event.
NOTE: Event log information is retained across a switch reset.
show hardware
This command displays inventory information for the switch.
NOTE: The show version command and the show hardware command display the same information. In future releases of the software, the show hardware command will not be available. For a description of the command output, see the “show version” command.
Format: show hardware
Mode: Privileged EXEC
show inventory
This command displays the inventory information for the switch.
Format: show inventory
Mode: Privileged EXEC
The display parameters for above command are:
Switch Description: The text used to identify the product name of this switch.
Machine Type: The machine model as defined by the Vital Product Data.
Machine Model: The machine model as defined by the Vital Product Data.
Serial Number: The unique box serial number of this switch.
Part Number: Manufacturing part number.
Maintenance Level: Hardware changes that are significant to software.
Manufacturer: Manufacturer descriptor field.
Burned MAC Address: Universally assigned network address.
Software Version: The release.version.revision number of the code currently running on the switch.
CFPGA Version: The CFPGA version running on the switch.
Operating System: The operating system currently running on the switch.
Network Processing Device: The type of the processor microcode.
Additional Packages: The additional packages incorporated into the system.
Card Type: The card type present in the system.
Serial Number: The serial number of the card.
Part Number: The part number of the card.
CFPGA Version: The CFPGA version present on the system.
IO Cards:
Card Type: The card type, which is the IO card.
Serial Number: The serial number of the IO card.
Part Number: The part number of the IO card.
CFPGA Version: The CFPGA version of the IO card.
PSU Card Status:
First/Second PSU: Physically present or absent.
Card Type: The Card type of Power Supply Unit.
model number: The model number of Power supply unit.
output voltage: The output voltage of the Power Supply Unit in Volts.
output poe voltage: The PoE voltage in Volts.
output current: The output current in Amperes
psu card temperature: The PSU card temperature in degree Celsius.
psu card fan speed: The PSU fan speed in rotations per minute.
SFP Status:
Port No of the uplink port
SFP physically: Gives the physical presence or absence of the SFP.
serial number: The serial number of the SFP
product code: The product code of the SFP
vendor name: The vendor name of the SFP
laser type: The laser type of the SFP
wave length (nm): The wavelength of the laser in nanometer
distance (km): The permissible distance of laser in kilometer.
rx power (dBm): The receiving power in dBm.
tx power (dBm): The transmitting power in dBm.
bias current (mA): The bias current in milliAmperes.
supply voltage (volts): The supply voltage in Volts.
temperature (degree C): The temperature in degree Celsius
System Fan Status:
Fan Status: Physical status of Fan present or absent.
Over temperature status: Over temperature status of the fan.
System Temperature: System temperature in degree Celsius.
Fan 1 speed: 1st fan speed rotations per minute.
Fan 2 speed: 2nd fan speed rotations per minute.
Fan 3 speed: 3rd fan speed rotations per minute.
Fan 4 speed: 4th fan speed rotations per minute.
Fan 5 speed: 5th fan speed rotations per minute.
Fan 6 speed: 6th fan speed rotations per minute.
show psu
This command displays the information for power supply unit.
Format: show psu
Model: Privileged EXEC
The display parameters for the above command are:
PSU Card Status:
First/Second PSU: Physically present or absent.
Card Type: The card type of Power Supply Unit.
model number: The model number of Power Supply Unit.
output voltage: The output voltage of power supply unit in Volts.
output poe voltage: The PoE voltage in Volts.
output current: The output current in Amperes.
psu card temperature: The PSU card temperature in degree Celsius.
psu card fan speed: The PSU fan speed in rotations per minute.
show sfp
This command displays the information for SFP.
Format: show sfp
Mode: Privileged EXEC
The display parameter for the above commands are:
Port No of the uplink port.
SFP physically: Gives the physical presence or absence of the SFP.
serial number: The serial number of the SFP.
product code: The product code of the SFP.
vendor name: The vendor name of the SFP.
laser type: The Laser Type of the SFP.
wave length (nm): The wavelength of the laser in nanometers.
distance (km): The permissible distance of the laser in kilometers.
rx power (dBm): The receiving power in dBm
tx power (dBm): The transmitting power in dBm
bias current (mA): The bias current in milliAmperes
supply voltage (volts): The Supply Voltage in Volts
temperature (degrees C): The Temperature in degree Celsius
show fan
This command displays the information of the fan.
Format: show fan
Mode: Privileged EXEC
The display parameters for the above command are:
System Fan Status:
Fan Status: Physical status of Fan present or absent
Over temperature status: Over Temperature Status of the Fan
System Temperature: System Temperature in degree Celsius
Fan 1 speed: 1st fan speed rotations per minute
Fan 2 speed: 2nd fan speed rotations per minute
Fan 3 speed: 3rd fan speed rotations per minute
Fan 4 speed: 4th fan speed rotations per minute
Fan 5 speed: 5th fan speed rotations per minute
Fan 6 speed: 6th fan speed rotations per minute
show version
This command displays inventory information for the switch.
NOTE: The show version command will replace the show hardware command in future releases of the software.
Format: show version
Mode: Privileged EXEC
The display parameters for above command are:
Switch Description: Text used to identify the product name of this switch.
Machine Type: The machine model as defined by the Vital Product Data.
Machine Model: The machine model as defined by the Vital Product Data.
Serial Number: The unique box serial number for this switch.
Part Number: Manufacturing part number.
Maintenance Level: Hardware changes that are significant to software.
Manufacturer: Manufacturer descriptor field.
Burned in MAC Address: Universally assigned network address.
Software Version: The release.version.revision number of the code currently running on the switch.
CFPGA Version: The CFPGA version running on the switch.
Operating System: The operating system currently running on the switch.
Network Processing Device: The type of the processor microcode.
Additional Packages: The additional packages incorporated into this system.
Card Type: The card type present in the system
Serial Number: The serial number of the card
Part Number: The part number of the card
CFPGA Version: The CFPGA version present on the system
IO Cards :
Card Type: The card type, which is the IO card
Serial Number: The Serial number of the IO card
Part Number: The part number of the IO card
CFPGA Version: the CFPGA version of the IO card
show Interface
This command displays a summary of statistics for a specific interface or a count of all CPU traffic based upon the argument.
Format: show interface {<unit/slot/port> | switchport}
Mode: Privileged EXEC
The display parameters, when the argument is <unit/slot/port>, is as follows:
Packets Received Without Error: The total number of packets (including broadcast packets and multicast packets) received by the processor.
Packets Received With Error: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Transmitted Without Error:The total number of packets transmitted out of the interface.
Transmit Packets Errors: The number of outbound packets that could not be transmitted because of errors.
Collisions Frames: The best estimate of the total number of collisions on this Ethernet segment.
Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since the statistics for this port were last cleared.
The display parameters, when the argument is “switchport” is as follows:
Packets Received Without Error: The number of inbound packets that were error free.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Packets Received With Error: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Packets Transmitted Without Error: The total number of packets transmitted out of the interface.
Broadcast Packets Transmitted: The total number of packets that higher-level protocols requested to be transmitted to the Broadcast address, including those that were discarded or not sent.
Transmit Packet Errors: The number of outbound packets that could not be transmitted because of errors.
Address Entries Currently In Use: The total number of Forwarding Database Address Table entries now active on the switch, including learned and static entries.
VLAN Entries Currently In Use: The number of VLAN entries presently occupying the VLAN table.
Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since the statistics for this switch were last cleared.
show interface ethernet
This command displays detailed statistics for a specific interface or for all CPU traffic based upon the argument.
Format: show interface ethernet {<unit/slot/port> | switchport}
Mode: Privileged EXEC
The when you specify a value for <unit/slot/port>, the command displays the following information:
Packets Received
Total Packets Received (Octets): The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including Frame Check Sequence (FCS) octets). This object can be used as a reasonable estimate of Ethernet utilization. If greater precision is desired, the etherStatsPkts and etherStatsOctets objects should be sampled before and after a common interval. The result of this equation is the value Utilization which is the percent utilization of the Ethernet segment on a scale of 0 to 100 percent.
Packets Received 64 Octets: The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).
Packets Received 65-127 Octets: The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 128-255 Octets: The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 256-511 Octets: The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 512-1023 Octets: The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received 1024-1518 Octets: The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Received > 1518 Octets: The total number of packets received that were longer than 1518 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.
Packets RX and TX 64 Octets: The total number of packets (including bad packets) received and transmitted that were 64 octets in length (excluding framing bits but including FCS octets).
Packets RX and TX 65-127 Octets: The total number of packets (including bad packets) received and transmitted that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 128-255 Octets: The total number of packets (including bad packets) received and transmitted that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 256-511 Octets: The total number of packets (including bad packets) received and transmitted that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 512-1023 Octets: The total number of packets (including bad packets) received and transmitted that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1024-1518 Octets: The total number of packets (including bad packets) received and transmitted that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1519-1522 Octets: The total number of packets (including bad packets) received and transmitted that were between 1519 and 1522 octets in length inclusive (excluding framing bits but including FCS octets).
Packets RX and TX 1523-2047 Octets: The total number of packets received and transmitted that were between 1523 and 2047 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.
Packets RX and TX 2048-4095 Octets: The total number of packets received that were between 2048 and 4095 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.
Packets RX and TX 4096-9216 Octets: The total number of packets received that were between 4096 and 9216 octets in length inclusive (excluding framing bits, but including FCS octets) and were otherwise well formed.
Packets Received Successfully
Total Packets Received Without Error: The total number of packets received that were without errors.
Unicast Packets Received: The number of subnetwork-unicast packets delivered to a higher-layer protocol.
Multicast Packets Received: The total number of good packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.
Broadcast Packets Received: The total number of good packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Receive Packets Discarded: The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffere space.
Packets Received with MAC Errors
Total Packets Received with MAC Errors: The total number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
Jabbers Received: The total number of packets received that were longer than 1518 octets (excluding framing bits, but including FCS octets), and had either a bad Frame Check Sequence (FCS) with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error). Note that this definition of jabber is different than the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These documents define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms.
Fragments/Undersize Received: The total number of packets received that were less than 64 octets in length (excluding framing bits but including FCS octets).
Alignment Errors: The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with a non-integral number of octets.
Rx FCS Errors: The total number of packets received that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with an integral number of octets.
Overruns: The total number of frames discarded as this port was overloaded with incoming packets, and could not keep up with the inflow.
Mtu Exceed Received: The number of inbound packets which exceed the configured MTU size on the port.
Received Packets Not Forwarded
Total Received Packets Not Forwarded: A count of valid frames received which were discarded (in other words, filtered) by the forwarding process.
Local Traffic Frames: The total number of frames dropped in the forwarding process because the destination address was located off of this port.
802.3x Pause Frames Received: A count of MAC Control frames received on this interface with an opcode indicating the PAUSE operation. This counter does not increment when the interface is operating in half-duplex mode.
Unacceptable Frame Type: The number of frames discarded from this port due to being an unacceptable frame type.
Multicast Tree Viable Discards: The number of frames discarded when a lookup in the multicast tree for a VLAN occurs while that tree is being modified.
Reserved Address Discards: The number of frames discarded that are destined to an IEEE 802.1 reserved address and are not supported by the system.
Broadcast Storm Recovery: The number of frames discarded that are destined for FF:FF:FF:FF:FF:FF when Broadcast Storm Recovery is enabled.
CFI Discards: The number of frames discarded that have CFI bit set and the addresses in RIF are in non-canonical format.
Upstream Threshold: The number of frames discarded due to lack of cell descriptors available for that packet's priority level.
Packets Transmitted Octets
Total Packets Transmitted (Octets): The total number of octets of data (including those in bad packets) received on the network (excluding framing bits but including FCS octets). This object can be used as a reasonable estimate of Ethernet utilization. If greater precision is desired, the etherStatsPkts and etherStatsOctets objects should be sampled before and after a common interval.
Packets Transmitted 64 Octets: The total number of packets (including bad packets) received that were 64 octets in length (excluding framing bits but including FCS octets).
Packets Transmitted 65-127 Octets: The total number of packets (including bad packets) received that were between 65 and 127 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 128-255 Octets: The total number of packets (including bad packets) received that were between 128 and 255 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 256-511 Octets: The total number of packets (including bad packets) received that were between 256 and 511 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 512-1023 Octets: The total number of packets (including bad packets) received that were between 512 and 1023 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted 1024-1518 Octets: The total number of packets (including bad packets) received that were between 1024 and 1518 octets in length inclusive (excluding framing bits but including FCS octets).
Packets Transmitted > 1518 Octets: The total number of packets transmitted that were longer than 1518 octets (excluding framing bits, but including FCS octets) and were otherwise well formed.
Max Frame Size: The maximum size of the Info (non-MAC) field that this port will receive or transmit.
Packets Transmitted Successfully
Total Packets Transmitted Successfully: The number of frames that have been transmitted by this port to its segment.
Unicast Packets Transmitted: The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.
Multicast Packets Transmitted: The total number of packets that higherlevel protocols requested be transmitted to a Multicast address, including those that were discarded or not sent.
Broadcast Packets Transmitted: The total number of packets that higherlevel protocols requested be transmitted to the Broadcast address, including those that were discarded or not sent.
Transmit Packets Discarded: The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Transmit Errors
Total Transmit Errors: The sum of Single, Multiple, and Excessive Collisions.
Tx FCS Errors: The total number of packets transmitted that had a length (excluding framing bits, but including FCS octets) of between 64 and 1518 octets, inclusive, but had a bad Frame Check Sequence (FCS) with an integral number of octets ?
Tx Oversized: The total number of frames that exceeded the max permitted frame size. This counter has a max increment rate of 815 counts per sec. at 10 Mb/s.
Oversized: The total number of frames that exceeded the max permitted frame size. This counter has a max increment rate of 815 counts per sec. at 10 Mb/s.
Underrun Errors: The total number of frames discarded because the transmit FIFO buffer became empty during frame transmission.
Transmit Discards
Total Transmit Packets Discarded: The sum of single collision frames discarded, multiple collision frames discarded, and excessive frames discarded.
Single Collision Frames: A count of the number of successfully transmitted frames on a particular interface for which transmission is inhibited by exactly one collision.
Multiple Collision Frames: A count of the number of successfully transmitted frames on a particular interface for which transmission is inhibited by more than one collision.
Excessive Collisions: A count of frames for which transmission on a particular interface fails due to excessive collisions.
Port Membership Discards: The number of frames discarded on egress for this port due to egress filtering being enabled.
Protocol Statistics
802.3x Pause Frames Transmitted: A count of MAC Control frames transmitted on this interface with an opcode indicating the PAUSE operation. This counter does not increment when the interface is operating in half-duplex mode.
GVRP PDUs Received: The count of GVRP PDUs received in the GARP layer.
GVRP PDUs Transmitted: The count of GVRP PDUs transmitted from the GARP layer.
GVRP Failed Registrations: The number of times attempted GVRP registrations could not be completed.
GMRP PDUs Received: The count of GMRP PDU's received in the GARP layer.
GMRP PDUs Transmitted: The count of GMRP PDU's transmitted from the GARP layer.
GMRP Failed Registrations: The number of times attempted GMRP registrations could not be completed.
STP BPDUs Transmitted: Spanning Tree Protocol Bridge Protocol Data Units sent.
STP BPDUs Received: Spanning Tree Protocol Bridge Protocol Data Units received.
RST BPDUs Transmitted: Rapid Spanning Tree Protocol Bridge Protocol Data Units sent.
RSTP BPDUs Received: Rapid Spanning Tree Protocol Bridge Protocol Data Units received.
MSTP BPDUs Transmitted: Multiple Spanning Tree Protocol Bridge Protocol Data Units sent.
MSTP BPDUs Received: Multiple Spanning Tree Protocol Bridge Protocol Data Units received
Dot1x Statistics
EAPOL Frames Received: The number of valid EAPOL frames of any type that have been received by this authenticator.
EAPOL Frames Transmitted: The number of EAPOL frames of any type that have been transmitted by this authenticator.
Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds since the statistics for this port were last cleared.
If you use the switchport keyword, the following information appears:
Octets Received: The total number of octets of data received by the processor (excluding framing bits but including FCS octets).
Total Packets Received Without Error: The total number of packets (including broadcast packets and multicast packets) received by the processor.
Unicast Packets Received: The number of subnetwork-unicast packets delivered to a higherlayer protocol.
Multicast Packets Received: The total number of packets received that were directed to a multicast address. Note that this number does not include packets directed to the broadcast address.
Broadcast Packets Received: The total number of packets received that were directed to the broadcast address. Note that this does not include multicast packets.
Receive Packets Discarded: The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. A possible reason for discarding a packet could be to free up buffer space.
Octets Transmitted: The total number of octets transmitted out of the interface, including framing characters.
Packets Transmitted without Errors: The total number of packets transmitted out of the interface.
Unicast Packets Transmitted: The total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.
Multicast Packets Transmitted: The total number of packets that higher-level protocols requested be transmitted to a Multicast address, including those that were discarded or not sent.
Broadcast Packets Transmitted: The total number of packets that higher-level protocols requested be transmitted to the Broadcast address, including those that were discarded or not sent.
Most Address Entries Ever Used: The highest number of Forwarding Database Address Table entries that have been learned by this switch since the most recent reboot.
Address Entries currently in Use: The number of Learned and static entries in the Forwarding Database Address Table for this switch.
Maximum VLAN Entries: The maximum number of Virtual LANs (VLANs) allowed on this switch.
Most VLAN Entries Ever Used: The largest number of VLANs that have been active on this switch since the last reboot.
Static VLAN Entries: The number of presently active VLAN entries on this switch that have been created statically.
Dynamic VLAN Entries: The number of presently active VLAN entries on this switch that have been created by GVRP registration.
VLAN Deletes: The number of VLANs on this switch that have been created and then deleted since the last reboot.
Time Since Counters Last Cleared: The elapsed time, in days, hours, minutes, and seconds, since the statistics for this switch were last cleared.
show mac-addr-table
This command displays the forwarding database entries. These entries are used by the transparent bridging function to determine how to forward a received frame. Enter all or no parameter to display the entire table. Enter a MAC Address and VLAN ID to display the table entry for the requested MAC address on the specified VLAN. Enter the count parameter to view summary information about the forwarding database table. Use the interface <unit/slot/port> parameter to view MAC addresses on a specific interface. Use the vlan <vlan_id> parameter to display information about MAC addresses on a specified VLAN.
Format: show mac-addr-table [{<macaddr> <vlan_id> | all | count | interface <unit/slot/port> | vlan <vlan_id>}]
Mode: Privileged EXEC
The following information displays if you do not enter a parameter, the keyword all, or the MAC address and VLAN ID. If you enter vlan <vlan_id>, only the Mac Address, Interface, and Status fields appear.
Mac Address: A unicast MAC address for which the switch has forwarding and or filtering information. The format is 6 or 8 two-digit hexadecimal numbers that are sep arated by colons, for example 01:23:45:67:89:AB. In an IVL system the MAC address will be displayed as 8 bytes.
Interface: The port through which this address was learned.
Interface Index: This object indicates the ifIndex of the interface table entry associated with this port.
Status: The status of this entry. The meanings of the values are:
Static:The value of the corresponding instance was added by the system or a user when a static MAC filter was defined. It cannot be relearned.
Learned: The value of the corresponding instance was learned by observing the source MAC addresses of incoming traffic, and is currently in use.
Management:The value of the corresponding instance (system MAC address) is also the value of an existing instance of dot1dStaticAddress. It is identified with interface 1/0/1. and is currently used when enabling VLANs for routing.
Self:The value of the corresponding instance is the address of one of the switch’s physical interfaces (the system’s own MAC address).
GMRP Learned:The value of the corresponding was learned via GMRP and applies to Multicast.
Other:The value of the corresponding instance does not fall into one of the other categories.
If you enter the interface <unit/slot/port> parameter, in addition to the MAC Address and Status fields, the following field appears:
Dynamic Address count: Number of MAC addresses in the forwarding database that were automatically learned.
Static Address (User-defined) count: Number of MAC addresses in the forwarding database that were manually entered by a user.
Total MAC Addresses in use: Number of MAC addresses currently in the forwarding database.
Total MAC Addresses available: Number of MAC addresses the forwarding database can handle.
clear mac-addr-table static
This command clears the static and sticky mac-addresses for a specified unit/slot/port, for all the ports, or for the entire switch based upon the argument.
This command clears the dynamic and sticky mac-addresses for a specified unit/slot/port, for all the ports, or for the entire switch based upon the argument.
This command provides the percentage utilization of the CPU by different tasks.
NOTE: It is not necessarily the traffic to the CPU, but different tasks that keep the CPU busy. This command is available in VxWorks and Linux 2.6 only.
Format: show process cpu
Mode: Privileged EXEC
show running-config
Use this command to display or capture the current setting of different protocol packages supported on the switch. This command displays or captures commands with settings and configurations that differ from the default value. To display or capture the commands with settings and configurations that are equal to the default value, include the [all] option.
NOTE: Show running-config does not display the User Password, even if you set one different from the default.
The output is displayed in script format, which can be used to configure another switch with the same configuration. If the optional <scriptname> is provided with a file name extension of “.scr”, the output is redirected to a script file.
NOTE 1: If you issue the show running-config command from a serial connection, access to the switch through remote connections (such as Telnet) is suspended while the output is being generated and displayed.
NOTE 2: If you use a text-based configuration file, the show running-config command will only display configured physical interfaces, i.e. if any interface only contains the default configuration, that interface will be skipped from the show running-config command output. This is true for any configuration mode that contains nothing but default configuration. That is, the command to enter a particular config mode, followed immediately by its exit command, are both omitted from the show running-config command output (and hence from the startup-config file when the system configuration is saved.)
This command captures the current settings of OSPFv2 trapflag status:
If all the flags are enabled, then the command displays trapflags all.
If all the flags in a particular group are enabled, then the command displays trapflags <group name> all
If some, but not all, of the flags in that group are enabled, the command displays trapflags <groupname> <flag-name>.
Format: show running-config [all | <scriptname> / interface <unit/slot/port>]
Mode: Privileged EXEC
show sysinfo
This command displays switch information.
Format: show sysinfo
Mode: Privileged EXEC
The display parameters for above command are:
Switch Description: Text used to identify this switch.
System Description: Text used to identify this switch.
System Name: Name used to identify the switch.The factory default is blank. To configure the system name, see SNMP Commands.
System Location: Text used to identify the location of the switch. The factory default is blank. To configure the system location, see SNMP Commands.
System Contact: Text used to identify a contact person for this switch. The factory default is blank. To configure the system location, see SNMP Commands.
System ObjectID: The base object ID for the switch’s enterprise MIB.
System Up Time: The time in days, hours and minutes since the last switch reboot. MIBs Supported A list of MIBs supported by this agent.
MIBs Supported: A list of MIBs supported by this agent
show tech-support
Use the show tech-support command to display system and configuration information when you contact technical support. The output of the show tech-support command combines the output of the following commands:
show version
show sysinfo
show port all
show logging
show event log
show logging buffered
show trap log
show running config
Format: show tech-support
Mode: Privileged EXEC
length value
Use this command to set the pagination length to value number of lines for the sessions specified by configuring on different Line Config modes (telnet/ssh/console) and is persistent.
Default: 24
Format: length <value>
Mode: Line Config
no length value
Use this command to set the pagination length to the default value number of lines.
Format: no length <value>
Mode: Line Config
terminal length
Use this command to set the pagination length to value number of lines for the current session. This command configuration takes an immediate effect on the current session and is nonpersistent.
Default: 24 lines per page
Format: terminal length <value>
Mode: Privileged EXEC
no terminal length
Use this command to set the value to the length value configured on Line Config mode depending on the type of session.
Format: no terminal length <value>
Mode: Privileged EXEC
show terminal length
Use this command to display all the configured terminal length values.
Format: show terminal length
Mode: Privileged EXEC
show flash
This command displays “ROM and RAM” information like free and total ROM memory, files present in software partition, free and total RAM memory.
Format: show flash
Mode: Privileged EXEC
show bootvar
This command displays the images of currently available on the flash.
Format: show bootvar
Mode: Privileged EXEC
The display parameters for above command are:
unit: The unit number of the switch
active: The image present in tejasActive partition of the flash
backup: The image present in the tejasPrevious partition of the flash
current-active: The image present in the tejas partition of the flash. This is the currently running image on the switch.
Next-active: The image present in the tejasNext partition of the flash.