Network Router User Manual
Table Of Contents
- Notices
- Contents
- About This Manual
- Introduction
- Hot Swapping Line Cards and Control Modules
- Bridging Configuration Guide
- Bridging Overview
- VLAN Overview
- Configuring SSR Bridging Functions
- Monitoring Bridging
- Configuration Examples
- SmartTRUNK Configuration Guide
- ATM Configuration Guide
- Packet-over-SONET Configuration Guide
- DHCP Configuration Guide
- IP Routing Configuration Guide
- IP Routing Protocols
- Configuring IP Interfaces and Parameters
- Configuring IP Interfaces to Ports
- Configuring IP Interfaces for a VLAN
- Specifying Ethernet Encapsulation Method
- Configuring Jumbo Frames
- Configuring Address Resolution Protocol (ARP)
- Configuring Reverse Address Resolution Protocol (RARP)
- Configuring DNS Parameters
- Configuring IP Services (ICMP)
- Configuring IP Helper
- Configuring Direct Broadcast
- Configuring Denial of Service (DOS)
- Monitoring IP Parameters
- Configuring Router Discovery
- Configuration Examples
- VRRP Configuration Guide
- RIP Configuration Guide
- OSPF Configuration Guide
- BGP Configuration Guide
- Routing Policy Configuration Guide
- Route Import and Export Policy Overview
- Configuring Simple Routing Policies
- Configuring Advanced Routing Policies
- Multicast Routing Configuration Guide
- IP Policy-Based Forwarding Configuration Guide
- Network Address Translation Configuration Guide
- Web Hosting Configuration Guide
- Overview
- Load Balancing
- Web Caching
- IPX Routing Configuration Guide
- Access Control List Configuration Guide
- Security Configuration Guide
- QoS Configuration Guide
- Performance Monitoring Guide
- RMON Configuration Guide
- LFAP Configuration Guide
- WAN Configuration Guide
- WAN Overview
- Frame Relay Overview
- Configuring Frame Relay Interfaces for the SSR
- Monitoring Frame Relay WAN Ports
- Frame Relay Port Configuration
- Point-to-Point Protocol (PPP) Overview
- Configuring PPP Interfaces
- Monitoring PPP WAN Ports
- PPP Port Configuration
- WAN Configuration Examples
- New Features Supported on Line Cards

Chapter 13: Routing Policy Configuration Guide
170 SmartSwitch Router User Reference Manual
The from-proto parameter specifies the protocol of the source routes. The values for the
from-proto parameter can be rip, ospf, bgp, direct, static, aggregate and ospf-ase. The to-
proto parameter specifies the destination protocol where the routes are to be exported.
The values for the to-proto parameter can be rip, ospf and bgp. The network parameter
provides a means to define a filter for the routes to be distributed. The network parameter
defines a filter that is made up of an IP address and a mask. Routes that match the filter
are considered as eligible for redistribution.
Every protocol (RIP, OSPF, and BGP) has a configurable parameter that specifies the
default-metric associated with routes exported to that protocol. If a metric is not explicitly
specified with the redistribute command, then it is inherited from the default-metric
associated with the protocol to which the routes are being exported.
Redistributing Static Routes
Static routes may be redistributed to another routing protocol such as RIP or OSPF by the
following command. The network parameter specifies the set of static routes that will be
redistributed by this command. If all static routes are to be redistributed set the network
parameter to all. Note that the network parameter is a filter that is used to specify routes
that are to be redistributed.
To redistribute static routes, enter one of the following commands in Configure mode:
Redistributing Directly Attached Networks
Routes to directly attached networks are redistributed to another routing protocol such as
RIP or OSPF by the following command. The network parameter specifies a set of routes
that will be redistributed by this command. If all direct routes are to be redistributed set
the network parameter to all. Note that the network parameter is a filter that is used to
specify routes that are to be redistributed.
To redistribute direct routes, enter one of the following commands in Configure mode:
To redistribute static routes
into RIP.
ip-router policy redistribute from-proto
static to-proto rip network all
To redistribute static routes
into OSPF.
ip-router policy redistribute from-proto
static to-proto ospf network all
To redistribute direct routes
into RIP.
ip-router policy redistribute from-proto
direct to-proto rip network all
To redistribute direct routes
into OSPF.
ip-router policy redistribute from-proto
direct to-proto ospf network all