OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : Spanning Tree Protocol Commands : customer-spanning-tree provider-edge path-cost
customer-spanning-tree provider-edge path-cost
Use this command to set the cost of a path associated with a provider edge port on a customer edge spanning tree.
Use the no form of this command to remove the cost of a path associated with a provider edge port on a customer edge spanning tree.
Command Syntax
customer-spanning-tree provider-edge svlan <1-4094> path-cost <1-200000000>
no customer-spanning-tree provider-edge svlan <1-4094> path-cost
Parameters
<1-4094>
Specify the SVLAN identifier of provider edge port.
<1-200000000>
Specify the cost to be assigned to the group.
Default
Assuming a 10 Mb/s link speed, the default value is 200,000
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#interface eth1
(config-if)#customer-spanning-tree provider-edge svlan 2 path-cost 1000
 
(config-if)#no customer-spanning-tree provider-edge svlan 2 path-cost
Last modified date: 07/06/2023