configure ospfv3 metric-table

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

Description

Configures the automatic interface costs for 10 Mbps, 100 Mbps, and 1 Gbps interfaces, and optionally, the 10 Gbps and 40 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.

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

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:

# show ospfv3 
OSPFv3              : Enabled            RouterId            : 10.1.1.1
RouterId Selection  : Configured         ASBR                : No
ABR                 : No                 ExtLSAs             : 0
ExtLSAChecksum      : 0x0                OriginateNewLSAs    : 3
ReceivedNewLSAs     : 0                  SpfHoldTime         : 10s     
Num of Areas        : 1                  LSA Batch Interval  :30s
10M Cost            : 100                100M Cost           :50
1000M Cost (1G)     : 40                 10000M Cost (10G)   :20
40000M Cost (40G)   : 20                 100000M Cost (100G) :10
Graceful Restart    : Both               Grace Period        : 120s
Restart Status      : None
Last Restart Exit Reason: None
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

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.