Default-Metric (Ospf); Distance Ospf (Ospf); Distribute-List Out (Ospf) - Planet Networking & Communication WGS3-24000 User Manual

Table of Contents

Advertisement

12.7.22 default-metric (OSPF)

This command is used to set a default for the metric of distributed routes.
Format
default-metric <1-16777214>
Mode
Router OSPF Config
no default-metric (OSPF)
This command is used to set a default for the metric of distributed routes.
Format
no default-metric
Mode
Router OSPF Config

12.7.23 distance ospf (OSPF)

This command sets the route preference value of OSPF in the router. Lower route preference values are preferred when
determining the best route. The type of OSPF can be intra, inter, type-1, or type-2. The OSPF specification (RFC 2328) requires
that preferences must be given to the routes learned via OSPF in the following order: intra < inter < type-1 < type-2. The
<preference> range is 1 to 255. A route with a preference of 255 cannot be used to forward traffic.
Default
intra—8
inter—10
type-1—13
type-2—50
Format
distance ospf {intra | inter | type1 | type2} <preference>
Mode
Router OSPF Config
no distance ospf
This command sets the default route preference value of OSPF in the router. The type of OSPF can be intra, inter, type-1, or
type-2.
Format
no distance ospf {intra | inter | type1 | type2}
Mode
Router OSPF Config

12.7.24 distribute-list out (OSPF)

Use this command to specify the access list to filter routes received from the source protocol.
Format
distribute-list <1-199> out {rip | bgp | static | connected}
Mode
Router OSPF Config
no distribute-list out
Use this command to specify the access list to filter routes received from the source protocol.
Format
no distribute-list <1-199> out {rip | bgp | static | connected}
458

Advertisement

Table of Contents
loading

Table of Contents