Chapter 11: Routing Policy Configuration Guide
172
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
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...