xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
122
config gvrp
Purpose
Used to configure GVRP on the Switch.
Syntax
config gvrp [<portlist> | all] {state [enable | disable] | ingress_checking [enable |
disable] | acceptable_frame [tagged_only | admit_all] | pvid <vlanid 1–4094>} (1)
Description
This command is used to configure the Group VLAN Registration Protocol on the Switch.
Users may configure ingress checking, the sending and receiving of GVRP information,
and the Port VLAN ID (PVID).
Parameters
<portlist>
−
A port or range of ports for which to enable GVRP. The port list is specified
by listing the lowest switch number and the beginning port number on that switch,
separated by a colon. Then the highest switch number, and the highest port number of
the range (also separated by a colon) are specified. The beginning and end of the port list
range are separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4
specifies switch number 2, port 4. 1:3–2:4
specifies all of the ports between switch 1, port
3 and switch 2, port 4
−
in numerical order. Non–contiguous portlist entries are separated
by a comma. (ex: 1:1–1:3,1:7–1:9)
all
−
Specifies all of the ports on the Switch.
state [enable | disable]
−
Enables or disables GVRP for the ports specified in the port list.
ingress_checking [enable | disable]
−
Enables or disables ingress checking for the
specified port list.
acceptable_frame [tagged_only | admit_all]
– This parameter states the frame type that
will be accepted by the Switch for this function.
tagged_only
implies that only VLAN
tagged frames will be accepted, while
admit_all
implies tagged and untagged frames will
be accepted by the Switch.
pvid
<vlanid 1–4094>
– Specifies the default VLAN ID associated with the port.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the ingress checking status, the sending and receiving GVRP information :
D G S – 3 4 2 6 : 5 # c o n f i g g v r p 1 : 1 – 1 : 4 s t a t e e n a b l e i n g r e s s _ c h e c k i n g e n a b l e
a c c e p t a b l e _ f r a m e t a g g e d _ o n l y p v i d 2
C o m m a n d : c o n f i g g v r p 1 : 1 – 1 : 4 s t a t e e n a b l e i n g r e s s _ c h e c k i n g e n a b l e
a c c e p t a b l e _ f r a m e t a g g e d _ o n l y p v i d 2
S u c c e s s .
D G S – 3 4 2 6 : 5 #
enable gvrp
Purpose
Used to enable GVRP on the Switch.
Syntax
enable gvrp
Description
This command, along with
disable gvrp
below, is used to enable and disable GVRP on
the Switch, without changing the GVRP configuration on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the GARP VLAN Registration Protocol (GVRP):