H3C S9500 Series Operation Manual page 88

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-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.1 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Configure the static LSP to PE2.
[PE1] mpls
[PE1-mpls] static-lsp ingress lsp1 destination 3.3.3.3 32 nexthop 10.1.1.2
out-label 50
2)
Configure PE2
Note:
The configuration of PE2 is similar to that of PE1. The following takes the configuration
of a static LSP as an example. Other configurations are omitted.
# Configure the static LSP to PE1.
[PE2] mpls
[PE2-mpls] static-lsp ingress lsp2 destination 1.1.1.1 32 nexthop 20.1.1.1
out-label 60
3)
Configure the P device
# Enable MPLS.
[P] mpls lsr-id 2.2.2.2
[P] mpls
# Configure the loopback interface.
[PE1] interface LoopBack 0
[PE_1-LoopBack0] ip address 2.2.2.2 255.255.255.255
# Configure the virtual VLAN interface.
[P] vlan 10
[P-vlan10] port gigabitethernet 2/1/1
[P-vlan10] quit
[P] interface Vlan-interface 10
[P-Vlan-interface10] ip address 10.1.1.2 255.255.255.0
[P-Vlan-interface10] ospf cost 1
[P-Vlan-interface10] mpls
[P-Vlan-interface10] quit
[P] vlan 20
[P-vlan20] port gigabitethernet 2/1/2
[P-vlan20] quit
Chapter 1 MPLS L3VPN Configuration
1-87

Advertisement

Table of Contents
loading

Table of Contents