Clearing the dhcp binding database, Displaying dhcp snooping status and ports, Displaying the dhcp snooping binding database – Brocade Communications Systems Brocade ICX 6650 6650 User Manual

Page 307: Displaying dhcp binding entry and status

Advertising
background image

Brocade ICX 6650 Security Configuration Guide

287

53-1002601-01

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.

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.

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.

Syntax: show arp

Brocade# show ip dhcp snooping vlan 2
IP DHCP snooping VLAN 2: Enabled

Brocade# show ip dhcp snooping info
Dhcp snooping Info
Total learnt entries 1
SAVED DHCP ENTRIES IN FLASH
IP Address Mac Address Port vlan lease
0 10.10.10.20 0000.0002.0003 1/1/3 1112 361

Brocade# show arp
Total number of ARP entries: 2, maximum capacity: 6000
No.

IP Address MAC Address Type Age Port Status

1 10.43.1.1 0000.0001.c320 Dynamic 0 mgmt1 Valid
2 10.43.1.199 0000.0002.b263 Dynamic 7 mgmt1 Valid

Advertising