Professional Documents
Culture Documents
Lab VPLS
Lab VPLS
www.ctin.vn
Mục đích
2
VFI
SW3560
ASR9K-02 ASR9K-03
2.2.2.2 .3 3.3.3.3
.2
VFI
VFI
Gi0/7/0/10 Te0/0/0/0 Te0/0/0/0 Gi0/7/0/10
23.0.0.0/24 VFI
VFI .2 .3 104/4
104/3 VFI VFI
Tester 2 EoMPLS .3 Tester 3
.2
.1 .1
104/1
Tester 1
www.ctin.vn April 2015
Các bước thực hiện E-LAN (IOS)
5
Chú ý: giá trị vc-id phải giống nhau trên tất cả các core router và agg router
Bước 4 : Trên mỗi core router, khởi tạo 1 interface VLAN và
xconnect tới VFI
(config)#vlan <vlan id>
(config)#int vlan <vlan id>
(config-int)#xconnect vfi <name>
(config-int)#no shut
www.ctin.vn April 2015
Cấu hình QoS cho E-LAN (IOS)
7
Bước 5: Cấu hình QoS cho dịch vụ. Cấu hình trên các agg router
- Enable QoS:
(config)#mls qos
- Tạo policy map để giới hạn tốc độ
(config)#policy-map <policy name>
(config-pmap)#class <class name>
(config-pmap-c)#police <cir>
Chú ý: Với chiều out trên linecard ES 20, phải sử dụng lệnh
(config-pmap-c)#shape average <cir>
- Áp dụng policy vào service instance
(config)#interface <interface-type slot/port>
(config-if)#service instance <id> ethernet
(config-if-srv)#service policy input <policy name>
(config-if-srv)#service policy output <policy name>
www.ctin.vn April 2015
Cấu hình bảo mật cho E-LAN (IOS)
8
Kiểm tra thông tin của kết nối EoMPLS trên router các Router
Show mpls l2 vc
Show mpls l2 vc <vc id> detail
Ping, traceroute để kiểm tra kết nối giữa các CPE
Kiểm tra bảng MAC
show mac-address-table vlan <vlan id>
Kiểm tra tổng số packet bị discard bởi storm control
Show interface <interface-type slot/port> storm-control
Kiểm tra thông tin giới hạn tốc độ:
Show policy-map interface <interface-type slot/port> service instance
Đo tốc độ Upload/download giữa 2 site
Câu lệnh Mô tả
encapsulation dot1q <vlan id> Định nghĩa kiêu đóng gói trên sub-interface
service instance <number> ethernet Định nghĩa service instance trên Access router
rewrite ingress tag pop 1 symmetric Đảm bảo bóc tách nhãn đối xứng ở 2 đầu PW
xconnect <router id> <vc id> encapsulation mpls Tạo ra kết nối EoMPLS giữa các site
l2vfi <name> <manual|automatic> Tạo VFI để chuyển tiếp lưu lượng trong kết nối multipoint
vpn id <number> Định nghĩa giá trị nhận dạng cho VFI
neighbor <router id> encapsulation mpls [no split-horizon] định nghĩa neighbor trong miền VFI
xconnect vfi <vfi name> kết nối tới VFI đã được định nghĩa
Câu lệnh Mô tả
mac access-group <ACL name> {in|out} Apply MAC access-list vào service instance
storm-control broadcast level 5.00 Apply broadcast storm control vào interface