H3C SR8800 Configuration Manual page 137

10g core routers layer 2 - lan switching
Hide thumbs Also See for SR8800:
Table of Contents

Advertisement

Figure 49 Network diagram
L2 Switch B
L2 Switch A
VLAN 11
Host A
1.1.1.1/24
Configuration procedure
Configure Host A and Host B:
1.
Configure Host A's IP address as 1.1.1.1/24, and gateway IP address as 1.1.1.1 1/24.
Configure Host B's IP address as 1.1.2.1/24, and gateway IP address as 1.1.2.1 1/24.
Configure Switch A:
2.
<SwitchA> system-view
[SwitchA] vlan 11
[SwitchA-vlan11] port ethernet 1/2
[SwitchA-vlan11] quit
[SwitchA] interface ethernet 1/1
[SwitchA-Ethernet1/1] port link-type trunk
[SwitchA-Ethernet1/1] port trunk permit vlan 11
Please wait... Done.
Configure Switch B:
3.
<SwitchB> system-view
[SwitchB] interface ethernet 1/2
[SwitchB-Ethernet1/2] port link-type trunk
[SwitchB-Ethernet1/2] port trunk permit vlan 11 100
Please wait... Done.
[SwitchB-Ethernet1/2] qinq enable
[SwitchB-Ethernet1/2] qinq vid 100
[SwitchB-Ethernet1/2-vid-100] raw-vlan-id inbound 11
[SwitchB-Ethernet1/2-vid-100] quit
[SwitchB-Ethernet1/2] quit
[SwitchB] interface ethernet 1/1
[SwitchB-Ethernet1/1] port link-type trunk
[SwitchB-Ethernet1/1] port trunk permit vlan 100
Configure the router:
4.
Eth1/1
Public network
Eth1/2
QinQ enabled
Eth1/1
Eth1/2
VLAN 100
GE2/1/7.100
1.1.1.11/24
VLAN 100
127
Router
GE2/1/6
1.1.2.11/24
L2 Switch C
Host B
1.1.2.1/24

Advertisement

Table of Contents
loading

Table of Contents