Вы находитесь на странице: 1из 103

HP Networking Workshop

Da 2 2016.Feb.10

David Melndez Campos| Solutions Architect HPN


David.Melendez @ hp.com

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Ethernet Port Configuration

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Configuring Ethernet Ports


Ports are configured from Ethernet Port View
To enter Ethernet Port View
interface { Gigabit | Ethernet} slot/subslot/port

Disabling and Enabling Ports


shutdown
undo shutdown

Setting a Description Character String for a Port


description text

Setting the Duplex mode of the Ethernet Port


duplex { auto | full | half }
undo duplex
4

- restores the default value of auto

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Configuring Ethernet Ports -

continued

Setting the Speed of the Ethernet Port


speed {10 | 100 | 1000 |

auto }

Setting the Cable Type for an Ethernet Port


mdi { across | auto | normal }

Setting Flow Control for an Ethernet Port


flow-control
undo flow-control restores the default value

Permitting Jumbo Frames


jumboframe enable

Setting the Maximum MAC Addresses an Ethernet Port Can Learn


mac-address max-mac-count count
5

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Configuring Ethernet Ports -

continued

Broadcast, Multicast & Unicast traffic on a port can be


restricted to a percentage of total traffic, or to a packet per
second value
Traffic is controlled per port
In Ethernet interface View:
broadcast-suppression {ratio|kbps|pps}

multicast-suppression {ratio|kbps|pps}
unicast-suppression {ratio|kbps|pps}

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Display Ethernet Ports

Displaying the status of an Ethernet port


[HP-5120]display interface eth1/0/13
Ethernet1/0/13 current state : UP
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-cbb8
The Maximum Transmit Unit is 1500
Media type is twisted pair, loopback not set
Port hardware type is 100_BASE_TX
100Mbps-speed mode, half-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 1522
Broadcast MAX-pps: 3000
Unicast MAX-ratio: 100%
Multicast MAX-ratio: 100%
Forbid jumbo frame to pass
PVID: 1
Priority: trust
Mdi type: auto
Port link-type: access
Tagged
VLAN ID : none
Untagged VLAN ID : 1
Continued...

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Display Ethernet Ports -

continued

Last 300 seconds input: 0 packets/sec 30 bytes/sec


Last 300 seconds output: 0 packets/sec 34 bytes/sec
Input(total): 185 packets, 41397 bytes
31 broadcasts, 33 multicasts
Input(normal): - packets, - bytes
- broadcasts, - multicasts
Input: 0 input errors, 0 runts, 0 giants, - throttles, 0 CRC
0 frame, - overruns, 0 aborts, 0 ignored, - parity errors
Output(total): 480 packets, 34888 bytes
9 broadcasts, 471 multicasts, 0 pauses
Output(normal): - packets, - bytes
- broadcasts, - multicasts, - pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, - no carrier

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Display Ethernet Ports Clearing the statistics

continued

From user view:


reset counters interface [ interface_type | interface_type
interface_num | interface_name ]

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

2.1.
Vlans e Interfaces de red

10

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create and identify a VLAN


[sw99a]vlan 1
[sw99a-vlan1]description NATIVA
[sw99a-vlan1]quit
[sw99a]
[sw99a]vlan 2
[sw99a-vlan2]description VLAN-PRUEBAS-02

[sw99a-vlan2]quit
[sw99a]
[sw99a]vlan 3

[sw99a-vlan3]description VLAN-PRUEBAS-03
[sw99a-vlan3]quit
[sw99a]

14

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create and identify a VLAN (cont)


[sw99a]display vlan

Total 3 VLAN exist(s).


The following VLANs exist:
1(default), 2-3,
[sw99a]display vlan brief
Brief information about all VLANs:
Supported Minimum VLAN ID: 1
Supported Maximum

VLAN ID: 4094

Default VLAN ID: 1


VLAN ID

Name

Port

VLAN 0001

GE2/0/1

GE2/0/2

GE2/0/3

GE2/0/4

GE2/0/5

GE2/0/6

GE2/0/7

GE2/0/8

GE2/0/9

GE2/0/10

GE2/0/12

GE2/0/13

GE2/0/14

GE2/0/15

GE2/0/16

GE2/0/17

GE2/0/18

GE2/0/19

GE2/0/20

GE2/0/21

GE2/0/22

GE2/0/23

GE2/0/24

XGE2/0/25

XGE2/0/27
2

VLAN 0002

VLAN 0003

[sw99a]

15

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

GE2/0/11

XGE2/0/28

XGE2/0/26

