Configuring VLAN Learning Mode

For Setup, refer to section Configuration Topology. In Switch A, P1 is configured to be a member port of VLAN 2.

  1. Execute the following commands in Switch A.
    perform the following:
    iS5comm# configure terminal
    • Enable GVRP globally.
    iS5comm(config)# set gvrp enable
    • Enter the Interface Configuration Mode for interface 2 and make the interface up.
    iS5comm(config)# interface gigabitethernet 0/2
    iS5comm(config-if)# no shutdown
    • Exit from Interface Configuration Mode.
    iS5comm(config-if)# exit
    • Configure VLAN 2 in the switch
    iS5comm(config)# vlan 2
    • Configure VLAN 2 as static VLAN with the required type of ports
    iS5comm(config-vlan)# ports gigabitethernet 0/1 untagged gigabitethernet 0/1
    • Exit from the Interface Configuration Mode
    iS5comm(config-vlan)# end
  2. Review the configuration.
    perform the following:
    iS5comm# show vlan device info 
    Vlan device configurations
    --------------------------
    Vlan Status                       : Enabled
    Vlan Oper status                  : Enabled
    Gvrp status                       : Disabled
    Gmrp status                       : Disabled
    Gvrp Oper status                  : Disabled
    Gmrp Oper status                  : Disabled
    Mac-Vlan Status                   : Disabled
    Subnet-Vlan Status                : Disabled
    Protocol-Vlan Status              : Enabled
    Bridge Mode                       : Customer Bridge
    Base-Bridge Mode                  : Vlan Aware Bridge
    Traffic Classes                   : Enabled
    Vlan Operational Learning Mode    : Hybrid
    Hybrid Default Learning Mode      : IVL
    Version number                    : 1
    Max Vlan id                       : 4094
    Max supported vlans               : 4094
    Global mac learning status        : Enabled
    Filtering Utility Criteria        : Enabled
    Unicast mac learning limit        : 0
    
    
    iS5comm# show vlan
    Vlan database
    -------------
    Vlan ID             : 1
    Member Ports        : Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6
    Gi0/7, Gi0/8, Gi0/9, Gi0/10, Gi0/11, Gi0/12
    Gi0/13, Gi0/14, Gi0/15, Gi0/16, Gi0/17, Gi0/18
    Gi0/19, Gi0/20, Gi0/21, Gi0/22, Gi0/23, Gi0/24
    Ex0/1, Ex0/2, Ex0/3, Ex0/4
    Untagged Ports      : Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6
    Gi0/7, Gi0/8, Gi0/9, Gi0/10, Gi0/11, Gi0/12
    Gi0/13, Gi0/14, Gi0/15, Gi0/16, Gi0/17, Gi0/18
    Gi0/19, Gi0/20, Gi0/21, Gi0/22, Gi0/23, Gi0/24
    Ex0/1, Ex0/2, Ex0/3, Ex0/4
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    Egress Ethertype    : 0x8100
    Service Loopback Status   : Disabled
    ----------------------------------------------------
    Vlan ID             : 2
    Member Ports        : Gi0/1
    Untagged Ports      : Gi0/1
    Forbidden Ports     : None
    Name                :
    Status              : Permanent
    Egress Ethertype    : 0x8100
    Service Loopback Status   : Disabled
    ----------------------------------------------------