EasyManua.ls Logo

HP 6125G - Import-Route (BGP;BGP-VPN Instance View)

HP 6125G
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
165
import-route (BGP/BGP-VPN instance view)
Syntax
import-route protocol [ { process-id | all-processes } [ allow-direct | med med-value | route-policy
route-policy-name ] * ]
undo import-route protocol [ process-id | all-processes ]
View
BGP view, BGP-VPN instance view
Default level
2: System level
Parameters
protocol: Redistributes routes from the specified routing protocol, which can be direct, ospf, rip or static.
process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol
is ospf, or rip.
all-processes: Redistributes routes from all the processes of the specified protocol. This keyword takes
effect only when the protocol is rip or ospf.
allow-direct: Redistributes direct routes from the specified protocol. This keyword is available only when
the specified protocol is OSPF. Without this keyword, BGP does not redistribute direct routes from OSPF.
If you specify the route-policy route-policy-name keyword together with the allow-direct keyword, make
sure that no rule in the routing policy conflicts with any direct route. For example, do not configure the
if-match route-type command for the routing policy to filter OSPF routes. Otherwise, the allow-direct
keyword does not take effect.
med-value: Specifies a MED value for redistributed routes, ranging from 0 to 4294967295. If the
argument is not specified, the cost of the redistributed route is used as its MED in the BGP routing domain.
route-policy-name: Name of a routing policy used to filter redistributed routes, a case-sensitive string of
1 to 63 characters.
Description
Use import-route to configure BGP to redistribute routes from a specified routing protocol and advertise
redistributed routes.
Use undo import-route to disable route redistribution from a routing protocol.
By default, BGP does not redistribute routes from other protocols.
Only active routes can be redistributed. You can use the display ip routing-table protocol command to
display route state information.
The ORIGIN attribute of routes redistributed with the import-route command is INCOMPLETE.
The undo import-route protocol all-processes command cancels the configuration made by the
import-route protocol all-processes command, rather than the import-route protocol process-id
command.
Examples
# In BGP view, redistribute routes from RIP.
<Sysname> system-view
[Sysname] bgp 100

Table of Contents

Other manuals for HP 6125G

Related product manuals