Configure Rr On Switch A; Configure Rr On Switch B And C; Example 5: Filter Routes With Nlri - NETGEAR ProSAFE M5300 Series Software Administration Manual

Managed switches
Hide thumbs Also See for ProSAFE M5300 Series:
Table of Contents

Advertisement

Configure RR on Switch A

Configure RR on Switch A. Switches B and C are considered reflection clients.
(Netgear Switch) (Config) #router bgp 100
(Netgear Switch) (Config-router) #bgp router-id 192.168.1.1
(Netgear Switch) (Config-router) #neighbor 172.126.3.1 remote-as 100
(Netgear Switch) (Config-router) #neighbor 172.12.3.1 route-reflector-client
(Netgear Switch) (Config-router) #neighbor 192.168.1.2 remote-as 100
(Netgear Switch) (Config-router) #neighbor 192.168.1.2 route-reflector-client
(Netgear Switch) (Config-router) #bgp client-to-client reflection
Configure the cluster ID on Switches A, B, and C. A routing information loop can occur if a
cluster contains more than one RR. In this case, we configure the cluster ID to avoid the loop.
You must configure all RRs in the same cluster with a 4-byte cluster ID so that an RR can
recognize updates from RRs in the same cluster.
(Netgear Switch) (Config)#router bgp 100
(Netgear Switch) (Config-router)# bgp cluster-id 192.168.1.1
(Netgear Switch) (Config-router)#

Configure RR on Switch B and C

Configure the same cluster ID on Switches B and C.
(Netgear Switch) (Config)#router bgp 100
(Netgear Switch) (Config-router)# bgp cluster-id 192.168.1.1
(Netgear Switch) (Config-router)#

Example 5: Filter Routes with NLRI

Route control is the basic functionality of BGP. BGP provides many ways to control this BGP
update message to send or receive the specific routes. The easier way to perform this is by
using the prefix list.
To filter BGP routes with prefix lists, create the prefix lists and bind them to a BGP speaker.
This filters the BGP routes exchanged with the neighbors.
To create a prefix list, use the command ip prefix-list in global configuration mode. To
bind it to a BGP speaker, use the command desribute prefix or neighbor <ip
address> prefix-list in BGP router configuration mode.
The following example shows how to configure the prefix list on Switch A. Assume that some
routes are learned by BGP on Switches B and C, but Switch A is interested in 136.1.1.0/24
only.
Managed Switches
BGP
191

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosafe m6100 seriesProsafe m7100 series

Table of Contents