Redistribute – Enterasys Networks X-Pedition XSR CLI User Manual
Page 176
OSPF Commands
5-100 Configuring the Internet Protocol
Mode
Router configuration:
XSR(config-router)#
Defaults
•
Disabled
•
Costs: LAN ‐ 10, Serial ‐ 64
Example
In this example, three routers are configured to run OSPF. Router R1 and R3 are internal routers.
R1 is internal to area 1, and R3 internal to area 0. R2 is an Area Border Router (ABR). Enter the
following commands on R1:
XSR(config)#interface fastethernet 1
XSR(config-if
XSR(config)#router ospf 1
XSR(config-router)#network 131.108.1.0 0.0.255.255 area 1
On R2 (ABR), enter the following commands:
XSR(config)#interface fastethernet 2
XSR(config-if
XSR(config)#interface serial 1/0
XSR(config-if
XSR(config)#router ospf 1
XSR(config-router)#network 131.108.1.0 0.0.0.255 area 1
XSR(config-router)#network 131.108.2.0 0.0.0.255 area 0
On R3, enter the following commands:
XSR(config)#interface serial 1/0
XSR(config-if
XSR(config)#interface fastethernet 1
XSR(config-if
XSR(config)#router ospf 1
XSR(config-router)#network 131.108.2.0. 0.0.0.255 area 0
XSR(config-router)#network 110.0.0.0 0.255.255.255 area 0
redistribute
This command redistributes static or RIP routes into OSPF.
Syntax
redistribute {rip | bgp | static | connected}[metric metric-value][metric-type 1
| 2][route-map-number][tag tag-value]
rip
Imports RIP routes.
bgp
Imports BGP routes.
static
Imports static routes.
connected
Imports connected routes.