4 dhcp snooping database – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 701

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 701 of 855

Use this command when you are testing or debugging the switch.
In the DHCP snooping binding database, each database entry, also referred to a binding, has an IP
address, an associated MAC address, the lease time, the interface to which the binding applies, and
the VLAN to which the interface belongs.
Use the show dhcp snooping binding privileged EXEC command to display the configured bindings.


Examples

This example shows how to generate a DHCP binding configuration with an expiration time of 1000
seconds on a port in VLAN 1:
Switch(config)# dhcp snooping binding mac 0001.000c.01ef vlan 1 ipv4 10.10.1.1 interface
eth-0-1 expiry 1000


Related Commands

dhcp snooping
show dhcp snooping binding

36.4 dhcp snooping database

Use the dhcp snooping database global configuration command on the switch to configure the DHCP
snooping binding database agent. Use the no form of this command to disable the agent, to reset the
timeout value, or to reset the write-delay value.


Command Syntax

dhcp snooping database auto-save interval seconds

interval seconds

Specify the interval (in seconds) that how long to save the
binding database. The range is 15 to 1200.

Default

Default interval is 600 seconds.


Command Mode

Global configuration


Usage


Examples

The following is sample output from the dhcp snooping database command:
Switch(config)# dhcp snooping database auto-save interval 120


Related Commands

dhcp snooping

Advertising