Configuration Guide IP Source Guard Commands
Ruijie# configure terminal
Ruijie(config)# ip source binding 0000.0000.0001 vlan 1 1.1.1.1 ip-mac
Ruijie(config)# end
The following example adds static user information based on IP binding.
Ruijie# configure terminal
Ruijie(config)# ip source binding 0000.0000.0001 vlan 1 1.1.1.1 ip-only
Ruijie(config)# end
Displays the binding information of IP source
address and database.
Use this command to enable IP Source Guard function on the interface.
Use the no form of this command to restore the default setting.
ip verify source [ port-security ]
Configures IP Source Guard to do IP+MAC-based detection.
This function is disabled by default.
Interface configuration mode
This command enables IP Source Guard function on the interface to do IP-based or IP+MAC-based
detection.
This command is supported on the wired L2 switching port, AP port and sub interface.
IP Source Guard takes effect only on DHCP Snooping untrusted port. In other words, IP Source
Guard does not take effect when configuring it on Trust port or the port which is not controlled by
DHCP Snooping.
The following example enables IP-based IP Source Guard function.
Ruijie# configure terminal
Ruijie(config)# interface GigabitEthernet 0/1