HP HPE FlexNetwork MSR Router Series Configuration Manual page 493

Table of Contents

Advertisement

<PE3> system-view
[PE3] interface loopback 0
[PE3-LoopBack0] ip address 3.3.3.9 32
[PE3-LoopBack0] quit
[PE3] mpls lsr-id 3.3.3.9
[PE3] mpls ldp
[PE3-ldp] quit
# Establish IBGP connections to PE 1 and PE 2, and use BGP to advertise VPLS PE
information.
[PE3] bgp 100
[PE3-bgp] peer 1.1.1.9 as-number 100
[PE3-bgp] peer 1.1.1.9 connect-interface loopback 0
[PE3-bgp] peer 2.2.2.9 as-number 100
[PE3-bgp] peer 2.2.2.9 connect-interface loopback 0
[PE3-bgp] address-family l2vpn
[PE3-bgp-l2vpn] peer 1.1.1.9 enable
[PE3-bgp-l2vpn] peer 2.2.2.9 enable
[PE3-bgp-l2vpn] quit
[PE3-bgp] quit
# Enable L2VPN.
[PE3] l2vpn enable
# Configure VSI aaa to use BGP to discover remote PEs and use LDP to establish LDP PWs to
PE 1 and PE 2.
[PE3] vsi aaa
[PE3-vsi-aaa] auto-discovery bgp
[PE3-vsi-aaa-auto] route-distinguisher 1:1
[PE3-vsi-aaa-auto] vpn-target 1:1
[PE3-vsi-aaa-auto] signaling-protocol ldp
[PE3-vsi-aaa-auto-ldp] vpls-id 100:100
[PE3-vsi-aaa-auto-ldp] quit
[PE3-vsi-aaa-auto] quit
[PE3-vsi-aaa] quit
# Bind GigabitEthernet 2/0/1 to VSI aaa.
[PE3] interface gigabitethernet 2/0/1
[PE3-GigabitEthernet2/0/1] xconnect vsi aaa
[PE3-GigabitEthernet2/0/1] quit
Verifying the configuration
# Verify that two PWs in up state have been established on PE 1.
[PE1] display l2vpn pw verbose
VSI Name: aaa
Peer: 2.2.2.9
Signaling Protocol
Link ID
In Label
MTU
PW Attributes
VCCV CC
VCCV BFD
VPLS ID: 100:100
: LDP
: 8
PW State : Up
: 1555
Out Label: 1555
: 1500
: Main
: -
: -
483

Advertisement

Table of Contents
loading

Table of Contents