Exporting All Interface & Static Routes To Ospf - Cabletron Systems IA1100 User's Reference Manual

Internet appliance
Hide thumbs Also See for IA1100:
Table of Contents

Advertisement

Determine its OSPF configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Create the various IP interfaces.
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
interface create ip to-r2
et.1.2
interface create ip to-r3
interface create ip to-r41 address-netmask
interface create ip to-r42 address-netmask
interface create ip to-r6
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! Configure default routes to the other subnets reachable through R2.
!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ip add route 202.1.0.0/16 gateway 120.1.1.2
ip add route 160.1.5.0/24 gateway 120.1.1.2
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Box Level Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf start
ospf create area 140.1.0.0
ospf create area backbone
ospf set ase-defaults cost 4
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
! OSPF Interface Configuration
!++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ospf add interface 140.1.1.1 to-area 140.1.0.0
ospf add interface 140.1.2.1 to-area 140.1.0.0
ospf add interface 140.1.3.1 to-area 140.1.0.0
ospf add interface 130.1.1.1 to-area backbone
Exporting All Interface & Static Routes to OSPF
Router R1 has several static routes. We would like to export all these static routes and
direct-routes (routes to connected networks) into OSPF.
ip-router policy redistribute from-proto static to-proto ospf
ip-router policy redistribute from-proto direct to-proto ospf
Note:
The network parameter specifying the network-filter is optional. The default
value for this parameter is all, indicating all networks. Since in the above
example, we would like to export all static and direct routes into OSPF, we have
not specified this parameter.
Internet Appliance User Reference Manual
Chapter 9: Routing Policy Configuration Guide
address-netmask
120.190.1.1/16 port
address-netmask
130.1.1.1/16 port et.1.3
140.1.1.1/24 port et.1.4
140.1.2.1/24 port et.1.5
address-netmask
140.1.3.1/24 port et.1.6
147

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ia1200

Table of Contents