N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 152
Maintenance Commands
Introduction
The Maintenance commands are used for debugging purposes, enabling you to generate a technical support dump
of the critical state information in the switch, and to clear entries in the Forwarding Database and the Address
Resolution Protocol (ARP) and routing tables. These commands are available only from an administrator login.
Dump information contains internal switch state data that is written to flash memory on the switch after any one of
the following occurs:
The switch administrator forces a switch panic. The panic option causes the switch to dump state information
to flash memory, and then causes the switch to reboot.
The switch administrator enters the switch reset key combination (
Ctrl-Shift-6
) on a device that is
attached to the console port.
The switch detects a hardware or software problem that requires a reboot.
The following sections provide detailed information and commands.
System maintenance
The System Maintenance commands are reserved for use by NEC technical support. The options are used to
perform system debugging.
The following table describes the System Maintenance commands.
Table 180 System Maintenance commands
Command
Usage
debug debug-flags
Sets the flags that are used for debugging purposes by NEC technical support.
Command mode:
All except User EXEC
Forwarding Database maintenance
The Forwarding Database (FDB) Manipulation commands can be used to view information and to delete a MAC
address from the Forwarding Database or clear the entire Forwarding Database. This is helpful in identifying
problems associated with MAC address learning and packet forwarding decisions.
The following table describes the FDB Manipulation commands.
Table 181 FDB Manipulation commands
Command
Usage
show mac-address-table
address
<MAC address>
Displays a single database entry by its MAC address. You are prompted
to enter the MAC address of the device. Enter the MAC address using
one of the following:
xx:xx:xx:xx:xx:xx
format (for example:
08:00:20:12:34:56
)
xxxxxxxxxxxx format (for example:
080020123456
).
Command mode:
All
show mac-address-table port
<port number>
Displays all FDB entries for a particular port.
Command mode:
All
show mac-address-table vlan
<1-4095>
Displays all FDB entries on a single VLAN.
Command mode:
All
show mac-address-table
Displays all entries in the Forwarding Database.
Command mode:
All
clear mac-address-table
Clears the entire Forwarding Database from switch memory, then adds
the static entries to the Forwarding Database.
Command mode:
All except User EXEC