H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-29
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] group test
5.1.29 import-route
Syntax
import-route protocol [ process-id ] [ med med-value | route-policy
route-policy-name ]*
undo import-route protocol [ process-id ]
View
BGP view
Parameters
protocol: Source routing protocols which can be imported, including direct, ospf,
ospf-ase, ospf-nssa, rip, isis and static at present.
process-id: Specific process ID, in the range of 1 to 65535. This argument is valid only
when the protocol argument is “ospf”.
med med-value: Specifies the MED value loaded by the imported route, in the range of
0 to 4294967295.
route-policy route-policy-name: Specifies a route-policy to filter routes before
importing. The route-policy-name argument is an alphanumeric string of 1 to 19
characters.
Description
Use the import-route command to import and advertise routes of other protocols.
Use the undo import-route command to cancel the existing configuration.
By default, BGP does not import and advertise routes of other protocols.
Examples
# Import routes of RIP.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] import-route rip