HighAvailability Slide
HighAvailability Slide
Resources
User Community
Decrease downtime
Resources
User Community
Note: Feature support varies by product; check the product-specific documentation for support details
What Is It?
Switch-1 Switch-2
ge-0/0/12
ge-0/0/13
Aggregation
Access
Switch-1 Switch-2
ge-0/0/12
ge-0/0/13
Aggregation
Access
Switch-1 Switch-2
ge-0/0/1
…
…
…
ae0 ge-0/0/5 ae0
ge-0/0/10
…
…
ge-0/0/13
Control traffic
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
Aggregation
Access
ae0 Passive
Note: At least one device must be configured for
active mode for the link to become operational.
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
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
edit interface ae0 aggregated-ether-options lacp
{master:0}[edit interfaces]
user@Switch-1# commit
Set periodic fast | slow (1s or 30s)
configuration check succeedscommit complete when active and passive interface have different rate, the
reciever will be preferred
{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
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
{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
What Is It?
Switch-1 Switch-2
ge-0/0/1
RSTP
ge-0/0/2
Aggregation
Access
RTG
Switch-1 Switch-2
ge-0/0/1
RSTP
ge-0/0/2
Aggregation
Access
Active Link Backup Link
Only Data traffic is blocked. Control traffic such as LLDP, LACP still can run
RTG
Switch-3
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 only a single path is
available toward the aggregation switches
•Ensure Switch-3 forwards user traffic out ae0.0 whenever it
is operational
Switch-1 Switch-2
Aggregation
Access
Switch-3
{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
Switch-1 Switch-2
Aggregation
ae0.0 is selected as the primary Access
interface for the rtg-1 RTG group
Switch-3
What Is It?
Up to 10 switches can
10 RU
be interconnected Junos
LC
RE 0
LC
LC
RE 1
LC
LC
LC
LC
LC
Junos
Location 1 Location 2
LC LC
RE 0 RE 1
LC LC
LC LC
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.
Recommended RE Placement (1 of 2)
RE placement recommendations:
•Ensure spatial redundancy and avoid split VC 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
Recommended RE Placement (2 of 2)
Dedicated Virtual
GbE or 10 GbE extended Virtual Chassis ports
Chassis ports
Location 1 Location 2
RE 0 RE 1
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 3
determination steps
5. Second member in election decision tree becomes
backup switch; all other members are line cards
Member ID: 1 LC
Member ID: 2 RE 1
Member ID: 3 LC
Member ID: 0 RE 0
Member ID: 1 LC
Member ID: 2 RE 1
Member ID: 3 LC
Management Connectivity (1 of 2)
Management Connectivity (2 of 2)
RE 0
LC
RE 1
LC
Console ports
Software Upgrades
Topology Discovery (1 of 3)
PFEs a b c d e f g h i
Topology Discovery (2 of 3)
d e f g h i b c
a b c d
a e
i f
h g
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
ge-3/0/14
3
priority 255
Linecard
2. Add desired backup switch: 2
• Connect to master switch using VC
Linecard
cable, power up desired backup
switch, switch is elected as backup 3
and dynamically assigned member Linecard
ID 1, assign mastership priority 254 4
{master:0}[edit virtual-chassis]
user@Switch-1# set member <member-id> mastership-priority <priority>
{master:0}[edit virtual-chassis]
user@Switch-1# set member <member-id> mastership-priority <priority>
Note: You should power on the switch designated as RE0 first, create and activate
the desired preprovisioned configuration, and then add the remaining switches.
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
{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 Down 32000
{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 Down 32000
{master:0}
user@Switch-1> show virtual-chassis status