Cli commands – NETGEAR 7000 Series Managed Switch User Manual

Page 100

Advertising
background image

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

9-24

Access Control Lists (ACLs)

v1.0, May 2008

The example is shown as CLI commands and as a Web interface procedure.

CLI Commands

To use the CLI to isolate VLANs on a Layer 3 switch by using ACLs, enter the following CLI
commands:

Figure 9-22

Create VLAN 24, add port 1/0/24 to it, and assign IP address 192.168.24.1 to it.

(Netgear Switch) #vlan database

(Netgear Switch) (Vlan)#vlan 24

(Netgear Switch) (Vlan)#vlan routing 24

(Netgear Switch) (Vlan)#exit

(Netgear Switch) #config

(Netgear Switch) (Config)#interface 1/0/24

(Netgear Switch) (Interface 1/0/24)#vlan participation include 24

(Netgear Switch) (Interface 1/0/24)#vlan pvid 24

(Netgear Switch) (Interface 1/0/24)#exit

(Netgear Switch) (Config)#interface vlan 24

(Netgear Switch) (Interface-vlan 24)#routing

(Netgear Switch) (Interface-vlan 24)#ip address 192.168.24.1 255.255.255.0

(Netgear Switch) (Interface-vlan 24)#exit

(Netgear Switch) (Config)#exit

Advertising