Huawei quidway s7700 Configuration Manual page 511

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Step 5 Create the remote CCC connection between the two PEs.
# Configure PE1: Enable MPLS L2VPN globally and create the remote CCC connection from
CE1 to CE2. Connect the incoming interface of PE1 to CE1 and the outgoing interface of PE1
to the P. Set the incoming label to 100 and the outgoing label to 200.
[PE1] mpls l2vpn
[PE1-l2vpn] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] quit
[PE1] ccc CE1-CE2 interface vlanif 10 in-label 100 out-label 200 nexthop 10.1.1.2
# Configure PE2: Enable mpls l2vpn globally and create the remote CCC connection from CE2
to CE1. Connect the incoming interface of PE2 to CE2 and the outgoing interface of PE2 to the
P. Set the incoming label to 201 and the outgoing label to 101.
[PE2] mpls l2vpn
[PE2-l2vpn] quit
[PE2] interface vlanif 40
[PE2-Vlanif40] quit
[PE2] ccc CE2-CE1 interface vlanif 40 in-label 201 out-label 101 nexthop 10.2.2.2
Step 6 Configure static LSPs on P for forwarding packets.
# Configure P: Configure a static LSP for forwarding packets from PE1 to PE2, and configure
another static LSP for forwarding packets from PE2 to PE1.
[P] static-lsp transit PE1-PE2 incoming-interface vlanif 20 in-label 200 nexthop
10.2.2.1 out-label 201
[P] static-lsp transit PE2-PE1 incoming-interface vlanif 30 in-label 101 nexthop
10.1.1.1 out-label 100
Step 7 Verify the configuration.
After the configuration, display information about the CCC connection on the PEs. You can find
that a remote CCC connection is set up on each of PE1 and PE2 and the status of the connection
is Up.
<PE1> display vll ccc
total
local
remote ccc vc : 1,
name: CE1-CE2, type: remote, state: up,
intf: Vlanif10 (up), in-label: 100 , out-label: 200 , nexthop: 10.1.1.2
VC last up time : 2007/10/09 17:35:14
VC total up time: 0 days, 3 hours, 22 minutes, 55 seconds
<PE2> display vll ccc
total
local
remote ccc vc : 1,
name: CE2-CE1, type: remote, state: up,
intf: Vlanif40 (up), in-label: 201 , out-label: 101 , nexthop : 10.2.2.2
VC last up time : 2009/10/09 17:35:14
VC total up time: 0 days, 3 hours, 22 minutes, 57 seconds
Run the display l2vpn ccc-interface vc-type ccc command on PE, and you can see that the VC
type is CCC and the status is Up. Take PE1 for example.
<PE1> display l2vpn ccc-interface vc-type ccc
Total ccc-interface of CCC : 1
up (1), down (0)
Interface
Vlanif10
Issue 01 (2011-07-15)
ccc vc : 1
ccc vc : 0,
0 up
1 up
ccc vc : 1
ccc vc : 0,
0 up
1 up
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Encap Type
ethernet
5 VLL Configuration
State
VC Type
up
ccc
496

Advertisement

Table of Contents
loading

Table of Contents