Assign an IP add to the VLAN interface


[sw99a]interface Vlan-interface 1
[sw99a-Vlan-interface1]ip address 192.168.99.1 255.255.255.0
[sw99a-Vlan-interface1]quit
[sw99a]
[sw99a]interface Vlan-interface 2
[sw99a-Vlan-interface1]ip address 192.168.98.1 255.255.255.0

[sw99a-Vlan-interface1]quit
[sw99a]
[sw99a]display current-configuration

[sw99a]
[sw99a]save
[sw99a]

16

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Port types: Access / Trunk


1. Access Port

Belongs to one VLAN only and supports switch-to-switch links


Without tag

End user connection

2. Trunk Port

Permit traffic from different VLANs in the same physical port


With tag 802.1q

Switching connection

3. Hybrid Port

17

Can belong to multiple VLANs and can receive or send packet for VLANs based on non-802.1Q
fields (untagged)

You can connected to a network device or user terminal as a hybrid port.


Copyright 2012 Hewlett-Packard Development Company, L.P.
The information contained herein is subject to change without notice.

Port Link Type


Untagged VLANs

Tagged VLANs

Access

Trunk

Many

Hybrid

Many

Many

By default all ports are Access Ports


Change Port Link Type
port link-type { access | hybrid | trunk }

18

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Access Port
By default, ports on switches are configured as access ports for VLAN 1.
To change a VLAN for an access port, first create the VLAN.
Then add the port to the VLAN.
Dont forget to save.
vlan 2
description VLAN-PRUEBAS-02
port <interface-list>
quit
interface GigabitEthernet 2/0/1
port ?

port link-type access


port access vlan 2
quit
save

19

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Trunk Port
You must create a VLAN before adding it to a trunk port.
To configure a trunk port, you must first access de correct interface.
Next, change the port type.
Dont forget to save.
interface GigabitEthernet 2/0/24
port link-type ?
port link-type trunk
port trunk ?

port trunk permit vlan all


quit

interface GigabitEthernet <intf>


port trunk ?
port trunk permit vlan <vlan-id-start vlan-id-end>
quit
save
21

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Default VLAN
Each trunk port has a default VLAN. Frames transmitted in this VLAN are untagged.
The default VLAN is VLAN 1.
It is possible to change the default VLAN.
The default VLAN on connected trunk ports must match.
interface GigabitEthernet <intf>
port trunk ?
port trunk pvid vlan <vlan-id>
quit
save

23

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Status and Statistics


display current-configuration
display interface Vlan-interface #
display interface GigabitEthernet
display version
display cpu-usage
display cpu-usage history
display port trunk

display ip interface
display ip interface brief
ping

24

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Display Ethernet Ports


Display the Configuration of an Ethernet Interface
[5900-Ethernet1/0/12]display this
#
interface Ethernet1/0/12
stp edged-port enable
broadcast-suppression PPS 3000
undo jumboframe enable

25

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

VLAN Configuration Lab


G1/0/1 VLANs
1,2,3&4 Tagged
gi1/0/2 VLAN 2 Untagged
gi1/0/3 VLAN 3 Untagged
gi1/0/4 VLAN 4 Untagged

gi1/0/2 VLAN 2 Untagged


gi1/0/3 VLAN 3 Untagged
gi1/0/4 VLAN 4 Untagged
HP5900-1

HP5900-2

[HP5900-1]vlan 2
[HP5900-1-vlan2]port ethernet 1/0/2
[HP5900-1-vlan2]vlan 3
[HP5900-1-vlan3]port ethernet 1/0/3
[HP5900-1-vlan3]vlan 4
[HP5900-1-vlan4]port ethernet 1/0/4
[HP5900-1-vlan4]interface gigabit 1/0/1
[HP5900-1-gigabit1/0/1]port link-type trunk

[HP5900-1-gigabit1/0/1]port trunk permit vlan 2 to 4 tagged

L3 Vlan Interfaces

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

IPv4 Interfaces
Layer 3 Switch (Router)
L3 Interface
VLANs

VLAN 1
(Virtual Switch 1)

VLAN 2
(Virtual Switch 2)

L2 Interfaces

28

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

VLAN 3
(Virtual Switch 3)

Configuring IPv4 Interfaces


Enter the VLAN interface view
interface vlan [vid]
[HP-5120]inteface vlan-interface 1

Configure an IP Address
ip address address [mask | mask-length]
[HP-5120-vlan1]ip address 192.186.1.1 255.255.255.0

or
[HP-5120-vlan1]ip address 192.186.1.1 24

