3com 3.01.01 User Manual

Page of 356
Managing the MAC Address Table
311
Execute the debugging command in user view to debug MAC address table 
configuration.
Example: Configuring 
MAC Address Table 
Management 
The user logs in to the switch through the console port to configure the address 
table management. Set the address aging time to 500s and add a static address 
00e0-fc35-dc71 to GigabitEthernet1/1/2 in vlan1.
Figure 2   Typical Configuration of Address Table Management
Enter the system view of the switch. 
<SW8800>system-view
Add a MAC address (specify the native VLAN, port and state).
[SW8800]mac-address static 00e0-fc35-dc71 interface 
GigabitEthernet1/1/2 vlan 1
Set the address aging time to 500s.
[SW8800]mac-address timer 500
Display the MAC address configurations in all views. 
[SW8800]display mac-address interface Ethernet 1/1/2
MAC ADDR            VLAN ID   STATE  PORT INDEX  AGING TIME(s)
00-e0-fc-35-dc-71  1         Static Ethernet1/1/2  NOAGED
Table 20   Displaying and Debugging MAC Address Table
Operation
Command
Display the information in the address table
display mac-address static dynamic ] [[ 
interface { interface-name | interface-type 
interface-num
 } ] [ vlan vlan-id ] ]
Display the aging time of dynamic address 
table entries
display mac-address aging-time
Display the dynamic MAC address learning 
capability of the system and ports
display mac-address learning 
interface-type interface-num | interface-name 
]
Enable the address table management 
debugging
debugging mac-address
Disable the address table management 
debugging
undo debugging mac-address
Console port
Network port
Internet
Switch