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.
cost_x | Specifies the interface cost for the indicated interfaces. Range is 1 to 65535. |
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
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
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.
This command is available on platforms with an Advanced Edge or Base license, or higher, as described in the ExtremeXOS and Switch Engine 31.7 Feature License Requirements document.