configure ospfv3 metric-table

configure ospfv3 metric-table [{10M cost_10m} {100M cost_100m } {1G cost_1g}{2.5G cost_2_5g} {5G cost_5g} {10G cost_10g} {25G cost_25g} {40G cost_40g} {50G cost_50g} {100G cost_100g} ]

Description

Configures the optional interface costs for 10 Mbps, 100 Mbps, 1 Gbps. 2.5 Gbps, 5 Gbps, 10 Gbps, 25 Gbps 40 Gbps, 50 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.
  • 2.5 Gbps—The default cost is 40.
  • 5 Gbps—The default cost is 40.
  • 10 Gbps—The default cost is 20.
  • 25 Gbps—The default cost is 20.
  • 40 Gbps—The default cost is 20.
  • 50 Gbps—The default cost is 20.
  • 100 Gbps—The default cost is 10.

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_2.5g = cost_5g cost_10g = cost_25g = cost_40g = cost_50g = cost_100g

Example

The following command configures the automatic interface costs for 10 Mbps, 100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 25 Gbps, 40 Gbps, 50 Gbps, and 100 Gbps interfaces:

configure ospfv3 metric-table 10M 110 100M 70 1G 50 2.5G 45 5G 40 10G 35 25G 30 40G 25 50G 20 100G 15

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

# show 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        : 1                  LSA Batch Interval  : 0s
10M Cost            : 110                100M Cost           : 70
1000M Cost (1G)     : 50                 2500M Cost (2.5G)   : 45
5000M Cost (5G)     : 40                 10000M Cost (10G)   : 35
25000M Cost (25G)   : 30                 40000M Cost (40G)   : 25
50000M Cost (50G)   : 20                 100000M Cost (100G) : 15
Graceful Restart    : None               Grace Period        : 120s
Import Policy File  : none
SNMP Traps          : Disabled
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.

The 2.5G, 5G, 25G and 50G speeds were added in ExtremeXOS 22.1.

Platform Availability

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