Adding static members to vlans (vlan index), Adding static members to vlans (vlan index) -152, Vlan c – SMC Networks TIGERSWITCH SMC6752AL2 User Manual

Page 199: Cli – this example creates a new vlan

Advertising
background image

VLAN C

ONFIGURATION

3-151

CLI – This example creates a new VLAN.

Adding Static Members to VLANs (VLAN Index)

Use the VLAN Static Table to configure port members for the selected
VLAN index. Assign ports as tagged if they are connected to 802.1Q
VLAN compliant devices, or untagged they are not connected to any
VLAN-aware devices. Or configure a port as forbidden to prevent the
switch from automatically adding it to a VLAN via the GVRP protocol.

Notes: 1. You can also use the VLAN Static Membership by Port page

to configure VLAN groups based on the port index
(page 3-153). However, note that this configuration page can
only add ports to a VLAN as tagged members.

2. VLAN 1 is the default untagged VLAN containing all ports on

the switch, and can only be modified by first reassigning the
default port VLAN ID as described under “Configuring
VLAN Behavior for Interfaces” on page 3-155.

Console(config)#vlan database

4-198

Console(config-vlan)#vlan 2 name R&D media ethernet state active

4-199

Console(config-vlan)#end
Console#show vlan

4-208

Vlan ID: 1
Type: Static
Name: DefaultVlan
Status: Active
Ports/Channel groups: Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)
Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)
Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S) Eth1/25(S)
Eth1/26(S) Eth1/27(S) Eth1/28(S) Eth1/29(S) Eth1/30(S)

Eth1/31(S) Eth1/32(S) Eth1/33(S) Eth1/34(S) Eth1/35(S)

Eth1/36(S) Eth1/37(S) Eth1/38(S) Eth1/39(S) Eth1/40(S)
Eth1/41(S) Eth1/42(S) Eth1/43(S) Eth1/44(S) Eth1/45(S)
Eth1/46(S) Eth1/47(S) Eth1/48(S) Eth1/49(S) Eth1/50(S)
Eth1/51(S) Eth1/52(S)

Vlan ID: 2
Type: Static
Name: R&D
Status: Active
Ports/Port Channel:

Console(config-vlan)#

Advertising