Configuring a BFD template

Perform this task to specify BFD parameters in a template for sessions without next hops. You can configure BFD parameters for LSPs and PWs through a BFD template.

To configure a BFD template:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a BFD template and enter BFD template view.

bfd template template-name

By default, no BFD templates exist.

3. Configure the authentication mode for BFD control packets.

bfd authentication-mode { m-md5 | m-sha1 | md5 | sha1 | simple } key-id { cipher cipher-string | plain plain-string }

By default, no authentication is performed.

BFD version 0 does not support this command. The configuration does not take effect.

4. Set the detection time multiplier.

bfd detect-multiplier value

The default setting is 5.

5. Set the minimum interval for receiving BFD control packets.

bfd min-receive-interval interval

The default setting is 500 milliseconds.

6. Set the minimum interval for transmitting BFD control packets.

bfd min-transmit-interval interval

The default setting is 500 milliseconds.