Huawei AR1200 series Configuration Manual page 204

Enterprise routers
Hide thumbs Also See for AR1200 series:
Table of Contents

Advertisement

Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN
[PE1] bgp 100
[PE1-bgp] peer 4.4.4.9 as-number 200
[PE1-bgp] peer 4.4.4.9 connect-interface LoopBack 1
[PE1-bgp] peer 4.4.4.9 ebgp-max-hop 10
[PE1-bgp] ipv4-family vpnv4
[PE1-bgp-af-vpnv4] peer 4.4.4.9 enable
[PE1-bgp-af-vpnv4] quit
[PE1-bgp] quit
# Configure PE2.
[PE2] bgp 200
[PE2-bgp] peer 1.1.1.9 as-number 100
[PE2-bgp] peer 1.1.1.9 connect-interface LoopBack 1
[PE2-bgp] peer 1.1.1.9 ebgp-max-hop 10
[PE2-bgp] ipv4-family vpnv4
[PE2-bgp-af-vpnv4] peer 1.1.1.9 enable
[PE2-bgp-af-vpnv4] quit
[PE2-bgp] quit
Step 7 Verify the configuration.
After the above configuration, the CEs can learn interface routes of each other. CE1 and CE2
can ping through each other.
Consider CE1 as an example:
[CE1] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
GigabitEthernet1/0/0
GigabitEthernet1/0/0
[CE1] ping 10.2.1.1
PING 10.2.1.1: 56
--- 10.2.1.1 ping statistics ---
There is no VPNv4 route on the ASBR. Run the display bgp routing-table label command on
the ASBR to see the label information of the routes.
Consider ASBR1 as an example:
[ASBR1] display bgp routing-table label
Total Number of Routes: 2
BGP Local router ID is 2.2.2.9
Status codes: * - valid, > - best, d - damped,
*>
*>
----End
Issue 01 (2012-04-20)
Destinations : 5
Proto
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
10.2.1.0/24
EBGP
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
data bytes, press CTRL_C to break
Reply from 10.2.1.1: bytes=56 Sequence=1 ttl=252 time=102 ms
Reply from 10.2.1.1: bytes=56 Sequence=2 ttl=252 time=89 ms
Reply from 10.2.1.1: bytes=56 Sequence=3 ttl=252 time=106 ms
Reply from 10.2.1.1: bytes=56 Sequence=4 ttl=252 time=104 ms
Reply from 10.2.1.1: bytes=56 Sequence=5 ttl=252 time=56 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 56/91/106 ms
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
1.1.1.9
4.4.4.9
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 5
Pre
Cost
Flags NextHop
0
0
255
0
0
0
i - internal, s - suppressed, S - Stale
NextHop
In/Out Label
172.1.1.2
15360/NULL
192.1.1.2
15361/15361
3 BGP MPLS IP VPN Configuration
Interface
D
10.1.1.1
D
127.0.0.1
InLoopBack0
D
10.1.1.2
D
127.0.0.1
InLoopBack0
D
127.0.0.1
InLoopBack0
193

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar3200 series

Table of Contents