Operation Manual – Port Security-Port BindingH3C S5600 Series Ethernet Switches Chapter 1 Port Security Configuration1-11z If the amount of security MAC addresses has not yet reach the maximum number,the port will learn new MAC addresses and turn them to security MAC addresses;z If the amount of security MAC addresses reaches the maximum number, the portwill not be able to learn new MAC addresses and the port mode will be changedfrom autolearn to secure.Note:The security MAC addresses manually configured are written to the configuration file;they will not get lost when the port is up or down. As long as the configuration file issaved, the security MAC addresses can be restored after the switch reboots.I. Configuration prerequisitesz Port security is enabled.z The maximum number of security MAC addresses allowed on the port is set.z The security mode of the port is set to autolearn.II. Configuring a security MAC addressFollow these steps to configure a security MAC address:To do... Use the command... RemarksEnter system view system-view —In systemviewmac-address security mac-addressinterface interface-typeinterface-number vlan vlan-idinterface interface-typeinterface-numberAdd asecurityMACaddress InEthernetport view mac-address security mac-addressvlan vlan-idEither isrequired.By default,no securityMACaddress isconfigured.1.3 Displaying and Maintaining Port Security ConfigurationTo do... Use the command... RemarksDisplay information aboutport security configurationdisplay port-security [ interfaceinterface-list ]Display information aboutsecurity MAC addressconfigurationdisplay mac-address security[ interface interface-typeinterface-number ] [ vlan vlan-id ][ count ]Available inany view