GARP VLAN Registration (GVRP). Dell Force10 S60-44T
Advertisement
Advertisement
13
GARP VLAN Registration (GVRP)
Overview
GARP VLAN Registration (GVRP) is supported on platforms
c e s
Commands
The GVRP commands are:
•
•
•
•
•
•
•
•
•
•
•
• show gvrp statistics on page 27
The GARP (Generic Attribute Registration Protocol) mechanism allows the configuration of a GARP participant to propagate through a network quickly. A GARP participant registers or de-registers its attributes with other participants by making or withdrawing declarations of attributes. At the same time, based on received declarations or withdrawals, GARP handles attributes of other participants.
GVRP enables a device to propagate local VLAN registration information to other participant devices and dynamically update the VLAN registration information from other devices. The registration information updates local databases regarding active VLAN members and through which port the
VLANs can be reached.
GVRP ensures that all participants on a bridged LAN maintain the same VLAN registration information. The VLAN registration information propagated by GVRP include both manually configured local static entries and dynamic entries from other devices.
GVRP participants have the following components:
• The GVRP application
• GARP Information Propagation (GIP)
• GARP Information Declaration (GID)
GARP VLAN Registration (GVRP) | 411
Important Points to Remember
• GVRP is supported on Layer 2 ports only.
• All VLAN ports added by GVRP are tagged.
• GVRP is supported on untagged ports belonging to a default VLAN, and tagged ports.
• GVRP cannot be enabled on untagged ports belonging to a non-default VLAN unless native
VLAN is turned on.
• GVRP requires end stations with dynamic access NICs.
• Based on updates from GVRP-enabled devices, GVRP allows the system to dynamically create a port-based VLAN (unspecified) with a specific VLAN ID and a specific port.
• On a port-by-port basis, GVRP allows the system to learn about GVRP updates to an existing port-based VLAN with that VLAN ID and IEEE 802.1Q tagging.
• GVRP allows the system to send dynamic GVRP updates about your existing port-based VLAN.
• GVRP updates are not sent to any blocked Spanning Tree Protocol (STP) ports. GVRP operates only on ports that are in the forwarding state.
• GVRP operates only on ports that are in the STP forwarding state. If GVRP is enabled, a port that changes to the STP forwarding state automatically begins to participate in GVRP. A port that changes to an STP state other than forwarding no longer participates in GVRP.
• VLANs created dynamically with GVRP exist only as long as a GVRP-enabled device is sending updates. If the devices no longer send updates, or GVRP is disabled, or the system is rebooted, all dynamic VLANs are removed.
• GVRP manages the active topology, not non-topological data such as VLAN protocols. If a local bridge needs to classify and analyze packets by VLAN protocols, you must manually configure protocol-based VLANs, and simply rely on GVRP for VLAN updates. But if the local bridge needs to know only how to reach a given VLAN, then GVRP provides all necessary information.
• The VLAN topologies that GVRP learns are treated differently from VLANs that are statically configured. The GVRP dynamic updates are not saved in NVRAM, while static updates are saved in NVRAM. When GVRP is disabled, the system deletes all VLAN interfaces that were learned through GVRP and leaves unchanged all VLANs that were manually configured. clear gvrp statistics c e s Clear GVRP statistics on an interface.
Syntax clear gvrp statistics interface interface
Parameters interface interface
Enter the following keywords and slot/port or number information:
• For a Fast Ethernet interface, enter the keyword followed by the slot/port information.
FastEthernet
• For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet followed by the slot/port information.
• For a Port Channel interface, enter the keyword followed by the Port Channel number: port-channel
C-Series and
S-Series
Range: 1-128
E-Series
Range: 1-255 for TeraScale
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
Defaults
No default values or behavior
412 | GARP VLAN Registration (GVRP)
Command Modes
Command
History
Related
Commands
EXEC
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Display the GVRP statistics debug gvrp c e s Enable debugging on GVRP.
Syntax debug gvrp
{ config
| events
| pdu
}
To disable debugging, use the no debug gvrp
{ config
| events
| pdu
} command.
Parameters config event pdu
Enter the keyword config to enable debugging on the GVRP configuration.
Enter the keyword event to enable debugging on the JOIN/LEAVE events.
Enter the keyword pdu or number information: followed one of the following Interface keywords and slot/port
• For a Fast Ethernet interface, enter the keyword slot/port information.
FastEthernet followed by the
• For a 1-Gigabit Ethernet interface, enter the keyword by the slot/port information.
GigabitEthernet followed
• For a Port Channel interface, enter the keyword
Channel number: port-channel followed by the Port
C-Series and
S-Series
Range: 1-128
E-Series
Range: 1-255 for TeraScale
• For a 10-Gigabit Ethernet interface, enter the keyword followed by the slot/port information.
TenGigabitEthernet
Defaults
Command Modes
Disabled
EXEC Privilege
Command
History
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series disable c e s Globally disable GVRP.
Syntax
Defaults
Command Modes disable
To re-enable GVRP, use the no disable
command.
Enabled
CONFIGURATION-GVRP
GARP VLAN Registration (GVRP) | 413
Command
History
Related
Commands
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Enable GVRP on physical interfaces and LAGs.
Access GVRP protocol garp timers c e s Set the intervals (in milliseconds) for sending GARP messages.
Syntax garp timers
{ join
| leave | leave-all
}
To return to the previous setting, use the no garp timers
{ join
| leave | leave-all
} command.
Parameters
Defaults
Command Modes join leave leave-all
Enter the keyword time. join followed by the number of milliseconds to configure the join
Range: 100-2147483647 milliseconds
Default: 200 milliseconds
Note
: Designate the milliseconds in multiples of 100
Enter the keyword time. leave followed by the number of milliseconds to configure the leave
Range: 100-2147483647 milliseconds
Default: 600 milliseconds
Note
: Designate the milliseconds in multiples of 100
Enter the keyword leave-all time. leave-all followed by the number of milliseconds to configure the
Range: 100-2147483647 milliseconds
Default: 1000 milliseconds
Note
: Designate the milliseconds in multiples of 100
Default as above
CONFIGURATION-GVRP
Command
History
Usage
Information
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Join Timer
—Join messages announce the willingness to register some attributes with other participants. Each GARP application entity sends a Join message twice, for reliability, and uses a join timer to set the sending interval.
Leave Timer
—Leave announces the willingness to de-register with other participants. Together with the Join, Leave messages help GARP participants complete attribute reregistration and de-registration.
Leave Timer starts upon receipt of a leave
message sent for de-registering some attribute information.
If a join
message is not
received before the leave
time expires, the GARP application entity removes the attribute information as requested.
414 | GARP VLAN Registration (GVRP)
Related
Commands
Leave All Timer
—The Leave All Timer starts when a GARP application entity starts. When this timer expires, the entity sends a leave-all
message so that other entities can re-register their attribute information. Then, the leave-all
time begins again.
Display the current GARP times gvrp enable c e s Enable GVRP on physical interfaces and LAGs.
Syntax
Defaults
Command Modes gvrp enable
To disable GVRP on the interface, use the no gvrp enable
command.
Disabled
CONFIGURATION-INTERFACE
Command
History
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Related
Commands
Globally disable GVRP.
gvrp registration c e s Configure the GVRP register type.
Syntax gvrp registration
{ fixed
|
normal | forbidden
}
To return to the default, use the gvrp register normal command.
Parameters
Defaults
Command Modes fixed normal forbidden
Default registration is normal
CONFIGURATION-INTERFACE
Enter the keyword fixed separated VLAN ID set.
followed by the VLAN range in a comma
Enter the keyword normal separated VLAN ID set.
followed by the VLAN range in a comma
This is the default
Enter the keyword forbidden separated VLAN ID set.
followed by the VLAN range in a comma
Command
History
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
GARP VLAN Registration (GVRP) | 415
Usage
Information
Related
Commands
The fixed
registration prevents an interface, configured via the command line to belong to a VLAN
(static configuration), from being un-configured when it receives a Leave message. Therefore, the registration mode on that interface is fixed.
The normal
registration is the default registration. The port’s membership in the VLANs depends on
GVRP. The interface becomes a member of VLANs after learning about the VLAN through GVRP. If the VLAN is removed from the port that sends GVRP advertisements to this device, then the port will stop being a member of the VLAN.
The forbidden
is used when you do not want the interface to advertise or learn about VLANs through
GVRP.
Display the GVRP configuration including the registration protocol gvrp c e s Access GVRP protocol — (config-gvrp)#.
Syntax
Defaults
Command Modes protocol gvrp
Disabled
CONFIGURATION
Command
History
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Related
Commands
Globally disable GVRP.
show config c e s Display the global GVRP configuration.
Syntax
Command Modes show config
CONFIGURATION-GVRP
Command
History
Related
Commands
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Enable GVRP on physical interfaces and LAGs.
Access GVRP protocol.
416 | GARP VLAN Registration (GVRP)
show garp timers c e s Display the GARP timer settings for sending GARP messages.
Syntax
Defaults
Command Modes show garp timers
No default values or behavior
EXEC
EXEC Privilege
Command
History
Example
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Figure 13-1. show garp timers Command Example
Force10#show garp timers
GARP Timers Value (milliseconds)
----------------------------------------
Join Timer 200
Leave Timer 600
LeaveAll Timer 10000
Force10#
Related
Commands
Set the intervals (in milliseconds) for sending GARP messages.
show gvrp c e s Display the GVRP configuration.
Syntax show gvrp
[ brief
|
interface
]
Parameters
Defaults
Command Modes brief interface
(OPTIONAL) Enter the keyword configuration.
brief to display a brief summary of the GVRP
(OPTIONAL) Enter the following keywords and slot/port or number information:
• For a Fast Ethernet interface, enter the keyword slot/port information.
FastEthernet followed by the
• For a 1-Gigabit Ethernet interface, enter the keyword by the slot/port information.
GigabitEthernet followed
• For a Port Channel interface, enter the keyword
Port Channel number: port-channel followed by the
C-Series and
S-Series
Range: 1-128
E-Series
Range: 1-255 for TeraScale
• For a 10-Gigabit Ethernet interface, enter the keyword followed by the slot/port information.
TenGigabitEthernet
No default values or behavior
EXEC
EXEC Privilege
GARP VLAN Registration (GVRP) | 417
Command
History
Example
Version 8.3.3.1
Version7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Figure 13-2. show gvrp brief Command Example
R3#show gvrp brief
GVRP Feature is currently enabled.
Port GVRP Status Edge-Port
-------------------------------------------------------
Gi 3/0 Disabled No
Gi 3/1 Disabled No
Gi 3/2 Enabled No
Gi 3/3 Disabled No
Gi 3/4 Disabled No
Gi 3/5 Disabled No
Gi 3/6 Disabled No
Gi 3/7 Disabled No
Gi 3/8 Disabled No
R3#show gvrp brief
Usage
Information
Related
Commands
If no ports are GVRP participants, the message output changes from:
GVRP Participants running on <port_list> to
GVRP Participants running on no ports
Display the GVRP statistics show gvrp statistics c e s Display the GVRP configuration statistics.
Syntax show gvrp statistics
{
interface interface
| summary
}
Parameters
Defaults
Command Modes interface interface summary
No default values or behavior
EXEC
EXEC Privilege
Enter the keyword interface port or number information: followed by one of the interface keywords and slot/
• For a Fast Ethernet interface, enter the keyword the slot/port information.
FastEthernet followed by
• For a 1-Gigabit Ethernet interface, enter the keyword followed by the slot/port information.
GigabitEthernet
• For a Port Channel interface, enter the keyword the Port Channel number: port-channel followed by
C-Series and
S-Series
Range: 1-128
E-Series
Range: 1-255 for TeraScale
• For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
Enter the keyword summary to display just a summary of the GVRP statistics.
418 | GARP VLAN Registration (GVRP)
Command
History
Example
Version 8.3.3.1
Version 7.6.1.0
Introduced on the S60.
Introduced on C, E, and S-Series
Figure 13-3. show gvrp statistics Command Example
Force10#show gvrp statistics int gi 1/0
Join Empty Received: 0
Join In Received: 0
Empty Received: 0
LeaveIn Received: 0
Leave Empty Received: 0
Leave All Received: 40
Join Empty Transmitted: 156
Join In Transmitted: 0
Empty Transmitted: 0
Leave In Transmitted: 0
Leave Empty Transmitted: 0
Leave All Transmitted: 41
Invalid Messages/Attributes skipped: 0
Failed Registrations: 0
Force10#
Usage
Information
Related
Commands
Invalid messages/attributes skipped can occur in the following cases:
• The incoming GVRP PDU has an incorrect length.
• “End of PDU” was reached before the complete attribute could be parsed.
• The Attribute Type of the attribute that was being parsed was not the GVRP VID Attribute Type
(0x01).
• The attribute that was being parsed had an invalid attribute length.
• The attribute that was being parsed had an invalid GARP event.
• The attribute that was being parsed had an invalid VLAN ID. The valid range is 1 - 4095.
A failed registration can occur for the following reasons:
• Join requests were received on a port that was blocked from learning dynamic VLANs (GVRP
Blocking state).
• An entry for a new GVRP VLAN could not be created in the GVRP database.
Display the GVRP configuration
GARP VLAN Registration (GVRP) | 419
420 | GARP VLAN Registration (GVRP)
Download
Advertisement