Application of Mc-lag and RTG in data center network

Source: Internet
Author: User
Tags switches

Two sets of juniper data cores to prevent loop occurrence by configuring Mc-lag

I. BACKGROUND

There are two sets of data core switches deployed in two different network rooms, the current state is a single-mode fiber three-layer network interconnection, but the business unit put forward a new network requirements, to build three network segments, gateway to enable the core switch in a-block room, C block room also to use these three network segments, fortunately in the same park, Can be deployed two single-mode fiber, through a two-layer network to achieve, if two rooms in a remote place can only be achieved through the VPLS way.

Second, network topology

650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/83/F4/wKioL1eBppGwz7SwAAzLGDrV4Uw775.jpg-wh_500x0-wm_3 -wmp_4-s_4030168829.jpg "title=" Interconnection conferencing system network topology. jpg "alt=" wkiol1ebppgwz7swaazlgdrv4uw775.jpg-wh_50 "/>


The A-block core switch is the core switch of the two Juniper EX9200 series, which consists of the vrrp,c core of the two Juniper


EX9200 series of core switches composed of VRRP, the newly added three network segments of the gateway configuration on the A-block core, if not configured Mc-lag, four cores formed a loop, through the configuration Mc-lag, to implement the anti-ring mechanism. on The aggregation layer, two core switches are connected to each other, and there is also a loop, where you can use Juniper's own anti-ring configuration RTG instead of spanning tree protocol. RTG is easier to use than Mc-lag, but can only be used when one end is a single device, so the RTG configuration cannot be used for anti-ring between the two sets of cores.

Third, the configuration

1, on the A core switch

(1) on the host

Set VLANs vlan452 Vlan-id 452

Set VLANs vlan452 L3-interface irb.452

Set VLANs vlan452 description "Xinxifabu-vlan"

Set interfaces IRB unit 452 Family inet Address X.x.152.60/26

Set interfaces IRB unit 452 Family inet address X.x.152.60/26 Vrrp-group, virtual-address x.x.152.62

Set interfaces IRB unit 452 Family inet address X.X.152.60/26 Vrrp-group 150

Set interfaces IRB unit 452 Family inet address X.x.152.60/26 Vrrp-group

Set interfaces IRB unit 452 Family inet address X.x.152.60/26 Vrrp-group

Set VLANs vlan652 Vlan-id 652

Set VLANs vlan652 L3-interface irb.652

Set VLANs vlan652 description "Hulianhutong-vlan"

Set interfaces IRB unit 652 Family inet address X.x.152.92/27 Vrrp-group-virtual-address x.x.152.94

Set interfaces IRB unit 652 Family inet address X.x.152.92/27 Vrrp-group 150 priority

Set interfaces IRB unit 652 Family inet address X.x.152.92/27 Vrrp-group-preempt

Set interfaces IRB unit 652 Family inet address X.x.152.92/27 Vrrp-group-Accept-data

Set VLANs vlan752 Vlan-id 752

Set VLANs vlan752 L3-interface irb.752

Set VLANs vlan752 description "Lubo-vlan"

Set interfaces IRB Unit 752 Family inet address X.X.152.252/25 Vrrp-group + virtual-address x.x.152.254

Set interfaces IRB Unit 752 Family inet address X.X.152.252/25 Vrrp-group 150

Set interfaces IRB Unit 752 Family inet address X.X.152.252/25 Vrrp-group-preempt

Set interfaces IRB Unit 752 Family inet address X.X.152.252/25 Vrrp-group-Accept-data


Set Protocols ICCP Peer x.x.x.18 redundancy-group-id-list 4//point to a set of prepared cores

Set Interfaces GE-3/0/9 ether-options 802.3ad ae4

Set interfaces GE-3/0/9 description "to XXX-EX92XX-1_GE-5/0/9"//point to the main core of Group C

Set Interfaces Ae4 vlan-tagging

Set interfaces ae4 Unit 0 family ethernet-switching Interface-mode Trunk

Set interfaces ae4 Unit 0 family ethernet-switching VLAN members 452//Newly added three network segments

Set interfaces ae4 Unit 0 family ethernet-switching VLAN members 652

Set interfaces ae4 Unit 0 family ethernet-switching VLAN Members 752

Set interfaces Ae4 description "to Xxx-ex92xx-1-ae1"

Set Interfaces Ae4 aggregated-ether-options LACP Active

Set interfaces Ae4 aggregated-ether-options LACP periodic fast

