H3C SR8800 10G Mpls Configuration Manual page 310

Core routers
Table of Contents

Advertisement

NOTE:
The configurations for PE 2 are similar to those for PE 1. (Details not shown)
After completing the configuration, issue the display bgp peer command or the display bgp vpnv4
all peer command on the PEs. The output shows that BGP peer relationship has been established
between the PEs, and has reached the Established state.
[PE1] display bgp vpnv4 all peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
2.2.2.9
100
Configure a GRE tunnel
6.
# Configure PE 1.
[PE1] interface tunnel 0
[PE1-Tunnel0] tunnel-protocol gre
[PE1-Tunnel0] source loopback 0
[PE1-Tunnel0] destination 2.2.2.9
[PE1-Tunnel0] ip address 20.1.1.1 24
[PE1-Tunnel0] mpls
[PE1-Tunnel0] quit
# Configure PE 2.
[PE2] interface tunnel 0
[PE2-Tunnel0] tunnel-protocol gre
[PE2-Tunnel0] source loopback 0
[PE2-Tunnel0] destination 1.1.1.9
[PE2-Tunnel0] ip address 20.1.1.2 24
[PE2-Tunnel0] mpls
[PE2-Tunnel0] quit
Verify your configurations
7.
After you complete the configurations, the CEs can learn the interface routes from each other.
The following takes CE 1 as an example:
[CE1] display ip routing-table
Routing Tables: Public
Destinations : 5
Destination/Mask
10.1.1.0/24
10.1.1.1/32
10.2.1.0/24
127.0.0.0/8
127.0.0.1/32
The following takes PE 1 as an example:
[PE1] display ip routing-table
Routing Tables: Public
Destinations : 11
Destination/Mask
1.1.1.9/32
AS
MsgRcvd
MsgSent
3
Routes : 5
Proto
Pre
Cost
Direct 0
0
Direct 0
0
BGP
255
0
Direct 0
0
Direct 0
0
Routes : 11
Proto
Pre
Cost
Direct 0
0
299
Peers in established state : 1
OutQ
PrefRcv
3
0
1
NextHop
10.1.1.1
127.0.0.1
10.1.1.2
127.0.0.1
127.0.0.1
NextHop
127.0.0.1
Up/Down
State
00:00:34 Established
Interface
GE3/1/1
InLoop0
GE3/1/1
InLoop0
InLoop0
Interface
InLoop0

Advertisement

Table of Contents
loading

Table of Contents