Enable Dhcp Snooping - H3C S5810 Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5810 Series:
Table of Contents

Advertisement

Configuration procedure

# Enable DHCP snooping.

<SwitchA> system-view
[SwitchA] dhcp-snooping
# Specify GigabitEthernet1/0/1 as trusted.
[SwitchA] interface GigabitEthernet1/0/1
[SwitchA-GigabitEthernet1/0/1] dhcp-snooping trust
[SwitchA-GigabitEthernet1/0/1] quit
# Configure GigabitEthernet1/0/2 to support Option 82.
[SwitchA] interface GigabitEthernet1/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 gigabitethernet 1/0/3 to support Option 82.
[SwitchA] interface gigabitethernet 1/0/3
[SwitchA-gigabitethernet 1/0/3] dhcp-snooping information enable
[SwitchA-gigabitethernet 1/0/3] dhcp-snooping information strategy replace
[SwitchA-gigabitethernet 1/0/3] dhcp-snooping information format verbose node-identifier
sysname
[SwitchA-gigabitethernet 1/0/3] dhcp-snooping information circuit-id format-type ascii
[SwitchA-gigabitethernet 1/0/3] dhcp-snooping information remote-id format-type ascii
2-8

Advertisement

Table of Contents
loading

Table of Contents