H3C S9500 Series Operation Manual page 71

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

Advertisement

Operation Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
[PE1-ospf-100-area-0.0.0.0] network 10.1.1.0
# Configuring Sham-link
[PE1-ospf-100-area-0.0.0.1] sham-link 1.1.1.1 2.2.2.2
# Configure the routes distributed to PE2 and PE3.
[PE1] ospf 1000
[PE1-ospf-1000] area 0
[H3C-ospf-1000-area-0.0.0.0] network 168.12.1.0 0.0.0.255
[H3C-ospf-1000-area-0.0.0.0] network 50.1.1.1 0.0.0.0
2)
Configure PE2
# Enable MPLS and LDP.
[PE2] mpls lsr-id 50.1.1.2
[PE2] mpls
[PE2-mpls] quit
[PE2] mpls ldp
# Configure VPN-instance VPN1.
[PE2] ip vpn-instance vpn1
[PE2-vpn-vpn1] route-distinguisher 2:1
[PE2-vpn-vpn1] vpn-target 100:1 export-extcommunity
[PE2-vpn-vpn1] vpn-target 100:1 import-extcommunity
# Configure VLAN interface.
[PE2] vlan 203
[PE2-vlan203] port gigabitethernet 2/1/3
[PE2-vlan203] quit
[PE2] interface Vlan-interface 203
[PE2-Vlan-interface203] ip address 168.1.12.2 255.255.255.0
[PE2-Vlan-interface203] mpls
[PE2-Vlan-interface203] mpls ldp enable
[PE2-Vlan-interface203] quit
[PE2] vlan 201
[PE2-vlan201] port gigabitethernet 2/1/1
[PE2-vlan201] quit
[PE2] interface Vlan-interface 201
[PE2-Vlan-interface201] ip binding vpn-instance vpn1
[PE2-Vlan-interface201] ip address 20.1.1.2 255.255.255.0
[PE2-Vlan-interface201] ospf cost 1
[PE2-Vlan-interface201] quit
[PE2] vlan 202
[PE2-vlan202] port gigabitethernet 2/1/2
[PE2-vlan202] quit
[PE2] interface Vlan-interface 202
Chapter 1 MPLS L3VPN Configuration
0.0.0.255
1-70

Advertisement

Table of Contents
loading

Table of Contents