
Figure 8-25
Networking diagram with IGP cost configurations
10.1.3.2/30
10.1.3.1/30
10.1.3.2/30
RouterE
ISP
AS 100
10.1.3.1/30
10.1.5.2/30
10.1.6.2/30
EBGP
EBGP
1.1.1.9/32
10.1.5.1/30
10.1.6.1/30
10.1.4.1/30
10.1.4.2/30
10.1.2.1/30
10.1.2.2/30
AS 65001
RouterA
RouterB
RouterC
RouterD
Run the
display bgp routing-table
[
ip-address
] command on Router C and Router D to check
the configurations. Router C is used as an example.
# Display the routing table of Router C.
[RouterC]
display bgp routing-table
BGP Local router ID is 10.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 4
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.1.1.9/32 10.1.5.2 0 100 0 100i
* i 10.1.6.2 0 100 0 100i
*>i 10.1.5.0/30 10.1.3.2 0 100 0 i
*>i 10.1.6.0/30 10.1.2.2 0 100 0 i
The preceding command output shows that two routes 1.1.1.9/32 are available in the routing
table of Router C and that Router C selects the route learned from Router A.
[RouterC]
display bgp routing-table 1.1.1.9
BGP local router ID : 10.1.1.1
Local AS number : 65001
Paths: 2 available, 1 best, 1 select
BGP routing table entry information of 1.1.1.9/32:
From: 10.1.3.2 (2.2.2.9)
Route Duration: 00h00m44s
Relay IP Nexthop: 10.1.3.2
Relay IP Out-Interface: GigabitEthernet0/0/0
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
8 BGP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
950