Switchport Access Vlan; Switchport Forbidden Vlan Add - Planet Networking & Communication MGSW-28240F Command Manual

24-port 100/1000base-x sfp with 4-port 10g sfp+ managed metro ethernet switch
Hide thumbs Also See for MGSW-28240F:
Table of Contents

Advertisement

Switch# configure terminal
Switch (config)# interface GigabitEthernet X/X
Switch (config-if) # speed 1000

4.2.56.117 switchport access vlan

Command:
switchport access vlan <vlan_id>
switchport
Switching mode characteristics
access
Set access mode characteristics of the interface
vlan
Set VLAN when interface is in access mode
<vlan_id>
VLAN ID of the VLAN when this port is in access mode
Default:
1
Usage Guide:
To configure access VLAN ID for specific interface
Example:
To configure access VLAN ID (5) for GigabitEthernet X/X
Switch# configure terminal
Switch (config)# interface GigabitEthernet X/X
Switch (config-if) # switchport access vlan 5

4.2.56.118 switchport forbidden vlan add

Command:
switchport forbidden vlan add <vlan_list>
switchport
Switching mode characteristics
forbidden
Adds or removes forbidden VLANs from the current list of forbidden VLANs
vlan
Add or modify VLAN entry in forbidden table.
add
Add to existing list.
<vlan_list>
VLAN IDs
Command Guide of MGSW-28240F
-143-

Advertisement

Table of Contents
loading

Table of Contents