The interface configuration is below:
interface GigabitEthernet0/0/1
speed auto-negotiation
port link-type access
port default vlan 100
stp disable
port-security enable
arp anti-attack check user-bind enable
arp anti-attack check user-bind alarm enable
broadcast-suppression packets 50
dhcp snooping enable
dhcp snooping check dhcp-request enable
dhcp snooping check dhcp-chaddr enable
dhcp snooping check dhcp-rate enable
dhcp snooping check dhcp-rate 50 dhcp option82 insert enable
dhcp option82 format user-defined "%sysname:%slot/%subslot/%port"<?xml:namespace prefix = "u5" />
The problem arises when manually assign an IP and a MAC to the port with static user-bind. As long as the terminal sends a DHCP request and receives an IP through it, everything works well. However when manually IP/MAC is configured by adding an IP in the static binding table, it doesn’t work.
DHCP Dynamic Bind-table:
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping
IP Address MAC Address VSI/VLAN(O/I/P) Interface Lease
--------------------------------------------------------------------------------
XX.XX.XX.XX aaaa-aaaa-aaaa 100 /-- /-- GE0/0/1 2017.02.23-08:21
--------------------------------------------------------------------------------
Static IP binding is configured:
user-bind static ip-address XX.XX.XX.X mac-address aaaa-aaaa-aaaa interface GigabitEthernet 0/0/1
Info: 1 static user-bind
item(s) added.
display dhcp static user-bind all
DHCP static Bind-table:
Flags:O - outer vlan ,I - inner vlan ,P - Vlan-mapping
IP Address MAC Address VSI/VLAN(O/I/P) Interface
--------------------------------------------------------------------------------
xx.xx.xx.xx aaaa-aaaa-aaaa -- /-- /-- GE0/0/1
--------------------------------------------------------------------------------