Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 785

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

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Context
BGP itself cannot discover routes. Instead, it imports routes discovered by other protocols such
as an IGP or the static routing protocol into the BGP routing table. These imported routes are
then transmitted within an AS or between ASs.
BGP can import routes in either Import or Network mode:
l
l
Procedure
l
Issue 02 (2014-09-30)
In Import mode, BGP imports routes by a specific routing protocol. RIP routes, OSPF
routes, IS-IS routes, static routes, or direct routes can be imported into the BGP routing
table.
In Network mode, routes with the specified prefix and mask are imported into the BGP
routing table. Compared with the Import mode, the Network mode imports more specific
routes.
Configure BGP to import routes in Import mode.
1.
Run:
system-view
The system view is displayed.
2.
Run:
bgp { as-number-plain | as-number-dot }
The BGP view is displayed.
3.
(Optional) Run:
ipv4-family unicast
The BGP-IPv4 unicast address family view is displayed.
By default, the BGP-IPv4 unicast address family view is displayed.
4.
Run:
import-route protocol [ process-id ] [ med med | route-policy route-policy-
*
name ]
BGP is configured to import routes from other protocols.
By configuring the parameter med, you can set Multi_Exit Discriminator (MED)
values for the imported routes. The EBGP peer selects the route with the smallest
MED for traffic entering an AS.
By configuring the parameter route-policy route-policy-name, you can filter the
routes imported from other protocols.
NOTE
The process ID of a routing protocol needs to be specified if IS-IS, OSPF, or RIP routes are to
be imported.
5.
(Optional) Run:
default-route imported
BGP is configured to import default routes.
To import default routes, run both the default-route imported command and the
import-route command. If only the import-route command is used, no default route
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
8 BGP Configuration
760

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e