Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 902

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
300i
*
300i
The preceding command output shows that the BGP routing table contains only routes that
originate in AS 300.
Case 2: Configure an AS_Path filter named s2 and allow Router A to accept all routes except
those that originate in AS 300.
[RouterA] ip as-path-filter s2 deny _300
[RouterA] ip as-path-filter s2 permit .*
[RouterA] display bgp routing-table as-path-filter s2
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 7
*>
*>
*
*>
*
*>
*
The preceding command output shows that the BGP routing table contains all routes except
those that originate in AS 300.
Case 3: Configure an AS_Path filter named s3 and allow Router A to discard routes that pass
through AS 65101.
[RouterA] ip as-path-filter s3 deny _65101_
[RouterA] ip as-path-filter s3 permit .*
[RouterA] display bgp routing-table as-path-filter s3
BGP Local router ID is 189.6.2.2
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 5
*>
*>
*
*>
*
The preceding command output shows that the BGP routing table contains all routes except
those that pass through AS 65101.
Case 4: Configure an AS_Path filter named s4 and allow Router A to discard routes that pass
through intermediate AS 65101.
[RouterA] ip as-path-filter s4 deny ._65101_.
[RouterA] ip as-path-filter s4 permit .*
[RouterA] display bgp routing-table as-path-filter s4
Issue 02 (2014-09-30)
10.1.2.2
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
1.1.1.9/32
0.0.0.0
2.2.2.7/32
10.1.1.2
10.1.2.2
2.2.2.8/32
10.1.2.2
10.1.1.2
2.2.2.9/32
10.1.1.2
10.1.2.2
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
1.1.1.9/32
0.0.0.0
2.2.2.7/32
10.1.1.2
10.1.2.2
2.2.2.8/32
10.1.2.2
10.1.1.2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
MED
0
0
0
i - internal, s - suppressed, S - Stale
MED
0
0
0
8 BGP Configuration
0
65011 65101
LocPrf
PrefVal Path/Ogn
0
i
0
65001i
0
65011 65001i
0
65011i
0
65001 65011i
0
65001 65101i
0
65011 65101i
LocPrf
PrefVal Path/Ogn
0
i
0
65001i
0
65011 65001i
0
65011i
0
65001 65011i
877

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e