NETGEAR M4200 Software Administration Manual page 150

M4200 and m4300 series prosafe managed switches
Hide thumbs Also See for M4200:
Table of Contents

Advertisement

1.
Create an IP ACL 1 to match 10.1.0.0/16.
(Netgear Switch) (Config) #access-list 1 permit 10.1.0.0 0.0.255.255
2.
Create an IP ACL 2 to match 10.2.0.0/16.
(Netgear Switch) (Config)#access-list 2 permit 10.2.0.0 0.0.255.255
3.
Create a route map pbr_1 with sequence number 10 to match ip ACL 1.
(Netgear Switch) (Config) #route-map pbr_1 permit 10
(Netgear Switch) (route-map) #match ip address 1
(Netgear Switch) (route-map) #set ip next-hop 20.1.1.2
(Netgear Switch) (route-map) #exit
4.
Create a route map pbr_1 with sequence number 11 to match ip ACL 2.
(Netgear Switch) (Config) # route-map pbr_1 permit 11
(Netgear Switch) (route-map) #match ip address 2
(Netgear Switch) (route-map) #set ip next-hop 20.2.1.2
(Netgear Switch) (route-map) #exit
5.
Create VLAN 30 and put interface 1/0/1 and 1/0/2 into it.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan) #vlan 30
(Netgear Switch) (Vlan) #vlan routing 30
(Netgear Switch) (Vlan) #exit
(Netgear Switch) (Config) #interface 1/0/1-1/0/2
(Netgear Switch) (Interface 1/0/1-1/0/2) #vlan participation include 30
(Netgear Switch) (Interface 1/0/1-1/0/2) #vlan pvid 30
(Netgear Switch) (Interface 1/0/1-1/0/2) #exit
(Netgear Switch) (Config) #interface vlan 30
(Netgear Switch) (Interface vlan 30) #routing
(Netgear Switch) (Interface vlan 30) #ip address 10.1.1.1 255.0.0.0
(Netgear Switch) (Interface vlan 30) #exit
Managed Switches
PBR
150

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

M4300

Table of Contents