ap-mode

Use ap-mode to configure the agreement protocol (AP) mode.

Use undo ap-mode to restore the default.

Syntax

ap-mode { both | multicast | off }

undo ap-mode

Default

AP is enabled for both unicast and multicast FDB entries.

Views

SPBM view

Predefined user roles

network-admin

Parameters

both: Enables AP for both unicast and multicast FDB entries.

multicast: Enables AP only for multicast FDB entries.

off: Disables AP.

Usage guidelines

AP prevents temporary loops that might occur when the topologies of SPBM neighbors do not match.

If AP is enabled, ISIS-SPB issues forwarding entries to the FIB tables in the data plane only if AP declares a topology match after LSDB synchronization is complete.


[NOTE: ]

NOTE:

Do not confuse the "AP" in this document with access points, which are wireless access devices.


Examples

# Enable AP for multicast FDB entries.

<Sysname> system-view
[Sysname] spbm
[Sysname-spbm] ap-mode multicast