Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 970

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
l
Run the display bgp routing-table [ ip-address ] command to check the configurations. Use
Router B as an example.
# Display the routing table of Router B.
[RouterB] display bgp routing-table
BGP Local router ID is 10.1.2.1
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 2
*>
*
# Display detailed information about the route 1.1.1.9/32 on Router B.
[RouterB] display bgp routing-table 1.1.1.9 32
BGP local router ID : 10.1.2.1
Local AS number : 200
Paths:
BGP routing table entry information of 1.1.1.9/32:
Issue 02 (2014-09-30)
#
route-policy addmed100 permit node 10
of addmed100 and set the MED of the route 1.1.1.9/32 to 100.
if-match ip-prefix p1
apply cost 100
#
route-policy addmed100 permit node 20
of addmed100 to allow addmed100 to permit all other routes.
#
ip ip-prefix p1 index 10 permit 1.1.1.9 32
list to match the route 1.1.1.9/32.
Configurations on Router D:
NOTE
The following configurations are intended to ensure that Router A selects the route learned from
Router C. However, Router A has already selected the route learned from Router C because the router
ID of Router C is smaller than that of Router D. Therefore, the following configurations on Router
D are optional.
#
bgp 65001
#
ipv4-family unicast
undo synchronization
peer 10.1.3.1 route-policy addmed200 export
named addmed200 to the routes to be advertised to 10.1.3.1 and use addmed200
to modify the MED value.
#
route-policy addmed200 permit node 10
of addmed200 and set the MED of the route 1.1.1.9/32 to 200.
if-match ip-prefix p1
apply cost 200
#
route-policy addmed200 permit node 20
of addmed200 to allow addmed200 to permit all other routes.
#
ip ip-prefix p1 index 10 permit 1.1.1.9 32
list to match the route 1.1.1.9/32.
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
1.1.1.9/32
2 available, 1 best, 1 select
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
10.1.2.2
10.1.4.2
100
8 BGP Configuration
//Define the first node
//Define the second node
//Configure an IP prefix
//Apply export policy
//Define the first node
//Define the second node
//Configure an IP prefix
LocPrf
PrefVal Path/Ogn
0
65001i
0
65001i
945

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e