Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 957

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
add_asn.
if-match ip-prefix prefix1
named prefix1.
apply as-path 65003 65003 65003 additive
to the AS_Path of the route that matches prefix1.
#
route-policy add_asn permit node 20
add_asn to permit all other routes.
#
ip ip-prefix prefix1 index 10 permit 172.16.1.0 24
prefix1 to match the route 172.16.1.0/24.
ip ip-prefix prefix1 index 20 permit 172.16.2.0 24
of prefix1 to match the route 172.16.2.0/24.
ip ip-prefix prefix1 index 30 permit 172.16.3.0 24
prefix1 to match the route 172.16.3.0/24.
#
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 10.1.1.1
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 6
*>
65005?
*
65003 65003 65005?
*>
65005?
*
65003 65003 65005?
*>
65005?
*
65003 65003 65005?
[RouterA] display bgp routing-table 172.16.1.0
BGP local router ID : 10.1.1.1
Local AS number : 65001
Paths:
BGP routing table entry information of 172.16.1.0/24:
From: 10.1.1.2 (10.1.1.2)
Route Duration: 00h33m30s
Direct Out-interface: GigabitEthernet0/0/1
Original nexthop: 10.1.1.2
Qos information : 0x0
AS-path 65002 65004 65005, origin incomplete, pref-val 0, valid, external, best,
select, active, pre 255
Advertised to such 2 peers:
BGP routing table entry information of 172.16.1.0/24:
From: 10.1.3.2 (10.1.5.1)
Route Duration: 00h02m12s
Direct Out-interface: GigabitEthernet0/0/0
Original nexthop: 10.1.3.2
Qos information : 0x0
AS-path 65003 65003 65003 65003 65005, origin incomplete, pref-val 0, valid,
Issue 02 (2014-09-30)
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
172.16.1.0/24
172.16.2.0/24
172.16.3.0/24
2 available, 1 best, 1 select
10.1.3.2
10.1.1.2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
NextHop
MED
10.1.1.2
10.1.3.2
10.1.1.2
10.1.3.2
10.1.1.2
10.1.3.2
8 BGP Configuration
//Configure IP prefix list
//Add 65003, 65003, 65003
//Define the second node of
//Define the first index of
//Define the second index
//Define the third index of
LocPrf
PrefVal Path/Ogn
0
65002 65004
0
65003 65003
0
65002 65004
0
65003 65003
0
65002 65004
0
65003 65003
932

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e