Allied Telesis AT-9900 Series manual Displaying the Number of Routes from a Peer

Page 43

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

Image 43
Contents Models Series Release File Date Size bytes GUI file VersionEnabling and Installing this Release SFPs or reflect the correct link state SwitchCR00012654 CR00013388CR00011694 CR00011691CR00012097 PIM IPv6PIM6 IP GatewayATM ModuleVrrp UtilityAsyn BGPPIM on IPv6 SYNFirewall WAN load CR00011855CR00011940 CR00011991Lbstate=closing Switch, UtilityCommand disable switch port=port-numberlink=disable did not VlanCR00012232 CR00012140CR00012167 CR00012204Software QoS CR00012304CR00012319 CR00012396Stacking CR00012482Core, Utility CR00012533CR00012689 CR00012613CR00012649 MLD SnoopingAppletalk Dynam=trigger CR00010508CR00011774 CR00011510CR00011659 CR00011687CR00012014 CR00011931CR00011943 CR00011969CR00012283 CR00012040CR00012175 CR00012265Asyn Logging Destroy and create commandsOutput=permanent full Core, Isdn CR00012594Module Level Description CR00003286CR00012043 CR00011995Mstp CR00007105CR00009825 CR00011164Command show bgp peer=ip-address L2TP Module LevelBridging DescriptionCR00008046 CR00008244 SwitchCR00009236 CR00008742 SwitchCR00010307 Switch CR00008791Authentication IPX Isakmp EnvironmentMonitoring MIBUpnp SnoopingDhcp CoreGUI Perm QoSCR00011614 CR00010196IP gateway CR00011355Adding Static ARP Entries Show ip Securing a Single Vlan through Switch Filters CR00011271 Configuring vlansecure Making Asynchronous Ports Respond More Quickly CR00011565 Ten timer value 100 Displaying the Number of Routes from a Peer Route Update Queue Length CR00010196 Parameter Meaning Queue defaultPermanent Assignments CR00011355 Which produces the output shown in Figure ExampleName Local Remote IP address Main office 172.20.34.9 Add perm Command ReferenceDelete perm Reset perm Set perm Show perm Add perm delete perm reset perm set perm