EasyManua.ls Logo

Huawei quidway s7700 - Page 313

Huawei quidway s7700
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Step 2 Configure selective QinQ on the interfaces of the switches and specify the VLANs allowed by
the interfaces.
# Configure Switch1.
[Switch1] vlan 10
[Switch1-vlan100] quit
[Switch1] interface gigabitethernet 2/0/0
[Switch1-GigabitEthernet2/0/0] port hybrid tagged vlan 10
[Switch1-GigabitEthernet2/0/0] quit
[Switch1] interface gigabitethernet 1/0/0
[Switch1-GigabitEthernet1/0/0] port hybrid tagged vlan 10
[Switch1-GigabitEthernet1/0/0] quit
# Configure Switch2.
[Switch2] vlan 100
[Switch2-vlan100] quit
[Switch2] interface gigabitethernet 2/0/0
[Switch2-GigabitEthernet2/0/0] port hybrid tagged vlan 100
[Switch2-GigabitEthernet2/0/0] quit
[Switch2] interface gigabitethernet 1/0/0
[Switch2-GigabitEthernet1/0/0] port hybrid untagged vlan 100
[Switch2-GigabitEthernet1/0/0] port vlan-stacking vlan 10 stack-vlan 100
[Switch2-GigabitEthernet1/0/0] quit
Step 3 Configure the IGP protocol. OSPF is used in this example.
When configuring OSPF, advertise the 32-bit loopback interface addresses (LSR IDs) of PE1,
P, and PE2.
The configuration details are not mentioned here.
After the configuration is complete, run the display ip routing-table command on PE1, P, and
PE2. You can view the routes learned by PE1, P, and PE2 from each other.
Step 4 Configure basic MPLS functions and LDP.
The configuration procedure is not mentioned.
After the configuration, run the display mpls ldp session command on PE1, P and PE2. You
can see that the peer relationship is set up between PE1 and P, and between P and PE2. The
status of the peer relationship is Operational. Run the display mpls lsp command, and you can
see the status of the LSP.
Step 5 Create remote LDP sessions between PEs.
# Configure PE1.
[PE1] mpls ldp remote-peer 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] remote-ip 3.3.3.9
[PE1-mpls-ldp-remote-3.3.3.9] quit
# Configure PE2.
[PE2] mpls ldp remote-peer 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] remote-ip 1.1.1.9
[PE2-mpls-ldp-remote-1.1.1.9] quit
After the configuration, run the display mpls ldp session command on PE1 or PE2, and you
can find that the status of the peer relationship between PE1 and PE2 is Operational. That is, the
peer relationship is set up.
Step 6 Enable MPLS L2VPN on PEs.
# Configure PE1.
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 5 QinQ Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
296

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals