![Cisco 2948G - Catalyst Switch Скачать руководство пользователя страница 272](http://html.mh-extra.com/html/cisco/2948g-catalyst-switch/2948g-catalyst-switch_configuration-manual_67462272.webp)
13-4
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide
—
Release 8.1
78-15486-01
Chapter 13 Configuring GVRP
Configuring GVRP on the Switch
This example shows how to enable GVRP on 802.1Q-capable port 1/1:
Console> (enable) set port gvrp enable 1/1
GVRP enabled on 1/1.
Console> (enable)
Enabling GVRP Dynamic VLAN Creation
You can enable GVRP dynamic VLAN creation only if these conditions are met:
•
The switch is in VTP transparent mode
•
All trunk ports on the switch are 802.1Q trunks
•
GVRP is enabled on all trunk ports
Note
Dynamic VLAN creation supports all VLAN types.
If you enable dynamic VLAN creation, these configuration restrictions are imposed:
•
You cannot change the switch to VTP server or client mode
•
You cannot disable GVRP on a trunk port running GVRP
If any port on the switch becomes an ISL trunk (either by CLI configuration or negotiated using DTP
while dynamic VLAN creation is enabled), dynamic VLAN creation is automatically disabled until the
conditions for enabling dynamic VLAN creation are restored.
Note
VLANs can only be created dynamically on 802.1Q trunks in the normal registration mode.
To enable GVRP dynamic VLAN creation on the switch, perform this task in privileged mode:
This example shows how to enable dynamic VLAN creation on the switch:
Console> (enable) set gvrp dynamic-vlan-creation enable
Dynamic VLAN creation enabled.
Console> (enable)
Configuring GVRP Registration
The following sections describe how to configure GVRP registration modes on switch ports.
Setting GVRP Normal Registration
Configuring an 802.1Q trunk port in normal registration mode allows dynamic creation (if dynamic
VLAN creation is enabled), registration, and deregistration of VLANs on the trunk port. Normal mode
is the default.
Task
Command
Step 1
Enable dynamic VLAN creation on the switch.
set gvrp dynamic-vlan-creation enable
Step 2
Verify the configuration.
show gvrp configuration