NETGEAR FSM726E-100NAS Administration Manual page 173

7000 series managed switch administration guide for software version 7.3
Table of Contents

Advertisement

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.3
Create VLAN 38, add port 1/0/38 to it, and assign IP address 10.100.5.34 to it.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 38
(Netgear Switch) (Vlan)#vlan routing
(Netgear Switch) (Vlan)#exit
(Netgear Switch) #config
(Netgear Switch) (Config)#interface 1/0/38
(Netgear Switch) (Interface 1/0/38)#vlan participation include 38
(Netgear Switch) (Interface 1/0/38)#vlan pvid 38
(Netgear Switch) (Interface 1/0/38)#exit
Netgear Switch) (Config)#interface vlan 38
(Netgear Switch) (Interface-vlan 38)#routing
(Netgear Switch) (Interface-vlan 38)#ip address 10.100.5.34 255.255.255.0
(Netgear Switch) (Interface-vlan 38)#exit
Enable IP routing on the switch.
(Netgear Switch) (Config)#ip routing
Add a default route so that all the traffic without a destination is forwarded
according to this default route.
(Netgear Switch) (Config)#ip route default 10.100.5.252
Create ACL 101 to deny all traffic that has destination IP 192.168.24.0/24.
(Netgear Switch) (Config)#access-list 101 deny ip any 192.168.24.0 0.0.0.255
Create ACL 102 to deny all traffic that has destination IP 192.168.48.0/24.
(Netgear Switch) (Config)#access-list 102 deny ip any 192.168.48.0 0.0.0.255
Create ACL 103 to permit all other traffic.
(Netgear Switch) (Config)#access-list 103 permit ip any any
Deny all traffic with destination IP address 192.168.48.0/24 and permit all other
traffic.
(Netgear Switch) (Config)#interface 1/0/24
(Netgear Switch) (Interface 1/0/24)#ip access-group 102 in 1
(Netgear Switch) (Interface 1/0/24)#ip access-group 103 in 2
(Netgear Switch) (Interface 1/0/24)#exit
Deny all traffic with destination IP address 192.168.24.0/24 and permit all other
traffic.
(Netgear Switch) (Config)#interface 1/0/48
(Netgear Switch) (Interface 1/0/48)#ip access-group 101 in 1
(Netgear Switch) (Interface 1/0/48)#ip access-group 103 in 2
(Netgear Switch) (Interface 1/0/48)#exit
Access Control Lists (ACLs)
12-27
v1.0, November 2008

Advertisement

Table of Contents
loading

Table of Contents