24-Port 10/100Mbps Layer 2 Switch w/ 4 Gigabit Ports and 2 Shared Mini-GBIC Slots
26-3
Specify the PVID of the port.
Interface Configuration Mode
switch(config-if)# switchport pvid 100
This command was introduced
To apply the VLAN membership to ports or port-channels.
ports ([<interface-type> <0/a-b,0/c,...>] [<interface-type>
<0/a-b,0/c,...>] [port-channel <a,b,c-d>]) [untagged
(<interface-type> <0/a-b,0/c,...> [<interface-type>
<0/a-b,0/c,...>] [port-channel <a,b,c-d>] [all])] [forbidden
<interface-type> <0/a-b,0/c,...> [<interface-type>
<0/a-b,0/c,...>] [port-channel <a,b,c-d>]] [name <vlan-name>]
interface-type
0/a-b,0/c,...
Specify the ports to apply the VLAN membership.
Interface-type including Fa (Fast Ethernet) or Gi
(Gigabit Ethernet).
Interface-id is slot/port number.
Specify the port-channels to apply the VLAN
membership.
Apply untagged membership to interfaces.
Apply untagged membership to all interfaces.
Apply forbidden membership to interfaces.
Specify the name of this VLAN.
The default port membership is tagged.
The untagged port must be the subset of member port.
switch(config-vlan)# ports fa 0/1-5 untagged fa 0/5 forbidden
fa 0/7 name trendnet
This command was introduced