free hit counter

Cisco 300 Series Cli Manual page 505

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide
Examples
Example 1 - The following example configures port 2 as a general port and sets its
PVID to 234.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
Example 2 - Performs the following:
Adds VLANs 2&3 as tagged, and VLAN 100 as untagged to general mode
port 14
Defines VID 100 as the PVID
Reverts to the default PVID (VID=1)
switchxxxxxx(config)# interface gi14
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)#
switchxxxxxx(config-if)# switchport general allowed vlan add 100 untagged
switchxxxxxx(config-if)# switchport general pvid 100
switchxxxxxx(config-if)# no switchport general pvid
switchxxxxxx(config-if)#
Example 3 - Configures VLAN on port 14 as untagged on input and untagged on
output:
switchxxxxxx(config)# interface gi14
switchxxxxxx(config-if)# switchport mode general
switchxxxxxx(config-if)#
switchxxxxxx(config-if)# switchport general allowed vlan add 2 untagged
switchxxxxxx(config-if)#
interface gi2
switchport mode general
switchport general pvid
switchport general allowed vlan add 2-3 tagged
switchport general pvid 2
234
32
505

Advertisement

Table of Contents
loading

Table of Contents

Save PDF