For Setup, refer to section Configuration Topology. In Switch A, P1 is configured to be a member port of VLAN 2.
iS5comm# configure terminal
iS5comm(config)# set gvrp enable
iS5comm(config)# interface gigabitethernet 0/2
iS5comm(config-if)# no shutdown
iS5comm(config-if)# exit
iS5comm(config)# vlan 2
iS5comm(config-vlan)# ports gigabitethernet 0/1 untagged gigabitethernet 0/1
iS5comm(config-vlan)# end
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
----------------------------------------------------