DELL N3000 User Manual

Page of 1460
Configuring OSPF and OSPFv3
1165
distribute-list 
accesslistname
 out {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 you use to 
configure ACLs, see "Configuring ACLs (CLI)" on 
accesslistname
 — The name used to identify an existing 
ACL.
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 {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.
• 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.
show ip ospf
View OSPF configuration and status information, 
including route distribution information.
Command
Purpose