Or enable the DHCP client


ip address dhcp-alloc
[HP-5120-vlan1]ip address dhcp-alloc

29

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Display VLAN Interface Details


[5500-EI]display interface Vlan-interface 1
Vlan-interface1 current state :UP
Line protocol current state :UP
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-cbb8-63c1
Internet Address is 10.0.0.7/24 Primary
Internet Address is 20.0.0.7/24 Sub
Description : Vlan-interface1 Interface
The Maximum Transmit Unit is 1500

To disable a VLAN Interface


shutdown

(from VLAN Interface View)

To remove a VLAN Interface


undo interface vlan-interface vlan_id

30

(from System View)

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

Displaying all IP Interfaces


[HP-5120]display ip interface
*down: administratively down
(s): spoofing
Interface
LoopBack0
Vlan-interface20
Vlan-interface30
Vlan-interface40
[HP-5120]

31

brief

Physical
up
up
up
up

Protocol
up(s)
up
up
up

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

IP Address
99.1.1.1
20.1.1.1
30.1.1.1
40.1.1.1

Description
LoopBack0...
Vlan-inte...
Vlan-inte...
Vlan-inte...

2.2.
Agregacin de enlaces

32

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

LACP

33

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

LACP overview

34

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

LACP requirements

35

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static LACP

36

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static Link Aggregation Control Protocol


Static Link Aggregation does not use a protocol.
1. Define Bridge Interface
2. Define port type (access / trunk)
3. Associate a physical interface
4. Status and Statistics

37

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static LACP configuration for access interface


interface Bridge-Aggregation1
quit
interface GigabitEthernet1/0/23
port link-aggregation group 1
quit
interface GigabitEthernet1/0/24
port link-aggregation group 1

quit

38

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static LACP configuration for trunk interface


interface Bridge-Aggregation2
port link-type trunk
port trunk vlan permit all
quit
interface GigabitEthernet1/0/21

port link-aggregation group 2


port link-type trunk
port trunk permit vlan all

quit
interface GigabitEthernet1/0/22
port link-aggregation group 2

port link-type trunk


port trunk permit vlan all
quit

39

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Status and Statistics


display interface Bridge-Aggregation 1
display link-aggregation summary
display link-aggregation verbose
display link-aggregation member-port
display link-aggregation load-sharing

40

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Dynamic LACP

41

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static LACP configuration for access interface


interface Bridge-Aggregation1
link-aggregation mode dynamic
quit
interface GigabitEthernet1/0/23
port link-aggregation group 1

quit
interface GigabitEthernet1/0/24

port link-aggregation group 1


quit

42

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Static LACP configuration for trunk interface


interface Bridge-Aggregation2
link-aggregation mode dynamic
port link-type trunk
port trunk vlan permit all
quit

interface GigabitEthernet1/0/21
port link-aggregation group 2
port link-type trunk

port trunk permit vlan all


quit
interface GigabitEthernet1/0/22

port link-aggregation group 2


port link-type trunk
port trunk permit vlan all

quit

43

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Status and Statistics


display interface Bridge-Aggregation 1
display link-aggregation summary
display link-aggregation verbose
display link-aggregation member-port
display link-aggregation load-sharing

44

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Link Aggregation Control Protocol


1.
2.
3.
4.

45

Define Bridge Interface


Define port type (access / trunk)
Associate a physical interface
Status and Statistics

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Link Aggregation LACP Summary


Create Aggregation group
[HP-5900]interface Bridge-Aggregation 1
[HP-5900-Bridge-Aggregation1]link-aggregation mode dynamic

Add physical interface to Aggregation group


[HP-5900]int g1/0/23
[HP-5900-GigabitEthernet1/0/23]port link-aggregation group 1
[HP-5900]int g1/0/24
[HP-5900-GigabitEthernet1/0/24]port link-aggregation group 1

Configure Aggregation Group


[HP-5900]interface Bridge-Aggregation 1
[HP-5900-Bridge-Aggregation1]port link-type trunk

Display link-aggregation
<HP-5900> display link-aggregation verbose
46

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

2.3.
IRF
Intelligent Resilient Framework

47

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Descripcin y teora

48

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF Overview
Intelligent Resilient Framework (IRF) is a software virtualization technology
IRF allows you to connect multiple devices through physical IRF ports to
combine them into a logical device
You can manage all the member devices by managing the single IRF virtual
device
The virtual device is called IRF. Therefore, IRF has two meanings:
The IRF technology

The IRF device

49

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

What does IRF 2.0 look like (FFF)?

