beautypg.com

Show ip dhcp snooping binding – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1473

background image

DHCP Snooping Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

56.35

show ip dhcp snooping binding

Use this command to display all dynamic and static entries in the DHCP snooping binding
database.

Syntax

show ip dhcp snooping binding

Mode

User Exec and Privileged Exec

Example

To display entries in the DHCP snooping database, use the command:

Related Commands

ip dhcp snooping binding
ip dhcp snooping max-bindings
show ip source binding

awplus#

show ip dhcp snooping binding

Figure 56-12: Example output from the show ip dhcp snooping binding command

awplus# show ip dhcp snooping binding
DHCP Snooping Bindings:

Client MAC Server Expires
IP Address Address IP Address VLAN Port (sec) Type
-------------------------------------------------------------------------------
1.2.3.4 aaaa.bbbb.cccc -- 7 1.0.6 Infinite Stat
1.2.3.6 any -- 4077 1.0.6 Infinite Stat
1.3.4.5 any -- 1 sa1 Infinite Stat
111.111.100.101 0000.0000.0001 111.112.1.1 1 1.0.6 4076 Dyna
111.111.101.108 0000.0000.0108 111.112.1.1 1 1.0.6 4084 Dyna
111.111.101.109 0000.0000.0109 111.112.1.1 1 1.0.6 4085 Dyna
111.211.100.101 -- -- 1 1.0.2 2147483325 Dyna
111.211.100.109 00b0.0000.0009 111.112.111.111 1 1.0.2 21 Dyna
111.211.101.101 00b0.0000.0101 111.112.111.111 1 1.0.2 214 Dyna

Total number of bindings in database: 9

Table 56-4: Parameters in the output from the show ip dhcp snooping binding
command

Parameter

Description

Client IP

The IP address of the DHCP client.

MAC Address

The MAC address of the DHCP client.

Server IP

The IP address of the DHCP server.

VLAN

The VLAN associated with this entry.

Port

The port the client is connected to.

Expires (sec)

The time in seconds until the lease expires.

Type

The source of the entry:

Dyna: dynamically entered by snooping DHCP traffic,
configured by the

ip dhcp snooping binding

command, or loaded from the database backup file.

Stat: added statically by the

ip source binding

command

Total number of
bindings in database

The total number of dynamic and static lease entries in
the DHCP snooping database.