Displaying Dhcp Information; Displaying A Binding Table; Displaying The Dhcp Snooping Configuration - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Displaying DHCP Information

Displaying DHCP Information
You can display a DHCP snooping binding table and configuration information for all interfaces on a
switch.

Displaying a Binding Table

The DHCP snooping binding table for each switch has binding entries that correspond to untrusted ports.
The table 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. If DHCP snooping is enabled and an
interface changes to the down state, the switch does not delete the manually configured bindings.
This example shows how to display the DHCP snooping binding entries for a switch.
Switch# show ip dhcp snooping binding
MacAddress
------------------
00:30:94:C2:EF:35
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 20-2
Table 20-2 show ip dhcp snooping binding Command Output
Field
MAC Address
IP Address
Lease (seconds)
Type
VLAN
Interface

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
Interface
------------------------
FastEthernet0/5
FastEthernet0/7
FastEthernet0/3
FastEthernet0/5
FastEthernet0/7
FastEthernet0/5
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
20-8
IpAddress
---------------
41.0.0.51
41.0.0.52
40.0.0.46
42.0.0.33
41.0.0.53
describes the fields in the show ip dhcp snooping binding command output.
Description
Client hardware MAC address
Client IP address assigned from the DHCP server
IP address lease time
Binding type
VLAN number of the client interface
Interface that connects to the DHCP client host
Trusted
-------
yes
yes
no
yes
yes
yes
Lease(sec)
Type
VLAN
----------
-------
----
286
dynamic
41
237
dynamic
41
286
dynamic
40
286
dynamic
42
286
dynamic
41
Rate limit (pps)
----------------
unlimited
unlimited
5000
unlimited
unlimited
unlimited
Chapter 20
Configuring DHCP Features
Interface
--------------------
FastEthernet0/3
FastEthernet0/3
FastEthernet0/9
FastEthernet0/9
FastEthernet0/9
78-11380-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents