11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ip dhcp snooping databaseChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sUsage GuidelinesThe DHCP snooping binding database can have up to 8192 bindings.To ensure that the lease time in the database is accurate, we recommend that Network Time Protocol(NTP) is enabled <strong>and</strong> configured for these features:• NTP authentication• NTP peer <strong>and</strong> server associations• NTP broadcast service• NTP access restrictions• NTP packet source IP addressIf NTP is configured, the switch writes binding changes to the binding file only when the switch systemclock is synchronized with NTP.Because both NVRAM <strong>and</strong> the flash memory have limited storage capacities, we recommend that youstore a binding file on a TFTP server. You must create an empty file at the configured URL onnetwork-based URLs (such as TFTP <strong>and</strong> FTP) before the switch can first write bindings to the bindingfile at that URL.Use the ip dhcp snooping database flash[number]:/filename comm<strong>and</strong> to save the DHCP snoopingbinding database in the stack master NVRAM. The database is not saved in a stack member NVRAM.If you set the ip dhcp snooping database timeout comm<strong>and</strong> to 0 seconds <strong>and</strong> the database is beingwritten to a TFTP file, if the TFTP server goes down, the database agent continues to try the transferindefinitely. No other transfer can be initiated while this one is in progress. This might beinconsequential because if the server is down, no file can be written to it.Use the no ip dhcp snooping database comm<strong>and</strong> to disable the agent.Use the no ip dhcp snooping database timeout comm<strong>and</strong> to reset the timeout value.Use the no ip dhcp snooping database write-delay comm<strong>and</strong> to reset the write-delay value.ExamplesThis example shows how to store a binding file at an IP address of 10.1.1.1 that is in a directory calleddirectory. A file named file must be present on the TFTP server.<strong>Switch</strong>(config)# ip dhcp snooping database tftp://10.1.1.1/directory/fileThis example shows how to store a binding file called file01.txt in the stack master NVRAM:<strong>Switch</strong>(config)# ip dhcp snooping database flash:file01.txtYou can verify your settings by entering the show ip dhcp snooping database privileged EXECcomm<strong>and</strong>.Related Comm<strong>and</strong>s Comm<strong>and</strong> Descriptionip dhcp snoopingEnables DHCP snooping on a VLAN.ip dhcp snooping binding Configures the DHCP snooping binding database.show ip dhcp snooping database Displays the status of DHCP snooping database agent.2-236<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!