Configuration Guide IP Source Guard Commands
18 IP Source Guard Commands
18.1 ip source binding
Use this command to add static user information to IP source address binding database.
Use the no form of this command to delete static user information from IP source address binding
database.
ip source binding mac-address { vlan vlan-id } ip-address { interface interface-id | ip-mac |
ip-only }
no ip source binding mac-address { vlan vlan-id } ip-address { interface interface-id | ip-mac |
ip-only }
Adds user MAC address statically.
Adds user VLAN ID statically.
Adds user IP address statically.
Adds user interface ID statically.
The global binding type is IP+MAC
The global binding type is IP only.
No static address is added by default.
Global configuration mode
This command allows specific clients to go through IP source guard detection instead of DHCP.
This command is supported on the wired L2 switching port, AP port and sub interface.
This command enables global binding for IP source guard so that specific clients will get detected on
all interfaces.
A static IPv6 source binding is valid either on wired and WLAN interfaces or in global
configuration mode.
A new binding will overwrite the old one sharing the same configuration.
The following example adds the interface Id of static users.
Ruijie# configure terminal
Ruijie(config)# ip source binding 0000.0000.0001 vlan 1 1.1.1.1 interface
GigabitEthernet 0/1
Ruijie(config)# end
The following example adds static user information based on IP-MAC binding.