Allied Telesis AT-9900 Series manual Displaying Routes Learned from a Specific BGP Peer CR00011724

Models: AT-9900 Series

1 54
Download 54 pages 47.42 Kb
Page 43
Image 43
Displaying Routes Learned from a Specific BGP Peer (CR00011724)

Displaying Routes Learned from a Specific BGP Peer (CR00011724)

43

Displaying Routes Learned from a Specific BGP Peer (CR00011724)

This enhancement enables you to display:

the number of routes learned from a specific peer

information about each route learned from a specific peer

Displaying the Number of Routes from a Peer

To display the number of routes learned from a specific peer, use the existing command:

show bgp peer=ip-address

and check the new “Routes learned” field (Figure 2).

Figure 2: New parameter in the output of the show bgp peer command for a specific peer

Peer

192.168.10.1

Description

-

State

Idle

Policy Template

4

Description

Test Template 1

Private AS filter ...

Yes

Remote AS

3

BGP Identifier

172.20.25.2

Routes learned

15

Authentication

None

Password

-

 

.

 

 

.

 

 

.

 

 

 

 

 

Displaying Information about the Routes from a Peer

To display information about each route learned from a specific peer, use the new peer parameter in the command:

show bgp route[=prefix] [peer=ip-address] [other optional parameters]

The peer parameter specifies the IP address of the peer. If you specify a peer, the router or switch only displays routes that it learned from that peer. If you specify the router or switch’s router ID, it displays all locally originated routes. The peer parameter has no default.

Note that this enhancement did not change any fields in the output of the show bgp route command; it simply provides another method of filtering the displayed routes.

Version 276-03

C613-10474-00 REV B

Page 43
Image 43
Allied Telesis AT-9900 Series manual Displaying Routes Learned from a Specific BGP Peer CR00011724