Chapter 49 OSPF Commands
Ethernet Switch CLI Reference Guide
212
49.3 Command Examples
In this example, the Switch (
A
) is an Area Border Router (ABR) in an OSPF network.
Figure 7
OSPF Network Example
redistribute static metric-type <1|2>
metric <0-16777214>
Sets the Switch to learn static routing
information which will use the specified
metric information.
C
13
redistribute static
Sets the switch to redistribute static routing
information.
Route redistribution allows your Switch to
import and translate external routes
learned through other routing protocols
(RIP and Static) into the OSPF network
transparently.
C
13
no redistribute static
Sets the Switch not to learn static routing
information.
C
13
passive-iface <
ip-addr/bits
>
Sets the interface to be passive. A passive
interface does not send or receive OSPF
traffic.
C
13
no passive-iface <
ip-addr/bits
>
Sets the interface to not be passive.
C
13
summary-address <
ip-address
> <
mask
>
Sets a summary address which is a
network IP address used to cover more
than one network routing entry in order to
reduce the routing table size.
C
13
no summary-address <
ip-address
> <
mask
>
Removes a summary address.
C
13
show router ospf summary-address
Displays all summary addresses on the
Switch.
E
3
no router ospf
Disables OSPF on the Switch.
C
13
Table 119
OSPF Command Summary (continued)
COMMAND
DESCRIPTION
M
P
Area 0
Backbone
Area 1
IP: 172.16.1.1
A