Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

Displaying BFD for BGP Information

You can display related information for BFD for BGP.

To display information about BFD for BGP sessions on a router, use the following commands and refer to the following examples.
  • Verify a BFD for BGP configuration. EXEC Privilege mode show running-config bgp
  • Verify that a BFD for BGP session has been successfully established with a BGP neighbor. A line-by-line listing of established BFD adjacencies is displayed. EXEC Privilege mode show bfd neighbors [ interface] [detail]
  • Display BFD packet counters for sessions with BGP neighbors. EXEC Privilege mode show bfd counters bgp [ interface]
  • Check to see if BFD is enabled for BGP connections. EXEC Privilege mode show ip bgp summary
  • Displays routing information exchanged with BGP neighbors, including BFD for BGP sessions. EXEC Privilege mode show ip bgp neighbors [ ip-address]

Example of Verifying BGP Configuration

R2# show running-config bgp
                                 !
                                 router bgp 2
                                 neighbor 1.1.1.2 remote-as 1
                                 neighbor 1.1.1.2 no shutdown
                                 neighbor 2.2.2.2 remote-as 1
                                 neighbor 2.2.2.2 no shutdown
                                 neighbor 3.3.3.2 remote-as 1
                                 neighbor 3.3.3.2 no shutdown
                                 bfd all-neighbors
                              
R2# show bfd neighbors
                                 
                                 *     - Active session role
                                 Ad Dn - Admin Down
                                 
                                 B     - BGP
                                 C     - CLI
                                 I     - ISIS
                                 O     - OSPF
                                 R     - Static Route (RTM)
                                 M     - MPLS
                                 V     - VRRP
                                 
                                 LocalAddr  RemoteAddr Interface State Rx-int Tx-int Mult Clients
                                 * 1.1.1.3  1.1.1.2    Te 6/0    Up    200    200    3    
                                 B
                                 * 2.2.2.3  2.2.2.2    Te 6/1    Up    200    200    3    
                                 B
                                 * 3.3.3.3  3.3.3.2    Te 6/2    Up    200    200    3    
                                 B
                              

The bold lines show the BFD session parameters: TX (packet transmission), RX (packet reception), and multiplier (maximum number of missed packets).

R2# show bfd neighbors detail
                                 
                                 Session Discriminator: 9
                                 Neighbor Discriminator: 10
                                 Local Addr: 1.1.1.3
                                 Local MAC Addr: 00:01:e8:66:da:33
                                 Remote Addr: 1.1.1.2
                                 Remote MAC Addr: 00:01:e8:8a:da:7b
                                 Int: TenGigabitEthernet 6/0
                                 State: Up
                                 Configured parameters:
                                 
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Neighbor parameters:
                                 
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Actual parameters:
                                 
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Role: Active
                                 Delete session on Down: True
                                 Client Registered: BGP
                                 Uptime: 00:07:55
                                 Statistics:
                                 Number of packets received from neighbor: 4762
                                 Number of packets sent to neighbor: 4490
                                 Number of state changes: 2
                                 Number of messages from IFA about port state change: 0
                                 Number of messages communicated b/w Manager and Agent: 5
                                 
                                 Session Discriminator: 10
                                 Neighbor Discriminator: 11
                                 Local Addr: 2.2.2.3
                                 Local MAC Addr: 00:01:e8:66:da:34
                                 Remote Addr: 2.2.2.2
                                 Remote MAC Addr: 00:01:e8:8a:da:7b
                                 Int: TenGigabitEthernet 6/1
                                 State: Up
                                 Configured parameters:
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Neighbor parameters:
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Actual parameters:
                                 TX: 200ms, RX: 200ms, Multiplier: 3
                                 Role: Active
                                 Delete session on Down: True
                                 Client Registered: BGP
                                 Uptime: 00:02:22
                                 Statistics:
                                 Number of packets received from neighbor: 1428
                                 Number of packets sent to neighbor: 1428
                                 Number of state changes: 1
                                 Number of messages from IFA about port state change: 0
                                 Number of messages communicated b/w Manager and Agent: 4
                              
