Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches
Chapter 5 BGP Configuration Commands
Huawei Technologies Proprietary
5-30
Parameter
protocol
: Specifies source routing protocols which can be imported, which include
direct, ospf, ospf-nssa , ospf-ase, rip, isis and static at present.
med
med-value
: Specifies the MED value loaded by an imported route, ranging from 0
to 4294967295.
route-policy route-policy-name
: Specifies a route-policy used for filtering imported
routes of other protocols. It can consist of numbers and letters with a length ranging
from 1 to 19.
Description
Use the
import-route
command to import routes of other protocols.
Use the
undo import-route
command to cancel importing routes of other protocols.
By default, BGP does not import routes of other protocols.
Example
# Import routes of RIP.
[Quidway-bgp] import-route rip
5.1.31 network
Syntax
network
ip-address
[
address-mask
] [
route-policy
route-policy-name
]
undo
network ip-address
[
address-mask
] [
route-policy
route-policy-name
]
View
BGP view
Parameter
ip-address
: Network address that BGP advertises.
address-mask
: Mask of the network address.
route-policy-name
: Route-policy applied to advertised routes.
Description
Use the
network
command to configure the network routes advertised by the local
BGP.
Use the
undo network
command to cancel the existing configuration.
By default, the local BGP does not advertise any routes.