OcNOS SP : Segment Routing Guide : Segment Routing Command Reference : Seamless BFD Commands
Seamless BFD Commands
This chapter describes each seamless bfd command.
min-tx
hardware-profile seamless-bfd
Use this command to enable the hardware-profile for seamless BFD to successfully activate seamless BFD in the hardware. Configure the hardware-profile seamless-bfd command before configuring the s-bfd sr policy or s-bfd discriminator commands. Before disabling the hardware-profile, unconfigure the s-bfd sr policy or s-bfd discriminator commands.
Use the disable form of this command to disable the configured hardware-profile.
Note:  
After configuring hardware-profile seamless-bfd command, save the configuration and reboot the system.
When downgrading to version 6.3.x from a higher-build version, configure the hardware-profile seamless-bfd disable.
Command Syntax
hardware-profile seamless-bfd enable
hardware-profile seamless-bfd disable
Parameter
None
Default
Disabled
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 6.1.0.
Example
#configure terminal
(config)#hardware-profile seamless-bfd enable
(config)#hardware-profile seamless-bfd disable
 
min-tx
Use this command to configure Seamless BFD transmit interval, and the hello multiplier value for Seamless BFD session.
Use the no form of the command to set the interval and multiplier to their default values.
Command Syntax
min-tx <3-999> multiplier <3-50>
no min-tx <3-999> multiplier <3-50>
Parameters
min-tx <3-999>
Set the desired transmit interval in milliseconds. Default transmit interval is 10 milliseconds.
multiplier <3-50>
Specifies the range of the BFD detection multiplier value. Default hello multiplier value is 3.
Default
None
Command Mode
S-BFD SR mode.
Applicability
This command was introduced in OcNOS version 6.0.0.
Examples
#configure terminal
(config)#s-bfd sr policy 1
(config-sbfd)#min-tx 3 multiplier 5
 
 
s-bfd discriminator
Use this command to configure local S-BFD discriminator and optional required minimum receiver interval.
Use no form of this CLI to delete the local S-BFD discriminator.
Note: The configured S-BFD discriminator value should match with policy's endpoint value.
Command Syntax
s-bfd discriminator A.B.C.D (required-min-rx <3-999> | )
no s-bfd discriminator
Parameters
A.B.C.D
Local Discriminator in IP address format.
required-min-rx
<3-999>
 
Specifies the range of the required minimum receive interval of control packets in milliseconds.
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 6.0.0.
Examples
#configure terminal
(config)#s-bfd discriminator 1.2.3.4 required-min-rx 23
 
s-bfd sr policy
Use this command to configure Seamless BFD session for SR-TE.
Use no form of the command to unconfigure Seamless BFD session for SR-TE.
Command Syntax
s-bfd (sr) policy NAME
no s-bfd (sr) policy NAME
Parameters
policy NAME
Specifies the SR-policy name.
Default
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 6.0.0.
Examples
#configure terminal
(config)#s-bfd sr policy 1
(config-sbfd)#
 
shutdown
Use this command to configure Seamless BFD session in admin down state or to disable Seamless BFD session.
Use no form of this command to enable Seamless BFD session.
Command Syntax
shutdown
no shutdown
Parameters
None
Command Mode
S-BFD SR mode.
Applicability
This command was introduced in OcNOS version 6.0.0.
Examples
(config)#s-bfd sr policy 1
(config-sbfd)#shutdown