Enabling Dhcp Server Port-Based Address Allocation - Cisco Catalyst 2960-XR Security Configuration Manual

Ios release 15.0 2 ex1
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Configuring DHCP
Command or Action
Step 4
ip dhcp snooping database write-delay seconds
Example:
Switch(config)# ip dhcp snooping database
write-delay 15
Step 5
end
Example:
Switch(config)# end
Step 6
ip dhcp snooping binding mac-address vlan vlan-id
ip-address interface interface-id expiry seconds
Example:
Switch# ip dhcp snooping binding
0001.1234.1234 vlan 1 172.20.50.5 interface
gi1/1 expiry 1000

Enabling DHCP Server Port-Based Address Allocation

Beginning in privileged EXEC mode, follow these steps to globally enable port-based address allocation and
to automatically generate a subscriber identifier on an interface.
SUMMARY STEPS
1. configure terminal
2. ip dhcp use subscriber-id client-id
3. ip dhcp subscriber-id interface-name
4. interface interface-id
5. ip dhcp server use subscriber-id client-id
6. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
OL-29434-01
Purpose
Specifies the duration for which the transfer should be delayed
after the binding database changes. The range is from 15 to 86400
seconds. The default is 300 seconds (5 minutes).
Returns to privileged EXEC mode.
(Optional) Adds binding entries to the DHCP snooping binding
database. The vlan-id range is from 1 to 4904. The seconds range
is from 1 to 4294967295.
Enter this command for each entry that you add.
Use this command when you are testing or debugging the switch.
Purpose
Enters the global configuration mode.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
Enabling DHCP Server Port-Based Address Allocation
183

Advertisement

Table of Contents
loading

Table of Contents