Several key points in network implementation of a project

Source: Internet
Author: User

Project Background: a network project involves the transformation of the old network to the new network. Most newly added devices are the juniper ex series switches (involving high and low-end devices), which are integrated with the original CISCO Series switches.

1. New Core EX8208 master) connected to old core CISCO 6506, Network Architecture
 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02261U304-0.jpg "/>

EX8208 main) Ge-2/0/0 port interconnect with CISCO 6506 Gi4/1 port through optical jumper; from EX8208 main) refer to a default route to CISCO 6506, refer to another static route to EX8208 master in CISCO 6506 as needed ).
The following describes the key configurations of the two devices:
EX8208 master) Configuration:
Lab @ ex8208-master # show interfaces Co., ge-2/0/0
Unit 0 {
DescrIPtion "connect to ciscoft-6_gi4/1 ";
Family inet {
Address 172.16.0.1/30;
}
}
Lab @ ex8208-master # show routing-options
Static {
Route 0.0.0.0/0 next-hop 172.16.0.2;
}

Configuration on CISCO6506:
Cs_6506 # interface GigabitEthernet4/1
IP address 172.16.0.2 255.255.255.252

Cs_6506 # ip route 172.16.0.0 255.255.255.0.0 172.16.0.1

2. Four aggregation switches (EX4200) in the new network are connected to the core EX8208 and use the OSPF protocol to connect the core EX8208 master) and the four aggregation switches use the layer-3 dynamic routing protocol OSPF. The network architecture is as follows:

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02261Q538-1.jpg "/>

Core EX8208 master) configuration is as follows:
Lab @ ex8208-master # show interfaces
Ge-2/0/2 {
Unit 0 {
DescrIPtion "connect to a1_EX4200-24F_GE-0/0/23 ";
Family inet {
Address 10.2.20.5/30;
}
}
}
Ge-2/0/3 {
Unit 0 {
DescrIPtion "connect to a2_EX4200-24F_GE-0/0/23 ";
Family inet {
Address 10.2.20.9/30;
}
}
}
Ge-2/0/4 {
Unit 0 {
DescrIPtion "connect to a3_EX4200-24F_GE-0/0/23 ";
Family inet {
Address 10.2.20.13/30;
}
}
}
Ge-2/0/5 {
Unit 0 {
DescrIPtion "connect to a4_EX4200-24F_GE-0/0/23 ";
Family inet {
Address 10.2.20.17/30;
}
}
}

Lab @ ex8208-master # show protocols ospf
Export RED-STATIC;
Area 0.0.0.0 {
Interface ge-2/0/3.0 {
Interface-type p2p; // OSPF point-to-point
}
Interface ge-2/0/4.0 {
Interface-type p2p;
}
Interface ge-2/0/5.0 {
Interface-type p2p;
}
Interface lo0.1 {
Interface-type p2p; // manage IP addresses
}
Interface ge-2/0/2.0 {
Interface-type p2p;
}
}

Lab @ ex8208-master # run show ospf neighbor
Address Interface State ID Pri Dead
10.2.20.6 ge-2/0/2.0 Full 10.2.20.6 128 34
10.2.20.10 ge-2/0/3.0 Full 10.2.20.10 128 36
10.2.20.14 ge-2/0/4.0 Full 10.2.20.14 128 37
10.2.20.18 ge-2/0/5.0 Full 10.2.20.18 128 38

The configuration on one EX4200 is as follows:
Lab @ a2_EX4200-24F # show interfaces Co., ge-0/0/23
Unit 0 {
Family inet {
Address 10.2.20.10/30;
}
}

Lab @ a2_EX4200-24F # show protocols ospf
Area 0.0.0.0 {
Interface ge-0/0/23.0 {
Interface-type p2p;
}
Interface vlan.2 {
Interface-type p2p;
}
}
}

3. The office building aggregation switch EX4200 is connected to the two service switch LC-LC through the EX2200-48T Optical Fiber jumper, And the link is the trunk link;
The administrative building 1 is connected to the office building aggregation switch through fiber-optic 4-core optical fiber cables, two optical fiber jumpers of ST-LC; the link is a trunk link.
The switch of other buildings is connected to the office building service switch through a twisted pair wire, and the link is a trunk link.

 

650) this. width = 650; "border =" 0 "alt =" "src =" http://www.bkjia.com/uploads/allimg/131227/02261U5X-2.jpg "/>

The VLAN and VLAN communication and TRUNK settings on the EX2200 switch are as follows:

EX2200 # set vlans sales vlan-id 100 to set vlan id)
EX2200 # set vlans sales interface ge-0/0/0 (add Port to VLAN)
EX2200 # set vlans sales interface Co., ge-0/0/1
EX2200 # set vlans sales interface Co., ge-0/0/2
EX2200 # set vlans sales interface Co., ge-0/0/3
EX2200 # set vlans sales interface Co., ge-0/0/4
...... Other ports are configured in the same way.
EX2200 # set vlans sales interface Co., ge-0/0/23
EX2200 # set interface vlan unit 100 family inet 192.168.192.97/27 (Configuration Management address)
EX2200 # set vlans sales l3-interface vlan.100VLAN layer-3 Communication)

Note: If you need to divide all ports into the same VLAN, it will be very troublesome to operate a command or a command. Interface-range can be used in this case.

EX2200 # set interfaces interface-range RANGE member-range ge0/0/0 to ge0/0/0

Define an interface-range named RANGE and drag the interface ge0/0/0/0 to ge0/0/23 to this group.
Then, the RANGE is used as an interface and allocated to VLAN100.

EX2200 # set interfaces interface-range ALL unit 0 family ethernet-switching vlan members VLAN100

OK, so that all interfaces of ge0/0/0 to ge0/0/23 are added to VLAN100.

Next, let's look at the TRUNK port configuration on EX2200.

EX2200 # set interfaces ge-0/1/2 unit 0 family ethernet-switching port-mode trunk

EX2200 # set interfaces ge-0/1/2 unit 0 family ethernet-switching port-mode trunk vlan member all

Allow all VLANs to pass through the TRUNK port ge0/1/2

Well, through several key points of this project, I believe you will have some knowledge about the configuration and application of JUNIPER EX series switches (involving high and low-end switches) in the actual network, I hope it will help you.

This article is from the "dripping water and stone" blog and will not be reposted!

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.