Example 2: Reading Binding Entries From A Tftp File - Cisco Catalyst 4500 series Administration Manual

Hide thumbs Also See for Catalyst 4500 series:
Table of Contents

Advertisement

Chapter 53
Configuring DHCP Snooping, IP Source Guard, and IPSG for Static Hosts
The switch maintains two sets of counters for these ignored bindings. One provides the counters for a
read that has at least one binding ignored by at least one of these conditions. These counters are shown
as the "Last ignored bindings counters." The total ignored bindings counters provides a sum of the
number of bindings that have been ignored because of all the reads since the switch bootup. These two
set of counters are cleared by the clear command. The total counter set may indicate the number of
bindings that have been ignored since the last clear.

Example 2: Reading Binding Entries from a TFTP File

To manually read the entries from a TFTP file, perform this task:
Command
Step 1
Switch# show ip dhcp snooping database
Step 2
Switch# renew ip dhcp snoop data url
Step 3
Switch# show ip dhcp snoop data
Step 4
Switch# show ip dhcp snoop bind
it is an example of how to manually read entries from the tftp://10.1.1.1/directory/file:
Switch# show ip dhcp snooping database
Agent URL :
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Agent Running : No
Delay Timer Expiry : Not Running
Abort Timer Expiry : Not Running
Last Succeded Time : None
Last Failed Time : None
Last Failed Reason : No failure recorded.
Total Attempts
Successful Transfers :
Successful Reads
Successful Writes
Media Failures
Switch#
Switch# renew ip dhcp snoop data tftp://10.1.1.1/directory/file
Loading directory/file from 10.1.1.1 (via GigabitEthernet1/1): !
[OK - 457 bytes]
Database downloaded successfully.
Switch#
00:01:29: %DHCP_SNOOPING-6-AGENT_OPERATION_SUCCEEDED: DHCP snooping database Read
succeeded.
Switch#
Switch# show ip dhcp snoop data
Agent URL :
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Agent Running : No
Delay Timer Expiry : Not Running
Abort Timer Expiry : Not Running
OL_28731-01
Purpose
Displays the DHCP snooping database agent statistics.
Directs the switch to read the file from given URL.
Displays the read status.
Verifies whether the bindings were read successfully.
:
0
Startup Failures :
0
Failed Transfers :
:
0
Failed Reads
:
0
Failed Writes
:
0
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
Configuring DHCP Snooping
0
0
:
0
:
0
53-17

Advertisement

Table of Contents
loading

Table of Contents