CANOGA PERKINS 9175 Command Reference User Manual

Page 303

Advertising
background image

CanogaOS Command Reference

16-58

show ip bgp ipv4 PREFIX neighbors (IPADDRESS

(advertised-routes|RECEIVED|receivedroutes|routes))

IPADDRESS=A.B.C.D|X:X::X:X Specifies the IP address.

A.B.C.D Specifies an IPv4 address.

X:X::X:X Specifies an IPv6 address

advertised-routes Displays the routes advertised to a BGP neighbor.

RECEIVED = received prefix-filter Displays all received routes, both accepted and rejected.

prefix-filter Displays the prefix-list filter.

received-routes Displays the received routes from neighbor. To display all the received routes from the

neighbor, configure the BGP soft reconfigure first. routes Displays all accepted routes learned from

neighbors.

ipv4 Specifies the address family. The type of address family determines the routing table that is

displayed.

PREFIX = multicast|unicast

unicast Specifies a IPv4 unicast address family. This is the default option.

multicast Specifies a IPv4 multicast address family.

Command Mode

Privileged Exec mode and Exec mode

Examples

This is a sample output from the show ip bgp neighbors command displaying information about the

specified neighbor.

Switch# show ip bgp neighbors

BGP neighbor is 192.10.23.67, remote AS 1, local AS 1, internal link

BGP version 4, remote router ID 172.22.10.10

BGP state = Established, up for 00:00:22

Last read 00:00:22, hold time is 240, keepalive interval is 60 seconds

Neighbor capabilities:

Route refresh: advertised and received (old and new)

Address family IPv4 Unicast: advertised and received

Received 3 messages, 0 notifications, 0 in queue

Sent 3 messages, 0 notifications, 0 in queue

Route refresh request: received 0, sent 0

Minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast

BGP table version 1, neighbor version 1

Index 1, Offset 0, Mask 0x2

AF-dependant capabilities:

Graceful restart: advertised, received

Community attribute sent to this neighbor (both)

0 accepted prefixes

0 announced prefixes

Connections established 1; dropped 0

Graceful-restart Status:

Remote restart-time is 120 sec

Advertising