Run:
system-view
The system view is displayed.
Run:
bfd cfg-name
The BFD session view is displayed.
Run:
process-interface-status sub-if
The association between the BFD status and the
sub-interface status is configured.
Run:
commit
The configuration is committed.
NOTE:
When the process-interface-status command and
the commit command are run in succession, the BFD session may not be set up or
the BFD session does not go Up through negotiation. Therefore, the BFD session
does not notify the interface of the BFD status immediately, avoiding that the
BFD session notifies the interface of incorrect status information that results
in incorrect interface status change. After the configuration is committed, the
BFD sessions can notify the interface of the BFD status change. In this manner,
the BFD session status is associated with the interface status.
If the networking requires that the BFD status
must be synchronized with the interface status, you can run the shutdown and
undo shudown commands to change the status of the BFD session. When the undo
shutdown command is run, a timer to test the BFD session status is started. If
the BFD session goes Up through negotiation before the timer expires, the BFD
session notifies the interface of the Up state. Otherwise, the BFD session
regards the link as failed and notifies the interface of the Down state after
the timer expires. In this manner, the BFD session status and the interface
status are in real-time synchronization.
If the process-interface-status command is
saved in the configuration file, the BFD session that is bound to the interface
notifies the interface that the BFD session is Down when the NE80E/40E is
restarted, in view of the initial status of an interface being Down.
Before BFD status is associated with interface
status, the BFD configurations on the two NE80E/40Es must be correct and
symmetrical. If the BFD status on the local interface goes Down, check whether
the BFD configuration on the peer is correct or whether the BFD session has
been shut down.
没有评论:
发表评论