DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
70
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Administrators can enable the global GVRP state and individual port’s GVRP state to start GVRP on the port.
Example
This example shows how to enable the GVRP protocol global state.
Switch# configure terminal
Switch(config)# interface Ethernet 1/0/1
Switch(config-if)# gvrp enable
Switch(config-if)#
14-3
gvrp advertise
This command is used to specify the VLAN that are allowed to be advertised by the GVRP protocol.
Use the
no
form of this command to disable the VLAN advertisement function.
gvrp advertise {all | [add | remove]
VLAN-ID
[, | -]
}
no gvrp advertise
Parameters
all
Specifies that all VLANs are advertised on the interface.
add
(Optional) Specifies a VLAN or a list VLANs to be added to
advertise the VLAN list.
remove
(Optional) Specifies a VLAN or a list VLANs to be removed from the
advertised VLAN list.
VLAN-ID
[,|-]
(Optional) Specified the advertise VLAN list or the VLAN list to be
added to or removed from the advertise VLAN list. If the
add
or
remove
parameter is not specified, the specified VLAN list
overwrites the advertise VLAN list. The range is 1 to 4094.
,
(Optional) Specifies a series of VLANs, or separate a range of
VLANs from a previous range. No spaces are required before and
after the comma.
-
(Optional) Specifies a range of VLANs. No spaces are required
before and after the hyphen.
Default
By default, no VLANs are advertised.
Command Mode
Interface Configuration Mode.
Command Default Level