OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : MPLS Commands : flow-label
flow-label
Use this command to 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.
Command Syntax
flow-label (both|receive|transmit)(static|)
no flow-label(static|)
Parameters
both
flow label direction both(transmit and receive)
receive
flow label direction receive
transmit
flow label direction transmit
static
flow-label static
Command Mode
config-pseudowire mode and config-vpls mode
Applicability
This command was introduced in OcNOS version 6.0.0.
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: 07/17/2023