Product manual

router
OVERVIEW
RoutingCategory:
configPrimary context:
ip (page 269)Related Commands
vlan (page 611)
show ip (page 480)
Usage: [no] router ...
Description: Congure the switch routing protocols. You can enter the commands from the
global
conguration context or the RIP, OSPF, PIM, or VRRP conguration contexts.
For example, to enter an OSPF command from the global conguration context,
use the "router" keyword in front of the command. To enter an OSPF
command in the OSPF conguration context, type "router ospf" to change
to the OSPF conguration context, then type the command without the
"router" keyword.
Use 'router ?' to see a list of all possible options.
COMMAND STRUCTURE
[no] router ospf -- Enable/disable/configure Open Shortest Path First (OSPF) protocol on the device,
or enter OSPF Configuration Context (p. 419)
area -- Define/remove an OSPF area, area range or virtual link (p. 410)
area-id -- Single integer or IP address style dotted decimal. (OSPF-AREA-ID) (p. 411)
normal -- Define a "normal" area. (p. 418)
nssa < 0 to 16777215 > -- Define a "not-so-stubby" area (or NSSA) and its cost. (p. 418)
metric-type < type1 | type2 > -- Metric type of the type-7 default. (p. 417)
no-summary -- Do not send summary LSA into the area. (p. 418)
range -- Summarize routes matching address/mask pair. (p. 420)
ip -- Specify IP address/mask pair. (IP-ADDR/MASK-LENGTH) (p. 416)
no-advertise -- Do not advertise the range outside the area. (p. 417)
type < summary | nssa > -- Link state database type to apply the range. (p. 427)
stub -- Define a "stub" area and specify its cost. (p. 424)
cost < 0 to 16777215 > -- Enter cost to use when injecting default routes into the
area. (p. 413)
no-summary -- Do not send summary LSA into the area. (p. 418)
virtual-link -- Specify a virtual neighbor. (IP-ADDR) (p. 427)
authentication -- Disable authentication. (p. 411)
authentication-key -- Set simple authentication method and key. (p. 411)
authentication-key -- OSPF authentication key (maximum 8 characters).
(OCTET-STR) (p. 411)
dead-interval < 1 to 65535 > -- Set dead interval in seconds; the default is 40. (p. 414)
hello-interval < 1 to 65535 > -- Set hello interval in seconds; the default is 10. (p. 415)
md5-auth-key-chain -- Set MD5 authentication method and key chain. (p. 417)
chain-name -- Specify key chain to use for MD5 authentication. (ASCII-STR) (p.
413)
407© 2008 Hewlett-Packard Development Company, L.P.