As we discussed GVRP in previous posts, Here Plz check the basic commands for GVRP configuration used in Maipu switches.
GVRP Basic Commands
Command | Description | Configuration Mode |
gvrp enable | Enable the gvrp function globally | config |
no gvrp enable | Disable the gvrp function globally | config |
gvrp enable | Enable the gvrp function on the port | config-port-XXX config-link-aggregation-XXX |
no gvrp enable | Disable the gvrp function on the port | config-port-XXX config-link-aggregation-XXX |
gvrp registration{ normal | fixed | forbidden} | *Configure the GVRP registration status of the port | config-port-XXX config-link-aggregation-XXX |
gvrp join-time value | Configure the join-time value of the port | config-port-XXX config-link-aggregation-XXX |
no gvrp join-time | Recover the join-time of the port to the default value | config-port-XXX config-link-aggregation-XXX |
gvrp leave-time value | Configure the leave-time value of the port | config-port-XXX config-link-aggregation-XXX |
no gvrp leave-time | Recover the leave-time of the port to the default value | config-port-XXX config-link-aggregation-XXX |
gvrp leaveall-time value | Set the leaveall value | config-port-XXX config-link-aggregation-XXX |
no gvrp leaveall-time | Recover the default value of leaveall | config-port-XXX config-link-aggregation-XXX |
The GVRP function can only be configured on the trunk port.
- gvrp enable
The command is used to enable the GVRP function globally. The no format of the command is used to disable the function.
gvrp enable
no gvrp enable
Configuration mode: Global configuration mode
Default status: The function is disabled.
- gvrp enable
The command is used to enable the GVRP function in the port configuration mode. The no format of the command is used to disable the GVRP function.
gvrp enable
no gvrp enable
Configuration mode: Port configuration mode
Default status: The function is disabled.
- gvrp registration
The command is used to configure the registration mode of the port GVRP function in the port mode.
gvrp registration { normal | fixed | forbidden}
Syntax | Description |
Normal | The port registration mode is normal mode. Allow the port to dynamically register and de-register VLAN, and spread the dynamic VLAN and static VLAN information. |
Fixed | The port registration mode is the fixed mode. Prohibit the port from registering VLAN dynamically. The port only spreads the static VLAN information, but does not spread dynamic VLAN information. That is to say, the trunk port that is set as Fixed mode allows all VLANs to pass, but the actual passed VLANs are only those configured manually. |
Forbidden | The port registration mode is forbidden mode. Prohibit the port from registering VLAN dynamically or spreading any VLAN information except for VLAN1. That is to say, the trunk port that is configured as Forbidden mode allows all VLANs to pass, but the actual passed VLAN is only VLAN1. |
Configuration mode: Port configuration mode
Default status: The default value is normal.
- gvrp join-time
The command is used to configure join-time in the port mode. The no format of the command is used to recover the default value.
gvrp join-time value
no gvrp join-time
Syntax | Description |
Value | The value of leaveall-time; the value range is 1-8191s |
Configuration mode: Port configuration mode
Default status: The default value is 20s.
Let’s see configurations for GVRP for better understanding. This configurations testing are done for
Maipu routers.
Instance 1
GVRP configuration instance 1
Description
The above figure is the GVRP application network 1. Register the vlan attributes dynamically before the device. Enable the GVRP function on switch A and switch B. By default, the registration modes of the ports on the two devices are normal and allow all VLANs to pass.
The configuration of switch A:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config)# vlan 2 | Create VLAN2 statically |
The configuration of switch B:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config)# vlan 3 | Create VLAN3 statically |
Result - The above configuration reflects, switch A creates vlan3 dynamically and switch B creates vlan2 dynamically.
Instance 2
GVRP configuration instance 2
Description
Register the vlan attributes dynamically before the device. Enable the GVRP function on switch A and switch B. The port registration mode of switch A is fixed; the port registration mode of switch B is the default normal. The ports on the two devices allow all VLANs to pass.
The configuration of switch A:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config-port-range)# gvrp registration fixed | Configure the registration mode of the port as fixed |
switch (config)# vlan 2 | Create VLAN2 statically |
The configuration of switch B:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config)# vlan 3 | Create VLAN3 statically |
Result - After the above configuration, vlan3 is not created dynamically on switch A, while vlan 2 is created dynamically on switch B.
GVRP configuration instance 3
Description
The above figure is the GVRP application network 3. Prevent registering the vlan attributes dynamically before the device. Enable the GVRP function on switch A and switch B. The port registration mode of switch A is forbidden; the port registration mode of switch B is the default normal. The ports on the two devices allow all VLANs to pass.
The configuration of switch A:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config-port-range)# gvrp registration forbidden | Configure the registration mode of the port as forbidden |
switch (config)# vlan 2 | Create VLAN2 statically |
The configuration of switch B:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/1 | Enter the port mode (support the aggregation port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
switch (config)# vlan 3 | Create VLAN3 statically |
Result - After the above figuration, vlan is not created dynamically on switch A or switch B.
Instance 4
GVRP configuration instance 4
Description
Create the vlan dynamically in the network. Enable the GVRP function on each device. The GVRP function is also enabled on the interconnected ports of the devices. The ports are configured to allow all VLANs to pass. Here, you only need to create vlan10-20 statically on switch A and switch B so that the other devices can learn the VLAN attributes dynamically to create vlan 0-20 dynamically. The GVRP configurations on the devices are the same and the port registration modes all are the default normal mode.
The configuration of switch A-G:
Command | Description |
switch (config)# gvrp enable | Enable the GVRP function globally |
switch (config)# port 0/0-0/1 | Enter port mode (switch A and G can configure only one port) |
switch (config-port-range)# port mode trunk | Configure the port as the trunk port |
switch (config-port-range)# port trunk allowed vlan all | Configure the port to allow all VLANs to pass |
switch (config-port-range)# gvrp enable | Enable the GVRP function on the port |
Result - After the above configuration, switch A-G all have vlan10-20. As a result, the vlan attributes can be spread and created dynamically in the network.
This fourth testing is related real time requirement. Every switch in network should learn about vlans in network.
Till now we saw configurations, Let’s monitoring commands.
Monitoring Commands
The query commands:
Command | Description |
show gvrp | View the enabling of global GVRP |
show gvrp gid | View the number of the created GIDs and the enabling of the GVRP in the system (for debugging) |
show gvrp machine | View the number of the GVRP status machines in the system and the registration status of the related attributes (for debugging) |
show gvrp mstp active-instance instNo | View the information about the active MSTP instance in GVRP (for debugging) |
show gvrp queue event | View the GVRP event queue information (for debugging) |
show gvrp queue timer | View the GVRP timer queue information (for debugging) |
show gvrp queue pkg | View the PDU queue information received by GVRP (for debugging) |
show gvrp state{ port portName | link-aggregation aggId} [vlan vlanId] | View the registration status information of vlan attributes on the port (for debugging) |
show gvrp state vlan vlanId | View the registered status information of the vlan attributes (for debugging) |
show gvrp {port portNo | link-aggregation aggId} | View the GVRP configuration information of the port |
Monitoring Command Output:
View the global enabling status of GVRP and the result is as follows:
switch# show gvrp
Displayed Result | Description and Analysis |
Gvrp is enabled | Enable the GVRP function globally |
View the number of the created GIDs in the system and the enabling status of GVRP and the result is as follows:
switch# show gvrp gid
Displayed Result | Description and Analysis |
Order port enable enableC 0 : port 0/0 1 1 1 : port 0/1 1 1 | GVRP creates GID for port 0/0 and port 0/1; the global GVRP and the GVRP on the port are enabled. |
View the number of the GVRP status machines in the system and the registration status of the related attributes, and the result is as follows:
switch# show gvrp machine
Displayed Result | Description and Analysis |
Order VlanID RegCount 0 : 1 1 1 : 2 0 | There are two vlan attributes in the system; vlan1 attribute is registered for only one time; vlan2 attribute is not registered. |
View the information about the active MSTP instance in GVRP, and the result is as follows:
switch# show gvrp mstp active-instance 0
Displayed Result | Description and Analysis |
InstCount : 2 | The number of the active GIDs in instance 0 |
InstNo:Port | |
0 port 0/0 0 port 0/1 | The ports of the active GID in instance 0 are port 0/0 and port 0/1 |
Debugging Command
Command | Description |
(no) debug gvrp { event | pkg | state | msg | port | do-action | sync | all } | GVRP debug switch |
Hope this information will helpful for you for understanding and GVRP concepts and configurations.
For Cisco GVRP documents : Plz refer below links –
Hope this information will be helpful for you.
For any feedback , Plz put comments with name and mail id..
10 comments:
2016-1-8 leilei
jordan 3 retro
ed hardy uk
nike store
canada goose uk
ugg boots outlet
coach factory outlet online
true religion jeans
michael kors bags
nike cortez shoes
michael kors outlet online
louis vuitton outlet
fitflops uk
burberry scarf
ray ban sunglasses
michael kors handbags
polo outlet
michael kors bag
gucci outlet online
ghd straighteners
ray bans
coach factory outlet
coach factory online
michael kors handbags
true religion jeans
louis vuitton handbags
christian louboutin shoes
ralph lauren
moncler jackets
cheap jordans
christian louboutin uk
michael kors outlet
michael kors uk
uggs on sale
coach outlet online
coach factorty outlet online
michael kors bags
nike sb janoski
nike tn pas cher
gucci outlet online
michael kors outlet
chenlili20160617
montblanc pens
rolex watches
michael kors handbags
adidas outlet store
gucci outlet
louis vuitton bags
michael kors outlet clearance
oakley outlet
coach outlet
kobe 11
michael kors outlet
ray ban sunglasses discount
louis vuitton outlet stores
kd 8 shoes
air huarache
giuseppe zanotti
christian louboutin outlet
ray ban sunglasses outlet
michael kors outlet
kate spade handbags
coach factory outlet online
rolex watches
cheap jordans
christian louboutin outlet
christian louboutin shoes
michael kors outlet clearance
juicy couture
timberland outlet
jordan 6s
michael kors outlet
concords 11
coach outlet
oakley outlet
louis vuitton outlet
celine outlet
louis vuitton handbags
michael kors bags
timberland shoes
kate spade bags
canada goose jackets uk
coach outlet online
pandora charms
michael kors outlet store
ralph lauren uk
michael kors handbags outlet
michael kors outlet clearance
zhi20170105
nike air max
louis vuitton
toms outlet
michael kors factory outlet
louis vuitton outlet
polo ralph lauren outlet
fitflops sale
asics
tory burch outlet
michael kors canada
20170214lck
omega watches for sale
salomon shoes
adidas nmd r1
los angeles lakers jerseys
ray ban sunglasses
vikings jerseys
michael kors outlet online
cheap jordan shoes
gucci outlet
instyler max 2
gucci sito ufficiale
boston celtics jersey
converse trainers
michael kors outlet online
sac longchamp
miami heat
cheap nfl jerseys wholesale
toms outlet
tiffany and co outlet
nike blazer
kobe 9
nike store uk
nike store
coach factory outlet online
oakley sunglasses
cartier watches for women
oakley sunglasses
christian louboutin shoes
true religion sale
fitflops sale clearance
chanyuan2017.03.24
20170616 junda
true religion outlet uk
michael kors outlet online
nike air max
michael kors outlet
swarovski jewelry
louis vuitton outlet
christian louboutin sale
cheap nfl jerseys
tory burch outlet online
oakley sunglasses wholesale
افضل خدمات نقل العفش فى الكويت مقدمة من افضل شركة الرشيد لجميع خدمات النقل
شركة نقل عفش الكويت
فني صحي
christian louboutin
christian louboutin
yeezy boost 350
supreme hoodie
curry 5
retro jordans
curry 4
cat boots
michael kors handbags
ultra boost
Post a Comment