Planet IGSW-2840 User Manual page 560

24-port 10/100mbps + 4 gigabit tp/sfp combo industrial managed switch
Table of Contents

Advertisement

switchport allowed vlan
switchport gvrp
switchport forbidden vlan
switchport priority default
interface vlan
This command enters interface configuration mode for VLANs, which is used to configure VLAN parameters for a physical
interface.
Syntax
interface vlan vlan-id
vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zeroes)
Default Setting
None
Command Mode
Global Configuration
Example
Example
The following
the VLAN:
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.254 255.255.255.0
Console(config-if)#
Related Commands
shutdown
switchport mode
This command configures the VLAN membership mode for a port. Use the no form to restore the default.
Syntax
switchport mode {trunk | hybrid | private-vlan}
no switchport modehybrid -Specifies a hybrid VLAN interface. The port may transmit tagged or untagged frames.
access - Specifies an access VLAN interface. The port transmits and receives untagged frames only.
trunk - Specifies a port as an end-point for a VLAN trunk. A trunk is a direct link between two switches, so the port
transmits tagged frames that identify the source VLAN. Note that frames belonging to the port's default VLAN (i.e.,
associated with the PVID) are also transmitted as tagged frames.
Configures the VLANs associated with an interface
Enables GVRP for an interface
Configures forbidden VLANs for an interface
Sets a port priority for incoming untagged frames
Table 5-69 Configuring VLAN Interfaces
shows how to set the interface configuration mode to VLAN 1, and then assign an IP address to
560
User's Manual of IGSW-2840
IC
IC
IC
IC

Advertisement

Table of Contents
loading

Table of Contents