Displaying And Maintaining Mac Address Table; Configuration Example; Adding A Static Mac Address Entry Manually - 3Com WX3000 Series Operation Manual

Unified switches switching engine
Table of Contents

Advertisement

Displaying and Maintaining MAC Address Table

To do...
Display information about the
MAC address table
Display the aging time of the
dynamic MAC address entries
in the MAC address table

Configuration Example

Adding a Static MAC Address Entry Manually

Network requirements
The server connects to the device through GigabitEthernet 1/0/2. To prevent the device from
broadcasting packets destined for the server, it is required to add the MAC address of the server to the
MAC address table of the device, which then forwards packets destined for the server through
GigabitEthernet 1/0/2.
The MAC address of the server is 000f-e20f-dc71.
Port GigabitEthernet 1/0/2 belongs to VLAN 1.
Configuration procedure
# Enter system view.
<device> system-view
# Add a MAC address, with the VLAN, ports, and states specified.
[device] mac-address static 000f-e20f-dc71
# Display information about the current MAC address table.
[device] display mac-address interface GigabitEthernet 1/0/2
MAC ADDR
000f-e20f-dc71
000f-e20f-a7d6
000f-e20f-b1fb
000f-e20f-f116
---
4 mac address(es) found on port GigabitEthernet1/0/2 ---
Use the command...
display mac-address
[ display-option ]
display mac-address
aging-time
VLAN ID STATE
1
Config static
1
Learned
1
Learned
1
Learned
The display command can be
executed in any view.
interface GigabitEthernet 1/0/2 vlan 1
PORT INDEX
GigabitEthernet1/0/2
GigabitEthernet1/0/2
GigabitEthernet1/0/2
GigabitEthernet1/0/2
1-8
Remarks
AGING TIME(s)
NOAGED
AGING
AGING
AGING

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wx3024Wx3010Wx3008

Table of Contents