R2# show bfd counters bgp
                                 
                                 Interface TenGigabitEthernet 6/0
                                 
                                 Protocol BGP
                                 Messages:
                                 Registration    : 5
                                 De-registration : 4
                                 Init            : 0
                                 Up              : 6
                                 Down            : 0
                                 Admin Down      : 2
                                 
                                 Interface TenGigabitEthernet 6/1
                                 
                                 Protocol BGP
                                 Messages:
                                 Registration    : 5
                                 De-registration : 4
                                 Init            : 0
                                 Up              : 6
                                 Down            : 0
                                 Admin Down      : 2
                                 
                                 Interface TenGigabitEthernet 6/2
                                 
                                 Protocol BGP
                                 Messages:
                                 Registration    : 1
                                 De-registration : 0
                                 Init            : 0
                                 Up              : 1
                                 Down            : 0
                                 Admin Down      : 2
                              

The bold line shows the message displayed when you enable BFD for BGP connections.

R2# show ip bgp summary
                                 BGP router identifier 10.0.0.1, local AS number 2
                                 BGP table version is 0, main routing table version 0
                                 
                                 BFD is enabled, Interval 200 Min_rx 200 Multiplier 3 Role Active
                                 3 neighbor(s) using 24168 bytes of memory
                                 
                                 Neighbor AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down   State/Pfx
                                 
                                 1.1.1.2  1  282     281     0      0   0    00:38:12  0
                                 2.2.2.2  1  273     273     0      0  (0)   04:32:26  0
                                 3.3.3.2  1  282     281     0      0   0    00:38:12  0
                              
The bold lines show the message displayed when you enable a BFD session with different configurations:
  • Message displayed when you enable a BFD session with a BGP neighbor that inherits the global BFD session settings configured with the global bfd all-neighbors command.
  • Message displayed when you enable a BFD session with a BGP neighbor using the neighbor ip-address bfd command.
  • Message displayed when you enable a BGP neighbor in a peer group for which you enabled a BFD session using the neighbor peer-group-name bfd command
R2# show ip bgp neighbors 2.2.2.2
                                 
                                 BGP neighbor is 2.2.2.2, remote AS 1, external link
                                 BGP version 4, remote router ID 12.0.0.4
                                 BGP state ESTABLISHED, in this state for 00:05:33
                                 Last read 00:00:30, last write 00:00:30
                                 Hold time is 180, keepalive interval is 60 seconds
                                 Received 8 messages, 0 in queue
                                 1 opens, 0 notifications, 0 updates
                                 7 keepalives, 0 route refresh requests
                                 Sent 9 messages, 0 in queue
                                 2 opens, 0 notifications, 0 updates
                                 7 keepalives, 0 route refresh requests
                                 Minimum time between advertisement runs is 30 seconds
                                 Minimum time before advertisements start is 0 seconds
                                 
                                 Capabilities received from neighbor for IPv4 Unicast :
                                 MULTIPROTO_EXT(1)
                                 ROUTE_REFRESH(2)
                                 CISCO_ROUTE_REFRESH(128)
                                 
                                 Capabilities advertised to neighbor for IPv4 Unicast :
                                 MULTIPROTO_EXT(1)
                                 ROUTE_REFRESH(2)
                                 CISCO_ROUTE_REFRESH(128)
                                 
                                 
                                 Neighbor is using BGP global mode BFD configuration
                                 
                                 For address family: IPv4 Unicast
                                 BGP table version 0, neighbor version 0
                                 Prefixes accepted 0 (consume 0 bytes), withdrawn 0 by peer, martian prefixes ignored 0
                                 Prefixes advertised 0, denied 0, withdrawn 0 from peer
                                 
                                 Connections established 1; dropped 0
                                 Last reset never
                                 Local host: 2.2.2.3, Local port: 63805
                                 Foreign host: 2.2.2.2, Foreign port: 179
                                 E1200i_ExaScale#
                                 
                                 R2# show ip bgp neighbors 2.2.2.3
                                 
                                 BGP neighbor is 2.2.2.3, remote AS 1, external link
                                 Member of peer-group pg1 for session parameters
                                 BGP version 4, remote router ID 12.0.0.4
                                 BGP state ESTABLISHED, in this state for 00:05:33
                                 ...
                                 
                                 Neighbor is using BGP neighbor mode BFD configuration
                                 Peer active in peer-group outbound optimization
                                 ...
                                 
                                 R2# show ip bgp neighbors 2.2.2.4
                                 
                                 BGP neighbor is 2.2.2.4, remote AS 1, external link
                                 Member of peer-group pg1 for session parameters
                                 BGP version 4, remote router ID 12.0.0.4
                                 BGP state ESTABLISHED, in this state for 00:05:33
                                 ...
                                 
                                 Neighbor is using BGP peer-group mode BFD configuration
                                 Peer active in peer-group outbound optimization
                                 ...
                              

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\