Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 945

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
*>i
* i
The preceding command output shows that Router C selects the routes learned from ISP1.
# Display detailed information about the route 10.11.0.0/16 or 10.22.0.0/16 on Router C. The
route 10.11.0.0/16 is used as an example.
[RouterC] display bgp routing-table 10.11.0.0
BGP local router ID : 192.168.2.1
Local AS number : 65001
Paths:
BGP routing table entry information of 10.11.0.0/16:
From: 10.1.4.1 (192.168.2.3)
Route Duration: 00h06m26s
Relay IP Nexthop: 10.1.4.1
Relay IP Out-Interface: GigabitEthernet1/0/0
Original nexthop: 10.1.1.1
Qos information : 0x0
AS-path 100 10, origin igp, localpref 120, pref-val 0, valid, internal, best,
select, active, pre 255
Not advertised to any peer yet
BGP routing table entry information of 10.11.0.0/16:
From: 10.1.5.1 (192.168.2.2)
Route Duration: 00h08m05s
Relay IP Nexthop: 10.1.5.1
Relay IP Out-Interface: GigabitEthernet1/0/1
Original nexthop: 10.1.2.1
Qos information : 0x0
AS-path 200 10, origin igp, localpref 100, pref-val 0, valid, internal, pre 255,
not preferred for Local_Pref
Not advertised to any peer yet
The preceding command output shows that Router C selects the routes learned from ISP1
because the Local_Pref of the routes learned from ISP1 is greater than that of the route learned
from ISP2.
The preceding examples show that the modification of the Local_Pref values affects not only
BGP route advertisement but also BGP route selection with an AS. We can configure Local_Pref
values as required to control the forwarding path of the traffic that leaves an AS.
Route Type
BGP prefers locally imported routes to the routes learned from peers during BGP route selection.
BGP routes can be locally imported or learned from peers. The locally imported routes take
precedence over the routes learned from peers during BGP route selection. It is unusual for
locally imported routes and the routes learned from peers to carry the same destination IP address
and coexist in the routing table. Generally, locally imported routes can be the routes imported
using the network or import-route command and the automatically and manually summarized
routes. Precedences of these routes are described as follows:
1.
2.
3.
Issue 02 (2014-09-30)
10.22.0.0/16
2 available, 1 best, 1 select
Summarized routes take precedence over non-summarized routes.
Summarized routes that are manually generated using the aggregate command take
precedence over summarized routes that are automatically generated based on the
summary automatic command settings.
The routes imported using the network command take precedence over the routes imported
using the import-route command.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10.1.1.1
10.1.2.1
8 BGP Configuration
120
0
100 10i
100
0
200 10i
920

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e