CLI Reference Port-based Flow Control Configuration Commands
[no] switchport port-security binding interface interface-id ipv4-address | ipv6-address
Binding source MAC address
Vlan ID of the binding source MAC
address
1.This example shows how to bind the IP address 192.168.1.100 on the interface
g 0/10:
Ruijie(config)# switchport port-security binding interface g 0/10
192.168.1.100
2.This example shows how to bind the IP address 192.168.1.100 and
MAC address 00d0.f800.5555 with vlan id 1 on the interface g 0/10
Ruijie(config)# switchport port-security binding interface g 0/10
00d0.f800.5555 vlan 1 192.168.1.100
Show port security settings.
Enable the port-security.
switchport
port-security
binding
Configure the secure address binding
in the interface configuration mode.
switchport
port-security
mac-address
Set the static secure address.
switchport
port-security
aging
Set the aging time for secure
address.