+ All Categories
Home > Documents > Distributed Trunking Cookbook

Distributed Trunking Cookbook

Date post: 28-Nov-2015
Category:
Upload: jhonatan-ferney-sanchez-garcia
View: 536 times
Download: 19 times
Share this document with a friend
Popular Tags:
28
Distributed Trunking (LAG) Cookbook Revision 0.99 HP Networking STC Originated by: Adolfo Duarte [email protected] HP Networking Copyright 2012 Hewlett Packard 1
Transcript
Page 1: Distributed Trunking Cookbook

Distributed Trunking (LAG) CookbookRevision 0.99

HP Networking

STC

Originated by:

Adolfo Duarte

[email protected]

HP NetworkingCopyright 2012 Hewlett Packard

1

Page 2: Distributed Trunking Cookbook

Table 1 Document Revision History

Revision Date (mdy) Change Description Author

0.1 May 15 First extremely rough proposal Adolfo Duarte

0.2 May 30Minor chages to switch to server, added switch to switch example

Adolfo Duarte

0.9 June 7 Added Scenarios 3-5. Still need to add Cisco VSS configuration. Adolfo Duarte

HP NetworkingCopyright 2012 Hewlett Packard

2

Page 3: Distributed Trunking Cookbook

ContentsFeature Terminology and Commands.........................................................................................................4

Scenarios:....................................................................................................................................................4

Scenario -1: Simple Distributed Trunking...............................................................................................4

Scenario-2: Switch to Switch Distributed Trunking..................................................................................7

Scenario 3: Distributed Trunking to IRF (HP-5820)................................................................................10

Scenario 4: Distributed Trunking to HPN’s 3800 Stack:........................................................................18

Scenario 5: Distributed Trunking to Cisco VSS.......................................................................................21

HP NetworkingCopyright 2012 Hewlett Packard

3

Page 4: Distributed Trunking Cookbook

Feature Terminology and Commands

Scenarios:

Scenario -1: Simple Distributed Trunking

Fig 1.1 shows the physical connections for Scenario 1.

For thr purpose of this discussion here we will use the word “trunk” and LAG interchangably. LAG = Link Aggregation Group = Trunk.

SW-A and SW-B are “unaware” that their respective LACP trunks/LAGs, Trk12 and Trk11, are terminated on two physically different switches, DT-SW1 and DT-SW2. Also note that SW-A and SW-B could easily be replaced by servers which support LACP on their NICs, or what is comonly called “NIC teaming”.

DT-SW1 and DT-SW2 create a Distributed Trunking peering group. This peering group looks to SW-A and SW-B as a single virtual switch. We will call this virtual switch “DT-SW1SW2”.

HP NetworkingCopyright 2012 Hewlett Packard

4

Page 5: Distributed Trunking Cookbook

The LAGs (trunks) at DT-SW1SW2 have been labeled Trk10 and Trk20. These LAGs in turn connect to the LAGs labeled Trk1 and Trk2 in SW-B and SW-A respectibely. We have labeled the LAGs diffrently to show that the configurations of SW-A, DT-SW1SW2, and SW-B are indpendent of each other. The LAG labels do *not* have to match between these three entities. They *do* have to match in the configuration of DT-SW1 and DT-SW2 which make up DT-SW1SW2; but there is no dependency between the LAG label of SW-A and DT-SW1SW2 or between SW-B and DT-SW1SW2. The only real switches which must MATCH the LAG labels are DT-SW1 and DT-SW2.

Fig 1.2, show what SW-A and SW-B are actually “seeing” from their perspective. SW-A and SW-B have no knwoledge of the Distributed Trunking (Distributed LAG) setup of DT-SW1 and DT-SW2. As far as they can tell they are connected to a single entity throught their LACP LAGs: Trk2 and Trk1.

Fig 1.2 Logical L2 topology as seen from perspective of SW-A and SW-B

