Configuration Example 137ConfigurationExampleAdding a Static MACAddress Entry ManuallyNetwork requirementsThe server connects to the switch through Ethernet 1/0/2. To prevent the switchfrom broadcasting packets destined for the server, it is required to add the MACaddress of the server to the MAC address table of the switch, which then forwardspackets destined for the server through Ethernet 1/0/2.■ The MAC address of the server is 000f-e20f-dc71.■ Port Ethernet 1/0/2 belongs to VLAN 1.Configuration procedure# Enter system view.<4210> system-view[4210]# Add a MAC address, with the VLAN, ports, and states specified.[4210] mac-address static 000f-e20f-dc71 interface Ethernet 1/0/2 vlan 1# Display information about the current MAC address table.[4210] 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 300000f-e20f-b1fb 1 Learned Ethernet1/0/2 300000f-e20f-f116 1 Learned Ethernet1/0/2 300--- 4 mac address(es) found on port Ethernet1/0/2 ---