Figure 8-9
Typical BGP Confederation networking
AS 200
1.1.1.9/32
AS 65121
AS 65001
AS 65011
AS 65101
AS 300
Router A
Router D
Router E
Router B
Router C
2.2.2.9/32
3.3.3.9/32
2.2.2.7/32
2.2.2.8/32
Before an AS_Path filter is configured on Router A, the BGP routing table on Router A is as
follows:
[RouterA]
display bgp routing-table
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 9
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 1.1.1.9/32 0.0.0.0 0 0 i
*>i 2.2.2.7/32 10.1.1.2 0 100 0 (65001)i
* i 10.1.3.1 0 100 0 (65011 65001)
i
*>i 2.2.2.8/32 10.1.2.2 0 100 0 (65011)i
* i 10.1.3.2 0 100 0 (65001 65011)
i
*>i 2.2.2.9/32 10.1.4.2 0 100 0 (65001 65101)
i
* i 10.1.5.2 0 100 0 (65011 65101)
i
i 3.3.3.9/32 10.1.6.2 0 100 0 (65001 65101)
300i
i 10.1.6.2 0 100 0 (65011 65001
65101) 300i
Case 10: Configure an AS_Path filter named
s10
and allow Router A to discard routes advertised
by peers in AS 65011.
[RouterA]
ip as-path-filter s10 deny \(65011_
[RouterA]
ip as-path-filter s10 permit .*
[RouterA]
display bgp routing-table as-path-filter s10
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
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.
881