
115
Relevant Commands: route-map
1.6.3.44 default-metric
Command: default-metric <value>
no default-metric
Function:
The command set the default metric value of OSPF routing protocol; the “
no
default-metric
” returns to the default state.
Parameter: <value>,
metric value, ranging between 0~
16777214.
Default:
Built-in, metric value auto translating.
Command Mode:
OSPF protocol mode.
Usage Guide:
When the default metric value makes the metric value not compatible, the route
introducing still goes through. If the metric value can not be translated, the default value provides
alternative option to carry the route introducing on. This command will result in that all introduced
route will use the same metric value. This command should be used associating redistribute.
Example:
Switch#config terminal
Switch(config)#router ospf 100
Switch(config-router)#default-metric 100
1.6.3.45 summary-address
Command: summary-address <A.B.C.D/M> [{not-advertise|tag<tag-value>}]
Function:
Summarize or restrain external route with specific address scope.
Parameter: <A.B.C.D/M>
address scope, shown in dotted decimal notation IPv4 address plus
mask length.
not-advertised
restrain the external routes.
tag<tag-value>
is the identification label of the external routes, which ranges between
0~4294967295, and is defaulted at 0.
Command Mode: OSPF protocol mode.
Usage Guide:
When routes are introduced into OSPF from other routing protocols, it is required
to advertise every route in a external LSA. This command is for advertise one summary route for
those introduced routes contained in specific network address and masks, which could greatly
reduces the size of the link state database.
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#summary-address 172.16.0.0/16 tag 3
1.6.3.46 timers spf