![Huawei Quidway NetEngine40E Скачать руководство пользователя страница 216](http://html.mh-extra.com/html/huawei/quidway-netengine40e/quidway-netengine40e_configuration-manual-reliability_169453216.webp)
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
5.5.5.9 4 100 2 6 0 00:00:12
Established
2
[NPE1]
display bgp vpnv4 all peer
BGP local router ID : 3.3.3.9
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
5.5.5.9 4 100 12 18 0 00:09:38
Established
2
Run the
display ip routing-table vpn-instance
command on NPE or PE devices. You can
view the routes to CEs at peer.
Take NPE1 as an example.
[NPE1]
display ip routing-table vpn-instance VPN1
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: VPN1
Destinations : 4 Routes : 4
Destination/Mask Proto Pre Cost Flags NextHop Interface
172.16.1.0/24 Direct 0 0 D 172.16.1.2 Virtual-
Ethernet2/0/5
172.16.1.0/24 Direct 0 0 D 172.16.1.2 Virtual-
Ethernet2/0/5.1
172.16.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0
172.18.1.0/24 IBGP 255 0 RD 5.5.5.9 Pos1/0/0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Step 4
Configure MPLS L2VPN on the access network.
1.
Run IGP between NPE and UPE. OSPF is used in the example.
# Configure UPE1.
<HUAWEI>
system-view
[HUAWEI]
sysname UPE1
[UPE1]
ospf
[UPE1-ospf-1]
area 0
[UPE1-ospf-1-area-0.0.0.0]
network 10.1.1.0 0.0.0.255
[UPE1-ospf-1-area-0.0.0.0]
network 10.2.1.0 0.0.0.255
[UPE1-ospf-1-area-0.0.0.0]
network 1.1.1.9 0.0.0.0
[UPE1-ospf-1-area-0.0.0.0]
quit
[UPE1-ospf-1]
quit
# Configure UPE2.
<HUAWEI>
system-view
[HUAWEI]
sysname UPE2
[UPE2]
ospf
[UPE2-ospf-1]
area 0
[UPE2-ospf-1-area-0.0.0.0]
network 10.3.1.0 0.0.0.255
[UPE2-ospf-1-area-0.0.0.0]
network 10.4.1.0 0.0.0.255
[UPE2-ospf-1-area-0.0.0.0]
network 2.2.2.9 0.0.0.0
[UPE2-ospf-1-area-0.0.0.0]
quit
[UPE2-ospf-1]
quit
# Configure NPE1.
[NPE1]
ospf
[NPE1-ospf-1]
area 0
[NPE1-ospf-1-area-0.0.0.0]
network 10.1.1.0 0.0.0.255
[NPE1-ospf-1-area-0.0.0.0]
network 10.3.1.0 0.0.0.255
[NPE1-ospf-1-area-0.0.0.0]
network 3.3.3.9 0.0.0.0
[NPE1-ospf-1-area-0.0.0.0]
quit
[NPE1-ospf-1]
quit
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
199