The ISC link and the keepaliave vlan allow DT-SW1 and DT-SW2 to act as a single LACP actor to the outside world. The vlan keep alive is not strictly necessary in this setup but it does allow for completeness, and better redundancy. We will show more complex scenarios where the peer-keepalive vlan and destination are necessary. For completeness and a cleaner configuration to avoid problems in the future, you should always configure it.

HP NetworkingCopyright 2012 Hewlett Packard

5

Page 6: Distributed Trunking Cookbook

The ISC link is used as both a datapah and control path for the Distributed Trunking Protocol, so its bandwitch should always be equal or larger than the aggregate bandwith of all DT-Trunks present on the switch. LAGs themselves can be used as ISCs (switch-interconnects). Obfioulsy, only regular LAGs (LACP) can be used. For example, in this scenario we could have done something like:

DT-SW1(config)# trunk 3 trk3 lacp DT-SW1(config)# switch-interconnect trk3

But not something like:

DT-SW1(config)# trunk 4 trk4 dt-lacp DT-SW1(config)# switch-interconnect trk4Cannot configure switch-interconnect port, DT trunk exist for the same trunk-group.DT-SW1(config)#

The following table contains the switch configurations for Scenario 1. Note that in DT-SW1 and DT-SW2 the LAG lables match: “Trunk 22 Trk20 dt-lacp” for DT-SW1, and “trunk 21 Trk20 dt-lacp” for DT-SW2.

Table 1: Scenario 1 Configurations:

SW-B; J9473A Configuration Editor; Created on release #K.15.06.0008; Ver #01:0d:0chostname "SW-B"module 1 type J94aaAmodule 2 type J94bbAtrunk 11-12 Trk1 LACPvlan 1 name "DEFAULT_VLAN" untagged 1-10,13-48,Trk1 ip address 192.168.200.2 255.255.255.0 exitlldp admin-status 41 disablesnmp-server community "public" unrestrictedspanning-tree Trk1 priority 4DT-SW1:

;J8693A Configuration Editor; Created on release #K.15.06.0008; Ver #01:0d:0c

hostname "DT-SW1"module 1 type J86yyAmodule 2 type J86xxAswitch-interconnect 3trunk 12 Trk10 dt-lacpinterface Trk10 unknown-vlans Disableexit

trunk 22 Trk20 dt-lacpinterface Trk20 unknown-vlans Disableexitvlan 1 name "DEFAULT_VLAN" untagged 2-11,13-21,23-48,Trk10,Trk20 ip address dhcp-bootp no untagged 1 exitvlan 2 name "VLAN2" untagged 1 ip address 192.168.2.1 255.255.255.252 exitsnmp-server community "public" unrestrictedspanning-tree Trk10 priority 4spanning-tree Trk20 priority 4distributed-trunking peer-keepalive vlan 2

DT-SW2:

; J8693A Configuration Editor; Created on release #K.15.06.0008; Ver #01:0d:0c

hostname "DT-SW2"module 1 type J86yyAmodule 2 type J86xxAswitch-interconnect 3trunk 11 Trk10 dt-lacpinterface Trk10 unknown-vlans Disableexit

trunk 21 Trk20 dt-lacpinterface Trk20 unknown-vlans Disableexitvlan 1 name "DEFAULT_VLAN" untagged 2-10,12-20,22-48,Trk10,Trk20 ip address dhcp-bootp no untagged 1 exitvlan 2 name "VLAN2" untagged 1 ip address 192.168.2.2 255.255.255.252 exitsnmp-server community "public" unrestrictedspanning-tree Trk10 priority 4spanning-tree Trk20 priority 4distributed-trunking peer-keepalive vlan 2

HP NetworkingCopyright 2012 Hewlett Packard

6

Page 7: Distributed Trunking Cookbook

distributed-trunking peer-keepalive destination 192.168.2.2 distributed-trunking peer-keepalive destination 192.168.2.1

SW-A

