Cli commands – NETGEAR 7000 Series Managed Switch User Manual

Page 196

Advertising
background image

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

25-2

Protected Ports

v1.0, May 2008

.

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

CLI Commands

To use the CLI to configure a protected port in order to isolate ports, enter the following CLI
commands:

Figure 25-1

Step 1: Create one VLAN 192 including PC1 and PC2.

(Netgear Switch) #vlan database

(Netgear Switch) #vlan 192

(Netgear Switch) #vlan routing 192

(Netgear Switch) #exit

(Netgear Switch) #configure

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

(Netgear Switch) (Interface 1/0/23)#vlan pvid 192

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

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

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

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

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

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

(Netgear Switch) (Interface-vlan 192)#interface vlan 192

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

(Netgear Switch) (Interface-vlan 192)#ip address 192.168.1.254 255.255.255.0

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

Advertising