Configuration Guide Port Security Commands
Binds source MAC address.
VLAN ID of the binding source MAC address
Global configuration mode
1. For packets complying with IP/IP-MAC binding, they can be forwarded only if MAC addresses are
secure addresses.
2. For dynamic secure addresses, packets cannot be forwarded before bound even if their addresses
comply with the binding list.
The following example binds the IP address 192.168.1.100 on the interface g 0/10.
Ruijie# configure terminal
Ruijie(config)# switchport port-security binding interface g0/10 binding
192.168.1.100
Ruijie(config)# end
The following example binds the IP address 192.168.1.100 and MAC address 00d0.f800.5555 with
VLAN ID 1 on the interface g 0/10.
Ruijie# configure terminal
Ruijie(config)# switchport port-security binding interface g0/10 binding
00d0.f800.5555 vlan 1 192.168.1.100
Ruijie(config)# end
Displays port security settings.
Enables the port-security.
switchport port-security binding
Configures the secure address binding in
interface configuration mode.
switchport port-security mac-address
Sets the static secure address.
switchport port-security aging
Sets the aging time for secure address.