Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 940

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
l
Run the display bgp routing-table [ ip-address ] command to check the configurations.
# Display the routing table of Router A.
[RouterA] display bgp routing-table
BGP Local router ID is 192.168.2.3
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 5
*>
*>i
*>
*>i
*
Issue 02 (2014-09-30)
Local_Pref.
#
route-policy rp1 permit node 10
of rp1 and set the Local_Pref value of the route 10.11.0.0/16 to 80.
if-match ip-prefix reducepref
apply local-preference 80
#
route-policy rp1 permit node 20
node of rp1 and set the Local_Pref value of the route 10.22.0.0/16 to 120.
if-match ip-prefix addpref
apply local-preference 120
#
route-policy rp1 permit node 30
of rp1 and allow rp1 to permit all routes.
#
ip ip-prefix addpref index 10 permit 10.11.0.0 16
prefix list to match the route 10.11.0.0/16.
ip ip-prefix reducepref index 10 permit 10.22.0.0 16
prefix list to match the route 10.22.0.0/16.
#
Configurations on Router B
bgp 65001
#
ipv4-family unicast
peer 10.1.2.1 route-policy rp2 import
named rp2 to the routes learned from 10.1.1.1 and use rp2 to modify the
Local_Pref.
#
route-policy rp2 permit node 10
of rp2 and set the Local_Pref value of the route 10.22.0.0/16 to 200.
if-match ip-prefix addpref
apply local-preference 200
#
route-policy rp2 permit node 20
node of rp2 and set the Local_Pref value of the route 10.11.0.0/16 to 60.
if-match ip-prefix reducepref
apply local-preference 60
#
route-policy rp2 permit node 30
of rp2 and allow rp2 to permit all routes.
#
ip ip-prefix addpref index 10 permit 10.22.0.0 16
prefix list to match the route 10.22.0.0/16.
ip ip-prefix reducepref index 10 permit 10.11.0.0 16
prefix list to match the route 10.11.0.0/16.
#
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
10.1.1.0/30
10.1.2.0/30
10.11.0.0/16
10.22.0.0/16
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
10.1.3.2
0
10.1.1.1
10.1.2.1
10.1.1.1
8 BGP Configuration
//Define the first node
//Define the second
//Define the third node
//Configure an IP
//Configure an IP
//Apply import policy
//Define the first node
//Define the second
//Define the third node
//Configure an IP
//Configure an IP
LocPrf
PrefVal Path/Ogn
0
i
100
0
i
120
0
100 10i
200
0
200 10i
80
0
100 10i
915

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e