DHCP snooping

Clearing the DHCP binding database

You can clear the DHCP binding database using the CLI command clear dhcp. You can remove all entries in the database, or remove entries for a specific IP address only.

To remove all entries from the DHCP binding database, enter the clear dhcp command.

Brocade# clear dhcp

To clear entries for a specific IP address, enter a command such as the following.

Brocade# clear dhcp 10.10.102.4

Syntax: clear dhcp [ip-addr]

Displaying DHCP snooping status and ports

To display the DHCP snooping status for a VLAN and the trusted/untrusted port, use the show ip dhcp snooping vlan command.

Brocade# show ip dhcp snooping vlan 2

IP DHCP snooping VLAN 2: Enabled

Syntax: show ip dhcp snooping [vlan vlan-id]

Displaying the DHCP snooping binding database

To display the DHCP snooping binding database, use the show ip dhcp snooping info command.

Brocade# show ip dhcp snooping info

 

 

 

Dhcp snooping Info

 

 

 

 

Total learnt entries 1

 

 

 

 

SAVED DHCP ENTRIES IN FLASH

Port

vlan

lease

0

IP Address

Mac Address

10.10.10.20

0000.0002.0003

1/1/3

1112

361

Syntax: show ip dhcp snooping info

Displaying DHCP binding entry and status

To display the DHCP binding entry and its current status, use the show arp command.

Brocade#

show arp

 

 

 

 

 

Total

number of ARP entries: 2, maximum capacity: 6000

Port

Status

No.

IP

Address

MAC Address

Type

Age

1

10.43.1.1

0000.0001.c320

Dynamic

0

mgmt1

Valid

2

10.43.1.199

0000.0002.b263

Dynamic

7

mgmt1

Valid

Syntax: show arp

Brocade ICX 6650 Security Configuration Guide

287

53-1002601-01

 

Page 307
Image 307
Brocade Communications Systems 6650 manual Clearing the Dhcp binding database, Displaying Dhcp snooping status and ports