A virtual LAN (VLAN) is a logical definition of a network work group. It is roughly equivalent to a broadcast domain. A VLAN interface is your system's point of attachment to a given VLAN. A VLAN and a VLAN interface are analogous to an IP subnetwork and an IP interface.
For more information about VLANs, see the Implementation Guide for your system.
The commands that you can use depend on the system that you have, your level of access, and the types of modules and other hardware options that are configured for your system. The following diagram shows the complete list of commands for all systems. See the checklist at the beginning of each command description in this chapter for whether your system supports the command.
The bridge vlan stpMode command is available only when you enable allClosed mode on the CoreBuilder 3500 system or the CoreBuilder 9000 Layer 3 switching module. The command does not appear when you are using the default VLAN mode (allOpen) or when you use allClosed mode on a Layer 2 system or module.
bridge vlan summary
Displays a summary of VLAN information. In a summary report, the system displays the ports and protocols that are assigned to each VLAN.
b v s (in allOpen mode)
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
VLAN interface index |
Index numbers of the VLAN interfaces for which you want summary information |
1 (if you have only one VLAN) |
bridge vlan detail
Displays per-port information such as tagging in addition to the VLAN summary information. For the CoreBuilder 3500 and the CoreBuilder 9000 Layer 3 switching modules, this command also displays VLAN statistics.
b v det
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
VLAN interface index |
Index numbers of the VLAN interfaces for which you want detailed information |
1 (if you have only one VLAN) |
bridge vlan define (3500/9000 Layer 3)
Creates a port-based, protocol-based, or network-based VLAN on the CoreBuilder 3500 system or a CoreBuilder 9000 Layer 3 module. When you statically configure a VLAN on the system, you assign it a VLAN ID (VID), a set of bridge ports, and, optionally, a protocol type and IEEE 802.1Q tagging. If you specify IP as the protocol, you can also specify a Layer 3 address.
For details about this command on the SuperStack II Switch 3900, the Switch 9300, the CoreBuilder 9400, and CoreBuilder 9000 Layer 2 modules, see "bridge vlan define (3900/9300/9400/ 9000 Layer 2)"
b v def
1 . Enter the VLAN identification (VID) number for this interface.
2 . Select the bridge ports.
3 . Select one or more protocol suites.
4 . To specify Layer 3 address information for an IP VLAN:
5 . Specify whether you want per-port tagging (n or y). The default is y.
6 . If you specified per-port tagging, enter the tag type for the indicated port (none or 802.1Q).
7 . If you have defined more than one port, you are prompted again for a tag type for each port.
8 . Enter the VLAN name.
This example shows the steps necessary to define a protocol-based VLAN for IPX 802.3 on a Layer 3 switching module. In this example, only the backplane port (port 13) of the module has IEEE 802.1Q tagging; the front-panel ports in this VLAN are not tagged. Because you have tagged the module's backplane port, you must also tag the corresponding switch fabric module port of the switch fabric module for that VLAN. (Use the EME to connect to the switch fabric module and configure the VLAN.)
CB9000@slot2.1 [12-E/FEN-TX-L3] (bridge/vlan): define
Enter VID (1-4094) [5]: 5
Select bridge ports (1-13|all|?): 1-5,13
Enter protocol suite
(IP,IPX,Apple,XNS,DECnet,SNA,Vines,X25,NetBIOS,unspecified, IPX-II,IPX-802.2,IPX-802.3): IPX-802.3
Enter protocol suite ('q' to quit) (IP,Apple,XNS,DECnet,SNA,Vines,X25,NetBIOS,IPX-II,IPX-802.2,IPX-802.3): q
Configure per-port tagging? (n,y) [y]: y
Enter port 1 tag type (none,802.1Q): none
Enter port 2 tag type (none,802.1Q): none
Enter port 3 tag type (none,802.1Q): none
Enter port 4 tag type (none,802.1Q): none
Enter port 5 tag type (none,802.1Q): none
Enter port 13 tag type (none,802.1Q): 802.1Q
Enter VLAN Name {?} [ ]: IPX1
This example shows the steps necessary to define a network-based IP VLAN with a Layer 3 address and subnet mask, as well as IEEE 802.1Q tagging on some ports. This VLAN has trunk ports.
bridge vlan define (3900/9300/9400/ 9000 Layer 2)
Creates a port-based VLAN on standalone systems or the CoreBuilder 9000 Layer 2 modules. When you configure a port-based VLAN, you assign a VLAN ID (VID), a set of bridge ports, and, optionally, IEEE 802.1Q tagging.
For details about this command on the CoreBuilder 3500 and CoreBuilder 9000 Layer 3 modules, see "bridge vlan define (3500/9000 Layer 3)"
b v def
Press Return or Enter to accept the default or existing values that appear in brackets [ ].
1 . Enter the VLAN identification (VID) number.
2 . Enter one or more port numbers. To assign all ports to the VLAN, enter all.
3 . Configure the per-port tagging.
4 . Enter the tag type for each port in the VLAN.
5 . Enter the VLAN name.
This example shows a port-based VLAN that includes tagged front-panel ports and a tagged backplane port (port 21). These ports are tagged because they overlap with ports that belong to other VLANs:
CB9000@slot 10.1 [20-E/FEN-TX-L2] (bridge/vlan): define
Enter VID (1-4094) [3]: 3
Select bridge ports (1-22|all|?): 1-5,21
Configure per-port tagging? (n,y) [y]: y
Enter port 1 tag type (none,802.1Q): 802.1Q
Enter port 2 tag type (none,802.1Q): 802.1Q
Enter port 3 tag type (none,802.1Q): 802.1Q
Enter port 4 tag type (none,802.1Q): 802.1Q
Enter port 5 tag type (none,802.1Q): 802.1Q
Enter port 21 tag type (none,802.1Q): 802.1Q
Enter VLAN Name {?} [ ]: vlantag3
This example shows a port-based VLAN that includes two untagged ports and a tagged port.
Select menu option (bridge/vlan): define
Enter VID (1-4094) [3]: 3
Select bridge ports (1-27|all|?): 3-5
Configure per-port tagging? (n,y) [y]: y
Enter port 3 tag type (none, 802.1Q) [none]: none
Enter port 4 tag type (none, 802.1Q) [none]: none
Enter port 5 tag type (none, 802.1Q) [none]: 802.1Q
Enter VLAN name {?} [ ]: Sales
bridge vlan modify (3500/9000 Layer 3)
Changes an existing port-based, protocol-based, or network-based VLAN definition on the CoreBuilder 3500 system or CoreBuilder 9000 Layer 3 module.
To use this command on the SuperStack II Switch 3900 or Switch 9300, the CoreBuilder 9400, and CoreBuilder 9000 Layer 2 modules, see "bridge vlan modify (3900/9300/9400/ 9000 Layer 2)"
b v modi
To modify information for a VLAN, follow these steps:
1 . Select the VLAN interface index.
2 . Enter the VLAN identification (VID) number.
3 . Specify the index numbers of the bridge ports.
4 . Specify one or more protocol suites.
5 . To modify the Layer 3 address information:
6 . Specify whether you want to modify per-port tagging.
7 . If you want to modify per-port tagging, enter the new tag type for the port (none or 802.1Q).
8 . If you have specified that you want to modify more than one port, enter a tag type for each port.
9 . Enter a new VLAN name or keep the current name.
This example shows the steps to modify the per-port tagging for a protocol-based VLAN on a Layer 3 module. In this example, front-panel port 5 is changed to have IEEE 802.1Q tagging, and its associated device is IEEE 802.1Q enabled.
CB9000@slot2.1 [12-E/FEN-TX-L3] (bridge/vlan): modify
Select VLAN interface index {1-5|?}: 5
Enter VID (1-4094) [5]: 5
Select bridge ports (1-13|all|?) [1-5,13]: 1-5,13
Enter protocol suite
(IP,IPX,Apple,XNS,DECnet,SNA,Vines,X25,NetBIOS,unspecified, IPX-II,IPX-802.2,IPX-802.3) [IPX-802.3]: IPX-802.3
Enter protocol suite ('q' to quit) (IP,IPX, Apple, XNS, DECnet,SNA,Vines,X25,NetBIOS,IPX-II,IPX-802.2): q
Modify per-port tagging? (n,y) [y]: y
Enter port 1 tag type (none,802.1Q) [none]: none
Enter port 2 tag type (none,802.1Q) [none]: none
Enter port 3 tag type (none,802.1Q) [none]: none
Enter port 4 tag type (none,802.1Q) [none]: none
Enter port 5 tag type (none,802.1Q) [none]: 802.1Q
Enter port 13 tag type (none,802.1Q) [802.1Q]: 802.1Q
Enter VLAN Name {?} [IPX]: IPX1
This example shows the steps to modify the member ports and per-port tagging for an IP VLAN.
Select menu option: bridge vlan modify
Select VLAN interface index {1-2|?}: 2
Enter VID (1-4094) [2]: 2
Select bridge ports (1-4, 6, 9-13|all|?) [3,6,9]: 9,11
Enter protocol suite
(IP,IPX,Apple,XNS,DECnet,SNA,Vines,X25,NetBIOS,unspecified, IPX-II,IPX-802.2,IPX-802.3, IPX-802.2-SNAP) [IP]: IP
Enter protocol suite ('q' to quit) (IPX,Apple,XNS,DECnet,SNA,Vines,X25,NetBIOS,IPX-II, IPX-802.2, IPX-802.3, IPX-802.2-SNAP): q
Modify layer 3 address? (n,y) [y]:
Enter layer 3 address [158.101.152.0]:
Enter layer 3 mask [255.255.255.0]:
Modify per-port tagging? (n,y) [y]: y
Enter port 9 tag type (none,802.1Q) [none]: 802.1Q
Enter port 11 tag type (none,802.1Q) [none]: 802.1Q
Enter VLAN Name {?} [IP1]: IP1
bridge vlan modify (3900/9300/9400/ 9000 Layer 2)
Changes a port-based VLAN definition on the indicated system Layer 2 module. See "Important Considerations" for information on when changes take effect.
To use this command on the CoreBuilder 3500 or CoreBuilder 9000 Layer 3 modules, see the "bridge vlan modify (3500/9000 Layer 3)" earlier in this chapter.
b v modi
1 . Enter the VLAN interface index.
2 . Enter a VLAN identification (VID) number or keep the default in brackets.
3 . Specify the index numbers of the bridge ports.
4 . Specify whether you want to modify per-port tagging.
5 . If you modify per-port tagging, enter the new tag type for the port (none or 802.1Q).
6 . If you have defined more than one port, enter a tag type for each port.
7 . Enter a new VLAN name or keep the current name.
This example shows the removal of two ports from a port-based VLAN that includes tagged front-panel ports and a tagged backplane port (port 21).
CB9000@slot 10.1 [20-E/FEN-TX-L2] (bridge/vlan): modify
Select VLAN interface index {1-3|?}: 3
Enter VID (1-4095) [3]: 3
Select bridge ports (1-22|all|?) [1-5,21]: 1-3,21
Configure per-port tagging? (n,y) [y]: y
Enter port 1 tag type (none,802.1Q) [802.1Q]: 802.1Q
Enter port 2 tag type (none,802.1Q) [802.1Q]: 802.1Q
Enter port 3 tag type (none,802.1Q) [802.1Q]: 802.1Q
Enter port 21 tag type (none,802.1Q) [802.1Q]: 802.1Q
Enter VLAN Name {?} [vlan3]: vlantag3
This example shows changes in the per-port tagging type.
Select menu option (bridge/vlan): modify
Select VLAN interface index {1-2|?}: 2
Enter VID (1-4094) [2]:
Select bridge ports (1-27|all|?) [2-6]:
Modify per-port tagging? (n,y) [y]:
Enter port 2 tag type (none,802.1Q) [none]: 802.1Q
Enter port 3 tag type (none,802.1Q) [none]: 802.1Q
Enter port 4 tag type (none,802.1Q) [none]: 802.1Q
Enter port 5 tag type (none,802.1Q) [none]: 802.1Q
Enter port 6 tag type (none,802.1Q) [none]: 802.1Q
Enter VLAN name [v2]: v2mktg
bridge vlan remove
Deletes a VLAN definition.
b v r
bridge vlan mode
Determines whether data with a unicast MAC address can be forwarded between VLANs.
b v mode
could not change configured VLAN mode - interface in use by client.
|
Prompt |
Description |
Possible Values |
[Default] |
|---|---|---|---|
|
VLAN mode |
Selected VLAN mode for the entire system |
allOpen (factory default), or current value |
bridge vlan stpMode
If allClosed mode is enabled, allows the system to ignore the Spanning Tree Protocol (STP) state for a specified VLAN interface or all interfaces.
b v st