Standard interface
Up to 16*10GE or 4*40G

Physic
50

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Functional stack

What does IRF 2.0 look like (modular)?

Standard interface
Up to 16*10GE or 4*40G

Physic
51

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Functional stack

IRF virtual device

OR

52

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF Benefits
Scalability: Increasing
Port Number

Performance: Increasing Forwarding


Capacity and Expanding Bandwidth
Security: no SPoF (Single Point of
Failure), increase D%, redundancy
58

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF Benefits (cont)


Simplify
DRR (distributed resilient routing)
DLA (distributed link aggregation)

Management
DDM (distributed device management)

Less cost
59

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

BEFORE

AFTER

Changing the Rules of Networking


Before IRF
STP / RSTP / MSTP

No STP / RSTP / MSTP Required

VRRP

No VRRP Required

Active / Standby

Trunking / LACP in point to point mode


Failover time incompatible with business
critical applications

60

After IRF

Network
simplicity

Active / Active (L2/L3)


Distributed Trunking / LACP in Point to
Multipoint
<50ms Failover Times

Different failover technologies for different


layers

Consistent approach for every layer

Different technologies for different protocols /


phased approach for different protocols

Consistent approach for every protocol

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF 2.0 Specs

Maximum
devices in IRF
domain

IRF link
capacity

Max Physical
Ports (2 IRF
ports)

Geographic
Connection

2 (4 future)

10GE & 40GE

16

Yes

12500 / 12500E

10GE & 40GE

24

Yes

11900

10GE & 40GE

16

Yes

10500

10GE & 40GE

16

Yes

7900

2 (4 future)

40GE

16

Yes

4 (2)

10GE & 40GE

16

Yes

5930

40GE

Yes

5920

10GE

16

Yes

5900

10GE & 40GE

16

Yes

5830

10GE

16

Yes

5820

10GE

Yes

5800

10GE

Yes

5700

10GE

16

Yes

5500 HI / 5500 EI

10GE

6/4

Yes

5130 EI

10GE

Yes

5500SI / 5120 EI

10GE

Yes

Modular

12900

Fixed Form Factor

7500 (7510)

61

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF topology
An IRF virtual device typically adopts daisy
chain connection or ring connection, as shown

A failure or
reconfiguration in the
ring results in a daisy
chain

63

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Connecting physical IRF ports


To establish an IRF virtual device, physically connect the physical IRF ports of
member devices.
The connection medium depends on the physical IRF ports supported by the
device.
Connect the physical ports of IRF-Port1 on one switch to the physical ports
of IRF-Port2 on its neighbor switch

64

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Direct Attach Copper (DAC) Cables


Low cost alternative to two 10G/40G
transceivers connected with fiber optic cable
Limited length can only go to 7m

Intended for lock-in connecting HP to HP


only
Not designed to be used to connect HP to 3rd
party equipment
SFP+ to SFP+ / QSFP to QSFP is typical
65

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Virtualized Layer 3 Function


Benefit

Support in all unicast and multicast routing protocols


IRF system acts as one single L3 device
Master device/fabric does the routing calculation
FIB table is synchronized across the IRF system
Routing status is real time backup by all slave
device/fabric to ensure non-stop while master fails

Chassis IRF fabric

Box IRF fabric


68

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

12 Physical Devices

Routing/MPLS AREA
6 logic nodes

Box IRF fabric

Box IRF fabric

Chassis IRF fabric

Box IRF fabric

Distributed Resilient Routing


Benefit

Distributed Resilient routing


No single-point routing failure
Routing forwarding without interrupt

RIP

Master
Slave

UNIT2

Routing protocol

Routing protocol

Routing table

Routing table

FIB

FIB

ASIC

ASIC

Routing without interrupt


OSPF

Information
Bacup

Slave
OSPF backup & GR NSF
69

UNIT1

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Distributed
routing
protocol

FIB sync

Local h/w
L3 table

IRF failure

70

Scenario

Failover time

A port is removed from/added to a link aggregation

2 ms/0.7 ms

An entire interface is removed/added (removing or adding links to a link


aggregation)

2 ms/1 ms

An entire physical device fails/recovers

2 ms/0.14 ms

In-Service Software Upgrade occurs

2 ms

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF Evolutions One single Fabric with Core and Edge


Both Core and Edge devices are true switches - no multiplexing

CB

Core

CB = Controlling Bridge (Core) + PE = Port Extender (Edge)


Enhanced IRF dramatically simplifies the installation
process as the insertion of a PE device is done entirely
automatically

Core

PE

Flexible solution with multiple existing switches to be


supported by this solution

Edge Edge

Edge Edge

Edge Edge

Edge Edge

10G Servers

10G Servers

1G Servers

1G Servers

One Single IRF domain


One IP for Management
71

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Core: 12900, 11900 or 5900

Edge: 5900 or new series of switches optimized for


this mode 5700.

Servers can be dual homed to 2 PEs.


IMC Fabric Manager module to simplify the
configuration and day to day operations

Configuracin

72

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF
1.
2.
3.
4.

73

Define members number


Create virtual IRF ports and associate physic ports
Activate IRF
Status and Statistics

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Define members number


# on member 1: Hands-On-Lab-01
irf member 1 renumber 1
# on member 2: Hands-On-Lab-02
irf member 2 renumber 2

irf member [member_num] description [text]


Save
# power off both sws
#

75

then, power on

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create virtual IRF ports and associate phys ports


# on member 1: Hands-On-Lab-01
interface Ten-GigabitEthernet 1/0/27
shutdown
quit

interface Ten-GigabitEthernet 1/0/28


shutdown
quit
irf-port 1/2
port group interface Ten-GigabitEthernet1/0/27
port group interface Ten-GigabitEthernet1/0/28

quit

76

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create virtual IRF ports and associate phys ports (cont)


interface Ten-GigabitEthernet 1/0/27
undo shutdown
quit
interface Ten-GigabitEthernet 1/0/28
undo shutdown

quit
save
irf-port-configuration active

77

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create virtual IRF ports and associate phys ports (cont)


# on member 2: Hands-On-Lab-02
interface Ten-GigabitEthernet 2/0/27
shutdown
quit

interface Ten-GigabitEthernet 2/0/28


shutdown
quit
irf-port 2/1
port group interface Ten-GigabitEthernet2/0/27
port group interface Ten-GigabitEthernet2/0/28

quit

78

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Create virtual IRF ports and associate phys ports (cont)


interface Ten-GigabitEthernet 2/0/27
undo shutdown
quit
interface Ten-GigabitEthernet 2/0/28
undo shutdown

quit
save
irf-port-configuration active

79

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Status and Statistics


display irf
display irf configuration
display current configuration

80

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

IRF Configuration System 1 Summary


Shut down ports that will operate as IRF-Ports:
<Sysname> system-view
[Sysname] interface TenGigabitEthernet 1/0/25
[Sysname-Ten-GigabitEthernet1/0/25] shutdown
[Sysname-Ten-GigabitEthernet1/0/25] quit
[Sysname] interface TenGigabitEthernet 1/0/26
[Sysname-Ten-GigabitEthernet1/0/26] shutdown
[Sysname-Ten-GigabitEthernet1/0/26] quit
Notice the extra number in the interface designation.
This is the Chassis ID associated by IRF.
81

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

81

IRF Configuration System 1


Next, assign the ports to their respective IRF-Port:
<Sysname> system-view
[Sysname] irf-port 1/2
[Sysname-irf-port 1/2] port group interface TenGigabitEthernet 1/0/25
[Sysname-irf-port 1/2] port group interface TenGigabitEthernet 1/0/26
[Sysname-irf-port 1/2] quit
This places both ports into the Logical IRF-Port of 1/2

82

Note: This is Logical IRF-Port #2. This port MUST be connected to another
switchs logical port #1
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

82

IRF Configuration System 1


Next, reactivate the assigned ports:
<Sysname> system-view
[Sysname] interface TenGigabitEthernet 1/0/25
[Sysname-Ten-GigabitEthernet1/0/25] undo shutdown
[Sysname] interface TenGigabitEthernet 1/0/26
[Sysname-Ten-GigabitEthernet1/0/26] undo shutdown
[Sysname-Ten-GigabitEthernet1/0/26] quit
[Sysname] save

83

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

83

IRF Configuration System 1


Finally, assign the IRF Priority of the switch and save the configuration:
<Sysname> system-view
[Sysname] irf member 1 priority 32
Where priority can be an integer value from 1 to 32, 1 being the lowest 32 being
the highest priority.
Highest priory takes precedence over a lower priority.

[Sysname] irf -port-configuration active


[Sysname] save
84

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

84

IRF Configuration System 2


Renumber the unit to the second IRF device:
<Sysname> system-view
[Sysname] irf member 1 renumber 2
Warning: Renumbering the switch number may result in configuration
change or loss. Continue? [Y/N]:y
[Sysname] quit
<Sysname> reboot

86

You can validate the IRF unit number using the display irf command.
Note: The member number on the 7500 series can be 1 to 4. Today you cannot
assign a S7510E as unit number 4. If you set a 7506E to unit 4, the last two card
slots will not operate.
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

86

IRF Configuration System 2


Shut down the ports that will operate as IRF-Ports:
<Sysname> system-view
[Sysname] interface TenGigabitEthernet 2/0/25
[Sysname-Ten-GigabitEthernet2/0/25] shutdown
[Sysname-Ten-GigabitEthernet2/0/25] quit
[Sysname] interface TenGigabitEthernet 2/0/26
[Sysname-Ten-GigabitEthernet2/0/26] shutdown
[Sysname-Ten-GigabitEthernet2/0/26] quit

87

Notice the extra number in the interface designation.


This is the Chassis87 ID associated by IRF.

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

IRF Configuration System 2


Next, assign the ports to the correct IRF-Port:
<Sysname> system-view
[Sysname] irf-port 2/1
[Sysname-irf-port 2/1] port group interface TenGigabitEthernet 2/0/25
[Sysname-irf-port 2/1] port group interface TenGigabitEthernet 2/0/26
[Sysname-irf-port 2/1] quit
This places both ports into the Logical IRF-Port of 2/1.

88

Note: This is Logical IRF-Port #1. This port must be connected to another
switchs logical port #2
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

88

IRF Configuration System 2


Next, reactivate the assigned ports and save the configuration:
<Sysname> system-view
[Sysname] interface TenGigabitEthernet 2/0/25
[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown
[Sysname] interface ten-gigabitethernet 2/0/26
[Sysname-Ten-GigabitEthernet1/3/0/25] undo shutdown
[Sysname-Ten-GigabitEthernet1/3/0/25] quit
[Sysname] irf -port-configuration active
[Sysname] save
89

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

89

IRF Configuration
When you connect the two switches:
Chassis - The unit with the lowest priority should request at the command line to
be rebooted.
Stackable The unit with the lowest priority will automatically be rebooted.
Once the units come back up, they will be in full IRF mode. This can be validated
with the display irf command.

90

Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.

90

Distributed LACP

91

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Uplink/Downlink Backup
IRF uses a distributed aggregation technology to implement uplink/downlink
backup.
The traditional aggregation technology aggregates multiple physical Ethernet ports
(known as member ports) to implement link backup.
However, it does not have a backup mechanism for a single-point failure.

The new distributed aggregation technology supported by IRF adds the


physical Ethernet ports on different devices to an aggregation port group.
Even if the device where some ports reside fails, the aggregation link will not become
invalid.
Other member devices that work normally will manage and maintain the other
aggregation ports.
92

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Uplink/Downlink Backup
The traffic that goes to the core
network is distributed evenly on the
aggregation links.
When an aggregation link fails, the
distributed link aggregation
technology can automatically
distribute the traffic to other
aggregation links to implement link
backup and increase network
reliability.
93

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Distributed Link Aggregation Control Protocol


1.
2.
3.
4.

94

Define Bridge Interface


Define port type (access / trunk)
Associate a physical interface
Status and Statistics

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

LACP configuration for access interface


# on IRF stack
interface Bridge-Aggregation 2
quit
interface GigabitEthernet 1/0/22

port link-aggregation group 2


quit

interface GigabitEthernet 2/0/22


port link-aggregation group 2
quit

95

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

LACP configuration for access interface (cont)


# on stand-alone switch
interface Bridge-Aggregation2
quit
interface GigabitEthernet1/0/23

port link-aggregation group 2


quit

interface GigabitEthernet1/0/24
port link-aggregation group 2
quit

96

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Status and Statistics


display interface Bridge-Aggregation 1
display link-aggregation summary
display link-aggregation verbose
display link-aggregation member-port
display link-aggregation load-sharing

97

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Distributed LACP test

98

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Split

99

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Split
One IRF Fabric is split into one or several IRF systems due to disconnection of its internal
links.
Each new IRF system will elect its own new Master.
The layer 3 protocol conflict may occur upon the split.
Multi-Active Detection (MAD) can be used to detect the split conflict and devices on
one side will be deactivated once the conflict is detected. Operates over LACP or direct
over Layer 3.
Master
Master
1

MAD

100

Slave

Slave

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Switch

Enable MAD over LACP


<HP> system-view
[HP] interface bridge-aggregation 2
[HP-Bridge-Aggregation2] link-aggregation mode dynamic
[HP-Bridge-Aggregation2] mad enable
[HP-Bridge-Aggregation2] quit
[HP]

[HP]
[HP] interface gigabitethernet 1/3/0/2

Add ports 1/3/0/2 and 2/3/0/2 to the


aggregation interface and they are dedicated
to the LACP MAD detection for Switch One and
Switch Two.

[HP-GigabitEthernet1/3/0/2]port link-aggregation group 2

[HP-GigabitEthernet1/3/0/2]quit
[HP]
[HP] interface gigabitethernet 2/3/0/2
[HP-GigabitEthernet2/3/0/2]port link-aggregation group 2

[HP-GigabitEthernet2/3/0/2]quit
[HP]

Master

101

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Master

Slave

Slave

Switch
MAD

Enable MAD over VLAN


<HP> system-view
[HP] vlan 3
[HP-vlan3] port gigabitethernet 1/3/0/1 gigabitethernet 2/3/0/1
[HP-vlan3] quit
[HP]
[HP] interface vlan-interface 3

[HP-Vlan-interface3] mad bfd enable


[HP-Vlan-interface3] mad ip add 192.168.2.1 24 chassis 1
[HP-Vlan-interface3] mad ip add 192.168.2.2 24 chassis 2

Create VLAN-interface 3 and configure the MAD


IP address for the interface.

[HP-Vlan-interface3] quit

Master

102

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

MAD

Master

Slave

Slave

Mejores prcticas

103

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Best practices
1.

Configure IRF before any other.

6.

On Chassis Systems, use first the chassis


convert mode irf command

2.

First define de Master.

3.

Before you begin, make sure that the


switches are not connected to each other or
to the master.

7.

Priority is an integer value from 1 to 32; 1 is


the lowest one, 32 the highest one. Highest
priory take precedence over a lower priority.

4.

Begin with a minimal configuration on all


devices. Preferred to reset savedconfiguration and reboot prior to starting.

8.

5.

The Unit with the highest priority serves as


the reference in the configuration
comparison. All other devices are re-written
except for the local port and IRF
configuration.

When you connect the two switches together:


a) Chassis, the unit with the lowest priority
should request at the command line to be
rebooted; b) Stackable, the unit with the
lowest priority will automatically be rebooted.

104

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Thank you

105

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

2.4.
STP

106

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Sabores de STP en una sola


lmina

107

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Comparing STP / RSTP / MSTP


Feature

STP

RSTP

MSTP

BPDU

In stable topology only the root sends


BPDU and relayed by others.

All bridges generate BPDU every Hello


(2 sec) : used as keepalives
mechanism.

All bridges generate BPDU every Hello


(2 sec) : used as keepalives
mechanism.

Port states

Disabled, Blocking, Listening,


Learning, Forwarding

Discarding (replaces disabled,


blocking and listening), Learning,
Forwarding

Forwarding, Learning, Disable.

Port roles

Root (Forwarding), Designated


(Forwarding), Non-Designated
(Blocking)

Root (Forwarding), Designated


(Forwarding), Alternate (Discarding),
Backup (Discarding)

Root, Designated, Alternate, Backup,


Disable

Topology changes and convergence

Timers: Hello (2 sec), Max Age (20


sec), Forward delay timer (15 sec).
Slow transition (50sec)

5-6 seconds to update and reconfigure the new network topology/


routes

Similar to RSTP, according with the


VLANs.

Relationship between VALN IDs and


STP instances

All VIDs map to a common instance.

All VIDs map to a common instance.

A configurable set of VIDs is mapped


to each instance. Range 1 - 16.

Use of redundant links

Do not carry any traffic.

Do not carry any traffic.

Primary and backup links can be


configured to carry traffic for
different instances.

Priories and path costs are defined


once.

Priorities and path costs are defined


per instance, so that multiple VIDs are
mapped to each instance.

Priories and path costs are defined


Copyright 2012 Hewlett-Packard Development once.
Company, L.P.

Planning and configuration overheads


108

The information contained herein is subject to change without notice.

Spanning Tree Review

109

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Spanning Tree Review (cont)

110

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Configuracin STP, RSTP, MSTP

116

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Spanning Tree Configuration


STP is disabled by default.
When STP is enable:
Default to MSTP.
Ports are not configured as edge ports by default.

117

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Enable RSTP
[sw99a]display stp
Protocol Status

:disabled

Protocol Std.

:IEEE 802.1s

Version

:3

Bridge-Prio.

:32768

MAC address

:0023-893c-3d9b

Max age(s)

:20

Forward delay(s)

:15

Hello time(s)

:2

Max hops

:20

TC Snooping

:disabled

