Configuration Example; Displaying Mac Address Table Information; Adding A Static Mac Address Entry Manually - 3Com 4200G 12-Port Configuration Manual

4200g family
Hide thumbs Also See for 4200G 12-Port:
Table of Contents

Advertisement

Operation
Set the maximum number of
MAC addresses the port can
learn

Displaying MAC Address Table Information

To verify your configuration, you can display information about the MAC address table by executing the
display command in any view.
Table 1-7 Display MAC address table information
Operation
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 switch through GigabitEthernet 1/0/2. To prevent the switch 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 switch, 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.
<Sysname> system-view
[Sysname]
# Add a MAC address, with the VLAN, ports, and states specified.
[Sysname] mac-address static 000f-e20f-dc71 interface GigabitEthernet 1/0/2 vlan 1
# Display information about the current MAC address table.
[Sysname] display mac-address interface GigabitEthernet 1/0/2
MAC ADDR
000f-e20f-dc71
000f-e20f-a7d6
000f-e20f-b1fb
000f-e20f-f116
mac-address max-mac-count
count
display mac-address
[ display-option ]
display mac-address
aging-time
VLAN ID
STATE
1
Config static GigabitEthernet1/0/2 NOAGED
1
Learned
1
Learned
1
Learned
Command
Command
PORT INDEX
GigabitEthernet1/0/2 AGING
GigabitEthernet1/0/2 AGING
GigabitEthernet1/0/2 AGING
1-7
Description
Required
By default, the number of the
MAC addresses a port can
learn is not limited.
Description
The display command can be
executed in any view.
AGING TIME(s)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

4200g 24-port4200g 48-portSwitch 4800g pwr 24-port

Table of Contents