router
OVERVIEW
RoutingCategory:
configPrimary context:
ip (page 290)Related Commands
vlan (page 706)
show (page 511)
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. 483)
â– area -- Define/remove an OSPF area, area range or virtual link (p. 474)
â– area-id -- Single integer or IP address style dotted decimal. (OSPF-AREA-ID) (p. 476)
â– normal -- Define a "normal" area. (p. 482)
â– nssa < 0 to 16777215 > -- Define a "not-so-stubby" area (or NSSA) and its cost. (p. 483)
â– metric-type < type1 | type2 > -- Metric type of the type-7 default. (p. 482)
â– no-summary -- Do not send summary LSA into the area. (p. 482)
â– range -- Summarize routes matching address/MASK pair. (p. 484)
â– ip -- Specify IP address/MASK pair. (IP-ADDR/MASK-LENGTH) (p. 481)
â– no-advertise -- Do not advertise the range outside the area. (p. 482)
â– type < summary | nssa > -- Link state database type to apply the range. (p. 491)
â– stub -- Define a "stub" area and specify its cost. (p. 489)
â– 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. (p. 482)
â– virtual-link -- Specify a virtual neighbor. (IP-ADDR) (p. 492)
â– authentication -- Disable authentication. (p. 476)
â– authentication-key -- Set simple authentication method and key. (p. 476)
â– authentication-key -- OSPF authentication key (maximum 8 characters).
(OCTET-STR) (p. 476)
â– dead-interval < 1 to 65535 > -- Set dead interval in seconds; the default is 40. (p. 478)
â– hello-interval < 1 to 65535 > -- Set hello interval in seconds; the default is 10. (p. 480)
â– md5-auth-key-chain -- Set MD5 authentication method and key chain. (p. 481)
â– chain-name -- Specify key chain to use for MD5 authentication. (ASCII-STR) (p.
478)
471© 2009 Hewlett-Packard Development Company, L.P.