Enable Dhcp Snooping - HP 6125XLG Configuration Manual

Blade switch layer 2 lan switching
Table of Contents

Advertisement

[SwitchA-Ten-GigabitEthernet1/1/5] port trunk permit vlan 1 2 3 101 201 301
# Configure one-to-one VLAN mappings on Ten-GigabitEthernet 1/1/5 to map VLANs 1, 2, and
3 to VLANs 101, 201, and 301, respectively.
[SwitchA-Ten-GigabitEthernet1/1/5] vlan mapping 1 translated-vlan 101
[SwitchA-Ten-GigabitEthernet1/1/5] vlan mapping 2 translated-vlan 201
[SwitchA-Ten-GigabitEthernet1/1/5] vlan mapping 3 translated-vlan 301
[SwitchA-Ten-GigabitEthernet1/1/5] quit
# Configure the customer-side port Ten-GigabitEthernet 1/1/6 as a trunk port, and assign the port
to all original VLANs and translated VLANs.
[SwitchA] interface ten-gigabitethernet 1/1/6
[SwitchA-Ten-GigabitEthernet1/1/6] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/1/6] port trunk permit vlan 1 2 3 102 202 302
# Configure one-to-one VLAN mappings on Ten-GigabitEthernet 1/1/6 to map VLANs 1, 2, and
3 to VLANs 102, 202, and 302, respectively.
[SwitchA-Ten-GigabitEthernet1/1/6] vlan mapping 1 translated-vlan 102
[SwitchA-Ten-GigabitEthernet1/1/6] vlan mapping 2 translated-vlan 202
[SwitchA-Ten-GigabitEthernet1/1/6] vlan mapping 3 translated-vlan 302
[SwitchA-Ten-GigabitEthernet1/1/6] quit
# Configure the network-side port Ten-GigabitEthernet 1/1/7 as a trunk port, and assign the port
to the translated VLANs.
[SwitchA] interface ten-gigabitethernet 1/1/7
[SwitchA-Ten-GigabitEthernet1/1/7] port link-type trunk
[SwitchA-Ten-GigabitEthernet1/1/7] port trunk permit vlan 101 201 301 102 202 302
[SwitchA-Ten-GigabitEthernet1/1/7] quit
2.
Configure Switch B in the same way Switch A is configured. (Details not shown.)
3.
Configure Switch C:

# Enable DHCP snooping.

<SwitchC> system-view
[SwitchC] dhcp snooping enable
# Create the original VLANs and translated VLANs, and enable ARP detection for these VLANs.
[SwitchC] vlan 101
[SwitchC-vlan101] arp detection enable
[SwitchC-vlan101] vlan 201
[SwitchC-vlan201] arp detection enable
[SwitchC-vlan201] vlan 301
[SwitchC-vlan301] arp detection enable
[SwitchC-vlan301] vlan 102
[SwitchC-vlan102] arp detection enable
[SwitchC-vlan102] vlan 202
[SwitchC-vlan202] arp detection enable
[SwitchC-vlan202] vlan 302
[SwitchC-vlan302] arp detection enable
[SwitchC-vlan302] vlan 103
[SwitchC-vlan103] arp detection enable
[SwitchC-vlan103] vlan 203
[SwitchC-vlan203] arp detection enable
[SwitchC-vlan203] vlan 303
216

Advertisement

Table of Contents
loading

Table of Contents