484 CHAPTER 31: CONFIGURING IP ROUTING POLICY
Tabl e 563 Configure Route Import
By default, a protocol does not import routes from other domains into the its
routing table.
protocol specifies the source routing domain that can be imported. At present, it
can import routes domain such as direct, static, RIP, OSPF, OSPF-ASE and BGP.
Software supports importing route information found by the ollowing protocols
into the route table:
direct: network segment (or host) route directly connected to the router's
interface
static: static route
RIP: routes discovered by rip
OSPF: routes discovered by ospf
OSPF-ASE: external routes discovered by ospf
BGP: routes discovered by bgp
med med or cost cost: specifies the metric value of the imported routes.
bandwidth is the route bandwidth, ranging from 1 to 4294967295 kbyte/s.
delay is the route time delay, each unit stands for 10µs, ranging from 1 to
16777215
reliability is the channel reliability, ranging 0 to 255. 255 stands for 100%
creditable.
loading is the channel seizure rate, ranging 1 to 255, 255 stands for 100% seized.
mtu is the maximum transfer unit of route, ranging from 1 to 65535 byte.
route-policy policy-name specifies imported routes which matches the
specified routing policy name. This item can be used in the routing protocol
configuration except in the OSPF view.
tag tag-value sets the tag value of the imported route when ospf is importing
other protocol routes.
Operation Command
Configure route import in RIP import-route protocol [ cost cost ] [
route-policy route-policy-name ]
Cancel route import undo import-route protocol
Configure route import in OSPF import-route protocol [ cost cost ] [
type 1 | 2 ] [ tag tag-value ]
Cancel route import undo import-route protocol [ cost
cost ] [ type 1 | 2 ] [ tag tag-value
]
Configure route import in BGP import-route protocol [ med med ] [
tag tag-value ] [ type 1 | 2 ] [
route-policy policy-name ]
Cancel route import undo import-route protocol