; J9472A Configuration Editor; Created on release #K.15.06.0008; Ver #01:0d:0chostname "SW-A"module 1 type J94ccAmodule 2 type J94ddAtrunk 21-22 Trk2 LACPvlan 1 name "DEFAULT_VLAN" untagged 1-20,23-48,Trk2 ip address 192.168.200.1 255.255.255.0 exitsnmp-server community "public" unrestrictedspanning-tree Trk2 priority 4

Scenario-2: Switch to Switch Distributed Trunking

Now that we have an understanding of the simplest form of Distributed Trunking, let us now move to a more complicated setup: Switch to Switch Distributed Trunking.

This setup contains two pairs of DT-Peers: DT-SW1/DT-SW2 and DT-SW3/DT-SW4. The configuration independence still applis on this setup. The DT-SW1SW2 pair has no knowledge of the configuration of the DT-SW3SW4 pair and viceversa. Although the physical connection is a little more complicated, fig 2.1, the logical setup looks like fig 2.2. SW-A does not have to share any configuration information with DT-SW1SW2 which in turn does not have to share any configuration information with DT-SW3SW4 pair, which in turns does not have to share any information with SW-B.

HP NetworkingCopyright 2012 Hewlett Packard

7

Page 8: Distributed Trunking Cookbook

Fig 2.1 Physical topology

Fig 2.2 Logical L2 Topology

An important point to notice in the logical topology is that it is an L2 logical topology; and, as can be seen, there are no L2 loops created. Using MSTP (spanning tree) is NOT necessary in this setup. Even if it was turned on, spanning tree BPDUs are suppressed on DT trunks. This is just as if you had configured them as edge ports. This is done implicitily when you create a DT trunk and it cannot be undone. I.e. you cannot turn on spanning tree BPDUs on DT trunks. They will always act as adminedge ports.

The keepalive vlan becomes important in this setup or problem could arise. The error message returned by the switch when you try to remove the vlan peer keepalive describes it pretty well:

DT-SW1(config)# no distributed-trunking peer-keepalive vlan This may cause both DT switches to forward traffic on all DT ports if the ISC link goes down.Continue?(y/n) nDT-SW1(config)#

The peer-keepalive vlan and destination is only used to send messages back and forth when the ISC (siwtch-interconnect) has failed. During normal operation no interesting traffic is sent through it.

Following are the configuraton for the switches in Fig 1.2. The sections highlighted in red are information DT-SW1 and DT-SW2 have to share as well as information DT-SW3 and DT-SW4.

HP NetworkingCopyright 2012 Hewlett Packard

8

Page 9: Distributed Trunking Cookbook

SW-A - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "SW-A"module 1 type j86yyamodule 2 type j86xxatrunk 21-22 trk2 lacpsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" untagged 1-20,23-48,Trk2 ip address 192.168.1.1 255.255.255.0 exitspanning-treespanning-tree Trk2 admin-edge-portspanning-tree Trk2 priority 4 bpdu-filter

DT-SW1(config)# show run

Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "DT-SW1"module 1 type j86yyamodule 2 type j86xxatrunk 3 trk3 lacptrunk 31-32 trk12 dt-lacptrunk 21 trk20 dt-lacpswitch-interconnect trk3interface Trk12 unknown-vlans disable exitinterface Trk20 unknown-vlans disable exitsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" no untagged 1 untagged 2,4-20,22-30,33-48,Trk3,Trk12,Trk20 ip address 192.168.1.11 255.255.255.0 exitvlan 2 name "Kpalv" untagged 1 ip address 192.168.2.1 255.255.255.0 exitspanning-treespanning-tree Trk3 priority 4spanning-tree Trk12 priority 4spanning-tree Trk20 priority 4distributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.168.2.2

