Displaying Dhcp Snooping Information - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 33
Configuring DHCP Snooping and IP Source Guard
Last Succeded Time : 15:24:34 UTC Sun Jul 8 2001
Last Failed Time : None
Last Failed Reason : No failure recorded.
Total Attempts
Successful Transfers :
Successful Reads
Successful Writes
Media Failures
Switch#
Switch# sh ip dhcp snoop bind
MacAddress
------------------
00:01:00:01:00:05
00:01:00:01:00:02
00:01:00:01:00:04
00:01:00:01:00:03
00:01:00:01:00:01
Switch#
Switch#clear ip dhcp snoop bind
Switch#sh ip dhcp snoop bind
MacAddress
------------------
Switch#
Example 3: Adding Information to the DHCP Snooping Database
To manually add a binding to the DHCP snooping database, perform the following task:
Command
Step 1
Switch# show ip dhcp snooping binding
Step 2
Switch# ip dhcp snooping binding binding-id vlan
vlan-id interface interface expiry lease-time
Step 3
Switch# show ip dhcp snooping binding
This example shows how to manually add a binding to the DHCP snooping database:
Switch# show ip dhcp snooping binding
MacAddress
------------------
Switch#
Switch# ip dhcp snooping binding 1.1.1 vlan 1 1.1.1.1 interface gi1/1 expiry 1000
Switch# show ip dhcp snooping binding
MacAddress
------------------
00:01:00:01:00:01
Switch#

Displaying DHCP Snooping Information

You can display a DHCP snooping binding table and configuration information for all interfaces on a
switch.
OL-6696-01
:
1
Startup Failures :
1
Failed Transfers :
:
1
Failed Reads
:
0
Failed Writes
:
0
IpAddress
Lease(sec)
---------------
----------
1.1.1.1
49810
1.1.1.1
49810
1.1.1.1
49810
1.1.1.1
49810
1.1.1.1
49810
IpAddress
Lease(sec)
---------------
----------
Purpose
Views the DHCP snooping database
Adds the binding using the 'ip dhcp snooping' exec
command
Checks the DHCP snooping database
IpAddress
Lease(sec)
---------------
----------
IpAddress
Lease(sec)
---------------
----------
1.1.1.1
992
Displaying DHCP Snooping Information
0
0
:
0
:
0
Type
VLAN
-------------
----
dhcp-snooping
512
dhcp-snooping
512
dhcp-snooping
1536
dhcp-snooping
1024
dhcp-snooping
1
Type
VLAN
-------------
----
Type
VLAN
-------------
----
Type
VLAN
-------------
----
dhcp-snooping
1
Software Configuration Guide—Release 12.2(25)EW
Interface
--------------------
GigabitEthernet1/1
GigabitEthernet1/1
GigabitEthernet1/1
GigabitEthernet1/1
GigabitEthernet1/1
Interface
--------------------
Interface
--------------------
Interface
--------------------
GigabitEthernet1/1
33-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents