OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : MPLS Commands : flow-label
flow-label
Use this command to enable flow-label transmit, receive or both for the MPLS layer-2 virtual circuit and mpls vpls on dynamic and static VPWS and VPLS.
Use no command to disable flow-label transmit, receive or both for the MPLS layer-2 virtual circuit and mpls vpls on dynamic and static VPWS and VPLS.
For signaling flow-label capability in an RFC-compliant (RFC6391/8077) way using "The PWid FEC Element " = 0x80 when all Interface Parameter Sub-TLV is part of PWid FEC Element to support interop with other vendors, then interface-param-tlv can be used.
Command Syntax
flow-label (both|receive|transmit)(static|interface-param-tlv|)
no flow-label(static|interface-param-tlv|)
Parameters
both
flow label direction both (transmit and receive)
receive
flow label direction receive
transmit
flow label direction transmit
static
flow-label static
interface-param-tlv
ldp specific interface parameter tlv
Command Mode
config-pseudowire mode and config-vpls mode
Applicability
This command was introduced in OcNOS version 6.0.0 and added parameter interface-param-tlv in OcNOS version 6.3.0 to support interop with other vendors.
Example
For the config-pseudowire mode:
# configure terminal
(config)#mpls l2-circuit vc1111 1111 7.7.7.7
(config-pseudowire)#flow-label transmit
 
# configure terminal
(config)#mpls l2-circuit vc1111 1111 7.7.7.7
(config-pseudowire)#no flow-label
 
For the config-vpls mode:
# configure terminal
(config)#mpls vpls test 100
(config-vpls)# flow-label both
 
# configure terminal
(config)#mpls vpls test 100
(config-vpls)# no flow-label
 
 
For the static configuration:
# configure terminal
(config)#mpls l2-circuit vc1111 1111 7.7.7.7
(config-pseudowire)#flow-label transmit static
 
For the config-vpls mode:
# configure terminal
(config)#mpls vpls test 100
(config-vpls)# flow-label both static
 
# configure terminal
(config)#mpls vpls test 100
(config-vpls)# no flow-label static
 
For the un-configuration of the static flow label:
For the config-pseudowire mode:
# configure terminal
(config)#mpls l2-circuit vc1111 1111 7.7.7.7
(config-pseudowire)#no flow-label static
 
Last modified date: 10/17/2023