HP HSR6800 Configuration Manual page 240

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.1 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 1.1.1.1
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
# Create a remote peer.
[PE1] mpls ldp remote-peer 1
[PE1-mpls-ldp-remote-1] remote-ip 2.2.2.2
[PE1-mpls-ldp-remote-1] quit
# Configure OSPF.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 1.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure basic MPLS for the interface connecting ASBR 1.
[PE1] interface gigabitethernet 2/1/2
[PE1-GigabitEthernet2/1/2] ip address 10.1.1.1 24
[PE1-GigabitEthernet2/1/2] mpls
[PE1-GigabitEthernet2/1/2] mpls ldp
[PE1-GigabitEthernet2/1/2] quit
# Enable L2VPN and MPLS L2VPN.
[PE1] l2vpn
[PE1-l2vpn] mpls l2vpn
[PE1-l2vpn] quit
# Create VPLS instance aaa that uses LDP signaling.
[PE1] vsi aaa static
[PE1-vsi-aaa] pwsignal ldp
[PE1-vsi-aaa-ldp] vsi-id 500
[PE1-vsi-aaa-ldp] peer 2.2.2.2
[PE1-vsi-aaa-ldp-2.2.2.2] quit
[PE1-vsi-aaa-ldp] quit
[PE1-vsi-aaa] quit
# Bind the VPLS instance aaa to GigabitEthernet 2/1/1, the interface connected to CE 1.
[PE1] interface gigabitethernet 2/1/1
[PE1-GigabitEthernet2/1/1] l2 binding vsi aaa
[PE1-GigabitEthernet2/1/1] quit
2.
Configurations on ASBR 1:
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname ASBR1
[ASBR1] interface loopback 0
[ASBR1-LoopBack0] ip address 2.2.2.2 32
[ASBR1-LoopBack0] quit
232

Advertisement

Table of Contents
loading

Table of Contents