Switchport – NETGEAR 700 Series Managed Switch for Software v2.1 User Manual

Page 108

Advertising
background image

700 Series Managed Switch User’s Guide for Software v2.1

6-18

Command Line Interface

SM-10004-02

Switchport

The

switchport

command lets you configure VLAN access mode of this particular port.

VLAN

syntax

FSM726(config-if)# switchport access vlan [tagged <VLAN Membership> | untagged <VLAN
membership>]

Where:

tagged <VLAN Membership>

= setting the VLAN membership to tagged mode. VLAN

Membership ranges from 1-4094

untagged <VLAN Membership>

= setting the VLAN membership to untagged mode. VLAN

Membership ranges from 1-4094

For example, suppose this particular port belongs in VLAN 64 and 32. You wish to configure it so
that it operates in tagged mode in VLAN 64, but in untagged mode in VLAN 32, the command to
do so would be:

FSM726(config-if)# switchport access vlan tagged 64

FSM726(config-if)# swtichport access vlan untagged 32

Native

All untagged packets entering the switch will by default be tagged with the ID specified by the
port’s PVID. This command allows you to specify the PVID for each port. The PVID values
ranges from 1-4094. Following industry standards, PVID 1 is the default PVID

Syntax

FSM726(config-if)# switchport access native <PVID value>

where

<PVID Value>

= the PVID value assigned for this particular port.

Advertising