3-10
security
command to view bindings of DHCP relay agents, and use the
display dhcp relay statistics
command to view statistics of DHCP packets forwarded by DHCP relay agents.
z
Performing the configuration on the DHCP server is also required to guarantee the client-server
communication via the relay agent. Refer to
DHCP Server Configuration Examples
for DHCP
server configuration information.
z
Because the DHCP relay agent and server are on different subnets, you need to configure a static
route or dynamic routing protocol to make them reachable to each other.
DHCP Relay Agent Option 82 Support Configuration Example
Network requirements
z
As shown in
Figure 3-3
, Enable Option 82 on the DHCP relay agent (Switch A).
z
Configure the handling strategy for DHCP requests containing Option 82 as
replace
.
z
Configure the padding content for the circuit ID sub-option as
company001
and for the remote ID
sub-option as
device001
.
z
Switch A forwards DHCP requests to the DHCP server (Switch B) after replacing Option 82 in the
requests, so that the DHCP clients can obtain IP addresses.
Configuration procedure
# Specify IP addresses for the interfaces (omitted).
# Enable DHCP.
<SwitchA> system-view
[SwitchA] dhcp enable
# Add DHCP server 10.1.1.1 into DHCP server group 1.
[SwitchA] dhcp relay server-group 1 ip 10.1.1.1
# Enable the DHCP relay agent on VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] dhcp select relay
# Correlate VLAN-interface 1 to DHCP server group 1.
[SwitchA-Vlan-interface1] dhcp relay server-select 1
# Enable the DHCP relay agent to support Option 82, and perform Option 82-related configurations.
[SwitchA-Vlan-interface1] dhcp relay information enable
[SwitchA-Vlan-interface1] dhcp relay information strategy replace
[SwitchA-Vlan-interface1] dhcp relay information circuit-id string company001
[SwitchA-Vlan-interface1] dhcp relay information remote-id string device001
Содержание S7906E - Switch
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45...
Страница 598: ...ii...
Страница 1757: ...4 9...
Страница 1770: ...6 4...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20...