Clearing gvrp statistics, Gvrp cli examples, Dynamic core and fixed edge – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 231: Clearing gvrp statistics gvrp cli examples

Clearing GVRP statistics
To clear the GVRP statistics counters, enter the clear gvrp statistics all command.
device#clear gvrp statistics all
This command clears the counters for all ports. To clear the counters for a specific port only, enter a
command such as the following.
device#clear gvrp statistics ethernet 2/1
Syntax: clear gvrp statistics all | ethernet port
GVRP CLI examples
The following sections show the CLI commands for implementing the applications of GVRP described in
on page 216.
NOTE
Although some of the devices in these configuration examples do not have statically configured VLANs,
this is not a requirement. You always can have statically configured VLANs on a device that is running
GVRP.
Dynamic core and fixed edge
In this configuration, the edge devices advertise their statically configured VLANs to the core device.
The core device does not have any statically configured VLANs but learns the VLANs from the edge
devices.
Enter the following commands on the core device.
device> enable
device#configure terminal
device(config)#gvrp-enable
device(config-gvrp)#enable all
These commands globally enable GVRP support and enable the protocol on all ports.
Enter the following commands on edge device A.
device> enable
device#configure terminal
device(config)#vlan 20
device(config-vlan-20)#untag ethernet 2/1
device(config-vlan-20)#tag ethernet 4/24
device(config-vlan-20)#vlan 40
device(config-vlan-40)#untag ethernet 2/1
device(config-vlan-40)#tag ethernet 4/24
device(config-vlan-40)#exit
device(config)#gvrp-enable
device(config-gvrp)#enable ethernet 4/24
device(config-gvrp)#block-learning ethernet 4/24
These commands statically configure two port-based VLANs, enable GVRP on port 4/24, and block
GVRP learning on the port. The device will advertise the VLANs but will not learn VLANs from other
devices.
Clearing GVRP statistics
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
231
53-1003086-04