CLI Reference IPSource Guard Configuration Commands
IPSource Guard Configuration Commands
ip source binding
Use this command to add static user information to IP source address binding database. The no form of
this command deletes the corresponding static user:
[no] ip source binding mac-address vlan vlan-id ip-address [interface interface-id |
ip-mac | ip-only]
Add user MAC address statically.
Add user vlan id statically.
Add user IP address statically.
Add user interface id statically.
The global binding type is IP+MAC
The global binding type is IP only.
Global configuration mode.
The following example shows how to configure a static user:
Ruijie# configure terminal
Ruijie(config)# ip source binding 0000.0000.0001 vlan 1 1.1.1.1
interface FastEthernet 0/1
Ruijie(config)# end
Ruijie# show ip source binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------- --------- ---------- ---- ---- ------------
0000.0000.0001 1.1.1.1 infinite static 1 FastEthernet 0/1
Total number of bindings: 1
View the binding information of IP source
address and database.