Maintenance Commands

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

Displays a single database entry by its MAC address. You are prompted to

address {<MAC address>}

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 except User EXEC

 

 

show mac-address-table port

Displays all FDB entries for a particular port.

{<port number>}

Command mode: All except User EXEC

 

 

 

show mac-address-table vlan

Displays all FDB entries on a single VLAN.

{<1-4095>}

Command mode: All except User EXEC

 

 

 

show mac-address-table

Displays all entries in the Forwarding Database.

 

Command mode: All except User EXEC

 

 

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

Debugging options

The Miscellaneous Debug commands display trace buffer information about events that can be helpful in understanding switch operation. You can view the following information using Debug commands:

Events traced by the management processor (MP)

Events traced to a buffer area when a reset occurs

If the switch resets for any reason, the management processor (MP) trace buffer is saved into the snap trace buffer area. The output from these commands can be interpreted by HP technical support.

The following table describes the Miscellaneous Debug commands: Table 182 Miscellaneous Debug commands

Command

Usage

 

 

debug mp-trace

Displays the management processor trace buffer. Header information similar to the

 

following is shown:

 

MP trace buffer at 13:28:15 Fri May 25, 2002; mask: 0x2ffdf748

 

The buffer information is displayed after the header.

 

Command mode: All except User EXEC

 

 

193

Page 193
Image 193
HP 445942-001 manual Forwarding Database maintenance, Debugging options, Address MAC address, 4095