API Guide

remote-as 100
no shutdown
!
neighbor 3::1
remote-as 100
no shutdown
!
address-family ipv6 unicast
activate
OS10(config-router-bgp-300)#
OS10(conf-if-eth1/1/1)# do clear ip bgp *
OS10# show ip bgp summary
BGP router identifier 11.11.11.11 local AS number 300
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
-----------------------------------------------------------------
3.1.1.1 100 7 4 00:00:08 3
3::1 100 9 5 00:00:08 4
OS10#
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# shutdown
OS10(conf-if-eth1/1/1)# do show ip bgp summary
BGP router identifier 11.11.11.11 local AS number 300
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
-----------------------------------------------------------------
3.1.1.1 100 7 4 00:00:29 3
3::1 100 9 5 00:00:29 4
OS10(conf-if-eth1/1/1)#
OS10(config-router-bgp-neighbor-af)# Apr 27 01:39:03 OS10 dn_sm[2065]: Node.1-
Unit.1:PRI:alert [os10:event],
%Dell EMC (OS10) %BGP_NBR_BKWD_STATE_CHG: Backward state change occurred Hold Time
expired for Nbr:3.1.1.3 VRF:default
Apr 27 01:39:03 OS10 dn_sm[2065]: Node.1-Unit.1:PRI:alert [os10:event], %Dell EMC
(OS10) %BGP_NBR_BKWD_STATE_CHG: Backward
state change occurred Hold Time expired for Nbr:3::3 VRF:default
Passive peering
When you enable a peer-template, the system sends an OPEN message to initiate a TCP connection. If you enable passive
peering for the peer template, the system does not send an OPEN message but responds to an OPEN message.
When a BGP neighbor connection with authentication rejects a passive peer-template, the system prevents another passive
peer-template on the same subnet from connecting with the BGP neighbor. To work around this constraint, change the BGP
configuration or change the order of the peer template configuration.
You can restrict the number of passive sessions the neighbor accepts using the limit command.
1. Enable BGP and assign the AS number to the local BGP speaker in CONFIGURATION mode (1 to 65535 for 2-byte, 1 to
4294967295 for 4-byte).
router bgp as-number
2. Configure a template that does not initiate TCP connections with other peers in ROUTER-BGP mode. A maximum of 16
characters.
template template-name
3. Create and enter the AS number for the remote neighbor in ROUTER-BGP-TEMPLATE mode (1 to 4294967295).
remote-as as-number
4. Enable peer listening and enter the maximum dynamic peers count in ROUTER-BGP-TEMPLATE mode (1 to 4294967295).
listen neighbor ip-address limit
Only after the peer template responds to an OPEN message sent on the subnet does the state of its BGP change to
ESTABLISHED. After the peer template is ESTABLISHED, the peer template is the same as any other peer template, see Peer
templates.
If you do not configure a BGP device in Peer-Listening mode, a session with a dynamic peer comes up. Passwords are not
supported on BGPv4/v6 dynamic peers.
592
Layer 3