Configuring DHCP
DHCP Relay Configuration
Configuration Guide
417
Switch(config)#show ip dhcp relay
......
DHCP relay option 82 is enabled.
Existed option 82 field operation: keep.
......
Switch(config)#end
Switch#copy running-config startup-config
3.2.3 Specifying DHCP Server for Interface or VLAN
You can specify DHCP server for an layer-3 interface or for a VLAN. The following
respectively introduces how to configure DHCP Interface Relay and DHCP VLAN Relay.
DHCP Interface Relay
Follow these steps to DHCP Interface Relay:
Step 1
configure
Enter global configuration mode.
Step 2
Enter Layer 3 interface configuration mode:
interface vlan
vid
Enter VLAN interface configuration mode.
vid
:Specify the ID of the VLAN that will be configured as a DHCP relay agent. The valid
values are from 1 to 4094.
interface {
fastEthernet
port
|
gigabitEthernet
port
}
no switchport
Enter Routed Port interface configuration mode.
port:
Specify the ID of the routed port that will be configured as a DHCP relay agent.
interface port-channel
lagid
Enter Port-channel configuration mode.
lagid:
Specify the ID of the LAG.
Step 3
ip helper-address
ip-addr
Specify DHCP server for the Layer 3 interface.
ip-addr:
Enter the IP address of the DHCP server.
Step 4
show ip dhcp relay
Verify the configuration of DHCP Relay.
Содержание TL-SG2424
Страница 26: ...Part 1 Accessing the Switch CHAPTERS 1 Overview 2 Web Interface Access 3 Command Line Interface Access...
Страница 130: ...Part 4 Configuring LAG CHAPTERS 1 LAG 2 LAG Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 147: ...Part 5 Monitoring Traffic CHAPTERS 1 Traffic Monitor 2 Appendix Default Parameters...
Страница 449: ...Part 15 Configuring ARP CHAPTERS 1 Overview 2 ARP Configurations...
Страница 508: ...Configuring Voice VLAN Configuration Guide 485...
Страница 768: ...Configuring SNMP RMON Appendix Default Parameters Configuration Guide 745 Parameter Default Setting Status Disable...