Cisco Systems WSC4500X16SFP Manual De Usuario

Descargar
Página de 680
31-8
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 31      Configuring DHCP Snooping and IP Source Guard
Configuring DHCP Snooping on the Switch
DHCP snooping bindings are keyed on the MAC address and VLAN combination. Therefore, if an entry 
in the remote file has an entry for a given MAC address and VLAN set, for which the switch already has 
a binding, the entry from the remote file is ignored when the file is read. This condition is referred to as 
the binding collision.
An entry in a file may no longer be valid because the lease indicated by the entry may have expired by 
the time it is read. The expired leases counter indicates the number of bindings ignored because of this 
condition. The Invalid interfaces counter refers to the number of bindings that have been ignored when 
the interface referred by the entry either does not exist on the system or is a router or DHCP snooping 
trusted interface if it exists, when the read happened. Unsupported VLANs refers to the number of 
entries that have been ignored because the indicated VLAN is not supported on the system. The Parse 
failures counter provides the number of entries that have been ignored when the switch is unable to 
interpret the meaning of the entries from the file.
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. Therefore, 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:
This is an example of how to manually read entries from the tftp://10.1.1.1/directory/file:
Switch# showb 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       :        0   Startup Failures :        0
Successful Transfers :        0   Failed Transfers :        0
Successful Reads     :        0   Failed Reads     :        0
Successful Writes    :        0   Failed Writes    :        0
Media Failures       :        0
Switch#
Command
Purpose
Step 1
Switch# show ip dhcp snooping database
Displays the DHCP snooping database agent statistics.
Step 2
Switch# renew ip dhcp snoop data 
url
Directs the switch to read the file from given URL.
Step 3
Switch# show ip dhcp snoop data 
Displays the read status.
Step 4
Switch# show ip dhcp snoop bind
Verifies whether the bindings were read successfully.