OVERVIEW
Category:
Primary context:
Related Commands
Usage: [no] router ...
Description: Configure the switch routing protocols. You can enter the commands from the
global configuration context
or the RIP, OSPF, PIM, or VRRP configuration contexts. For example, to enter
an OSPF command from the
command. To enter an OSPF
the OSPF configuration
COMMAND STRUCTURE
■ [no] router
ospf
or enter OSPF Configuration Context
area
-- Define/remove an OSPF area, area range or virtual link
■
area-id
■
normal
■
nssa
■
■
■
range
■
■
■
■
stub
■
■
■
virtual-link
■
■
■
■
■
■
© 2009 Hewlett-Packard Development Company, L.P.
Routing
config
ip (page 290)
vlan (page 706)
show (page 511)
global configuration context, use the "router" keyword in front of the
command in the OSPF configuration context, type "router ospf" to change to
context, then type the command without the "router" keyword.
Use 'router ?' to see a list of all possible options.
-- Enable/disable/configure Open Shortest Path First (OSPF) protocol on the device,
-- Single integer or IP address style dotted decimal. (OSPF-AREA-ID)
-- Define a "normal" area.
< 0 to 16777215 > -- Define a "not-so-stubby" area (or NSSA) and its cost.
metric-type
< type1 | type2 > -- Metric type of the type-7 default.
no-summary
-- Do not send summary LSA into the area.
-- Summarize routes matching address/MASK pair.
ip
-- Specify IP address/MASK pair. (IP-ADDR/MASK-LENGTH)
no-advertise
-- Do not advertise the range outside the area.
type
< summary | nssa > -- Link state database type to apply the range.
-- Define a "stub" area and specify its cost.
cost
< 0 to 16777215 > -- Enter cost to use when injecting default routes into the
area.
(p. 478)
no-summary
-- Do not send summary LSA into the area.
-- Specify a virtual neighbor. (IP-ADDR)
authentication
-- Disable authentication.
authentication-key
-- Set simple authentication method and key.
authentication-key
■
(OCTET-STR)
(p. 476)
dead-interval
< 1 to 65535 > -- Set dead interval in seconds; the default is 40.
hello-interval
< 1 to 65535 > -- Set hello interval in seconds; the default is 10.
md5-auth-key-chain
-- Set MD5 authentication method and key chain.
chain-name
-- Specify key chain to use for MD5 authentication. (ASCII-STR)
■
478)
(p. 483)
(p. 482)
(p. 489)
(p. 476)
-- OSPF authentication key (maximum 8 characters).
router
(p. 474)
(p. 476)
(p. 482)
(p. 482)
(p. 484)
(p. 481)
(p. 482)
(p. 482)
(p. 492)
(p. 476)
(p. 483)
(p. 491)
(p. 478)
(p. 480)
(p. 481)
(p.
471