DT-SW2(config)# show run

Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "DT-SW2"module 1 type j86yyamodule 2 type j86xxatrunk 3 trk3 lacptrunk 31-32 trk12 dt-lacptrunk 22 trk20 dt-lacpswitch-interconnect trk3interface Trk12 unknown-vlans disable exitinterface Trk20 unknown-vlans disable exitsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" no untagged 1 untagged 2,4-21,23-30,33-48,Trk3,Trk12,Trk20 ip address 192.168.1.12 255.255.255.0 exitvlan 2 name "Kpalv" untagged 1 ip address 192.168.2.2 255.255.255.0 exitspanning-treespanning-tree Trk3 priority 4spanning-tree Trk12 priority 4spanning-tree Trk20 priority 4distributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.168.2.1

DT-SW2(config)#DT-SW3 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "DT-SW3"module 1 type j86yyamodule 2 type j86xxatrunk 11 trk10 dt-lacptrunk 3 trk33 lacptrunk 31-32 trk34 dt-lacpswitch-interconnect trk33interface Trk10 unknown-vlans disable exitinterface Trk34 unknown-vlans disable exitsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" no untagged 1 untagged 2,4-10,12-30,33-48,Trk10,Trk33-Trk34 ip address 192.168.1.13 255.255.255.0 exitvlan 2 name "Kpalv" untagged 1 ip address 192.168.2.3 255.255.255.0

DT-SW4 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "DT-SW4"module 1 type j86yyamodule 2 type j86xxatrunk 12 trk10 dt-lacptrunk 3 trk33 lacptrunk 31-32 trk34 dt-lacpswitch-interconnect trk33interface Trk10 unknown-vlans disable exitinterface Trk34 unknown-vlans disable exitsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" no untagged 1,48 untagged 2,4-11,13-30,33-47,Trk10,Trk33-Trk34 ip address 192.168.1.14 255.255.255.0 exitvlan 2 name "Kpalv" untagged 1 ip address 192.168.2.4 255.255.255.0

HP NetworkingCopyright 2012 Hewlett Packard

9

Page 10: Distributed Trunking Cookbook

exitspanning-treespanning-tree Trk10 priority 4spanning-tree Trk33 priority 4spanning-tree Trk34 priority 4distributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.168.2.4

exitspanning-treespanning-tree Trk10 priority 4spanning-tree Trk33 priority 4spanning-tree Trk34 priority 4distributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.168.2.3

SW-B - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.10.0000x; Ver #03:01.1f.ef:f2hostname "SW-B"module 1 type j86yyamodule 2 type j86xxatrunk 11-12 trk1 lacpsnmp-server community "public" unrestrictedvlan 1 name "DEFAULT_VLAN" untagged 1-10,13-48,Trk1 ip address 192.168.1.2 255.255.255.0 exitspanning-treespanning-tree Trk1 priority 4

Scenario 3: Distributed Trunking to IRF (HP-5820)Now that we have a clearer understanding of how Distributed Trunking works, we can interoperate this technology with another HPN technology which provides similar capabilities, Intelligent Resilient Framework (IRF).

HPN’s Intelligent Resilient Framework (IRF) is an advanced technology that allows one to aggregate 2 or more switches into a single switching and routing system also known as a “virtual switch”. IRF is available on many of the HPN A-Series switches.

In both cases, Distributd Trunking and IRF, a logical virtual switch is created. We refer to the

logical creation as a virtual switch because any other devices connected to this logical entity through one of its LAGs (trunks) sees it as a single switch. The connecting devices do not know and don’t need to know the details of the configuration which creates the virtual switch.

The importance of this concept can’t be understated. Devices externally connected to the virtual switch through its LAGs do not know or need to know the details of the configuration which creates the virtual switch.

An IRF virtual switch looks like a single switch. A Distributed Trunking virtual switch looks like a single switch.

This concept is very important to understand because it means there is no special setup when we want to connect these two technologies to each other. As far as each of the created virtual switches is concerned, the other end is just another switch. In other words, if we connect the physical topology as follows:

HP NetworkingCopyright 2012 Hewlett Packard

10

Page 11: Distributed Trunking Cookbook

Fig 3.1 Physical Topology

HP NetworkingCopyright 2012 Hewlett Packard

11

