Vous êtes sur la page 1sur 17

GARP and GVRP

HUAWEI TECHNOLOGIES CO., LTD.


Foreword

In networks with extensive numbers of devices, changes are at times


required for certain attributes such as the implementation or removal of a
VLAN. The manual configuration of each switch to recognize and support
the new attribute may lead to extensive administration and the potential
for human error. The Generic Attribute Registration Protocol (GARP) is
used to define the architecture on which attributes can be propagated.
The application of GARP, along with GVRP in support of VLAN
technology, is introduced as a solution for optimized administration.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Objectives

Upon completion of this section, trainees will be able to:


 Describe the construct and messaging characteristics of GARP.

 Configure GVRP.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Generic Attribute Registration Protocol

SWA

Registration & Deregistration

SWB SWC

Host A Host B

 A mechanism for the registration and deregistration of attributes.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 4
GARP PDU Format

DA SA Length DSAP SSAP CTRL PDU

1 3 N

Protocol ID Message1 … Message N End Mark


1 N

Attribute Type Attribute List

1 N

Attribute 1 … Attribute N End Mark

1 2 3 N

Attribute Length Attribute Event Attribute Value

 Attributes are carried as lists within GARP PDU messages.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 5
Attribute Events - Join Messages

SWA

Register Attributes

SWB SWC

SWD SWE SWF

 Registration of attributes is achieved using Join messages.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 6
Attribute Events - Leave Messages

SWA

Remove Attributes

SWB SWC

SWD SWE SWF

 Deregistration of select attributes relies on Leave messages.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 7
Attribute Events - Leave All Messages

SWA

Remove All Attributes

SWB SWC

SWD SWE SWF

 Leave All messages remove all attributes of a sender.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 8
GVRP

SWA

VLAN 3 VLAN 3

SWB SWC

VLAN 3 VLAN 3 VLAN 3

SWD SWE SWF

 Application for the propagation of VLAN registration information.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Registration Modes

SWA SWB

 VLAN Types

 Static

 Dynamic

 Registration Modes

 Normal

 Fixed

 Forbidden
Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 10
Registration Modes - Normal

SWA SWB

VLAN 2
VLAN 3

Static : VLAN 2
Dynamic : VLAN 3
SWC

 Permits the registration of both static and dynamic VLANs on a


port interface.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 11
Registration Modes - Fixed

SWA SWB

Static Vlan Only

SWC

 Registration or deregistration of dynamic VLANs is restricted.

 Port interface only sends declaration of static VLANs.


Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 12
Registration Modes - Forbidden

SWA SWB

Vlan 1 Only

SWC

 All VLANs with the exception of VLAN 1 are deleted from the
port, and all ports can only send declarations of VLAN 1.

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 13
Enabling GVRP

SWA SWB

G0/0/1 G0/0/1

[SWA]gvrp
[SWA]interface Gigabitethernet 0/0/1
[SWA-GigabitEthernet0/0/1]port link-type trunk
[SWA-GigabitEthernet0/0/1]port trunk allow-pass vlan all
[SWA-GigabitEthernet0/0/1]gvrp
[SWA-GigabitEthernet0/0/1]gvrp registration fixed

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 14
GVRP Status

[SWA]display gvrp status


GVRP is enabled
[SWA]display gvrp statistics
GVRP statistics on port GigabitEthernet0/0/1
GVRP status : Enabled
GVRP registrations failed : 0
GVRP last PDU origin : 0000-0000-0000
GVRP registration type : Fixed

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 15
Summary

 What is the default registration mode used by GVRP?

 What is necessary in order to allow the VLAN information to be


propagated over the links between each of the GVRP capable
devices?

Copyright © 2016 Huawei Technologies Co., Ltd. All rights reserved. Page 16
Thank you
www.huawei.com

Vous aimerez peut-être aussi