399
Configuring DHCP
How to Configure DHCP
Enabling the DHCP Snooping Binding Database Agent
8.
ip dhcp snooping vlan
vlan
information
option format-type circuit-id
[override] string
ASCII-string
(Optional) Configures the circuit-ID suboption for the specified interface.
Specifies the VLAN and port identifier, using a VLAN ID in the range of
1 to 4096. The default circuit ID is the port identifier in the format
vlan-mod-port.
You can configure the circuit ID to be a string of 3 to 63 ASCII characters
(no spaces).
(Optional) Use the
override
keyword when you do not want the circuit-ID
suboption inserted in TLV format to define subscriber information.
9.
ip dhcp snooping trust
(Optional) Configures the interface as trusted or as untrusted. Use the
no
keyword to configure an interface to receive messages from an untrusted
client. The default setting is untrusted.
10.
ip dhcp snooping limit rate
rate
(Optional) Configures the number of DHCP packets per second that an
interface can receive. The range is 1 to 2048. By default, no rate limit is
configured.
Note:
We recommend an untrusted rate limit of not more than 100
packets per second. If you configure rate limiting for trusted interfaces,
you might need to increase the rate limit if the port is a trunk port
assigned to more than one VLAN with DHCP snooping.
11.
exit
Returns to global configuration mode.
12.
ip dhcp snooping verify mac-address
(Optional) Configures the switch to verify that the source MAC address in
a DHCP packet received on untrusted ports matches the client hardware
address in the packet. The default is to verify that the source MAC
address matches the client hardware address in the packet.
13.
end
Returns to privileged EXEC mode.
Command
Purpose
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
ip dhcp snooping database
{
flash:/
filename
|
ftp://
user
:
password@host
/
filename
|
http://
[[
username
:
password
]@]{
hostna
me | host-ip
}[/
directory
]
/
image-name
.tar
|
rcp://
user@host
/
filename
}|
tftp://
host
/
filename
Specifies the URL for the database agent or the binding file by using one
of these forms:
flash:/
filename
ftp://
user
:
password
@
host
/
filename
http://
[[
username
:
password
]@]{
hostname | host-ip
}[/
directory
]
/
image-name
.tar
rcp://
user
@
host
/
filename
tftp://
host
/
filename
3.
ip dhcp snooping database timeout
seconds
Specifies (in seconds) how long to wait for the database transfer process
to finish before stopping the process.
The default is 300 seconds. The range is 0 to 86400. Use 0 to define an
infinite duration, which means to continue trying the transfer indefinitely.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...