Bidirectional Forwarding Detection | 199
There is one BFD Agent for VLANs and port-channels, which resides on RP2 as opposed to the other
agents which are on the line card. Therefore, the 100 total possible sessions that this agent can maintain is
shared for VLANs and port-channels.
Configuring BFD for VLANs is a two-step process:
1. Enable BFD globally on all participating routers. See Enabling BFD globally on page 176.
2. Establish sessions with VLAN neighbors. See page 199.
Related configuration tasks
• Change session parameters. See page 200.
• Disable BFD for VLANs. See page 182.
Establishing sessions with VLAN neighbors
To establish a session, BFD must be enabled at interface level on both ends of the link, as shown in
Figure 9-25. The session parameters do not need to match.
Figure 9-25. Establishing Sessions with VLAN Neighbors
To establish a BFD session with a VLAN neighbor:
View the established sessions using the command
show bfd neighbors, as shown in Figure 9-26.
Step Task Command Syntax Command Mode
1 Establish sessions with a VLAN neighbor.
bfd neighbor ip-address
INTERFACE VLAN
fnC0043mp
F
orce10(config-if-gi-4/25)# switchport
F
orce10(config-if-gi-4/25)# no shutdown
F
orce10(config-if-gi-4/25)# interface vlan 200
F
orce10(config-if-vl-200)# ip address 2.2.3.1/24
F
orce10(config-if-vl-200)# untagged gigabitethernet 4/25
F
orce10(config-if-vl-200)# no shutdown
F
orce10(config-if-vl-200)# bfd neighbor 2.2.3.2
4/25 2/3
VLAN 200
Force10(config-if-gi-2/3)# switchport
Force10(config-if-gi-2/3)# no shutdown
Force10(config-if-gi-2/3)# interface vlan 200
Force10(config-if-vl-200)# ip address 2.2.3.2/24
Force10(config-if-vl-200)# untagged gigabitethernet 2/3
Force10(config-if-vl-200)# no shutdown
Force10(config-if-vl-200)# bfd neighbor 2.2.3.2
R1
R2