Ip Filtering Configuration Example - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

Network diagram
Figure 4-6 Network diagram for DHCP-snooping Option 82 support configuration
Configuration procedure
# Enable DHCP snooping on the switch.
<Switch> system-view
[Switch] dhcp-snooping
# Specify GigabitEthernet 1/0/5 as the trusted port.
[Switch] interface GigabitEthernet1/0/5
[Switch-GigabitEthernet1/0/5] dhcp-snooping trust
[Switch-GigabitEthernet1/0/5] quit
# Enable DHCP-snooping Option 82 support.
[Switch] dhcp-snooping information enable
# Set the remote ID sub-option in Option 82 to the system name (sysname) of the DHCP snooping
device.
[Switch] dhcp-snooping information remote-id sysname
# Set the circuit ID sub-option in DHCP packets from VLAN 1 to abcd on GigabitEthernet 1/0/3.
[Switch] interface GigabitEthernet1/0/3
[Switch-GigabitEthernet1/0/3] dhcp-snooping information vlan 1 circuit-id string abcd

IP Filtering Configuration Example

Network requirements
As shown in
Figure
and GigabitEthernet 1/0/2 is connected to Host A. The IP address and MAC address of Host A are
1.1.1.1 and 0001-0001-0001 respectively. GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 are
connected to DHCP Client B and Client C.
Enable DHCP snooping on the switch, and specify GigabitEthernet 1/0/1 as the DHCP snooping
trusted port.
4-7, GigabitEthernet 1/0/1 of the S5600 switch is connected to the DHCP server
4-11

Advertisement

Table of Contents
loading

Table of Contents