H3C S9500 Series Operation Manual page 957

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
[ASBR-PE2] mpls lsr-id 162.1.1.1
[ASBR-PE2-mpls] lsp-trigger all
[ASBR-PE2-mpls] quit
[ASBR-PE2] mpls ldp
[ASBR-PE2-mpls-ldp] quit
[ASBR-PE2] interface vlan 310
[ASBR-PE2-Vlan-interface310] mpls
[ASBR-PE2-Vlan-interface310] mpls ldp enable
[ASBR-PE2-Vlan-interface310] quit
[ASBR-PE2] interface vlan 210
[ASBR-PE2-Vlan-interface210] mpls
[ASBR-PE2-Vlan-interface310] quit
# Configure basic MPLS capability on PE2 and enable LDP on the interface connected
to ASBR-PE2.
[PE2] mpls lsr-id 162.1.1.2
[PE2-mpls] lsp-trigger all
[PE2-mpls] quit
[PE2] mpls ldp
[PE2-mpls-ldp] quit
[PE2] interface vlan 310
[PE2-Vlan-interface310] mpls
[PE2-Vlan-interface310] mpls ldp enable
[PE2-Vlan-interface310] quit
3)
Create a VPN instance on each PE, and bind the instance to the interface
connected to the corresponding CE.
# Configure CE1
[CE1] vlan 410
[CE1-vlan410] interface vlan 410
[CE1-Vlan-interface410] ip address 168.1.1.2 255.255.0.0
[CE1-Vlan-interface410] quit
# Create a VPN instance on PE1 and bind it to the interface connected to CE1
[PE1] ip vpn-instance vpna
[PE1-vpn-vpna] route-distinguisher 100:2
[PE1-vpn-vpna] vpn-target 100:1 both
[PE1-vpn-vpna] quit
[PE1]vlan 410
[PE1] interface vlan 410
[PE1-Vlan-interface410] ip binding vpn-instance vpna
[PE1-Vlan-interface410] ip address 168.1.1.1 255.255.0.0
[PE1-Vlan-interface410] quit
# Configure CE2
Chapter 1 MPLS L3VPN Configuration
1-60

Advertisement

Table of Contents
loading

Table of Contents