Huawei quidway s7700 Configuration Manual page 548

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[ASBR-PE1-mpls-l2vpn-ce-vpn1-ce2] connection ce-offset 1 interface vlanif 30
[ASBR-PE1-mpls-l2vpn-ce-vpn1-ce2] quit
[ASBR-PE1-mpls-l2vpn-vpn1] quit
# Configure ASBR-PE2.
[ASBR-PE2] mpls l2vpn
[ASBR-PE2-l2vpn] quit
[ASBR-PE2] mpls l2vpn vpn1 encapsulation vlan
[ASBR-PE2-mpls-l2vpn-vpn1] route-distinguisher 200:1
[ASBR-PE2-mpls-l2vpn-vpn1] mtu 1500
[ASBR-PE2-mpls-l2vpn-vpn1] vpn-target 1:1 both
[ASBR-PE2-mpls-l2vpn-vpn1] ce ce3 id 3 range 10 default-offset 0
[ASBR-PE2-mpls-l2vpn-ce-vpn1-ce3] connection ce-offset 4 interface vlanif 30
[ASBR-PE2-mpls-l2vpn-ce-vpn1-ce3] quit
[ASBR-PE2-mpls-l2vpn-vpn1] quit
# Configure PE2.
[PE2] mpls l2vpn
[PE2-l2vpn] quit
[PE2] mpls l2vpn vpn1 encapsulation vlan
[PE2-mpls-l2vpn-vpn1] route-distinguisher 200:2
[PE2-mpls-l2vpn-vpn1] mtu 1500
[PE2-mpls-l2vpn-vpn1] vpn-target 1:1 both
[PE2-mpls-l2vpn-vpn1] ce ce4 id 4 range 10 default-offset 0
[PE2-mpls-l2vpn-ce-vpn1-ce4] connection ce-offset 3 interface vlanif 50
[PE2-mpls-l2vpn-ce-vpn1-ce4] quit
[PE2-mpls-l2vpn-vpn1] quit
# Configure CE1.
[CE1] interface vlanif 10
[CE1-Vlanif10] ip address 10.1.1.1 255.255.255.0
[CE1-Vlanif10] quit
# Configure CE2.
[CE2] interface vlanif 50
[CE2-Vlanif50] ip address 10.1.1.2 255.255.255.0
[CE2-Vlanif50] quit
Step 7 Verify the configuration.
Display information about the L2VPN connection on PE1. You can see that an L2VC is set up
and the VC status is Up.
Take the display on PE1 and ASBR-PE2 for example.
# The display on PE1 is as follows:
<PE1> display mpls l2vpn connection interface vlanif 10
conn-type: remote
Issue 01 (2011-07-15)
local vc state:
remote vc state:
local ce-id:
local ce name:
remote ce-id:
intf(state,encap):
peer id:
route-distinguisher:
local vc label:
remote vc label:
tunnel policy:
CKey:
NKey:
primary or secondary:
forwardEntry exist or not:
forward entry active or not:true
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
up
up
1
ce1
2
Vlanif10(up,vlan)
2.2.2.2
100:2
31745
35852
default
19
3
primary
true
5 VLL Configuration
533

Advertisement

Table of Contents
loading

Table of Contents