21 default-metric, Default, Metric – PLANET XGS3-24042 User Manual

Page 560

Advertising
background image


35-199

between 0~16777214, default metric value is 0.

METRICTYPE = metric-type {1|2} set the OSPF external link type of default route.

1 Set the OSPF external type 1 metric value.

2 Set the OSPF external type 2 metric value.

ROUTEMAP = route-map <WORD>.

<WORD> specifies the route map name to be applied.

Default:

Default metric value is 10, default OSPF external link type is 2.

Command Mode:

OSPF protocol mode

Usage Guide:

When introducing route into OSPF route area with this command, the system will behaves like an

ASBR.

Example:

Switch#config terminal

Switch(config)#router ospf 100

Switch(config-router)#default-information originate always metric 23 metric-type 2 route-map

myinfo

Relevant Commands:

route-map

35.21 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

Advertising
This manual is related to the following products: