Displaying Dhcp Snooping Information; Displaying The Dhcp Snooping Configuration; Displaying The Dhcp Snooping Binding Database - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Displaying DHCP Snooping Information

Displaying DHCP Snooping Information
This section describes how to display configuration information for all interfaces on a switch and the
configuration information, status, and statistics for the DHCP snooping binding database, also referred
to as a binding table.

Displaying the DHCP Snooping Configuration

This example shows how to display the DHCP snooping configuration for a switch:
Switch# show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
40-42
Insertion of option 82 is enabled
Verification of hwaddr field is enabled
Interface
------------------------
gigabitethernet1/0/1
gigabitethernet2/0/2
gigabitethernet2/0/3
gigabitethernet2/0/4

Displaying the DHCP Snooping Binding Database

The DHCP snooping binding database for each switch has binding entries that correspond to untrusted
ports. The database does not have information about hosts interconnected with a trusted port.
Use the show ip dhcp snooping binding privileged EXEC command to display only the dynamically
configured bindings in the DHCP snooping binding database. Use the show ip source binding privileged
EXEC command to display the dynamically and statically configured bindings.
If DHCP snooping is enabled and an interface changes to the down state, the switch does not delete the
statically configured bindings.
This example shows how to display the dynamically configured DHCP snooping binding entries for a
switch:
Switch# show ip dhcp snooping binding
MacAddress
------------------
01:02:03:04:05:06
00:D0:B7:1B:35:DE
00:00:00:00:00:01
00:00:00:00:00:03
00:00:00:00:00:02
Table 21-2
Catalyst 3750 Switch Software Configuration Guide
21-14
Displaying the DHCP Snooping Configuration, page 21-14
Displaying the DHCP Snooping Binding Database, page 21-14
IpAddress
---------------
10.1.2.150
10.1.2.151
40.0.0.46
42.0.0.33
41.0.0.53
describes the fields in the show ip dhcp snooping binding command output.
Chapter 21
Configuring DHCP Features and IP Source Guard
Trusted
Rate limit (pps)
-------
----------------
yes
unlimited
no
100
yes
unlimited
yes
unlimited
Lease(sec)
Type
----------
-------------
9837
dhcp-snooping
237
dhcp-snooping
286
dhcp-snooping
286
dhcp-snooping
286
dhcp-snooping
VLAN
Interface
----
--------------------
20
GigabitEthernet2/0/1
20
GigabitEthernet2/0/1
20
GigabitEthernet2/0/2
22
GigabitEthernet2/0/2
21
GigabitEthernet2/0/2
78-16180-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents