Switchport Access Vlan; No Switchport Access Vlan - Siemens SCALANCE XC-200 Configuration Manual

Simatic net command line interface industrial ethernet switches
Hide thumbs Also See for SCALANCE XC-200:
Table of Contents

Advertisement

Network structures
6.1 VLAN
6.1.3.5

switchport access vlan

Description
With this command, you assign an VLAN to an interface and configure the port VLAN identifier
(PVID) for it.
Requirement
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call up the command with the following parameters:
switchport access vlan <vlan-id(1-4094)>
The parameter has the following meaning:
Parameter
vlan-id
Result
The Interface is added to the VLAN as an untagged port and the corresponding VLAN ID is
set.
Further notes
You can reset the setting to the default with the no switchport access vlan command.
You display the setting and other information with the show vlan port config command.
6.1.3.6

no switchport access vlan

Description
With this command, you reset the setting for the port VLAN identifier (PVID) for an interface
to the default value.
The default value is 1.
Requirement
You are in the interface configuration mode.
The command prompt is as follows:
182
Description
Number of the addressed VLAN
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Range of values / note
1 ... 4094
Configuration Manual, 07/2017, C79000-G8976-C361-06

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents