MPLS Lab Guide Version 1.0

7 7 0
MPLS Lab Guide Version 1.0

Đang tải... (xem toàn văn)

Thông tin tài liệu

Lab 2-1: Thiết lập môi trường định tuyến IGP của Service Provider... Example:[r]

(1)

MPLS Lab Guide

Version 1.0

(MPLS - Multiprotocol Label Switching)

(2)

Mục lục

Outline: Lab guide MPLS bao gồm những lab sau:

* Lab 2-1: Thiết lập môi trường định tuyến IGP của Service Provider * Lab 3-1: Thiết lập môi trường mạng lõi (core) MPLS

* Lab 5-1: Cấu hình MPLS VPN

* Lab 5-2: Định tuyến EIGRP giữa router PE router CE * Lab 5-3: Định tuyến OSPF giữa router PE router CE * Lab 5-4: Định tuyến BGP giữa router PE router CE * Lab 6-1: VPNs overlapping

* Lab 6-2: Hợp nhất Service Provider * Lab 6-3: Các dịch vụ VPN chung

* Lab 7-1: Tách Interface cho kết nối Internet * Lab 7-2: Nhiều Site truy cập Internet

(3)

I Lab 2-1: Thiết lập môi trường định tuyến IGP Service Provider

1 Phạm vi hoạt động đối tượng:

- Trong phạm vi hoạt động lab này, bạn dùng nhiệm vụ câu lệnh cần thiết để triển khai IGP Service Provider môi trường định tuyến Sau hồn thành lab này, bạn có khả thực công việc sau:

- Kiểm tra sơ đồ địa IP, Data-link connection Identifier (DLCI), trạng thái Interface Service Provider

- Enable IGP Service Provider cấu hình địa IP Quy ước tên router:

- P (Provider): Px1 Px2 router Core thuộc mạng nhà cung cấp dịch vụ

- PE (Provider Edge): PEx1 PEx2 router biên kết nối từ nhà cung cấp dịch vụđến mạng khách hàng

- CE (Customer Edge): CEx1A CEx2A, CEx1B CEx2B router khách hàng Sơđồđịa IP MPLS Lab:

- Địa IP router thực thi cách sử dụng bảng địa IP Chú ý x số pod

- Bảng chi tiết địa IP Router:

Parameter Value

(4)

Cex1A (E0/0) 10.1.x1.17/28 Cex2A (S0/0.101) 150.x.x2.17/28 Cex2A (loopback0) 10.1.x2.49/32

Cex2A (E0/0) 10.1.x2.17/28

Cex1B (S0/0.102) 150.x.x1.33/28 Cex1B (loopback0) 10.2.x1.49/32

Cex1B (E0/0) 10.2.x1.17/28

Cex2B (S0/0.102) 150.x.x2.33/28 Cex2b (loopback0) 10.2.x2.49/32

Cex2B (E0/0) 10.2.x2.17/28

Pex1 (S0/0.101) 150.x.x1.18/28 Pex1 (S0/0.102) 150.x.x1.34/28 Pex1 (loopback0) 192.168.x.17/32 Pex1 (S0/0.111) 192.168.x.49/28 Pex2 (S0/0.101) 150.x.x2.18/28 Pex2 (S0/0.102) 150.x.x2.34/28 Pex2 (loopback0) 192.168.x.33/32 Pex2 (S0/0.111) 192.168.x.65/28 Px1 (S0/0.111) 192.168.x.50/28 Px1 (S0/0.112) 192.168.x.113/28 Px2 (S0/0.111) 192.168.x.66/28 Px2 (S0/0.112) 192.168.x.114/28 Tài liệu cần thiết:

- Tài liệu cần thiết để hoàn thành lab là: Cisco IOS documentation Danh sách câu lệnh:

- Bảng mô tả câu lệnh sử dụng lab này:

Command Mô tả

Network network-number [network-mask]

No network network-number

(5)

[network-mask] xóa bỏ mạng đó, dùng từ khóa no

trước câu lệnh network Router eigrp as-number

No router eigrp as-number

Để cấu hình giao thức định tuyến EIGRP, sử

dụng câu lệnh router eigrp ở chế độ global configuration Để shutdown EIGRP hoạt động router, sử dụng từ khóa no trước câu lệnh

Interface serial [slot/port]

subinterface point-to-point

Để định nghĩa subinterface logical Point-to-Point cho interface vật lý

Encapsulation frame-relay Enable giao thức Frame Relay chếđộ cấu hình interface

