Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 100 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
100
Dung lượng
10,03 MB
Nội dung
B GIO DC V O TO TRNG I HC BCH KHOA H NI o0o -CHU HONG V N Gii phỏp thit k v chuyn mng NGN VN2 High-level ti cụng ty VTN LUN VN THC S KHOA HC CHUYấN NGNH K THUT IN T VIN THễNG NGI HNG DN KHOA HC: TS NGUYN C MINH H NI - 2010 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội MC LC MC LC DANH SCH HèNH V DANH SCH BNG BIU DANH SCH CC T VIT TT LI NểI U CHNG I TNG QUAN V MNG TH H MI .2 1.1 Khỏi nim mng NGN 1.2 c im mng NGN .3 1.3 Cu trỳc chc nng ca mng NGN 1.3.1 Mụ hỡnh phõn lp chc nng ca mng NGN 1.3.2 Lp truyn dn v truy nhp 1.3.3 Lp truyn thụng .8 1.3.4 Lp iu khin 1.3.5 Lp ng dng 11 1.3.6 Lp qun lý 11 1.4 Cỏc thnh phn mng NGN 13 1.4.1 Cu trỳc vt lý mng NGN 13 1.4.2 Cỏc thnh phn mng v chc nng 14 CHNG II GII PHP MNG NGN 22 2.1 Cu trỳc mng Surpass 23 2.1.1 Chuyn mch th h sau 24 2.1.2 Truy nhp th h sau 26 2.1.3 Truyn ti th h sau 27 2.1.4 Mng qun lý th h sau .27 2.2 Trung k o 28 2.3 Giao thc BICC 31 2.4 Bỏo hiu 32 CHNG III THIT K MNG NGN VN2 VTN 33 Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội 3.1 Cu trỳc vt lý mng VN2 34 3.1.1 Cu trỳc mng 34 3.1.2 Cỏc loi cu hỡnh POP mng VN2 .35 3.1.3 Cu hỡnh ASBR .40 3.1.4 Cu hỡnh liờn kt logic ca mng VN2 41 3.2 Cu hỡnh liờn kt mng dch v VN2 .48 3.3 Chuyn mng VN2 .53 3.4 o kim quỏ trỡnh chuyn mng VN2 70 3.4.1 Mng o kim 70 3.4.2 o kim 70 KT LUN .89 TI LIU THAM KHO .90 Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội DANH SCH HèNH V Hỡnh 1.1 Mụ hỡnh mng NGN Hỡnh 1.2 Cu trỳc mng NGN (gúc mng) Hỡnh 1.3 Cu trỳc mng v dch v NGN (gúc dch v) Hỡnh 1.4 Cu trỳc logic mng NGN Hỡnh 1.5 Cỏc thnh phn ca Softswitch Hỡnh 1.6 Cu trỳc chuyn mch a giao thc 10 Hỡnh 1.7 Cỏc thc th chc nng mng NGN 12 Hỡnh 1.8 Cu trỳc vt lý mng NGN .14 Hỡnh 1.9 Cỏc thnh phn chớnh ca mng NGN 14 Hỡnh 1.10 Cu trỳc Media Gateway .15 Hỡnh 1.11 Cu trỳc Softswitch 17 Hỡnh 1.12 Cu trỳc Application Server 20 Hỡnh 2.1 Cu trỳc mng SURPASS .23 Hỡnh 2.2 Chc nng ca cỏc thit b SURPASS 23 Hỡnh 2.3 Chuyn mch th h sau 25 Hỡnh 2.4 Truy nhp th h sau 26 Hỡnh 2.5 Trung k o .28 Hỡnh 2.6 Mụ hỡnh cuc gi trung k o c bn 29 Hỡnh 2.7 Modem qua mng IP 30 Hỡnh 2.8 Truyn Fax qua IP 30 Hỡnh 2.9 Truyn d liu ISDN qua IP .30 Hỡnh 2.10 BICC .31 Hỡnh 2.11 BICC mụ hỡnh cuc gi phone to phone .32 Hỡnh 2.12 Bỏo hiu mng NGN .32 Hỡnh 3.1 Cu trỳc mng lừi VN2 .34 Hỡnh 3.2 Mng lừi VN2 xy s c gia hai VPLS 35 Hỡnh 3.3 POP A1 ti HNI, HCM .35 Hỡnh 3.4 POP A2 ti NAN, VTU, LAN, DNI, BDG .36 Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Hỡnh 3.5 POP A3 ti THA .36 Hỡnh 3.6 POP A4 ti HPG 36 Hỡnh 3.7 POP A6 ti HPG 37 Hỡnh 3.8 POP B1 ti LCU, HBH, LCI, HGG, TQG, YBI, CBG 37 Hỡnh 3.9 POP B2 ti LSN, BCN, PYN, BLU, NTN 37 Hỡnh 3.10 POP B3 ti TNN, VPC, HNM, NBH, QBH, QTI, KTM, VLG, STG, CMU 38 Hỡnh 3.11 POP B4 ti BGG, BNH, SLA, HYN, BDH, TVH, TGG, BPC 38 Hỡnh 3.12 POP B5 ti QNI, TBH 38 Hỡnh 3.13 POP C1 ti QNM, KGG, BTE, LDG 39 Hỡnh 3.14 POP C2 ti DLK 39 Hỡnh 3.15 POP C3 ti BTN, TNH 39 Hỡnh 3.16 POP C4 ti HTH, HDg, PTO, DTP ,AGG 39 Hỡnh 3.17 POP C5 ti NDH .40 Hỡnh 3.18 POP D cho mng di ng 40 Hỡnh 3.19 ASBR ti HNI, HCM 40 Hỡnh 3.20 ASRB ti DNG 41 Hỡnh 3.21 Kin trỳc nh tuyn logic mng VN2 41 Hỡnh 3.22 Kin trỳc Route Reflector .42 Hỡnh 3.23 Lung lu lng Internet qua mng VDC 44 Hỡnh 3.24 Cu trỳc liờn kt PIM 45 Hỡnh 3.25 Cu trỳc liờn kt RP Multicast 47 Hỡnh 3.26 Liờn kt dch v MPLS .48 Hỡnh 3.27 Dch v kờnh thuờ riờng o 49 Hỡnh 3.28 Cu hỡnh dch v VLL MAN, v VPLS IP Core 49 Hỡnh 3.29 Cu hỡnh dch v VLL MAN, v VPLS IP Core im n 50 Hỡnh 3.30 mVPLS gia MAN v IP Core .50 Hỡnh 3.31 Cu hỡnh dch v VPRM vi hai router PE 51 Hỡnh 3.32 Cu hỡnh dch v VPRM vi mt router PE 51 Hỡnh 3.33 Cu hỡnh dch v Internet tc cao 52 Hỡnh 3.34 nh tuyn multicast gia VN2 v MAN .52 Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Hỡnh 3.35 Bng thụng kt ni Internet 54 Hỡnh 3.36 Kt ni gia mng VN2 v mng VNN 55 Hỡnh 3.37 Thit lp AS cho mng VN2 56 Hỡnh 3.38 Cu hỡnh phiờn BGP n mng VNPT-G .56 Hỡnh 3.39 Cu hỡnh phiờn BGP n mng VNN .57 Hỡnh 3.40 nh tuyn lu lng Internet .58 Hỡnh 3.41 nh tuyn lu lng mng ni b 58 Hỡnh 3.42 nh tuyn lu lng t server RADIUS .58 Hỡnh 3.43 nh tuyn lu lng t mng ngang hng 59 Hỡnh 3.44 Cu hỡnh chn ng cho lu lng Internet .60 Hỡnh 3.45 Lu lng Internet qua ASBR 60 Hỡnh 3.46 Lu lng n mng ngang hng 63 Hỡnh 3.47 Lu lng t mng ngang hng 64 Hỡnh 3.48 Chuyn lu lng trờn Pure BRAS .64 Hỡnh 3.49 nh tuyn lu lng sau chuyn mng 65 Hỡnh 3.50 nh tuyn lu lng sau chuyn mng trờn BRAS/PE 66 Hỡnh 3.51 Cu hỡnh chuyn mng PHASE 1B 67 Hỡnh 3.52 Cu trỳc liờn kt y mng o kim 70 Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội DANH SCH CC T VIT TT AG AMP API ARJ ARQ AS AS ATM Autonomous System Bound Router Admission Confirm Address Complete Message Analog to Digital Adaptive Differential Pulse Code Modulation Access Gateway ATM Bridge Processor Application Program Interface Admission Reject Admission Request Application Server Autonomous System Asynchronous Transfer Mode BAPM BAPS BGP BICC BRAS Base Processor Master Base Processor Slave Border Gateway Protocol Bearer Independent Call Control Broadband Remote Access Server CAP CCG CDR CE CFS CIC CMY COT CP CPE Call Processor Central Clock Generator Call Detail Record Customer Edge Call Feature Server Circuit Identification Code Common Memory Continuity Test Coordination Processor Customer Premises Equipment ASBR ACF ASM AD ADPCM Chu Hong V Router biờn h t ng Xỏc nhn yờu cu truy nhp Bn tin hon tt a ch Tng t sang s iu xung mó vi sai thớch nghi Cng truy nhp B vi x lý bc cu ATM Th vin lp trỡnh ng dng T chi yờu cu truy nhp Yờu cu truy nhp Mỏy ch ng dng S AS Phng thc truyn khụng ng b B x lý c s ch B x lý c s t Giao thc cng biờn iu khin cuc gi c lp Mỏy ch truy cp t xa bng rng B x lý cuc gi B to ng h trung tõm Bn ghi chi tit cuc gi Router biờn phớa khỏch hng Mỏy ch c tớch cuc gi Mó nhn dng kờnh B nh chung Kim tra liờn tc B x lý chớnh Thit b phớa khỏch hng Lp TVT2 Luận văn thạc sỹ DLU DSP DTMF DNS DWDM FRR FS GE GSM GPRS HTTP IAM IGP IGMP IN IOP IP IPTV IRQ IRR ISDN ISP ISUP ITU-T LDP LAG LAN LDAP LSP Trờng Đại học Bách Khoa Hà Nội Digital Line Unit Giao din thuờ bao s Digital Signal Processors B x lý tớn hiu s Dual Tone Multi Frequency Tớn hiu mó a tn Domain Name System H thng tờn Dense Wavelength Division Ghộp kờnh phõn chia theo mt Multiplexing bc súng Fast Reroute Tỏi nh tuyn nhanh Feature Server Mỏy ch c tớnh Gigabit Ethernet Global System for Mobile H thng thụng tin di ng ton Communications cu General Packet Radio Service Chuyn mch gúi vụ tuyn Hypertext Transfer Protocol Giao thc truyn siờu bn Initial Address Message Bn tin a ch to Interior Gateway Protocol Giao thc cng ni Internet Group Management Protocol Giao thc qun lý nhúm Internet Intelligent Network Mng thụng minh Input/Output Processor B vi x lý vo/ Internet Protocol Giao thc internet Internet Protocol TV Truyn hỡnh qua Internet Information Request Yờu cu thụng tin Information Request Respond ỏp ng yờu cu thụng tin Intergrated Services Digital Network Mng s tớch hp a dch v Internet Service Provider Nh cung cp dch v Internet ISDN User Part Phn ngi s dng ISDN International Telecommunication Hip hi vin thụng quc t Union Telecommunication Label Distribution Protocol Giao thc phõn phi nhón Link Aggregation Group Nhúm hp liờn kt Local Area Network Mng ni b Lightweight Directory Access ProtocoGiao thc truy cp nhanh cỏc th mc dch v Layered Service Provider Cung cp dch v phõn lp Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội OSI OSPF Long Term Predictor Line Trunk Group Metropolitian Area Network Medium Access Control Message Buffer Type D Multipoint Controller Multipoint Communication System Multipoint Control Unit Media Gateway Controler Media Gateway Control Protocol Media Gateway Media Gateway Control Modem pool cards Multi-protocol Label Switch Media Server Multiservice Switching Forum Network Time Protocol Next Generation Network Network Layer Reachability Information Operation, Administration, Management Open System Interconnection Open Shortest Path First P PCM PDH PE PIM Provider router Pulse Code Modulation Plesiochronous Digital Hierarchy Provider Edge Router Protocol Independent Multicast LTP LTG MAN MAC MBD MC MCS MCU MGC MGCP MGW Megaco MoPC MPLS MS MSF NTP NGN NLRI OAM PIM-SSM PIM- Source Specific Multicast Packet Manager PM Chu Hong V B d oỏn di hn Nhúm trung k dõy Mng ụ th iu khin truy cp phng tin B m bn tin loi D B iu khin a im H thng thụng tin a im Khi iu khin a im B iu khin cng Giao thc iu khin cng Cng phng tin Giao thc iu khin cng Cỏc mch modem Chuyn mch nhón a giao thc Mỏy ch a phng tin Din n chuyn mch a dch v Giao thc thi gian mng Mng th h mi Thụng tin lp mng cú th n c Qun lý, qun tr, hnh Mụ hỡnh kt ni h thng m Giao thc m chn ng u tiờn ngn nht Router chuyn mch nhón iu xung mó Phõn cp s cn ng b Router cung cp biờn Tp giao thc nh tuyn multicast Giao thc PIM ngun xỏc nh Qun lý gúi Lp TVT2 Luận văn thạc sỹ POP PPP PBR PSTN PPCS POTS QoS RADIUS RPF RP RR RSVP RTP RTCP SGCP SIP SDH SGW SN SR SSNC STM STP SVC TG TCP TDM TNMS UDP Trờng Đại học Bách Khoa Hà Nội Point of Presence Point to Point Protocol Policy Base Routing Public Switched Telephone Network Prepaid Card Service Plain Old Telephone Service Quanlity of Service Remote Authentication Dial In User Service Reverse Path Forwarding im truy cp Giao thc kt ni im im nh tuyn da theo chớnh sỏch Mng in thoi cụng cng Dch v in thoi th tr trc Dch v thoi c bn Cht lng dch v Mỏy ch cung cp dch v quay s xỏc thc t xa Giao thc y trờn lung dnh sn Rendezvous Point im giao kt Route Reflector B phn x route Resource Reservation Protocol Giao thc gi trc ti nguyờn Realtime Transport Protocol Giao thc truyn thi gian thc Realtime Transport Control Protocol Giao thc iu khin thi gian thc Simple Gateway Control Protocol Giao thc iu khin cng n gi Session Initiation Protocol Giao thc to phiờn Synchronous Digital Hierachy Phõn cp s ng b Signalling Gateway Cng bỏo hiu Switching Network Mng chuyn mch Service Router Router dch v Signaling System Network Control iu khin mng bỏo hiu Synchronous Transfer Mode Phng thc truyn ng b Sort Term Predictor B d oỏn ngn hn Switched Virtual Circuit Kờnh chuyn mch o Trunking Gateway Cng trung k Transmission Control Protocol Giao thc iu khin truyn Time Division Multipled Ghộp kờnh theo thi gian Telecomunication Network H thng qun lý mng vin Management System thụng User Datagram Protocol Giao thc gúi d liu ngi dựng Chu Hong V Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Kim tra route tnh cú c phõn phi li vo BGP giao tip b ngt? Kt qu: OK, route c ngt BGP giao tip b ngt [ALU] HNI-PE1: - Plug out cable, then plug-in again link between HNI-PE1 and BRAS - Check BGP routes on HNI-ASBR1 BEFORE and AFTER cable cut BEFORE *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes: u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Flag Network LocalPref MED Nexthop VPNLabel As-Path u*>? 113.160.180.0/23 100 None 123.29.3.133 No As-Path ? 113.160.180.0/23 None None 123.29.11.2 7643 65000 Routes : =============================================================================== *A:HNI-ASBR1# AFTER *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== LocalPref MED Flag Network Nexthop VPNLabel As-Path -u*>? 113.160.180.0/23 100 None 123.29.3.134 No As-Path ? 113.160.180.0/23 None None 123.29.11.2 7643 65000 Routes : ============================================================================ === *A:HNI-ASBR1# Chu Hong V 75 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Kim tra route tnh cú c phõn phi li vo BGP giao tip c up? Kt qu Kt qu: OK, route c phõn phi li vo BGP [ALU] *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Flag Network LocalPref MED Nexthop VPNLabel As-Path u*>? 113.160.180.0/23 100 None 123.29.3.133 No As-Path ? 113.160.180.0/23 None None 123.29.11.2 7643 65000 Routes : =============================================================================== *A:HNI-ASBR1# Kim tra next-hop ca route tnh c phõn phi cú phi l vũng hi tip (loopback) v PE? Kt qu: OK, next-hop ca route tnh c t hi tip v PE [ALU] A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 detail =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Original Attributes Network : 113.160.180.0/23 Nexthop : 123.29.3.133 From : 123.29.3.136 Res Nexthop : 123.29.11.18 (LDP) Local Pref : 100 Interface Name : HNIASR01:HNINPR01:01 Aggregator AS : None Aggregator :None Atomic Aggr : Not Atomic MED :None Community : 65000:8999 65100:8021 Cluster : 3.3.3.3 Originator Id : 123.29.4.3 Peer Router Id : 123.29.3.136 Flags : Used Valid Best Incomplete AS-Path : No As-Path Chu Hong V 76 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Modified Attributes Network : 113.160.180.0/23 Nexthop : 123.29.3.133 From : 123.29.3.136 Res Nexthop : 123.29.11.18 (LDP) Local Pref : 100 Interface Name : HNIASR01:HNINPR01:01 Aggregator AS : None Aggregator :None Atomic Aggr : Not Atomic MED :None Community : 65000:8999 65100:8021 Cluster : 3.3.3.3 Originator Id : 123.29.4.3 Peer Router Id : 123.29.3.136 Flags : Used Valid Best Incomplete AS-Path : No As-Path Original Attributes Network Nexthop From Res Nexthop Local Pref G:01 Aggregator AS : : : : : : None Aggregator MED 65100:8021 Cluster Originator Id Flags AS-Path 113.160.180.0/23 123.29.11.2 123.29.11.2 123.29.11.2 n/a Interface Name : : None Atomic Aggr : None Community HNI-ASBR1:VNPT: Not Atomic : 65000:8999 : No Cluster Members : None Peer Router Id : 203.162.3.6 : Invalid Incomplete AS-Loop : 7643 65000 Modified Attributes Network Nexthop From Res Nexthop Local Pref G:01 Aggregator AS : : : : : 113.160.180.0/23 123.29.11.2 123.29.11.2 123.29.11.2 None : None Aggregator MED Interface Name : : None Atomic Aggr : None Community HNI-ASBR1:VNPT: Not Atomic : 65000:8999 65100:8021 Cluster : No Cluster Members Originator Id : None Peer Router Id : 203.162.3.6 Flags : Invalid Incomplete AS-Loop AS-Path : 7643 65000 Routes : =============================================================================== *A:HNI-ASBR1# 3.2.2.1.2 Kim tra thit lp community Thit lp hoc kim tra community ch v trớ ca router PE c phõn phi li t chi route tnh vo BGP Community ca router PE1 ti HCM l 65000:8021 Chu Hong V 77 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Kt qu: OK, cỏc community ó c thit lp ỳng [ALU] On HNI-PE1, create a community: *A:HNI-PE1>config>router>policy-options# community "double-comm" members "65000:8999" "65100:8021" policy-statement "Static_into_BGP" entry from protocol static prefix-list "BRAS-staticroutes" exit to protocol bgp exit action accept community add "double-comm next-hop-self exit exit default-action reject exit On HNI-ASBR1, check community on BGP routes received *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 detail =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Original Attributes Network : 113.160.180.0/23 Nexthop : 123.29.3.133 From : 123.29.3.136 Res Nexthop : 123.29.11.18 (LDP) Local Pref : 100 Interface Name : HNIASR01:HNINPR01:01 Aggregator AS : None Aggregator : None Atomic Aggr : Not Atomic MED : None Community : 65000:8999 65100:8021 Cluster : 3.3.3.3 Originator Id : 123.29.4.3 Peer Router Id : 123.29.3.136 Flags : Used Valid Best Incomplete AS-Path : No As-Path Modified Attributes Network : 113.160.180.0/23 Nexthop : 123.29.3.133 From : 123.29.3.136 Res Nexthop : 123.29.11.18 (LDP) Local Pref : 100 Interface Name : HNIASR01:HNINPR01:01 Aggregator AS : None Aggregator : None Atomic Aggr : Not Atomic MED : None Community : 65000:8999 65100:8021 Cluster : 3.3.3.3 Originator Id : 123.29.4.3 Peer Router Id : 123.29.3.136 Flags : Used Valid Best Incomplete AS-Path : No As-Path Chu Hong V 78 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Original Attributes Network Nexthop From Res Nexthop Local Pref Aggregator AS Atomic Aggr Community Cluster Originator Id Flags AS-Path : : : : : : None : : : 113.160.180.0/23 123.29.11.2 123.29.11.2 123.29.11.2 n/a Not Atomic 65000:8999 65100:8021 No Cluster Members Interface Name : HNI-ASBR1:VNPT-G:01 Aggregator : None MED : None : None Peer Router Id : 203.162.3.6 : Invalid Incomplete AS-Loop : 7643 65000 Modified Attributes Network Nexthop From Res Nexthop Local Pref Aggregator AS Cluster Originator Id Flags AS-Path : : : : : : None : : : : None : : 113.160.180.0/23 123.29.11.2 123.29.11.2 123.29.11.2 None Not Atomic 65000:8999 65100:8021 No Cluster Members Invalid Incomplete 7643 65000 Interface Name : HNI-ASBR1:VNPT-G:01 Aggregator : None Atomic Aggr MED : None Community Peer Router Id : 203.162.3.6 AS-Loop Routes : =============================================================================== *A:HNI-ASBR1# [JUNIPER] juniper@HNI-P1_RE0# run show route 113.160.180.0/23 detail logical-system RR inet.0: 543 destinations, 684 routes (543 active, holddown, hidden) 113.160.180.0/23 (2 entries, announced) *BGP Preference: 170/-101 Next hop type: Indirect Next-hop reference count: 42 Source: 123.29.3.133 Next hop type: Router, Next hop index: 790 Next hop: via so-2/1/3.0, selected Label operation: Push 299888 Protocol next hop: 123.29.3.133 Indirect next hop: 8cc62a0 1048574 State: Local AS: 65000 Peer AS: 65000 Age: 10:00 Metric2: Task: BGP_65000.123.29.3.133+62972 Announcement bits (3): 0-KRT 4-BGP RT Background 5-Resolve tree AS path: ? Communities: 65000:8999 65100:8021 Accepted Localpref: 100 Router ID: 123.29.4.3 BGP Preference: 170/-101 Next hop type: Indirect Next-hop reference count: 14 Source: 123.29.3.134 Next hop type: Router, Next hop index: 696 Next hop: via so-2/1/3.0, selected Label operation: Push 299936 Protocol next hop: 123.29.3.134 Indirect next hop: 8cc6498 1048577 Chu Hong V 79 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Age: 11:57 Metric2: Task: BGP_65000.123.29.3.134+179 AS path: ? Communities: 65000:8999 65100:8021 Accepted Localpref: 100 Router ID: 123.29.4.5 {master}[edit] juniper@HNI-P1_RE0# 3.2.2.1.3 Phõn phi route hi tip v BRAS t route tnh i n a ch IP hi tip ca BRAS Phõn phi route tnh hi tip v BRAS nh tuyn vo IS-IS trờn c hai PE Kim tra xem hi tip BRAS cú c phõn phi ỳng v IS-IS hay khụng Kt qu Kt qu: OK, cỏc route tnh c phõn phi v IS-IS [ALU] On HNI-PE1 add the static route: static-route 123.29.12.106/32 next-hop 123.29.11.58 On HNI-PE1 add the static route: static-route 123.29.12.106/32 next-hop 123.29.11.62 [ALU] A:HNI-ASBR1# show router route-table 123.29.12.106/32 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix Type Proto Age Pref Next Hop[Interface Name] Metric 123.29.12.106/32 Remote ISIS 00h09m06s 18 123.29.11.18 121 No of Routes: =============================================================================== *A:HNI-ASBR1# *A:HNI-ASBR2# show router route-table 123.29.12.106 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix Type Proto Age Pref Next Hop[Interface Name] Metric 123.29.12.106/32 Remote ISIS 00h01m01s 18 123.29.11.22 121 No of Routes: =============================================================================== *A:HNI-ASBR2# Result: OK 3.2.2.1.4 Thit lp next-hop Chu Hong V 80 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Thit lp next-hop n a ch IP hi tip phõn phi route vo BGP Kim tra next-hop cú c thit lp ỳng hay khụng? [ALU] policy-statement "Static_into_BGP" entry from protocol static prefix-list "BRAS-staticroutes" exit to protocol bgp exit action accept community add "double-comm" next-hop 123.29.12.106 exit exit default-action reject exit -*A:HNI-PE1>config>router>policy-options# Manually add FEC 123.29.12.106/32 to LDP: *A:HNI-PE1>config>router>ldp>fec-originate 123.29.12.106/32 next-hop 123.29.11.58 Result: OK [ALU] A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Flag Network LocalPref MED Nexthop VPNLabel As-Path u*>? 113.160.180.0/23 100 None 123.29.12.106 No As-Path ? 113.160.180.0/23 None None 123.29.11.2 7643 65000 Routes : =============================================================================== *A:HNI-ASBR1# Result: OK Kt qu kim tra: OK, cỏc route tnh c phõn phi li vi next hop l RR / ASBR Kim tra xem cỏc router cú nh tuyn n a ch IP hi tip qua cỏc ng khỏc hay khụng? Chu Hong V 81 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Kt qu: OK, ASBR1 v ASBR2 nh tuyn n BRAS qua cỏc ng khỏc [ALU] *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Flag Network LocalPref MED Nexthop VPNLabel As-Path u*>? 113.160.180.0/23 100 None 123.29.12.106 No As-Path ? 113.160.180.0/23 None None 123.29.11.2 7643 65000 Routes : =============================================================================== *A:HNI-ASBR1# *A:HNI-ASBR1# traceroute 113.160.180.0 traceroute to 113.160.180.0, 30 hops max, 40 byte packets 123.29.11.18 (123.29.11.18) 0.000 ms 0.000 ms 0.000 ms 123.29.11.34 (123.29.11.34) 0.000 ms 0.000 ms 0.000 ms 123.29.11.46 (123.29.11.46) 0.000 ms 0.000 ms 0.000 ms ò PE1 123.29.11.57 (123.29.11.57) 1430 ms !H 0.0.0.0 * * 0.0.0.0 * * * 123.29.11.57 (123.29.11.57) 970 ms !H 0.0.0.0 * * A:HNI-ASBR2# show router bgp routes 113.160.180.0/23 =============================================================================== BGP Router ID:123.29.4.8 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Flag Network LocalPref MED Nexthop VPNLabel As-Path u*>? 113.160.180.0/23 100 None 123.29.12.106 No As-Path ? 113.160.180.0/23 None None 123.29.11.6 7643 65000 Routes : =============================================================================== *A:HNI-ASBR2# *A:HNI-ASBR2# traceroute 113.160.180.0 traceroute to 113.160.180.0, 30 hops max, 40 byte packets 123.29.11.22 (123.29.11.22) 0.000 ms 40.0 ms 0.000 ms 123.29.11.38 (123.29.11.38) 0.000 ms 0.000 ms 0.000 ms 123.29.11.50 (123.29.11.50) 0.000 ms 0.000 ms 0.000 ms ò PE2 Chu Hong V 82 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội 0.0.0.0 * * * 0.0.0.0 * 123.29.11.61 (123.29.11.61) 0.0.0.0 * 0.0.0.0 * * 4490 ms !H Result: OK 3.2.2.2 BGP Attribute Manipulation Test Cu hỡnh hai ASBR qung bỏ cỏc tin t ca mng VN2 v cỏc route t BRAS n router VNPT-G Router VNPT-G qung bỏ cỏc route transit n hai router ASBR 3.2.2.2.1 Thờm community Thờm community vo VNPT-G qung bỏ cỏc route n router ny, giỏ tri community c thờm vo l 65000:2222 Kim tra xem community cú c thờm vo ỳng hay khụng? Kt qu: OK =============================================================================== *A:HNI-ASBR1# show router bgp routes 113.160.180.0/23 detail =============================================================================== BGP Router ID:123.29.4.7 AS:65000 Local AS:65000 =============================================================================== Legend Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best =============================================================================== BGP IPv4 Routes =============================================================================== Original Attributes Network : Nexthop : From : Res Nexthop : Local Pref : Aggregator AS : Atomic Aggr Community Cluster Originator Id : Flags AS-Path 113.160.180.0/23 123.29.12.106 123.29.3.136 123.29.11.18 (LDP) 100 Interface Name : HNIASR01:HNINPR01:01 None Aggregator : None : Not Atomic MED : 50 : 65000:8999 65100:8021 : 3.3.3.3 123.29.4.3 Peer Router Id : 123.29.3.136 : Used Valid Best Incomplete : No As-Path Modified Attributes Network : 113.160.180.0/23 Nexthop : 123.29.12.106 From : 123.29.3.136 Res Nexthop : 123.29.11.18 (LDP) Local Pref : 100 Interface Name : HNIASR01:HNINPR01:01 Aggregator AS : None Aggregator : None Atomic Aggr : Not Atomic MED : 50 Community : 65000:8999 65100:8021 Cluster : 3.3.3.3 Originator Id : 123.29.4.3 Peer Router Id : 123.29.3.136 Flags : Used Valid Best Incomplete AS-Path : No As-Path Chu Hong V 83 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Original Attributes Network : 113.160.180.0/23 Nexthop : 123.29.11.2 From : 123.29.11.2 Res Nexthop : 123.29.11.2 Local Pref : n/a Interface G:01 Aggregator AS : None Aggregator : None Atomic MED : None Community : 65000:8999 65100:8021 Cluster : No Cluster Members Originator Id Flags AS-Path Name : HNI-ASBR1:VNPT- Atomic Aggr : Not : None Peer Router Id : 203.162.3.6 : Invalid Incomplete Rejected AS-Loop : 7643 65000 Modified Attributes Network : 113.160.180.0/23 Nexthop : 123.29.11.2 From : 123.29.11.2 Res Nexthop : 123.29.11.2 Local Pref : None Interface Name : Aggregator AS : None Aggregator : Atomic Aggr : Not Atomic MED : Community : 65000:8999 65100:8021 Cluster : No Cluster Members Originator Id : None Peer Router Id : Flags : Invalid Incomplete Rejected AS-Loop AS-Path : 7643 65000 HNI-ASBR1:VNPT-G:01 None None 203.162.3.6 Routes : =============================================================================== *A:HNI-ASBR1# 3.2.2.3 Virtual Next Hop Test 3.2.2.3.1 Phõn phi route tnh vo IS-IS Cu hỡnh route tnh i n Virtual-Next-Hop, hop ny ch n a ch IP trờn giao tip ca VNPT-G trờn c hai ASBR Phõn phi li cỏc route tnh vo IS-IS Cu hỡnh cho IS-IS [ALU] *A:HNI-ASBR1>config>router# static-route 203.162.3.6/32 next-hop 123.29.11.2 policy-statement "static-to-isis" entry from protocol static exit to protocol isis exit Chu Hong V 84 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội action accept exit exit exit *A:HNI-ASBR2>config>router# static-route 203.162.3.6/32 next-hop 123.29.11.6 policy-statement "static-to-isis" entry from protocol static exit to protocol isis exit action accept exit exit exit Kim tra route tnh n VNH cú c phõn phi ỳng vo IS-IS hay khụng? Kt qu Kt qu mong i: Phõn phi route tnh chớnh xỏc Kt qu kim tra: OK [ALU] A:HNI-PE1# show router route-table 203.162.3.6/32 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix Type Proto Age Pref Next Hop[Interface Name] Metric 203.162.3.6/32 Remote ISIS 00h06m47s 18 123.29.11.45 121 No of Routes: =============================================================================== A:HNI-PE2# show router route-table 203.162.3.6/32 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix Type Proto Age Pref Next Hop[Interface Name] Metric 203.162.3.6/32 Remote ISIS 00h01m10s 18 123.29.11.49 121 No of Routes: =============================================================================== *A:HNI-PE2# Result: OK Chu Hong V 85 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội 3.2.2.3.2 Ngt route tnh Kim tra route tnh cú c phõn phi li cú b ngt IS-IS shutdown giao tip vi VNPT-G trờn VNPT-G khụng? Kt qu AFTER (shutdown next-hop interface on VNPT-G) VNPT-G(config)#interface 1/0/1 VNPT-G(config)#interface tenGigabitEthernet 1/0/1 VNPT-G(config-if)#shu VNPT-G(config-if)#shutdown VNPT-G(config-if)#exit VNPT-G(config)#exit VNPT-G#show bfd neighbors OurAddr 123.29.11.2 VNPT-G# NeighAddr 123.29.11.1 LD/RD 1/0 RH/RS Up Holddown(mult) (3 ) State Down Int Te1/0/1 [ALU] *A:HNI-ASBR1# show router bfd session =============================================================================== BFD Session =============================================================================== Interface State Tx Intvl Rx Intvl Mult Remote Address Protocol Tx Pkts Rx Pkts No Matching Entries Found =============================================================================== *A:HNI-ASBR1# A:HNI-ASBR1>config>router# /show router static-route =============================================================================== Static Route Table (Router: Base) Family: IPv4 =============================================================================== Prefix Tag Met Pref Type Act Next Hop Interface 203.162.3.6/32 NH N 123.29.11.2 n/a No of Static Routes: =============================================================================== *A:HNI-ASBR1>config>router# [ALU] Will be not redistruted *A:HNI-PE1# show router route-table 203.162.3.6 =============================================================================== Route Table (Router: Base) =============================================================================== Dest Prefix Type Proto Age Pref Next Hop[Interface Name] Metric 0.0.0.0/0 Remote ISIS 01h10m03s 18 123.29.11.45 111 No of Routes: =============================================================================== *A:HNI-PE1# Chu Hong V 86 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội 3.2.2.3.3 a VNH vo LDP VNH cn phi n c qua MPLS t bt k router PE v ASBR no, ú phi a VNH vo LDP - Kim tra VNH cú c a vo LDP chớnh xỏc hay khụng? Kim tra trờn PE [ALU] A:HNI-ASBR1>config>router>ldp# fec-originate 203.162.3.6/32 next-hop 123.29.11.2 A:HNI-ASBR2>config>router>ldp# fec-originate 203.162.3.6/32 next-hop 123.29.11.6 [ALU] A:HNI-PE1# show router ldp bindings =============================================================================== LDP LSR ID: 123.29.3.133 =============================================================================== Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn S - Status Signaled Up, D - Status Signaled Down E - Epipe Service, V - VPLS Service, M - Mirror Service A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service TLV - (Type, Length: Value) =============================================================================== LDP Prefix Bindings =============================================================================== Prefix Peer IngLbl EgrLbl EgrIntf/ EgrNextHop LspId 23.29.12.106/32 123.29.3.131 131024U 3/1/1:2 123.29.11.58 123.29.12.106/32 123.29.4.1 131024U 3/1/1:2 123.29.11.58 *A:HNI-PE2# show router ldp bindings =============================================================================== LDP LSR ID: 123.29.3.134 =============================================================================== Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn S - Status Signaled Up, D - Status Signaled Down E - Epipe Service, V - VPLS Service, M - Mirror Service A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service TLV - (Type, Length: Value) =============================================================================== LDP Prefix Bindings =============================================================================== Prefix Peer IngLbl EgrLbl EgrIntf/ EgrNextHop LspId 123.29.12.106/32 123.29.3.132 131024U 2/1/1:3 123.29.11.62 123.29.12.106/32 123.29.4.2 131024U 2/1/1:3 123.29.11.62 Kt qu kim tra: OK VNH c a vo LDP mt cỏch chớnh xỏc - Kim tra lung n VNH t cỏc PE v ASBR qua MPLS cú hot ng chớnh xỏc khụng? Kim tra trờn router PE v ASBR Chu Hong V 87 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội Kt qu Kt qu: OK, lung MPLS i qua c hai ASBR [ALU] HNI-PE1# oam lsp-trace prefix 203.162.3.6/32 detail lsp-trace to 203.162.3.6/32: hops min, hops max, 104 byte packets 123.29.3.131 rtt=20.9ms rc=8(DSRtrMatchLabel) DS 1: IfAddr 123.29.3.129 MRU=9192 label=3 proto=4(RSVP-TE) label=300800 proto=3(LDP) 123.29.3.129 rtt=20.4ms rc=8(DSRtrMatchLabel) DS 1: IfAddr 0.0.0.73 MRU=9192 label=131033 proto=3(LDP) 123.29.3.137 rtt=1.39ms rc=5(DSMappingMismatched) A:HNI-PE1# *A:HNI-PE2# oam lsp-trace prefix 203.162.3.6/32 detail lsp-trace to 203.162.3.6/32: hops min, hops max, 104 byte packets 123.29.3.132 rtt=20.1ms rc=8(DSRtrMatchLabel) DS 1: IfAddr 123.29.3.130 MRU=9192 label=3 proto=4(RSVP-TE) label=300880 proto=3(LDP) 123.29.3.130 rtt=20.2ms rc=8(DSRtrMatchLabel) DS 1: IfAddr 0.0.0.98 MRU=9192 label=131039 proto=3(LDP) 123.29.3.138 rtt=1.13ms rc=5(DSMappingMismatched) *A:HNI-PE2# Nhn xột: Do cu hỡnh thc t khỏ phc so vi cu hỡnh c o kim, cho nờn trờn õy ta ch thc hin mt s bi o chớnh nhm kim tra nng lc ca thit b mng VN2 cng nh kim tra quỏ trỡnh v mt s th tc chuyn mng Kt qu thu c, cha phn ỏnh chớnh xỏc c ton b quỏ trỡnh chuyn mng nhng ta cng thy c cỏc thit b v mt s cu hỡnh cng nh th tc chuyn u ó c kim tra thnh cụng Chu Hong V 88 Lp TVT2 Luận văn thạc sỹ Trờng Đại học Bách Khoa Hà Nội KT LUN Hin mng NGN VN2 l xu hng phỏt trin tt yu ca VNPT nhm ỏp ng c nhu cu ngy cng cao v kht khe ca khỏch hng Mng lừi NGN VN2 ó thng nht c cỏc mng hin cú thnh mt mng lừi nht cho phộp cung cp a dch v trờn mt nn tng thng nht t cỏc dch v thoi thụng thng, n cỏc dch v kờnh thuờ riờng, cỏc dch v Internet tc cao v.v Trong phm vi lun ca mỡnh, tụi ó trỡnh by v cỏc c bn v NGN nh: tỡm hiu c im v NGN, cu trỳc chc nng , cỏc thnh phn c bn cu thnh nờn mng NGN, a gii phỏp kin trỳc mng NGN hin cú ng thi, tụi cng i sõu vo nghiờn cu vic thit k kin trỳc mng NGN VN2, gii phỏp chuyn mng hin cú sang mt mng lừi VN2 thng nht, v thc hin cỏc bi o kim da trờn cu hỡnh thc t ang c trin khai ti VNPT Cụng ty Vin thụng liờn tnh (VTN) thc hin Do thi gian cú hn nờn cỏc tụi cp cha tht y Hi vng nhng thiu sút quỏ trỡnh lm lun s l ng lc thỳc y tụi tỡm hiu sõu hn v nhng gii phỏp kin trỳc mng NGN tng li Mt ln na, tụi xin gi li cm n chõn thnh ti TS.Nguyn c Minh ó tn tỡnh hng dn tụi sut quỏ trỡnh lm lun H Ni, ngy 19 thỏng 10 nm 2010 Hc viờn Chu Hong V Chu Hong V 89 Lp TVT2 ... nghệ NGN, kiến trúc mạng, thành phần mạng NGN Chương II – Giải pháp mạng NGN có: Giới thiệu giải pháp mạng NGN có Chương III – Thiết kế chuyển mạng NGN VN2 VTN High-level: Trình bày giải pháp thiết. .. giải pháp có mạng NGN Đồng thời tơi nghiên cứu việc triển khai phát triển mạng lõi VN2 đa dịch vụ, giải pháp chuyển mạng có sang mạng lõi VN2 thống Cơng ty Viễn thơng liên tỉnh (VTN) cung cấp... phần mạng NGN 13 1.4.1 Cấu trúc vật lý mạng NGN 13 1.4.2 Các thành phần mạng chức 14 CHƯƠNG II GIẢI PHÁP MẠNG NGN 22 2.1 Cấu trúc mạng Surpass 23 2.1.1 Chuyển