User guide

Configuring BGP Configuring BGP for IPv6
OmniSwitch AOS Release 7 Advanced Routing Configuration Guide March 2015 page 4-69
Use the no form of the ipv6 bgp neighbor update-source-address command to prevent the peer with an
IPv6 address of 2001::1 from contacting the speaker via the IPv6 address 2004::2, as shown:
-> no ipv6 bgp neighbor 2001::1 update-source-address
Note. If a BGP peer is configured with its link-local address, use the ‘update-source’ parameter to specify
the name of the IPv6 interface from which this peer is reachable. For example, to configure a peer with a
link-local address of fe80::2d0:95ff:fee2:6ed0 to be contacted through the IPv6 interface ipv6IntfVlan2,
use the ipv6 bgp neighbor update-source command, as shown:
-> ipv6 bgp neighbor fe80::2d0:95ff:fee2:6ed0 update-source ipv6IntfVlan2
Clearing Statistics for a Peer
BGP tracks the number of messages sent to and received from other peers. It also breaks down messages
into UPDATE, NOTIFICATION, and TRANSITION categories. You can reset, or clear, the statistics for
a peer using the ipv6 bgp neighbor stats-clear command. For example, use of the ipv6 bgp neighbor
stats-clear command would clear statistics for the IPv6 peer at address 2001::2.
-> ipv6 bgp neighbor 2001::2 stats-clear
The statistics that are cleared are shown in the show ipv6 bgp neighbors statistics command. The
following is an example of output from this command:
-> show ipv6 bgp neighbors statistics
Legends: Nbr = Neighbor
As = Autonomous System
RMSGS = # of received messages
SMSGS = # of sent messages
RUPDS = # of Update messages received
SUPDS = # of Update messages sent
RNOFY = # of Notify messages received
SNOFY = # of Notify messages sent
RPFXS = # of prefixes received
UPTNS = # of UP transitions
DNTNS = # of DOWN transitions
Nbr address As RMSGS SMSGS RUPDS SUPDS RNOFY SNOFY RPFXS UPTNS DNTNS
-----------------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----
2001:100:3:4::1 30 225 260 2 3 0 0 10 1 1
Setting the Peer Route Advertisement Interval
The route advertisement interval specifies the frequency at which routes external to the autonomous
system are advertised. These advertisements are also referred to as UPDATE messages. This interval
applies to advertisements to external IPv6 BGP peers.
To set the advertisement interval, enter the number of seconds in conjunction with the
ipv6 bgp neighbor advertisement-interval command as shown:
-> ipv6 bgp neighbor 2001::1 advertisement-interval 60
The interval is now set to 60 seconds.