Documente Academic
Documente Profesional
Documente Cultură
© 2011 Juniper Networks, Inc. All rights reserved. | www.juniper.net | Worldwide Education Services
Chapter Objectives
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-2
Agenda: High Availability
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-3
What Is High Availability?
Resources
User Community
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-4
High Availability Networks
Decrease downtime
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-6
High Availability Features
Resources
User Community
Note: Feature support varies by product; check the product-specific documentation for support details.
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-7
Agenda: High Availability
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-8
What Is It?
Switch-1 Switch-2
ge-0/0/12
ge-0/0/13
Aggregation
Access
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-9
Benefits of 802.3ad Link Aggregation
Switch-1 Switch-2
ge-0/0/12
ge-0/0/13
Aggregation
Access
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-10
Link Requirements and Considerations
Switch-1 Switch-2
ge-0/0/1
…
…
…
ae0 ge-0/0/5 ae0
ge-0/0/10
…
…
ge-0/0/13
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-11
Traffic Processing and Forwarding
Switch-1 Switch-2
ge-0/0/1
IP traffic
Traffic is shared across
ae0 ae0
all member links
Non-IP traffic
ge-0/0/13
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-12
Link Aggregation Control Protocol
Aggregation
Access
ae0 Passive
Note: At least one device must be configured for
active mode for the link to become operational.
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-13
Implementing LAGs (1 of 2)
{master:0}[edit chassis]
user@Switch-1# set aggregated-devices ethernet device-count 1
{master:0}[edit chassis]
user@Switch-1# commit
configuration check succeedscommit complete
{master:0}[edit chassis]
user@Switch-1# run show interfaces terse | match ae0
ae0 up down
Link state remains down until operational
member links are added to LAG
Switch-1 Switch-2
ge-0/0/12
ae0 ae0
ge-0/0/13
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-14
Implementing LAGs (2 of 2)
{master:0}[edit interfaces]
user@Switch-1# set ae0 aggregated-ether-options lacp active
{master:0}[edit interfaces]
user@Switch-1# set ge-0/0/12 ether-options 802.3ad ae0
{master:0}[edit interfaces]
user@Switch-1# set ge-0/0/13 ether-options 802.3ad ae0
{master:0}[edit interfaces]
user@Switch-1# commit
configuration check succeedscommit complete
{master:0}[edit interfaces]
user@Switch-1# run show interfaces terse | match ae0
ge-0/0/12.0 up up aenet --> ae0.0 Switch-1 Switch-2
ge-0/0/13.0 up up aenet --> ae0.0 ge-0/0/12
ae0 up up ae0 ae0
ae0.0 up up eth-switch ge-0/0/13
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-15
Monitoring LAGs
{master:0}
user@Switch-1> show interfaces extensive ae0.0 | find "LACP Statistics:"
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
ge-0/0/12.0 26 516 0 0
ge-0/0/13.0 25 519 0 0
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
ge-0/0/12.0 0 0 0 0
ge-0/0/13.0 0 0 0 0
Protocol eth-switch, Generation: 195, Route table: 0
Flags: None
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-16
Test Your Knowledge
{master:0}
lab@Switch-1> show interfaces extensive ae0.0 | find "LACP Statistics:"
LACP Statistics: LACP Rx LACP Tx Unknown Rx Illegal Rx
ge-0/0/12.0 0 224 0 0
ge-0/0/13.0 0 223 0 0
Marker Statistics: Marker Rx Resp Tx Unknown Rx Illegal Rx
ge-0/0/12.0 0 0 0 0
ge-0/0/13.0 0 0 0 0
Protocol eth-switch, Generation: 195, Route table: 0
Flags: None
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-17
Agenda: High Availability
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-18
What Is It?
Switch-1 Switch-2
ge-0/0/1
RSTP
ge-0/0/2
Aggregation
Access
RTG
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-19
How Does It Work?
Switch-1 Switch-2
ge-0/0/1
RSTP
ge-0/0/2
Aggregation
Access
Active Link Backup Link
RTG
Switch-3
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-20
Configuration Considerations
Switch-1 Switch-2
ge-0/0/1
RSTP
ge-0/0/2
Aggregation
Access
ge-0/0/8 ge-0/0/10
RTG
Switch-3 Switch-4 Switch-5
Objectives:
•Implement RTG on Switch-3 to ensure that only a single path
is available toward the aggregation switches
•Ensure that Switch-3 forwards user traffic out ae0.0
whenever it is operational
Switch-1 Switch-2
Aggregation
Access
Switch-3
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-22
Case Study: Configuring RTG
You configure RTG under the [edit ethernet-
switching-options] hierarchy:
{master:0}[edit ethernet-switching-options]
user@Switch-3# set redundant-trunk-group group rtg-1 interface ae0.0 primary
{master:0}[edit ethernet-switching-options]
user@Switch-3# set redundant-trunk-group group rtg-1 interface ge-0/0/10.0
{master:0}[edit ethernet-switching-options]
user@Switch-3# show Switch-1 Switch-2
redundant-trunk-group {
group rtg-1 {
interface ge-0/0/10.0;
interface ae0.0 { Aggregation
primary;
} Access
}
}
Interface marked as primary is
always active when operational Switch-3
Note: If primary knob is omitted, highest-numbered interface initially becomes active link but does not
preempt lower-numbered interfaces functioning as the active link in failure and recovery scenarios
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-23
Case Study: Monitoring RTG
Use show redundant-trunk-group to monitor
RTG operations:
{master:0}
user@Switch-3> show redundant-trunk-group
Group Interface State Time of last flap Flap
name count
Switch-1 Switch-2
Aggregation
ae0.0 is selected as the primary Access
interface for the rtg-1 RTG group
Switch-3
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-24
Lab 6: Implementing LAGs and RTG
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-25
Agenda: High Availability
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-26
What Is It?
Up to 10 switches can
10 RU
be interconnected Junos
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-27
Benefits of Virtual Chassis
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-29
Virtual Chassis Components
Location 1 Location 2
LC LC
RE 0 RE 1
LC LC
LC LC
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-31
Virtual Chassis Cabling Options (1 of 3)
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-32
Virtual Chassis Cabling Options (2 of 3)
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-33
Virtual Chassis Cabling Options (3 of 3)
This option is required when the circumference of a Virtual Chassis exceeds 22.5 meters.
This option is often used to interconnect wiring closets or data center racks or rows.
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-34
Recommended RE Placement (1 of 2)
RE placement recommendations:
•Ensure spatial redundancy and avoid split Virtual Chassis
issues and other failure conditions by evenly spacing the
master and backup REs (by hop) and by separating REs
from uplinks
RE 0 Uplink
Uplink RE 0
RE 1 RE 1
Uplink Uplink
Dedicated Virtual Chassis daisy-chained ring Dedicated Virtual Chassis braided ring
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-35
Recommended RE Placement (2 of 2)
Dedicated VCPs
Gigabit Ethernet or 10 GbE extended VCPs
Location 1 Location 2
RE 0 RE 1
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-36
Master and Backup Election
Mastership determination:
1. Member with the highest user-configured priority
• Priority range is 1–255, factory-default value is 128
2. Member previously functioning as master prior to reboot
3. Member with the longest standing uptime
• Difference must be greater than 1 minute
4. Member with the lowest MAC address
• Used as tie breaker if all is equal through the first three
determination steps
5. Second member in election decision tree becomes backup
switch; all other members are line cards
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-37
Member ID and Interface Names
Member ID: 0 RE 0
Member ID: 1 LC
Member ID: 2 RE 1
Member ID: 3 LC
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-38
Replacing a Member Switch
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-40
Think About It!
Member ID: 0 RE 0
Member ID: 1 LC
Member ID: 2 RE 1
Member ID: 3 LC
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-41
Management Connectivity (1 of 2)
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-42
Management Connectivity (2 of 2)
RE 0
LC
RE 1
LC
Console ports
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-43
Software Upgrades
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-44
Topology Discovery (1 of 3)
Virtual Chassis members use VCCP to create a loop-
free topology
•LSA-based discovery messages are exchanged between all
PFEs and build the member switch and PFE topology maps
•Each switch runs the shortest-path first (SPF) algorithm for
each PFE which creates PFE map tables between all PFEs
•Each PFE builds source ID egress filter tables used to
prevent broadcast and multicast packets from looping
Switch-1 Switch-2 Switch-3
PFEs a b c d e f g h i
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-45
Topology Discovery (2 of 3)
d e f g h i b c
a b c d
a e
i f
h g
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-46
Topology Discovery (3 of 3)
b c d e
b c d i h g f
a e
i f
h g
f e d c
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-47
Inter-Chassis Packet Flow
ge-3/0/14
3
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-48
Agenda: High Availability
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-49
Virtual Chassis Configuration
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-50
Dynamic Configuration Process (1 of 2)
priority 255
Linecard
2. Add desired backup switch: 2
• Connect to master switch using
Linecard
Virtual Chassis cable, power up
desired backup switch, switch is 3
elected as backup and dynamically Linecard
assigned member ID 1, assign 4
mastership priority 255
{master:0}[edit virtual-chassis]
user@Switch-1# set member <member-id> mastership-priority <priority>
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-52
Dynamic Configuration Process (2 of 2)
{master:0}[edit virtual-chassis]
user@Switch-1# set member <member-id> mastership-priority <priority>
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-53
Preprovisioned Configuration Example
{master:0}[edit virtual-chassis]
user@Switch-1# show
Note when preprovisioned option is used, you do not specify a
preprovisioned;
member 0 { mastership priority but rather only assign the role to a given device.
role routing-engine;
serial-number BM0208105168;
}
member 1 {
role line-card;
serial-number BM0208124111;
}
member 2 { Member ID: 0 RE 0
role routing-engine;
serial-number BM0208124231; Member ID: 1 LC
} RE 1
Member ID: 2
member 3 {
role line-card; Member ID: 3 LC
serial-number BM0208124333;
}
Note: You should power on the switch designated as RE0 first, create and activate
the desired preprovisioned configuration, and then add the remaining switches.
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-54
Monitoring Virtual Chassis Operations
Use the show virtual-chassis commands to
monitor Virtual Chassis operations:
{master:0}
user@Switch-1> show virtual-chassis ?
Possible completions:
<[Enter]> Execute this command
active-topology Virtual Chassis active topology
device-topology PFE device topology
fast-failover Fast failover status
login
protocol Show Virtual Chassis protocol information
status Virtual Chassis information
vc-path Show virtual-chassis packet path
vc-port Virtual Chassis port information
| Pipe through a command
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-55
Verifying Virtual Chassis Port State
Use show virtual-chassis vc-port to view
VCP state and details:
{master:0}
user@Switch-1> show virtual-chassis vc-port
fpc0:
--------------------------------------------------------------------------
Interface Type Trunk Status Speed Neighbor
or ID (mbps) ID Interface
PIC / Port
vcp-0 Dedicated 2 Up 32000 1 vcp-0
vcp-1 Dedicated 1 Up 32000 1 vcp-1
fpc1:
--------------------------------------------------------------------------
Interface Type Trunk Status Speed Neighbor
or ID (mbps) ID Interface
PIC / Port
vcp-0 Dedicated 2 Up 32000 0 vcp-0
vcp-1 Dedicated 1 Up 32000 0 vcp-1
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-56
Enabling and Disabling Virtual Chassis
Ports
Built-in VCPs (vcp-0/vcp-1) are enabled by default
•You can disable or re-enable VCPs in operational mode:
{master:0} VC
user@Switch-1> request virtual-chassis vc-port set interface vcp-0 disable
{master:0}
user@Switch-1> show virtual-chassis vc-port
fpc0:
--------------------------------------------------------------------------
Interface Type Trunk Status Speed Neighbor
or ID (mbps) ID Interface
PIC / Port
vcp-0 Dedicated 2 Disabled 32000
vcp-1 Dedicated 1 Up 32000 1 vcp-1
...
{master:0}
user@Switch-1> request virtual-chassis vc-port set interface vcp-0
{master:0}
user@Switch-1> show virtual-chassis vc-port
fpc0:
--------------------------------------------------------------------------
Interface Type Trunk Status Speed Neighbor
or ID (mbps) ID Interface
PIC / Port
vcp-0 Dedicated 2 Down 32000
vcp-1 Dedicated 1 Up 32000 1 vcp-1
...
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-57
Verifying Status Information
Use show virtual-chassis status to view
Virtual Chassis status information:
{master:0}
user@Switch-1> show configuration virtual-chassis
preprovisioned;
member 0 {
role routing-engine;
serial-number BM0208105168;
Member ID: 0 RE 0
}
member 1 { Member ID: 1 LC
role line-card;
serial-number BM0208124231;
}
{master:0}
user@Switch-1> show virtual-chassis status
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-59
Summary
In this chapter, we:
•Listed and described features that promote high availability
•Configured and monitored high availability features
•Described key concepts and components of a Virtual
Chassis
•Explained the operational details of a Virtual Chassis
•Implemented a Virtual Chassis and verified its operations
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-60
Review Questions
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-61
Lab 7: Virtual Chassis
© 2011 Juniper Networks, Inc. All rights reserved. Worldwide Education Services www.juniper.net | 7-62
Worldwide Education Services