Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 905

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
*
i
The preceding command output shows that the BGP routing table contains only one route
destined for 2.2.2.0/27 with 10.1.2.2 as the next hop.
Case 9: Configure an AS_Path filter named s9 and allow Router A to accept only the routes
carrying an AS_Sequence with 65011 and an AS_Set with 65101 and the routes carrying an
AS_Sequence with 300.
[RouterA] ip as-path-filter s9 permit .*65011.*\{.*65101.*\}
[RouterA] ip as-path-filter s9 permit 300
[RouterA] display bgp routing-table as-path-filter s9
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 3
*
i
*>
300i
*
300i
The preceding command output shows that the BGP routing table contains only the routes
carrying an AS_Sequence with 65011 and an AS_Set with 65101 and the routes carrying an
AS_Sequence with 300. In this case, the ip as-path-filter s9 permit .*65011.*\{.*65101.*\} and
ip as-path-filters9 permit 300 commands can be replaced with the ip as-path-filter s9
permit .*65011.*\{.*65101.*\}|300 command.
[RouterA] ip as-path-filter s9 permit .*65011.*\{.*65101.*\}|300
[RouterA] display bgp routing-table as-path-filter s9
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 3
*
i
*>
300i
*
300i
BGP Confederation Scenario
In
Figure
Router A and Router C, between Router B and Router C, between Router B and Router D,
between Router C and Router D, and between Router D and Router E. AS 65001, AS 65011,
AS 65101, and AS 65121 form a BGP confederation with AS 200 as its ID.
Issue 02 (2014-09-30)
2.2.2.0/27
10.1.2.2
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
2.2.2.0/27
10.1.2.2
3.3.3.9/32
10.1.1.2
10.1.2.2
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
2.2.2.0/27
10.1.2.2
3.3.3.9/32
10.1.1.2
10.1.2.2
8-9, EBGP peer relationships are established between Router A and Router B, between
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
MED
i - internal, s - suppressed, S - Stale
MED
8 BGP Configuration
0
65011 {65101}
LocPrf
PrefVal Path/Ogn
0
65011 {65101}
0
65001 65101
0
65011 65101
LocPrf
PrefVal Path/Ogn
0
65011 {65101}
0
65001 65101
0
65011 65101
880

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e