Configuration Guide Port Security Commands
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.
Network is often accessible to static users with secure addresses without authorization. If
authorization is configured, these users must comply with it.
The following example binds the IP address 192.168.1.100 on interface g 0/10:
Ruijie# configure terminal
Ruijie(config)#interface gigabitethernet 0/10
Ruijie(config-if)# switchport port-security binding 192.168.1.100
Ruijie(config-if)# end
The following example binds the IP address 192.168.1.100 and MAC address 00d0.f800.5555 with
VLAN ID 1 on interface g 0/10.
Ruijie# configure terminal
Ruijie(config)#interface gigabitethernet 0/10
Ruijie(config-if)# switchport port-security binding 00d0.f800.5555 vlan 1
192.168.1.100
Ruijie(config-if)# end
Displays port security settings.
Enables the port-security.
switchport port-security binding interface
Configures the secure address binding in
privileged EXEC mode.
switchport port-security mac-address
Sets the static secure address.
switchport port-security aging
Sets the aging time for secure address.
9.5 switchport port-security binding-filter logging
Use this command to enable binding filter logging.
Use the no form of these commands to restore the default setting.
switchport port-security binding-filter logging [ rate-limit rate ]
no switchport port-security binding-filter logging