HP HPE FlexNetwork MSR Router Series Configuration Manual page 452

Table of Contents

Advertisement

[PE1-ospf-1] area 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] network 192.2.2.2 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Create a cross-connect group named ccc, create a remote CCC connection that has
incoming label 101, outgoing label 201, and next hop 10.1.1.2, and bind GigabitEthernet 2/0/1
to the CCC connection.
[PE1] xconnect-group ccc
[PE1-xcg-ccc] connection ccc
[PE1-xcg-ccc-ccc] ccc in-label 101 out-label 201 nexthop 10.1.1.2
[PE1-xcg-ccc-ccc] ac interface gigabitethernet 2/0/1
[PE1-xcg-ccc-ccc] quit
[PE1-xcg-ccc] quit
3.
Configure the P device:
# Configure an LSR ID.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 192.4.4.4 32
[P-LoopBack0] quit
[P] mpls lsr-id 192.4.4.4
# Configure GigabitEthernet 2/0/1 (the interface connected to PE 1), and enable MPLS on the
interface.
[P] interface gigabitethernet 2/0/1
[P-GigabitEthernet2/0/1] ip address 10.1.1.2 24
[P-GigabitEthernet2/0/1] mpls enable
[P-GigabitEthernet2/0/1] quit
# Configure GigabitEthernet 2/0/2 (the interface connected to PE 2), and enable MPLS on the
interface.
[P] interface gigabitethernet 2/0/2
[P-GigabitEthernet2/0/2] ip address 10.2.2.2 24
[P-GigabitEthernet2/0/2] mpls enable
[P-GigabitEthernet2/0/2] quit
# Configure a static LSP to forward packets from PE 1 to PE 2.
[P] static-lsp transit pe1-pe2 in-label 201 nexthop 10.2.2.1 out-label 202
# Configure a static LSP to forward packets from PE 2 to PE 1.
[P] static-lsp transit pe2-pe1 in-label 102 nexthop 10.1.1.1 out-label 101
# Configure OSPF.
[P] ospf
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] network 10.1.1.2 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 10.2.2.2 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 192.4.4.4 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
4.
Configure PE 2:
# Configure an LSR ID.
<PE2> system-view
442

Advertisement

Table of Contents
loading

Table of Contents