HP 6600 Configuration Manual page 185

Table of Contents

Advertisement

[ProviderA-GigabitEthernet4/0/1.100] quit
# Assign an IP address to the interface connecting to the DHCP server.
[ProviderA] interface serial 2/1/1
[ProviderA-Serial2/1/1] ip address 10.1.1.1 24
2.
Configure DHCP server Provider B:
# Assign an IP address to the DHCP server.
<ProviderB> system-view
[ProviderB] interface serial 2/1/1
[ProviderB-Serial2/1/1] ip address 10.2.1.1 24
[ProviderB-Serial2/1/1] quit
# Enable DHCP.
[ProviderB] dhcp enable
# Configure an IP address pool on the DHCP server.
[ProviderB] dhcp server ip-pool 1
[ProviderB-dhcp-pool-1] network 192.168.1.0 24
[ProviderB-dhcp-pool-1] gateway-list 192.168.1.1
[ProviderB-dhcp-pool-1] quit
# Configure a static route to Ethernet 1/1.100.
[ProviderB] ip route static 192.168.1.1 24 10.1.1.1
3.
Configure Switch A:
# Enable QinQ on uplink port Ethernet 1/1, and configure it as a trunk port.
<SwitchA> system-view
[SwitchA] interface ethernet 1/1
[SwitchA-Ethernet1/1] port link-type trunk
# Assign trunk port Ethernet 1/1 to VLAN 100.
[SwitchA-Ethernet1/1] port trunk permit vlan 100
[SwitchA-Ethernet1/1] quit
# Enable basic QinQ on downlink port Ethernet 1/2.
[SwitchA] interface ethernet 1/2
[SwitchA-Ethernet1/2] qinq enable
[SwitchA-Ethernet1/2] quit
# Enable basic QinQ on downlink port Ethernet 1/3.
[SwitchA] interface Ethernet 1/3
[SwitchA-Ethernet1/3] qinq enable
[SwitchA-Ethernet1/3] quit
# Assign Ethernet 1/2 and Ethernet 1/3 to VLAN 100.
[SwitchA] vlan 100
[SwitchA-vlan100] port ethernet 1/2
[SwitchA-vlan100] port ethernet 1/3
4.
Configure Switch B:
# Add Ethernet 1/2 to VLAN 20.
<SwitchB> system-view
[SwitchB] vlan 20
[SwitchB-vlan20] port ethernet 1/2
[SwitchB-vlan20] quit
176

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hsr6600

Table of Contents