Khởi tạo kết nối WAN Trình bày : Chu Nguyễn Anh Tuấn © 2001, Cisco Systems, Inc Giới thiệu SIP,SSC,SPA SPA Serice Controller Share Port Adapter Service © 2001, Cisco Systems, Inc SPA Interface Processor Share Port Adapter network connection MPLS v1.0—10-2 Các bướ c cấu hình SPA E1 • Xác định loại card sử dụng • Kích hoạt giao diện controller • Kiểm tra cấu hình controller • Đặt địa IP cho giao diện • Kiểm tra cấu hình giao diện © 2001, Cisco Systems, Inc MPLS v1.0—10-3 SPA-8xCHT1/E1 © 2001, Cisco Systems, Inc MPLS v1.0—10-4 Xác đị nh loaị card sử dụng Lựa chọn kết nối T1 hay E1 Router# configure terminal Router(config)# card type {e1 | t1} slot subslot Trong : T1= 23B + D E1= 30B + D B=D= 64kbps © 2001, Cisco Systems, Inc MPLS v1.0—10-5 Kích hoạt giao diện Controller Xác định interface kết nối Router(config)# controller {t1 | e1} slot/subslot/port Định đếm Router(config-controller)# clock source {internal |line} internal : sử dụng đếm internal line : sử dụng đếm line (default) Nếu đầu set internal đầu line ngược lại © 2001, Cisco Systems, Inc MPLS v1.0—10-6 Kích hoạt giao diện Controller Định mã đường dây Router(config-controller)# linecode {ami |b8zs | hdb3} Trong : - ami : dùng cho T1 & E1 - b8zs : default T1 - hdb3 : default E1 © 2001, Cisco Systems, Inc MPLS v1.0—10-7 Kích hoạt giao diện Controller Xác định kiểu framing đường truyền Router(config-controller)# framing {sf |esf} cho T1 Router(config-controller)# framing {crc4 |no-crc4} cho E1 Trong : - esf mặc định đường T1 - crc4 mặc định đường E1 © 2001, Cisco Systems, Inc MPLS v1.0—10-8 Kích hoạt giao diện Controller Thiết lập nhóm kênh Router(config-controller)# channel-group t1 t1-number {timeslots range |unframed} [speed {56 | 64}] Trong : - t1 t1-number khoảng 1-28 với T1, 0-30 với E1 - timeslots : xác định số khe thời gian (số kênh) dùng channel-group 1-24 với T1, 1-31 với E1 - unframed : sử dụng tất khe thời gian - speed : định tốc độ kênh truyền, mặc định 64kpbs © 2001, Cisco Systems, Inc MPLS v1.0—10-9 Kích hoạt giao diện Controller Ví dụ : Router(config-controller)#channel-group timeslots 1-10 speed 56 Router(config-controller)#channel-group timeslot 11-20 Trên cổng E1 thiết lập nhiều channel-group khác Mỗi channel coi cổng Serial mặt logic © 2001, Cisco Systems, Inc MPLS v1.0—10-10 Xác đị nh cấu hình Controller Sử dụng câu lệnh Router#Show controller {T1|E1} slot/subslot/port Slot: khe cắm Router Subslot: khe cắm SIP Port: Cổng SPA © 2001, Cisco Systems, Inc MPLS v1.0—10-11 Xác đị nh cấu hình Controller Router(config)# show controllers t1 6/0/1 T1 6/0/1 is up Applique type is Channelized T1 Cablelength is long gain36 0db No alarms detected alarm-trigger is not set Framing is ESF, Line Code is B8ZS, Clock Source is Line Data in current interval (395 seconds elapsed): Line Code Violations, Path Code Violations Slip Secs, Fr Loss Secs, Line Err Secs, Degraded Mins Errored Secs, Bursty Err Secs, Severely Err Secs, Unavail Secs Total Data (last 24 hours) Line Code Violations, Path Code Violations, Slip Secs, Fr Loss Secs, Line Err Secs, Degraded Mins, Errored Secs, Bursty Err Secs, Severely Err Secs, Unavail Secs © 2001, Cisco Systems, Inc MPLS v1.0—10-12 Đặt địa IP Router(config)# interface serial slot/subslot/port:channel-group Router(config-if)# ip address address mask Router(config)# exit © 2001, Cisco Systems, Inc MPLS v1.0—10-13 Kiểm tra cấu hình giao diện Sử dụng câu lệnh Router#show interface serial slot/subslot/port:channel-group Slot : vị trí slot Router Subslot: subslot SIP Port : Port SSC Channel-group: Nhóm kênh © 2001, Cisco Systems, Inc MPLS v1.0—10-14 Kiểm tra cấu hình giao diện Router# show interfaces serial 6/0/0:0 Serial6/0/0:0 is down, line protocol is down Hardware is SPA-T1E1 MTU 1500 bytes, BW 1536 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation PPP, crc 32, loopback not set Keepalive set (10 sec) LCP Closed, multilink Closed Last input 1w0d, output 1w0d, output hang never Last clearing of "show interface" counters 6d23h Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) Available Bandwidth 1152 kilobits/sec 30 second input rate bits/sec, packets/sec 30 second output rate bits/sec, packets/sec packets input, bytes, no buffer Received broadcasts (0 IP multicast) runts, giants, throttles input errors, CRC, frame, overrun, ignored, abort packets output, bytes, underruns output errors, collisions, interface resets Timeslot(s) Used:1-24, subrate: 64Kb/s, transmit delay is flags © 2001, Cisco Systems, Inc MPLS v1.0—10-15 Cấu hình Multilink PPP - MLPPP cho phép nhóm nhiều kênh T1 hay E1, sử dụng kết hợp bandwidth kênh - MLPPP dùng card SPA hỗ trợ tối đa 12 link nhóm - MLPPP cho phép phân mảnh (fragment) gói tin truyền đồng thời kênh Có loại fragment 128, 256, 512 bytes © 2001, Cisco Systems, Inc MPLS v1.0—10-16 Tạo Multilink PPP Bundle Tạo Multilink Bundle Router(config)# interface multilink group-number Router(config-if)# ip address address mask © 2001, Cisco Systems, Inc MPLS v1.0—10-17 Gán interface vào Bundle Xác định cổng Router(config)# interface serial slot/subslot/port/t1-number:channel-group Cấu hình đóng gói PPP (Router(config-if)# encapsulation ppp Gán cổng vào bundle Router(config-if)# multilink-group group-number Kích hoạt multilink cổng Router(config-if)# ppp multilink © 2001, Cisco Systems, Inc MPLS v1.0—10-18 Cấu hình chuyển mã liệu (option) - Thực kênh truyền khơng có mã hóa mã đường dây (AMI, B8ZS, HDB3) - Thực chuyển mã interface câu lệnh invert © 2001, Cisco Systems, Inc MPLS v1.0—10-19 Cấu hình chuyển mã liệu ! Enter global configuration mode ! Router# configure terminal ! ! Specify the serial interface and enter interface configuration mode ! Router(config)# interface serial 5/1/3:0 ! ! Configure invert data ! Router(config-if)# invert data ! ! Exit interface configuration mode and return to global configuration mode ! Router(config-if)# exit ! ! Exit global configuration mode ! Router(config)# exit © 2001, Cisco Systems, Inc MPLS v1.0—10-20 WS-X6524-SFP © 2001, Cisco Systems, Inc MPLS v1.0—10-21 Cấu hình khởi tạo - Kích hoạt cổng dùng - Đặt địa IP phù hợp với địa TU, UB tương ứng - Đặt cổng vào VRF tương ứng với TU, UB © 2001, Cisco Systems, Inc MPLS v1.0—10-22 © 1999, Cisco Systems, Inc www.cisco.com Chapter#-23 ... 2001, Cisco Systems, Inc MPLS v1.0—10-4 Xác đị nh loaị card sử dụng Lựa chọn kết nối T1 hay E1 Router# configure terminal Router(config)# card type {e1 | t1} slot subslot Trong : T1= 23B + D E1=... Share Port Adapter network connection MPLS v1.0—10-2 Các bướ c cấu hình SPA E1 • Xác định loại card sử dụng • Kích hoạt giao diện controller • Kiểm tra cấu hình controller • Đặt địa IP cho giao... Router# show interfaces serial 6/0/0:0 Serial6/0/0:0 is down, line protocol is down Hardware is SPA -T1E1 MTU 1500 bytes, BW 1536 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255