Huawei quidway s7700 Configuration Manual page 506

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
<Quidway> system-view
[Quidway] sysname CE2
[CE2] vlan 20
[CE2-vlan20] quit
[CE2] interface gigabitethernet 1/0/0
[CE2-GigabitEthernet1/0/0]port link-type trunk
[CE2-GigabitEthernet1/0/0]port trunk allow-pass vlan 20
[CE2-GigabitEthernet1/0/0]quit
[CE2] interface vlanif 20
[CE2-Vlanif20] ip address 100.1.1.2 24
[CE2-Vlanif20] quit
Step 2 Configure PEs.
# Configure the LSR ID and enable MPLS and MPLS L2VPN.
<Quidway> system-view
[Quidway] sysname PE
[PE] interface loopback 1
[PE-LoopBack1] ip address 1.1.1.9 32
[PE-LoopBack1] quit
[PE] mpls lsr-id 1.1.1.9
[PE] mpls
[PE-mpls] quit
[PE] mpls l2vpn
[PE-l2vpn] quit
[PE] vlan batch 10 20
[PE] interface gigabitethernet 1/0/0
[PE-GigabitEthernet1/0/0] port hybrid pvid vlan 10
[PE-GigabitEthernet1/0/0] port hybrid tagged vlan 10
[PE-GigabitEthernet1/0/0] quit
[PE] interface gigabitethernet 2/0/0
[PE-GigabitEthernet2/0/0] port hybrid pvid vlan 20
[PE-GigabitEthernet2/0/0] port hybrid tagged vlan 20
[PE-GigabitEthernet2/0/0] quit
# Create a local connection between CE1 and CE2.
[PE] interface vlanif 10
[PE-Vlanif10] quit
[PE] interface vlanif 20
[PE-Vlanif20] quit
[PE] ccc ce1-ce2 interface vlanif 10 out-interface vlanif 20
Step 3 Verify the configuration.
After the configuration, display the CCC information on the PE. You can see that a local CCC
connection is set up and the status is Up.
<PE> display vll ccc
total
local
remote ccc vc : 0,
name: ce1-ce2, type: local, state: up,
intf1: Vlanif10 (up),
VC last up time : 2010/07/24 12:31:31
VC total up time: 0 days, 2 hours, 12 minutes, 51 seconds
Run the display l2vpn ccc-interface vc-type ccc command, and you can see that the VC type
is CCC and the status is Up.
<PE> display l2vpn ccc-interface vc-type all
Total ccc-interface of CCC : 2
up (2), down (0)
Issue 01 (2011-07-15)
NOTE
The packets sent from CE to PE must have VLAN tags.
ccc vc : 1
ccc vc : 1,
1 up
0 up
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
intf2: Vlanif20 (up)
5 VLL Configuration
491

Advertisement

Table of Contents
loading

Table of Contents