Configuring control packet mode, Configuring ipv4 vrrp packet attributes – H3C Technologies H3C S12500-X Series Switches User Manual

Page 76

Advertising
background image

68

Configuring control packet mode

To configure control packet mode for single-hop detection:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify the mode for

establishing a BFD session.

bfd session init-mode { active |
passive }

By default, active is specified.

3.

Enter interface view.

interface interface-type
interface-number

N/A

4.

Configure the authentication
mode for single-hop control

packets.

bfd authentication-mode simple
key-id { cipher cipher-string | plain

plain-string }

By default, single-hop BFD packets
are not authenticated.

5.

Enable the Demand BFD

session mode.

bfd demand enable

By default, the BFD session is in
Asynchronous mode.

6.

Enable the echo packet mode. bfd echo enable

By default, the echo packet mode
is disabled.
If you enable the echo packet

mode for a BFD session in which
control packets are sent and the

session goes up, BFD periodically

sends echo packets to detect link

connectivity and decrease control
packet receive rate.

7.

Configure the minimum

interval for transmitting
single-hop BFD control

packets.

bfd min-transmit-interval value

The default setting is 400
milliseconds.

8.

Configure the minimum
interval for receiving

single-hop BFD control

packets.

bfd min-receive-interval value

The default setting is 400
milliseconds.

9.

Configure the single-hop
detection time multiplier.

bfd detect-multiplier value

The default setting is 5.

To configure control packet mode for multi-hop detection:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify the mode for

establishing a BFD session.

bfd session init-mode { active |
passive }

By default, active is specified.

3.

Configure the authentication

mode for multi-hop BFD
control packets.

bfd multi-hop authentication-mode
simple key-id { cipher cipher-string

| plain plain-string }

By default, no authentication is
performed.

4.

Configure the destination port
number for multi-hop BFD

control packets.

bfd multi-hop destination-port
port-number

The default setting is 4784.

Advertising