Example 3: Adding Information To The Dhcp Snooping Database - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Displaying DHCP Snooping Information
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# show 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# show 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 this 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.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
60-18
Chapter 60
Configuring DHCP Snooping, IP Source Guard, and IPSG for Static Hosts
:
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
0
0
:
0
:
0
Type
VLAN
Interface
-------------
----
--------------------
dhcp-snooping
512
GigabitEthernet1/1
dhcp-snooping
512
GigabitEthernet1/1
dhcp-snooping
1536
GigabitEthernet1/1
dhcp-snooping
1024
GigabitEthernet1/1
dhcp-snooping
1
GigabitEthernet1/1
Type
VLAN
Interface
-------------
----
--------------------
Type
VLAN
Interface
-------------
----
--------------------
Type
VLAN
Interface
-------------
----
--------------------
dhcp-snooping
1
GigabitEthernet1/1

Advertisement

Table of Contents
loading

Table of Contents