beautypg.com

Clearing the dhcp binding database, Displaying dhcp snooping status and ports, Displaying the dhcp snooping binding database – Brocade FastIron Ethernet Switch Security Configuration Guide User Manual

Page 340: Displaying dhcp binding entry and status

background image

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.

device#clear dhcp

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

device#clear dhcp 10.10.102.4

Syntax: clear dhcp ip-address

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.

device#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.

device#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 6/13

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.

device#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

Syntax: show arp

For field definitions, refer to Table 25 in the FastIron Ethernet Switch Layer 3 Routing Configuration
Guide
.

Clearing the DHCP binding database

340

FastIron Ethernet Switch Security Configuration Guide

53-1003088-03