configure ospfv3 metric-table

configure ospfv3 metric-table 10M cost_10m 100M cost_100m 1G cost_1g {10G cost_10g} {40G cost_40g} {100G cost_100g}

Description

Configures the automatic interface costs for 10 Mbps, 100 Mbps, and 1 Gbps interfaces, and optionally, the 10 Gbps, 40 Gbps, and 100 Gbps interfaces.

Syntax Description

cost_x Specifies the interface cost for the indicated interfaces. Range is 1 to 65535.

Default

  • 10 Mbps—The default cost is 100.
  • 100 Mbps—The default cost is 50.
  • 1 Gbps—The default cost is 40.
  • 10 Gbps—The default cost is 20.
  • 40 Gbps—The default cost is 20.
  • 100 Gbps—The default cost is 1.

Usage Guidelines

The value of the costs cannot be greater for higher speed interfaces. In other words, the following condition must be true:

cost_10m >= cost_100m >= cost_1g >= cost_10g >=cost_40g >= cost_100g

Example

The following command configures the automatic interface costs for 10 Mbps, 100 Mbps, and 1 Gbps interfaces:

configure ospfv3 metric-table 10m 200 100m 100 1g 20

The following example displays the output of the show ospfv3 command:

sh ospfv3
OSPFv3              : Disabled           RouterId            : 0.0.0.0
RouterId Selection  : Automatic          ASBR                : No
ABR                 : No                 ExtLSAs             : 0
ExtLSAChecksum      : 0x0                OriginateNewLSAs    : 0
ReceivedNewLSAs     : 0                  SpfHoldTime         : 3s
Num of Areas        : 3                  LSA Batch Interval  : 0s
10M Cost            : 100                100M Cost           : 50
1000M Cost (1G)     : 40                 10000M Cost (10G)   : 20
40000M Cost (40G)   : 20                 100000M Cost (100G) : 10
Graceful Restart    : None               Grace Period        : 120s
Import Policy File  : none
Redistribute:
  Protocol               Status    Cost      Type  Tag    Policy
  direct                 Disabled  20        2     ---    none
  e-bgp                  Disabled  20        2     ---    none
  i-bgp                  Disabled  20        2     ---    none
  ripng                  Disabled  20        2     ---    none
  static                 Disabled  20        2     ---    none
  isis-level-1           Disabled  20        2     ---    none
  isis-level-2           Disabled  20        2     ---    none
  isis-level-1-external  Disabled  20        2     ---    none
  isis-level-2-external  Disabled  20        2     ---    none
  host-mobility          Disabled  20        2     ---    none

History

This command was first available in ExtremeXOS 11.2.

The 40 Gbps parameter was added in ExtremeXOS 12.6.

Platform Availability

This command is available on platforms with an Advanced Edge or Core license as described in the Feature License Requirements document.