Page 12: Distributed Trunking Cookbook

From the perspective of the IRF domain the connection looks like so:

Fig 3.2: L2 Topology as seen fromt eh perspective of IRF domain.

From the Distributed Trunking peer group perspective it looks like so:

HP NetworkingCopyright 2012 Hewlett Packard

12

Page 13: Distributed Trunking Cookbook

Fig 3.3: L2 Topology as seen from the perspective of Distributed Trunking peer group DT-SW1SW2

We put those two perspectives together and we can see that from the perspective of SW-A and SW-B the L2 topology looks like this:

HP NetworkingCopyright 2012 Hewlett Packard

13

Page 14: Distributed Trunking Cookbook

Fig 3.4: L2 topology as seen from the perspective of SW-A and SW-B

It is clear that to connect these two technologies together we simply have to configure each one of them independently and then connect the correct physical ports to each other. There is no interdependency between the two technology configurations. The IRF configuration is independent of the Distributed Trunking configuration and the Distributed Trunking configuration is independent of the IRF configuration. The only requirement is that they both present a single lacp actor to the outside world. An actor is the local interface in an LACP exchange. A partner is the remote interface in an LACP exchange.These two actors, one from the DT and one from IRF are then connected to each other to complete the connection. The lacp actor from the DT virtual switch becomes the lacp partner of the IRF virtual switch and the viceversa.

Below, once again, is the physical topology diagram followed by the configuration of each switch.

HP NetworkingCopyright 2012 Hewlett Packard

14

Page 15: Distributed Trunking Cookbook

Fig 3.5: Physical topology for scenario 3.

Scenario 3 Configurations :

SW-A - Running configuration:

; J9472A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-A"module 1 type j94ccamodule 2 type j94ddatrunk 21-22 trk2 lacpsnmp-server community "public" unrestrictedspanning-tree Trk2 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-20,23-48,Trk2 ip address 192.168.1.10 255.255.255.0 exitspanning-treespanning-tree Trk2 admin-edge-portspanning-tree Trk2 priority 4 bpdu-filter

HP NetworkingCopyright 2012 Hewlett Packard

15

Page 16: Distributed Trunking Cookbook

DT-SW1 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW1"module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 21 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-20,22-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.1 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.1 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.2

DT-SW2 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW2"module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 22 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-21,23-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.2 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.2 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.1

IRF-56 Configuration

[IRF-56] *omited unused port configuration*

# version 5.20, Release 1110P05# sysname IRF-56# irf domain 1

HP NetworkingCopyright 2012 Hewlett Packard

16

Page 17: Distributed Trunking Cookbook

irf mac-address persistent timer irf auto-update enable undo irf link-delay# domain default enable system# telnet server enable#vlan 1#radius scheme system server-type extended primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain#domain system access-limit disable state active idle-cut disable self-service-url disable#user-group system#interface Bridge-Aggregation1#interface Bridge-Aggregation2#interface NULL0#interface Vlan-interface1 ip address 192.168.1.56 255.255.255.0#interface GigabitEthernet5/0/25 port link-aggregation group 1#interface GigabitEthernet5/0/26 port link-aggregation group 1#interface GigabitEthernet5/0/27 port link-aggregation group 2#interface GigabitEthernet5/0/28#interface GigabitEthernet6/0/25 port link-aggregation group 1#interface GigabitEthernet6/0/26 port link-aggregation group 1#…interface GigabitEthernet6/0/28 port link-aggregation group 2#…

load xml-configuration#user-interface aux 4 5user-interface vty 0 15#irf-port 5/1 port group interface Ten-GigabitEthernet5/0/12 mode enhanced#irf-port 6/2 port group interface Ten-GigabitEthernet6/0/12 mode enhanced#return[IRF-56]SW-B - Running configuration:

; J9473A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-B"module 1 type j94aaamodule 2 type j94bbatrunk 27-28 trk27 lacpsnmp-server community "public" unrestrictedspanning-tree Trk27 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-26,29-48,Trk27 ip address 192.168.1.11 255.255.255.0 exit

