Viewing BGPv6 neighbors information
View information about BGPv6 neighbors.
Procedure
Example
The following examples shows the summary output for bgp ipv6 neighbors command, and the advertised-routes and routes variable options.
Switch:1>show bgp ipv6 neighbors vrf vrf1
=====================================================================================
                       BGPv6 Neighbor Info - VRF vrf1
=====================================================================================
BGPv6 neighbor is 2015:cdba:0:0:0:0:3257:9652 remote AS 200, External Peer,
BGP state [Established] UP Time 0 day(s), 00:50:30
remote router ID 0.0.0.6
	                            vrf instance - 0
	                             admin-state - BGP ON
	                  connect-retry-interval - 120
	                           ebgp-multihop - disable
	                               hold-time - 180
	                          keepalive-time - 60
	                    hold-time-configured - 180
	               keepalive-time-configured - 60
	                         ipv6-max-prefix - 8000
	                            nexthop-self - disable
	                   originate-defv6-route - disable
	                          neighbor-debug - all
	                       remove-private-as - disable
                    route-advertisement-interval - 5
	                  route-reflector-client - disable
	                          send-community - disable
			   soft-reconfiguration-in - enable
	                   updt-source-interface - 0:0:0:0:0:0:0:0
	                                  weight - 100
                            IPv6Route Policy In -
                           IPv6Route Policy Out -
	                     address-family ipv6 - enable
	                           route-refresh - enable       
Total bgpv6 neighbors: 1           
			Switch:1>show bgp ipv6 neighbors 2015:cdba:0:0:0:0:3257:9655 advertised-routes vrf vrf1
										-------------------------------------------------------------------------
The total number of routes advertised to the neighbor is 2
=================================================================================================
                                  BGPv6 Neighbor Advertised Routes - VRF vrf1
=================================================================================================
NETWORK/MASK                  NEXTHOP ADDRESS                               LOC PREF ORG   STATUS
-------------------------------------------------------------------------------------------------
2001:cdba:0:0:0:0:0:0/64      2001:cdba:0:0:0:0:3257:9651                   100      INC   Best
2007:cdba:0:0:0:0:0:0/64      2001:cdba:0:0:0:0:3257:9651                   100      INC   Used
-------------------------------------------------------------------------------------------------
			Switch:1>show bgp ipv6 neighbors 2015:cdba:0:0:0:0:3257:9655 routes vrf vrf1
-------------------------------------------------------------------------------------------------
The total number of accepted routes from the neighbor is 2
=================================================================================================
                                  BGPv6 Neighbor Routes - VRF vrf1
=================================================================================================
NETWORK/MASK          PEER-REM-ADDR               NEXTHOP-ADDRESS             ORG LOC-PREF STATUS
 
-------------------------------------------------------------------------------------------------
1100:0:0:0:0:0:0:0/64    2015:cdba:0:0:0:0:3257:9655 2015:cdba:0:0:0:0:3257:9655 INC 100 Used AS_PATH:(150)
2015:cdba:0:0:0:0:0:0/64 2015:cdba:0:0:0:0:3257:9655 2015:cdba:0:0:0:0:3257:9655 INC 100 Best AS_PATH:(150)
-------------------------------------------------------------------------------------------------
		
	Variable Definitions
The following table defines parameters for the show bgp ipv6 neighbors command.
| Variable | Value | 
|---|---|
| WORD<1–256> | Specifies the IPv6 address. | 
| advertised-routes | Specifies an IPv6 neighbors advertised routes. | 
| routes | Specifies an IPv6 neighbors routes. | 
| WORD<1–256> | Specifies an IPv6 address/length. | 
| longer-prefixes | Shows long prefixes. The longer-prefixes indicate the mask length from any specified prefix to 128. For example, show from prefix :X::X:X/len to X:X::X:X/ 128. | 
| community <enable|disable> | Enables or disables the display of community attributes. | 
| vrf | Specifies a VRF instance by name (the string length ranges from 1–16 characters). | 
| vrfids | Specifies a range of VRFs by ID number (the ID ranges from 0–255). | 