Frame-relay interface-dlci dlci Chỉ giá trị DLCI liên kết với kết nối point-to-point

Show frame-relay pvc Để thị thông tin trạng thái PVC Interface cấu hình Frame Relay

Show interface serial [slot/port] Để hiển thị thông tin serial interface, sử

dụng câu lệnh show interfaces serial ở chế độ Privileged EXEC Nếu sử dụng Frame Relay Encapsution, dùng câu lệnh show interface serial ở chế độ EXEC thị

những thông tin multicast DLCI, DLCI sử dụng interface, DLCI sử

dụng cho Local Management Interface (LMI)

Show ip protocols Để thị tham số trạng thái giao thức định tuyến cấu hình router

Show ip route Để thị trạng thái bảng định tuyến

5 Task 1: Cấu hình địa IP interface Service Provider

- Nhiệm vụ bạn cấu hình địa Layer Layer 3, để đảm bảo cấu hình interface cần thiết

a Các bước cần làm:

- Hồn thành bước sau cơng việc chuẩn bị cho sơ đồ kết nối MPLS logical sơ đồđịa IP Workgroup pod cấu hình router nằm group này:

- Step 1: Cấu hình địa IP giá trị DLCI tương ứng cho Interface router Service Provider P, subinterface, loopback

(6)

- Step 1: Trên router PE (Pex1 Pex2) hỗ trợ router CE (Cex2A Cex1B) nằm remote site bạn, gán interface (115) vào VRF

- Step 2: Xóa bỏ câu lệnh neighbor từ router nằm remote site chế độ global address family

- Step 3: Thêm câu lệnh neighbor router nằm mạng Remote site cho bảng VRF Internet

6b Kiểm tra

- Bạn kiểm tra đường Internet nhận router CE nằm Central Site

Example:

Cex2A# show ip route

XXIII – Lab 7-3 Answer Key: Kết nối Inernet mạng MPLS VPN 1 Task 1: Thiết lập kết nối cho Central Site truy cập Internet

- Cấu hình bước sau router PE: Pex1(config)# ip vrf internet

Pex1(config-vrf)# route-target both 100:600 Pex1(config)# interface s0/0.114

Pex1(config-subif)# ip vrf forwarding Internet

Pex1(config-subif)# ip address 150.x.x1.65 255.255.255.240 Pex1(config)# router bgp 65001

Pex1(config-router)# no nighbor 150.x.x1.66 remote-as 650x1 Pex1(config-router)# address-family ipv4 vrf Internet

Pex1(config-router-af)# neighbor 150.x.x1.66 remote 650x1 Pex1(config-router-af)# neighbor 150.x.x1.66 activate Pex2(config)# ip vrf internet

Pex2(config-vrf)# route-target both 100:600 Pex2(config)# interface s0/0.114

Pex2(config-subif)# ip vrf forwarding Internet

Pex2(config-subif)# ip address 150.x.x1.65 255.255.255.240 Pex2(config)# router bgp 65001

Pex2(config-router)# no nighbor 150.x.x1.66 remote-as 650x1 Pex2(config-router)# address-family ipv4 vrf Internet

Pex2(config-router-af)# neighbor 150.x.x1.66 remote 650x1 Pex2(config-router-af)# neighbor 150.x.x1.66 activate

(7)

Pex1(config-vrf)# interface s0/0.115 Pex1(config-subif)# ip vrf forward Internet

Pex1(config-subif)# ip address 150.x.x1.129 255.255.255.240 Pex1(config-subif)# router bgp 65001

Pex1(config-router)# no neighbor 150.x.x1.130 Pex1(config-router)# address-family ipv4 vrf Internet

Pex1(config-router-af)# neighbor 150.x.x1.130 remote 650x2 Pex1(config-router-af)# neighbor 150.x.x1.130 activate Pex2(config-vrf)# interface s0/0.115

Pex2(config-subif)# ip vrf forward Internet

Pex2(config-subif)# ip address 150.x.x1.129 255.255.255.240 Pex2(config-subif)# router bgp 65001

Pex2(config-router)# no neighbor 150.x.x1.130 Pex2(config-router)# address-family ipv4 vrf Internet

Pex2(config-router-af)# neighbor 150.x.x1.130 remote 650x1 Pex2(config-router-af)# neighbor 150.x.x1.130 activate

*****************************************

http://www.vnexperts.net

Ngày đăng: 10/03/2021, 13:53

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan