run show dhcp server binding address
The run show dhcp server binding address command shows the allocated IP address binding information.
Command Syntax
run show dhcp server binding [vrf <vrf-name>] [address <ipv4-address>]
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. Note that: The command shows the allocated IP address binding information in the default VRF if not explicitly specify a VRF name. |
address <ipv4-address> | Optional. Specifies an allocated address. The value is in dotted decimal notation. |
Example
View the allocated IP address binding information.
admin@Xorplus# run show dhcp server binding
2 bound clients
IP address MAC address Server Interface
10.1.1.89 00:0a:12:00:12:12 10.1.1.1 vlan100
10.1.1.88 00:0a:12:00:12:34 10.1.1.1 vlan100
admin@Xorplus# run show dhcp server binding vrf vrf1
1 bound clients
IP address MAC address Server Interface
10.1.1.89 00:0a:12:00:12:12 10.1.1.1 vlan100
admin@Xorplus# run show dhcp server binding address 10.1.1.89
IP address MAC address Server Interface
10.1.1.89 00:0a:12:00:12:12 10.1.1.1 vlan100
admin@Xorplus# run show dhcp server binding vrf vrf1 address 10.1.1.89
IP address MAC address Server Interface
10.1.1.89 00:0a:12:00:12:12 10.1.1.1 vlan100In the show result, "Server" represents the IP address of the Layer 3 VLAN interface connected to the DHCP client.