Cisco Cisco IOS Software Release 12.2(33)SRE

下载
页码 32
Compact GARP VLAN Registration Protocol
  Configuration Examples for cGVRP
8
Cisco IOS Release 12.2(33)SRB
Configuration Examples for cGVRP
This section provides the following configuration examples:
Enabling a Dynamic VLAN: Example, page 8
Verifying CE Ports Configured as Access Ports: Example
Topology:
CE1 - gi3/15 R1 gi3/1 - dot1q trunk - gi3/1 R2 gi12/15 - CE2
R1# show running-config interface GibabitEthernet3/15
Building configuration...
Current configuration : 129 bytes
!
interface GigabitEthernet3/15
 switchport
 switchport access vlan 2
 switchport mode access
 spanning-tree portfast trunk
end
R1# show running-config interface GigabitEthernet3/1 
Building configuration...
Current configuration : 109 bytes
!
interface GigabitEthernet3/1
 switchport
 switchport trunk encapsulation dot1q
Step 4
debug gvrp
Example:
Router# debug gvrp
Use the debug gvrp command to enable all or limited output 
messages with respect to an interface.
Step 5
clear gvrp statistics interface
 number
Example:
Router# clear gvrp statistics interface 12/15
Clears GVRP statistics on all interfaces.
Command or Action
Purpose