HP NetworkingCopyright 2012 Hewlett Packard

17

Page 18: Distributed Trunking Cookbook

SW-B(config)#

Scenario 4: Distributed Trunking to HPN’s 3800 Stack:As we saw from our previous discussion about Distributed Trunking and IRF, it is quite easy to connect a Distributed Trunking virtual switch to any other network technology which uses link aggregation groups with LACP. The next example we will look at is interconnecting Distributed Trunking with a Stack of HPN’s 3800 switches.

The process is actually quite simple, we don’t have to change the configuration of the Distributed Trunking peer group in our previous example , the one connected to IRF.

All we have to do is replace the IRF domain (virutal switch) with our stack of 3800s. Then we simply configure the stack with the appropriate LAGs (lacp trunks).

Our physical topology becomes:

Fig 4.1: Scenario 4 physical topology

We took the cables and simply plugged them in the appropriate place in the 3800 stack.

The logical L2 topologies once again “looks” like so:

HP NetworkingCopyright 2012 Hewlett Packard

18

Page 19: Distributed Trunking Cookbook

Fig 4.2: Scenario 4 logical L2 topology

Obviously we have to configure the 3800 stack but we have to make no changes to the Distributed Trunking setup. As a matter of fact we could just have created another set of dt-lacp trunks on the Distributed Trunking peer group and connect those to the 3800 stack; but in order to keep the diagrams simple and the configurations less confusing we take the easy route.

Following is the configuration for all the switches in the figure above. Note that nothing has changed for SW-A, DT-SW1, DT-SW2, or SW-B. The only new information is the configuration for the 3800 stack.

Scenario 4 Configurations:

SW-A(config)# show run

Running configuration:

; J9472A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-A"module 1 type j94ccamodule 2 type j94ddatrunk 21-22 trk2 lacpsnmp-server community "public" unrestrictedsnmp-server host 201.0.0.10 community "public"spanning-tree Trk2 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-20,23-48,Trk2 ip address 192.168.1.10 255.255.255.0 exitspanning-treespanning-tree Trk2 admin-edge-portspanning-tree Trk2 priority 4 bpdu-filter

DT-SW1 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW1"

HP NetworkingCopyright 2012 Hewlett Packard

19

Page 20: Distributed Trunking Cookbook

module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 21 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-20,22-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.1 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.1 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.2

DT-SW2 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW2"module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 22 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-21,23-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.2 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.2 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.1

3800-STACK - Running configuration:

; hpStack Configuration Editor; Created on release #KA.15.03.3016; Ver #01:00:01

hostname "3800-STACK"stacking member 1 type "J9576A" mac-address 1cc1de-4d0f40 member 2 type "J9575A" mac-address 1cc1de-4dec80 exittrunk 1/15-1/16,2/15-2/16 Trk52 LACPtrunk 1/17,2/18 Trk72 LACPvlan 1 name "DEFAULT_VLAN" untagged 1/1-1/14,1/18-1/52,2/1-2/14,2/17,2/19-2/26,Trk52,Trk72 ip address 192.168.1.56 255.255.255.0 exitsnmp-server community "public" unrestrictedspanning-tree

HP NetworkingCopyright 2012 Hewlett Packard

20

Page 21: Distributed Trunking Cookbook

spanning-tree Trk52 priority 4spanning-tree Trk72 priority 4oobm member 1 ip address dhcp-bootp exit member 2 ip address dhcp-bootp exit ip address dhcp-bootp exit

3800-STACK(config)#SW-B - Running configuration:

; J9473A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-B"module 1 type j94aaamodule 2 type j94bbatrunk 27-28 trk27 lacpsnmp-server community "public" unrestrictedspanning-tree Trk27 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-26,29-48,Trk27 ip address 192.168.1.11 255.255.255.0 exit

Scenario 5: Distributed Trunking to Cisco VSSBy now we have relized that we can connect Dsistributed trunking to any technoglogy wich

