Академический Документы
Профессиональный Документы
Культура Документы
Da 2 2016.Feb.10
continued
auto }
continued
multicast-suppression {ratio|kbps|pps}
unicast-suppression {ratio|kbps|pps}
continued
continued
2.1.
Vlans e Interfaces de red
10
[sw99a-vlan2]quit
[sw99a]
[sw99a]vlan 3
[sw99a-vlan3]description VLAN-PRUEBAS-03
[sw99a-vlan3]quit
[sw99a]
14
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
GE2/0/11
XGE2/0/28
XGE2/0/26
[sw99a-Vlan-interface1]quit
[sw99a]
[sw99a]display current-configuration
[sw99a]
[sw99a]save
[sw99a]
16
2. Trunk Port
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)
Tagged VLANs
Access
Trunk
Many
Hybrid
Many
Many
18
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 ?
19
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 ?
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
display ip interface
display ip interface brief
ping
24
25
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
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)
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
29
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
30
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
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
LACP
33
LACP overview
34
LACP requirements
35
Static LACP
36
37
quit
38
quit
interface GigabitEthernet1/0/22
port link-aggregation group 2
39
40
Dynamic LACP
41
quit
interface GigabitEthernet1/0/24
42
interface GigabitEthernet1/0/21
port link-aggregation group 2
port link-type trunk
quit
43
44
45
Display link-aggregation
<HP-5900> display link-aggregation verbose
46
2.3.
IRF
Intelligent Resilient Framework
47
Descripcin y teora
48
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
49
Standard interface
Up to 16*10GE or 4*40G
Physic
50
Functional stack
Standard interface
Up to 16*10GE or 4*40G
Physic
51
Functional stack
OR
52
IRF Benefits
Scalability: Increasing
Port Number
Management
DDM (distributed device management)
Less cost
59
BEFORE
AFTER
VRRP
No VRRP Required
Active / Standby
60
After IRF
Network
simplicity
Maximum
devices in IRF
domain
IRF link
capacity
Max Physical
Ports (2 IRF
ports)
Geographic
Connection
2 (4 future)
16
Yes
12500 / 12500E
24
Yes
11900
16
Yes
10500
16
Yes
7900
2 (4 future)
40GE
16
Yes
4 (2)
16
Yes
5930
40GE
Yes
5920
10GE
16
Yes
5900
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
7500 (7510)
61
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
64
12 Physical Devices
Routing/MPLS AREA
6 logic nodes
RIP
Master
Slave
UNIT2
Routing protocol
Routing protocol
Routing table
Routing table
FIB
FIB
ASIC
ASIC
Information
Bacup
Slave
OSPF backup & GR NSF
69
UNIT1
Distributed
routing
protocol
FIB sync
Local h/w
L3 table
IRF failure
70
Scenario
Failover time
2 ms/0.7 ms
2 ms/1 ms
2 ms/0.14 ms
2 ms
CB
Core
Core
PE
Edge Edge
Edge Edge
Edge Edge
Edge Edge
10G Servers
10G Servers
1G Servers
1G Servers
Configuracin
72
IRF
1.
2.
3.
4.
73
75
then, power on
quit
76
quit
save
irf-port-configuration active
77
quit
78
quit
save
irf-port-configuration active
79
80
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
81
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
83
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
83
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
84
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
87
Copyright 2012 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
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
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
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.
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
94
95
interface GigabitEthernet1/0/24
port link-aggregation group 2
quit
96
97
98
Split
99
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
Switch
[HP]
[HP] interface gigabitethernet 1/3/0/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
Master
Slave
Slave
Switch
MAD
[HP-Vlan-interface3] quit
Master
102
MAD
Master
Slave
Slave
Mejores prcticas
103
Best practices
1.
6.
2.
3.
7.
4.
8.
5.
104
Thank you
105
2.4.
STP
106
107
STP
RSTP
MSTP
BPDU
Port states
Port roles
109
110
116
117
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
118
Enable STP
Set STP mode to RSTP
[sw99a]
[sw99a]save
[sw99a]
Statistics
[sw99a]display stp
:32768.0023-893c-3d9b
Bridge Times
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
:0 days 0h:1m:22s
119
Root Bridge ID
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
Root Bridge ID
32768.0023-893c-3ac2
[sw99b]
[sw99b]display stp
-------[CIST Global Info][Mode RSTP]-------
CIST Bridge
:32768.0023-893c-3ac2
Bridge Times
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
:0 days 0h:4m:8s
121
[sw99a]stp priority ?
INTEGER<0-61440>
[sw99a]stp priority 0
[sw99a]
[sw99a]stp root primary
[sw99a]stp root secondary
In STP/RSTP
[sw99a]
[sw99a]stp instance 1 root primary
In MSTP
dot1t
legacy
Legacy standard
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>
[sw99a-GigabitEthernet2/0/1]quit
[sw99a]
123
Taller RSTP
Proceso:
1. Definir prioridades.
2. Aplicar costos a interfaces.
sw10ya
192.168.10y.1 / 24
sw10yb
192.168.10y.2 / 24
124
sw10xb
192.168.10x.2 / 24