Set Interfaces ae4 aggregated-ether-options LACP System-id 00:01:02:03:04:07

Set Interfaces Ae4 aggregated-ether-options LACP Admin-key 4

Set Interfaces Ae4 aggregated-ether-options mc-ae Mc-ae-id 4

Set Interfaces Ae4 aggregated-ether-options mc-ae Redundancy-group 4

Set Interfaces ae4 aggregated-ether-options mc-ae Chassis-id 0

Set interfaces Ae4 aggregated-ether-options mc-ae mode Active-standby

Set Interfaces Ae4 aggregated-ether-options Mc-ae Status-control Active

Set Interfaces ae4 aggregated-ether-options mc-ae Switchover-mode revertive

(2) on the standby machine

Set VLANs vlan452 Vlan-id 452

Set VLANs vlan452 L3-interface irb.452

Set VLANs vlan452 description "Xinxifabu-vlan"

Set interfaces IRB unit 452 Family inet address X.x.152.61/26 Vrrp-group, virtual-address x.x.152.62

Set interfaces IRB unit 452 Family inet address X.X.152.61/26 Vrrp-group 100

Set interfaces IRB unit 452 Family inet address X.x.152.61/26 Vrrp-group


Set VLANs vlan652 Vlan-id 652

Set VLANs vlan652 L3-interface irb.652

Set VLANs vlan652 description "Hulianhutong-vlan"

Set interfaces IRB unit 652 Family inet address X.x.152.93/27 Vrrp-group-virtual-address x.x.152.94

Set interfaces IRB unit 652 Family inet address X.X.152.93/27 Vrrp-group 100 priority

Set interfaces IRB unit 652 Family inet address X.x.152.93/27 Vrrp-group-Accept-data


Set VLANs vlan752 Vlan-id 752

Set VLANs vlan752 L3-interface irb.752

Set VLANs vlan752 description "Lubo-vlan"

Set interfaces IRB Unit 752 Family inet address X.X.152.253/25

Set interfaces IRB Unit 752 Family inet address X.X.152.253/25 Vrrp-group + virtual-address x.x.152.254

Set interfaces IRB Unit 752 Family inet address X.X.152.253/25 Vrrp-group 100

Set interfaces IRB Unit 752 Family inet address X.X.152.253/25 Vrrp-group-Accept-data


Set Protocols ICCP Peer x.x.x.17 redundancy-group-id-list 4//point to the main core of Group A


Set interfaces GE-3/0/9 description "to XX-C-X-EX92XX-2_GE-5/0/9"//point to the core of group C

Set Interfaces GE-3/0/9 ether-options 802.3ad ae4

Set interfaces Ae4 description "to Xx-c-ex92xx-2-ae1"

Set Interfaces Ae4 vlan-tagging

Set interfaces ae4 Unit 0 family ethernet-switching Interface-mode Trunk

Set interfaces ae4 Unit 0 family ethernet-switching VLAN members 452

Set interfaces ae4 Unit 0 family ethernet-switching VLAN members 652

Set interfaces ae4 Unit 0 family ethernet-switching VLAN Members 752

Set Interfaces Ae4 aggregated-ether-options LACP Active

Set interfaces Ae4 aggregated-ether-options LACP periodic fast

Set Interfaces ae4 aggregated-ether-options LACP System-id 00:01:02:03:04:07

Set Interfaces Ae4 aggregated-ether-options LACP Admin-key 4

Set Interfaces Ae4 aggregated-ether-options mc-ae Mc-ae-id 4

Set Interfaces Ae4 aggregated-ether-options mc-ae Redundancy-group 4

Set Interfaces Ae4 aggregated-ether-options mc-ae Chassis-id 1

Set interfaces Ae4 aggregated-ether-options mc-ae mode Active-standby

Set Interfaces Ae4 aggregated-ether-options Mc-ae Status-control Standby


2, on the C core switch

Set Interfaces AE1 vlan-tagging

Set Interfaces AE1 aggregated-ether-options LACP Active

Set interfaces AE1 aggregated-ether-options LACP periodic fast


3, on the aggregation layer

Set ethernet-switching-options redundant-trunk-group group RTG-1 Interface ge-0/1/0.0 Primary

Set ethernet-switching-options redundant-trunk-group group RTG-1 interface ge-0/1/1.0

Set Ethernet-switching-options Storm-control interface All



This article from "Liu Fei Blog Space" blog, declined reprint!

Application of Mc-lag and RTG in data center network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.