Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 950

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
# Display the routing table of Router E.
[RouterE] display bgp routing-table
BGP Local router ID is 10.1.1.1
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 6
*>
*
*>
*
*>
*
[RouterE] display bgp routing-table 10.1.4.0
BGP local router ID : 10.1.1.1
Local AS number : 65001
Paths:
BGP routing table entry information of 10.1.4.0/30:
From: 10.1.1.2 (10.1.1.2)
Route Duration: 00h02m29s
Direct Out-interface: GigabitEthernet0/0/1
Original nexthop: 10.1.1.2
Qos information : 0x0
AS-path 65002, origin incomplete, MED 2, pref-val 0, valid, external, best,
select, active, pre 255
Advertised to such 2 peers:
BGP routing table entry information of 10.1.4.0/30:
From: 10.1.3.2 (10.1.5.1)
Route Duration: 00h03m58s
Direct Out-interface: GigabitEthernet0/0/0
Original nexthop: 10.1.3.2
Qos information : 0x0
AS-path 65002, origin incomplete, MED 2, pref-val 0, valid, external, pre 255, not
preferred for router ID
Not advertised to any peer yet
The command output shows that Router E selects the route learned from Router A because the
AIGP attribute has not been configured and the router ID of Router A is smaller than that of
Router B. To change the route selection on Router E, perform the following operations to
configure the AIGP attribute.
Configurations on Router A:
#
bgp 65002
#
ipv4-family unicast
import-route ospf 1 route-policy aigp_policy
aigp_policy to locally imported OSPF routes and use aigp_policy to modify the AIGP
value.
peer 10.1.1.1 aigp
device and the peer 10.1.1.1.
#
route-policy aigp_policy permit node 10
aigp_policy and set the AIGP value of the route 10.1.4.0/30 to 10.
if-match ip-prefix prefix1
apply aigp 10
#
Issue 02 (2014-09-30)
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
10.1.2.0/30
10.1.4.0/30
10.1.5.0/30
2 available, 1 best, 1 select
10.1.1.2
10.1.3.2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
10.1.1.2
0
10.1.3.2
3
10.1.1.2
2
10.1.3.2
2
10.1.3.2
0
10.1.1.2
3
8 BGP Configuration
LocPrf
PrefVal Path/Ogn
0
65002?
0
65002?
0
65002?
0
65002?
0
65002?
0
65002?
//Apply route-policy named
//Enable AIGP on the local
//Define the first node of
925

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e