Operation Manual – MAC Address Table ManagementH3C S3100 Series Ethernet SwitchesChapter 1 MAC Address TableManagement1-111.4 Configuration Example1.4.1 Adding a Static MAC Address Entry ManuallyI. Network requirementsThe server connects to the switch through Ethernet 1/0/2. To prevent the switch frombroadcasting packets destined for the server, it is required to add the MAC address ofthe server to the MAC address table of the switch, which then forwards packetsdestined for the server through Ethernet 1/0/2.z The MAC address of the server is 000f-e20f-dc71.z Port Ethernet 1/0/2 belongs to VLAN 1.II. Configuration procedure# Enter system view. system-view[Sysname]# Add a MAC address, with the VLAN, ports, and states specified.[Sysname] mac-address static 000f-e20f-dc71 interface Ethernet 1/0/2 vlan 1# Display information about the current MAC address table.[Sysname] display mac-address interface Ethernet 1/0/2MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)000f-e20f-dc71 1 Config static Ethernet1/0/2 NOAGED000f-e20f-a7d6 1 Learned Ethernet1/0/2 AGING000f-e20f-b1fb 1 Learned Ethernet1/0/2 AGING000f-e20f-f116 1 Learned Ethernet1/0/2 AGING--- 4 mac address(es) found on port Ethernet1/0/2 ---