[sw99a]
[sw99a]

[sw99a]stp enable

[sw99a]stp global enable


[sw99a]

[sw99a]stp mode rstp


[sw99a]

118

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Enable STP
Set STP mode to RSTP

Enable RSTP (cont)


[sw99a]
[sw99a]port-group manual EPS
[sw99a-port-group-manual-EPS]group-member gig 1/0/n to gig 1/0/m
[sw99a-port-group-manual-EPS]stp edged-port enable
[sw99a-port-group-manual-EPS]quit

Create a port group with all ports


that will be connected to hosts and
define them as edge ports

[sw99a]

[sw99a]save
[sw99a]

Statistics

[sw99a]display stp

-------[CIST Global Info][Mode MSTP]------CIST Bridge

:32768.0023-893c-3d9b

Bridge Times

:Hello 2s MaxAge 20s FwDly 15s MaxHop 20

CIST Root/ERPC

:32768.0023-893c-3ac2 / 20

CIST RegRoot/IRPC

:32768.0023-893c-3d9b / 0

CIST RootPortId

:128.90

BPDU-Protection

:disabled

Bridge ConfigDigest-Snooping

:disabled

TC or TCN received

:1

Time since last TC

:0 days 0h:1m:22s

119

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Enable RSTP (cont)


[sw99a]
[sw99a]display stp root
MSTID
0

Root Bridge ID

ExtPathCost IntPathCost Root Port

32768.0023-893c-3ac2

20

GigabitEthernet2/0/1

[sw99a]
[sw99a]display stp brief

MSTID
0

Port

Role

STP State

Protection

GigabitEthernet2/0/1

ROOT

FORWARDING

NONE

GigabitEthernet2/0/3

DESI

FORWARDING

NONE

GigabitEthernet2/0/24

DESI

FORWARDING

NONE

[sw99a]

120

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Enable RSTP (cont)


[sw99b]display stp root
MSTID
0

Root Bridge ID

ExtPathCost IntPathCost Root Port

32768.0023-893c-3ac2

[sw99b]
[sw99b]display stp
-------[CIST Global Info][Mode RSTP]-------

CIST Bridge

:32768.0023-893c-3ac2

Bridge Times

:Hello 2s MaxAge 20s FwDly 15s MaxHop 20

CIST Root/ERPC

:32768.0023-893c-3ac2 / 0

CIST RegRoot/IRPC

:32768.0023-893c-3ac2 / 0

CIST RootPortId

:0.0

BPDU-Protection

:disabled

Bridge Config-

Digest-Snooping

:disabled

TC or TCN received

:3

Time since last TC

:0 days 0h:4m:8s

121

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Configuring Bridge Priority

[sw99a]stp priority ?

INTEGER<0-61440>

Bridge priority, in steps of 4096

[sw99a]stp priority 0

Valor por defecto 32768. Con un valor de 0, el


equipo ser el root bridge

[sw99a]
[sw99a]stp root primary
[sw99a]stp root secondary

In STP/RSTP

[sw99a]
[sw99a]stp instance 1 root primary

[sw99a]stp instance 1 root secondary


[sw99a]
122

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

In MSTP

Define port cost


[sw99a]
[sw99a]stp pathcost-standard ?
dot1d-1998

IEEE 802.1D-1998 standard

dot1t

IEEE 802.1T standard

legacy

Legacy standard

[sw99a]stp pathcost-standard dot1d-1998

Cost configuration of every port will be reset and auto-calculation is available after changing current pathcost
standard. Continue?[Y/N]:y
Cost of every port has been recalculated.

[sw99a]
[sw99a]interface GigabitEthernet 2/0/1
[sw99a-GigabitEthernet2/0/1]stp cost
[sw99a-GigabitEthernet2/0/1]stp cost ?

INTEGER<1-65535>

Port path cost

[sw99a-GigabitEthernet2/0/1]stp cost 200


[sw99a-GigabitEthernet2/0/1]

[sw99a-GigabitEthernet2/0/1]quit
[sw99a]

123

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

Taller RSTP
Proceso:
1. Definir prioridades.
2. Aplicar costos a interfaces.

sw10ya
192.168.10y.1 / 24

sw10yb
192.168.10y.2 / 24

3. Confirmar el rbol STP.


sw10xa
192.168.10x.1 / 24

IMC STD Server


192.168.10x.200 / 24

124

Copyright 2012 Hewlett-Packard Development Company, L.P.


The information contained herein is subject to change without notice.

sw10xb
192.168.10x.2 / 24

Вам также может понравиться