Users Guide

Table Of Contents
1274 OSPF and OSPFv3
distribute-list
accesslistname out {bgp |
rip | static | connected}
Specify the access list to filter routes received from the
source protocol. The ACL must already exist on the
switch. For information about the commands used for
configuring ACLs, see "Configuring ACLs (CLI)" on
page 707.
accesslistname — The name used to identify an existing
ACL.
bgp — Apply the specified access list when BGP is the
source protocol.
rip — Apply the specified access list when RIP is the
source protocol.
static — Apply the specified access list when packets
come through the static route.
connected — Apply the specified access list when
packets come from a directly connected route.
redistribute {bgp | rip |
static | connected}
[metric integer] [metric-
type {1 | 2}] [tag integer]
[subnets]
Configure OSPF to allow redistribution of routes from
the specified source protocol/routers.
bgp — Specifies BGP as the source protocol.
rip — Specifies RIP as the source protocol.
static — Specifies that the source is a static route.
connected — Specifies that the source is a directly
connected route.
metric — Specifies the metric to use when
redistributing the route. (Range: 0–16777214)
metric-type 1 — Type 1 external route.
metric-type 2 — Type 2 external route.
tag — Value attached to each external route. (Range: 0–
4294967295)
subnets—Unless this keyword is configured, OSPF
distributes only class A, class B, and class C prefixes.
exit Exit to Global Config mode.
exit Exit to Privileged Exec mode.
Command Purpose