Configuring GARP/GVRP 61
vlan Specify current hybrid port's VLAN ID
[SW7750-GigabitEthernet1/0/1]port hybrid protocol
[SW7750-GigabitEthernet1/0/1]port hybrid protocol-vlan 2 0
[SW7750-GigabitEthernet1/0/1]port hybrid protocol-vlan 3 0
[SW7750-GigabitEthernet1/0/1]display th
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 2 to 3 tagged
port hybrid vlan 1 untagged
port hybrid protocol-vlan 2 0
port hybrid protocol-vlan 3 0
#
return
4Configure port G1/0/3 as VLAN 3 and port G1/0/2 as VLAN 2
[SW7750]vlan 3
[SW7750-vlan3]port g1/0/3
[SW7750-vlan3]vlan 2
[SW7750-vlan2]port g1/0/2
Configuring GARP/GVRP
Generic Attribute Registration Protocol (GARP), allows members in the same
switching network to distribute, propagate, and register information, such as
VLAN and multicast addresses.
GARP does not exist in a switch as an entity. A GARP participant is called a GARP
application. The main GARP applications are GVRP and GMRP. GVRP is described
in Configuring GARP/GVRP and GMRP is described in “GMRP” on page 146.
When a GARP participant is on a port of the switch, each port corresponds to a
GARP participant.
Through GARP, configuration information on one GARP member is advertised
rapidly to the entire switching network. A GARP member can be a terminal
workstation or bridge. A GARP member can notify other members to register or
remove its attribute information by sending declarations or withdrawal
declarations. It can also register or remove the attribute information of other
GARP members according to declarations or withdrawal declarations that it
receives from them.
GARP members exchange information by sending GARP messages. There are three
main types of GARP messages, including join, leave, and leaveall. When a GARP
participant wants to register its attribute information on other switches, it sends a