implements LACP LAGs. Cisco VSS does this. All we have to do to connect Distributed Trunking to a Cisco VSS, is the same thing we did to connect Distributed Trunking to HPN’s 3800 Stack. We configured the VSS and plug in the appropriate ports together. We have to make noe changes to our Distributed Trunking Configuration:

HP NetworkingCopyright 2012 Hewlett Packard

21

Page 22: Distributed Trunking Cookbook

Fig 5.1: Scenario 4 Physial topology

We won’t bother to draw the L2 logical topology as it should be clear by now that it is the same as scenarios 2, 3, and 4.

Here are the configurations:

Scenario 5 Configurations:

SW-A(config)# show run

Running configuration:

; J9472A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-A"module 1 type j94ccamodule 2 type j94ddatrunk 21-22 trk2 lacpsnmp-server community "public" unrestrictedsnmp-server host 201.0.0.10 community "public"spanning-tree Trk2 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-20,23-48,Trk2 ip address 192.168.1.10 255.255.255.0 exitspanning-treespanning-tree Trk2 admin-edge-portspanning-tree Trk2 priority 4 bpdu-filter

DT-SW1 - Running configuration:

HP NetworkingCopyright 2012 Hewlett Packard

22

Page 23: Distributed Trunking Cookbook

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW1"module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 21 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-20,22-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.1 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.1 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.2

DT-SW2 - Running configuration:

; J8693A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "DT-SW2"module 1 type j86yyamodule 2 type j86xxatrunk 9-10 trk9 lacptrunk 22 trk20 dt-lacptrunk 25-26 trk25 dt-lacpswitch-interconnect trk9interface Trk20 unknown-vlans disable exitinterface Trk25 unknown-vlans disable exitsnmp-server community "public" unrestrictedspanning-tree Trk9 priority 4spanning-tree Trk20 priority 4spanning-tree Trk25 priority 4vlan 1 name "DEFAULT_VLAN" no untagged 12 untagged 1-8,11,13-21,23-24,27-48,Trk9,Trk20,Trk25 ip address 192.168.1.2 255.255.255.0 exitvlan 2 name "VLAN2" untagged 12 ip address 192.2.2.2 255.255.255.0 exitdistributed-trunking peer-keepalive vlan 2distributed-trunking peer-keepalive destination 192.2.2.1

CISCO VSS CONFIGURATION TBDSW-B - Running configuration:

; J9473A Configuration Editor; Created on release #K.15.08.0009; Ver #02:1b.ef:f6hostname "SW-B"module 1 type j94aaamodule 2 type j94bbatrunk 27-28 trk27 lacpsnmp-server community "public" unrestrictedspanning-tree Trk27 priority 4vlan 1 name "DEFAULT_VLAN" untagged 1-26,29-48,Trk27 ip address 192.168.1.11 255.255.255.0

HP NetworkingCopyright 2012 Hewlett Packard

23

Page 24: Distributed Trunking Cookbook

exit

HP NetworkingCopyright 2012 Hewlett Packard

24

Page 25: Distributed Trunking Cookbook

Review Comments:

I would suggest three modifications: configuration requirements, dt-checking and limitations. I mean

Requirements: same firmware on dt-switches, same vlan configuration, same trk on both switches for the dt-lacp to work ….

DT-CHECKING: one or two commands to see everything is up and running (show distributed-trunking, show lacp distributed, show switch …… ).

Limitations: a message as DO CHECK management guide for your firmware release to see the latest info regarding limitations with other features….

I do know most of the information I suggest is on the 5400 management and configuration guide, but it could be great to have everything you need on your cookbook. Now it´s necessary to have some knowledge on DT technology (although same firmware releases are used it ´s not explained why, so I do think a message YOU MUST USE SAME FIRMWARE would be necessary)

Thanks for your help

PJ

HP NetworkingCopyright 2012 Hewlett Packard

25


Recommended