![H3C S5120-SI Series Скачать руководство пользователя страница 239](http://html2.mh-extra.com/html/h3c/s5120-si-series/s5120-si-series_operation-manual_3711174239.webp)
3-8
z
On GigabitEthernet 1/0/2, configure the padding content for the circuit ID sub-option as
company001
and for the remote ID sub-option as
device001
.
z
On GigabitEthernet 1/0/3, configure the padding format as
verbose
, access node identifier as
sysname
, and code type as
ascii
for Option 82.
z
Switch A forwards DHCP requests to the DHCP server after replacing Option 82 in the requests, so
that the DHCP clients can obtain IP addresses.
Configuration procedure
# Enable DHCP snooping.
<SwitchA> system-view
[SwitchA] dhcp-snooping
# Specify GigabitEthernet1/0/1 as trusted.
[SwitchA] interface GigabitEthernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] dhcp-snooping trust
[SwitchA-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet1/0/2 to support Option 82.
[SwitchA] interface GigabitEthernet 1/0/2
[SwitchA-GigabitEthernet1/0/2] dhcp-snooping information enable
[SwitchA-GigabitEthernet1/0/2] dhcp-snooping information strategy replace
[SwitchA-GigabitEthernet1/0/2] dhcp-snooping information circuit-id string company001
[SwitchA-GigabitEthernet1/0/2] dhcp-snooping information remote-id string device001
[SwitchA-GigabitEthernet1/0/2] quit
# Configure GigabitEthernet1/0/3 to support Option 82.
[SwitchA] interface GigabitEthernet 1/0/3
[SwitchA-GigabitEthernet1/0/3] dhcp-snooping information enable
[SwitchA-GigabitEthernet1/0/3] dhcp-snooping information strategy replace
[SwitchA-GigabitEthernet1/0/3] dhcp-snooping information format verbose node-identifier
sysname
[SwitchA-GigabitEthernet1/0/3] dhcp-snooping information circuit-id format-type ascii
[SwitchA-GigabitEthernet1/0/3] dhcp-snooping information remote-id format-type ascii
Содержание S5120-SI Series
Страница 61: ...7 8 Sysname ip http acl 2030...
Страница 138: ...2 10 PORT VLAN MODE GigabitEthernet1 0 1 2 MANUAL...
Страница 186: ...1 46 Instance Vlans Mapped 0 1 to 9 11 to 19 21 to 29 31 to 4094 1 10 2 20 3 30...
Страница 218: ...ii Displaying and Maintaining BOOTP Client Configuration 4 2 BOOTP Client Configuration Example 4 3...
Страница 255: ...1 12...
Страница 381: ...ii Troubleshooting RADIUS 1 32...
Страница 577: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...