![D-Link xStack DGS-3612G series Cli Manual Download Page 136](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854136.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
133
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>}
Description
This command is used to configure the GARP VLAN Registration Protocol on
the Switch. Configurable settings include 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 configure GVRP. The beginning
and end of the port list range are separated by a dash.
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
– 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 :
DGS-3627:5#config gvrp 1:1-1:4 state enable ingress_checking enable
acceptable_frame tagged_only pvid 2
Command: config gvrp 1:1-1:4 state enable ingress_checking enable
acceptable_frame tagged_only pvid 2
Success.
DGS-3627:5#
Note:
When the PVID Auto Assign function is disabled, users must
manually configure the PVID for untagged ports or the host may not
connect to the Switch correctly.
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 globally 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 generic VLAN Registration Protocol (GVRP):