Configuring DHCP
DHCP Relay Configuration
Configuration Guide
419
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 the default relay agent interface.
The valid values are from 1 to 4094.
interface loopback
lid
Enter loopback configuration mode.
lid
: Specify the ID of the loopback interface that will be configured as the default relay agent
interface. The valid values are from 1 to 64.
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 the default relay agent
interface.
interface port-channel
lagid
Enter Port-channel configuration mode.
lagid:
Specify the ID of the LAG that will be configured as the default relay agent interface.
Step 3
ip dhcp relay default-interface
Set the interface as the default relay agent interface. If the VLAN that the clients belong to
does not have an IP address, the switch will use the IP address of this interface to fill in the
relay agent IP address field of DHCP packets from the DHCP clients.
Step 4
exit
Return to global configuration mode.
Step 5
ip dhcp relay vlan
vid
helper-address
ip-address
Specify the VLAN ID and the DHCP server.
vid:
Enter the ID of the VLAN, in which the hosts can dynamically get the IP addresses from
the DHCP server.
ip-address:
Enter the IP address of the DHCP server.
Step 6
show ip dhcp relay
Verify the configuration of DHCP Relay.
Step 7
end
Return to Privileged EXEC Mode.
Step 8
copy running-config startup-config
Save the settings in the configuration file.
Содержание 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...