NETGEAR ProSAFE M5300 Series Software Administration Manual page 192

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

Advertisement

This example does not include the steps for how to create an iBGP session. See
Create an iBGP Connection with a Loopback Interface
configuration.
The following is the route table when no prefix list is configured.
(Netgear Switch) (Config-router)#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
C
192.168.1.0/24 [0/1] directly connected,
B
136.1.1.0/24 [200/0] via 192.168.1.2,
B
136.1.2.0/24 [200/0] via 192.168.1.2,
B
136.1.3.0/24 [200/0] via 192.168.1.2,
B
172.222.1.0/24 [200/0] via 192.168.3.1,
B
172.222.2.0/24 [200/0] via 192.168.3.1,
C
192.168.3.0/24 [0/1] directly connected,
Create a prefix list and apply it to BGP to permit 136.1.1.0/24 only and deny all other routes
from any iBGP neighbor.
(Netgear Switch) (Config)#ip prefix-list prefix1 permit 136.1.1.0/24
(Netgear Switch) (Config)#router bgp 100
(Netgear Switch) (Config-router)# distribute-list prefix prefix1 in
The following is the IP route table after prefix1 is configured in BGP. Only 136.1.1.0/24
appears in the table and all of the other routes that were exchanged from Switches B and C
are removed.
(Netgear Switch) (Config-router)#show ip route
Route Codes: R - RIP Derived, O - OSPF Derived, C - Connected, S - Static
B - BGP Derived, IA - OSPF Inter Area
E1 - OSPF External Type 1, E2 - OSPF External Type 2
N1 - OSPF NSSA External Type 1, N2 - OSPF NSSA External Type 2
C
192.168.1.0/24 [0/1] directly connected,
B
136.1.1.0/24 [200/0] via 192.168.1.2,
C
192.168.3.0/24 [0/1] directly connected,
Managed Switches
on page 187 for iBGP session
1/0/2
00h:00m:08s,
00h:00m:08s,
00h:00m:08s,
00h:00m:08s,
00h:00m:08s,
1/0/3
1/0/2
00h:00m:08s,
1/0/3
BGP
192
Example 3:
1/0/2
1/0/2
1/0/2
1/0/3
1/0/3
1/0/2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosafe m6100 seriesProsafe m7100 series

Table of Contents