To create a VLAN / VFI ID and enter into the config- VLAN mode in which VLAN specific configurations are done or configure the global MAC learning mode, use the command vlan in Global Configuration Mode. The no form of the command deletes the existing VLAN/ VFI and its corresponding configurations. Static ARP cache entry related to the static MAC address of this specific VLAN should be removed while removal of static VLAN.
Parameter | Type | Description |
---|---|---|
learning
|
Enter to configure the VLAN learning mode to be applied for all ports of the switch. | |
mode
|
Enter to configure the VLAN learning mode to be applied for all ports of the switch. This mode defines the forwarding database modes of operation to be implemented by the switch. | |
hybrid
|
Enter to set the VLAN learning mode as hybrid. Same forwarding database is created for some VLANs and separate forwarding database is used for some VLANs. The usage of same or separate forwarding database for the VLAN is decided based on the static unicast MAC address in the FDB table entries. | |
ivl
|
Enter to set the VLAN learning mode as Independent VLAN learning (IVL). Separate forwarding database is created for each VLAN. The information learnt from a VLAN is not shared among other relative VLANs during forwarding decisions. This mode is suitable in situations where the database size is not a constraint and end stations operate over multiple VLANs with the same MAC address. This is the default mode. | |
svl
|
Enter to set the VLAN learning mode as Shared VLAN learning (SVL). Single forwarding database is created for all VLANs. The information learnt from a VLAN is shared among all other relative VLANs during forwarding decision. This mode is suitable in situations where the learning database size is a constraint. | |
<vlan_vfi_id> | Enter to create a VLAN / VFI ID and enters into the config-VLAN
mode in which VLAN specific configurations are done. This command directly
enters into the config-VLAN mode for the specified VLAN / VFI ID,
if the VLAN is already created.
Note:
The VLAN ID 4095 is reserved and may be used to indicate a wildcard match for the VID in management operations or Filtering Database entries Note:
VFI IDs 4096 and 4097 are reserved identifiers used in MPLS PW Note:
The theoretical maximum for the maximum number of VFI is 65535 but the actual number of VFI supported is a sizing constant. Based on this, the maximum number of VFI ID accepted in the management interface is restricted. For example, if 100 VFIs are supported, the maximum number of VFI supported will be restricted to maximum number of VLANs + 100. An error message is displayed for any value beyond this range. |
Global Configuration Mode
By default, VLAN 1 is created
learning mode - ivl
The VLAN learning mode cannot be configured in the switch, if the VLAN switching feature is shut down in the switch.The Native VLAN (VLAN 1) created by default cannot be deleted using the no form of the command.
For default VLAN 1, interface VLAN configuration alone is permitted and no other configuration on this VLAN is allowed, if the base bridge mode is set as transparent bridging. No new VLAN can be created, if the base bridge mode is set as transparent bridging
The creation of new VLAN and configuration of existing VLAN can be done, only if the VLAN switching feature is started and enabled in the switch.
iS5Comm(config)# vlan 4
iS5Comm(config)# vlan learning mode hybrid
iS5Comm(config-vlan)#