3.1.4ăVấnăđ ăt năti Ki mătraăm ăs ătínhănĕngăc aăMPLS-TP 3.2.1ăĐặtăvấnăđ 3.2.2ăPh ngăphápăgi iăqu yt

Một phần của tài liệu Một số tính năng nổi trộ của MPLS TP só với MPLS luận văn thạc sĩ ngành kỹ thuật điện tử (Trang 41)

khuy nă ngh Gi iăthích Test Layer 3 IP Pingă hoặcă Layer 3 IP Ping

Thi tăl păbƠiăđo:ă Layer 3 IP Ping hoặcăLayeră3ăIPă Ping

Data mode

IpoE Thi tă l pă ch ă đ ă

truy nă d ă li uă PPPoE:ă ch ă đ ă truy nă Ethernetă cầnă thi tă l pă username,

password.

IpoE: ch đ ă truv n Ethernet thôngă quaă vi că thi tă l pă IPă t nh

hoặcă DHCP. IpoE là ch đ ă truy nă ph ăbi n.

 T iăM căPingăthi tăl păcácăgiáătr :

Bảng 3.3Ping của HST-3000. Thamăs Giáătr ă khuy nă ngh Gi iăthích Destination Type

IP Address Cóă th ă ch nă lo iă đíchă đ nă theoă đ aă ch IPă hoặcă hostname.ă Đ aă ch ăIPălƠălựaăch nă ph ăbi n. Destination IP

Tùy ch n Nh pă đ aă chiă IPă

c aăđích Time To

Live

64 Đ ă giáă tr ă mặcă

đ nh

TOS/DSCP IDS Tuỳă vƠoă thi tă l pă

m ngă mƠă ch nă TOSă hoặcă DSCP,ă TOSă lƠă giáă tr ă

th ngă đ că

dùng

Ping Type Tùy ch n Ch nă cáchă th că

Ping:

tin

- Continuous:ă g iă liênă ti pă cácă góiă tină (đ nă khiăd ngăbƠiăđo).

Packet Size Tuỳăch n Thi tăl păkíchăc ă

gói tin Ping B4:ă Cấuă hìnhă máyă đoă 2ă ă ch ă Loopbackă v iă IPă Sourceă lƠă

192.168.1.2 và Ip destination là 192.168.1.1

B5:ăB tăđầuăđo,ăm iălầnăđoăb năvƠoăMAN-E 500 gói vƠăthực hi nă10ă lầnălấyăk tăqu ă ătr ngătháiăbìnhăth ng.

Bài kiểm tra 2:

Thựcă hi nă l iă 5ă b că trên.ăSauă đóă ti nă hƠnhă ng tă m ngă bằngă l nhă shutdownăgiaoădi năc ngăquangănh ăhình:

Hình 3.2Sơ đồ mạng MAN-E Viễn thông Sóc Trăng khi shutdown 1 cổng quang. (adsbygoogle = window.adsbygoogle || []).push({});

LúcănƠyăd ăli uăch yătheoăđ ngămƠuăxanhăl c.

S ăđ ăđấuăn i:

Hình 3.3Sơ đồ mạng sử dụng công nghệ MPLS.

B1: Ti năhƠnhăkhaiăbáoăcấuăhìnhăM ngătrênăGNS3ănh ăsau:

R0#

set interfaces em1 unit 0 family inet address 10.10.11.1/30 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.10.1/30 set interfaces em2 unit 0 family mpls

set interfaces lo0.0 family inet address 10.255.8.207

set protocols mpls interface em1.0 set protocols mpls interface em2.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 set protocols ospf area 0.0.0.0 interface em2.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols rsvp interface em1.0 set protocols rsvp interface em2.0

set protocols connections remote-interface-switch em-1-to-R4 transmit-lsp lsp_to_R4_em1

commit

R1#

set interfaces em1 unit 0 family inet address 10.10.11.2/30 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.10.2/30 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.12.2/30 set interfaces em3 unit 0 family mpls

set interfaces em4 unit 0 family inet address 10.10.13.2/30 set interfaces em4 unit 0 family mpls

set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0 set protocols mpls interface em4.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 set protocols ospf area 0.0.0.0 interface em2.0

set protocols ospf area 0.0.0.0 interface em3.0 metric 100 set protocols ospf area 0.0.0.0 interface em4.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols rsvp interface em1.0 set protocols rsvp interface em2.0 set protocols rsvp interface em3.0 set protocols rsvp interface em4.0

commit

R2#

set interfaces em1 unit 0 family inet address 10.10.13.1/30 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.15.1/30 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.14.1/30 set interfaces em3 unit 0 family mpls (adsbygoogle = window.adsbygoogle || []).push({});

set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols rsvp interface em1.0 set protocols rsvp interface em2.0 set protocols rsvp interface em3.0

commit

R3#

set interfaces em1 unit 0 family inet address 10.10.16.2/30 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.17.2/30 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.14.2/30 set interfaces em3 unit 0 family mpls

set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0

set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols rsvp interface em1.0 set protocols rsvp interface em2.0 set protocols rsvp interface em3.0

commit

R4#

set interfaces em1 unit 0 family inet address 10.10.16.1/30 set interfaces em1 unit 0 family mpls

set interfaces lo0.0 family inet address 10.255.8.86

set protocols mpls interface em1.0

set protocols ospf traffic-engineering

set protocols rsvp interface em1.0

set protocols connections remote-interface-switch em-1-to-R0 transmit-lsp lsp_to_R0_em1

set protocols connections remote-interface-switch em-1-to-R0 receive-lsp lsp_to_R4_em1

commit

R5#

set interfaces em1 unit 0 family inet address 10.10.12.1/30 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.15.2/30 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.17.1/30 set interfaces em3 unit 0 family mpls (adsbygoogle = window.adsbygoogle || []).push({});

set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 metric 100 set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0 metric 100 set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols rsvp interface em1.0 set protocols rsvp interface em2.0 set protocols rsvp interface em3.0

commit

B2:ăTi năhƠnhăki mătraăm tăs ătínhănĕngc aăMPLSăbằngăl nhăping. B3:ăLấyăk tăqu .

Bài kiểm tra 4:

B1: Ti năhƠnhăkhaiăbáoăcấuăhìnhăM ngătrênăGNS3ăgi ngănh ăbƠiăki mătraă3. B2:ăTi năhƠnhăng tăm ngătheoăs ăđ :

Hình 3.4Sơ đồ mạng sử dụng công nghệ MPLS khi ngắt mạng

B3:ăTi năhƠnhăki mătraăm tăs ătínhănĕngc aăMPLSăbằngăl nhăping. B4:ăLấyăk tăqu .

3.1.3 K tăqu ăđ tăđ c

Bài kiểm tra 1:

Bảng 3.4Số liệu đo khi không có sự cốtrên mạng MAN-E Viễn Thông Sóc Trăng.

Nh năxét: TrongăbƠiăki mătraă1ănƠyătaăti năhƠnhăpingăth ă10ălầnăm iălầnă500ă góiăthìătrongă10ălầnăđ uănh năđ ă500ăgóiăkhôngămấtăgóiănƠo,ăkhôngăđoăđ căth iă gianăchuy năm chăb oăv , sự mất gói tin, th i gian delay gói tin.

Bài kiểm tra 2:

Bảng 3.5Số liệu đo khi ngắt mạngtrên mạng MAN-E Viễn thông Sóc Trăng.

Nh năxét: TrongăbƠiăki mătraă2ănƠyătaăti năhƠnhăpingăth ă5ălầnăm iălầnă500ăgóiă thìă trongă 5ă lầnă đ uă nh nă 498ă góiă mấtă 2ă gói,ă th iă giană mấtă góiă lầnă l tă lƠă 34ms,ă 37ms,ă44ms,ă41ms,ă31ms.ăDựaăvƠoăs ăgóiămấtăvƠăth iăgianămấtăgóiătaătínhăđ căth iă gianăchuy năm chăb oăv ălầnăl tătheoăb ngătrênătheoăcôngăth c:

Thời gian chuyển mạch = số gói mất x thời gian mất gói. (1)

Bài kiểm tra 3:

Nh năxét:ăTrongăbƠiăki mătraă3ănƠyătaăti năhƠnhăpingăth ă10ălầnăm iălầnă500ă góiăthìătrongă10ălầnăđ uănh năđ ă500ăgóiăkhôngămấtăgóiănƠo,ăkhôngăđoăđ căth iă gianăchuy năm chăb oăv , sự mất gói tin, th i gian delay gói tin.

Bài kiểm tra 4:

Bảng 3.7Số liệu đo khi ngắt mạngtrên mạng mô phỏng MPLS.

Nh năxét:ăTrongăbƠiăki mătraă4ănƠyătaăti năhƠnhăpingăth ă5ălầnăm iălầnă500ăgóiă thìă trongă 5ă lầnă đ uă nh nă 498ă góiă mấtă 2ă gói,ă th iă giană mấtă góiă lầnă l tă lƠă 30ms,ă 33ms,ă40ms,ă37ms,ă31ms.ăDựaăvƠoăs ăgóiămấtăvƠăth iăgianămấtăgóiătaătínhăđ căth iă gianăchuy năm chăb oăv ălầnăl tătheoăb ngătrênătheoăcôngăth că(1).

Soăsánhăgi aăbƠiăki mătraă2ăvƠă4ăthìăs ăgóiămấtăbằngănhauăth iăgianăchuy nă m chăb oăv ăcǜngăt ngăđ ngănhau.

3.1.4 Vấnăđ ăt năt i

TrongăbƠiăki mătraă1ăvƠă2ădoălƠăthi tăb ăs ăd ngălƠăthi tăb ăth tăkhôngăph iămôă ph ngănênăth iăgianăng tăm ngăch aăđ ălơuăđ ăbƠiăki mătraăđ tăhi uăqu ăcao.

3.2 Ki m tra m s tínhănĕng c a MPLS-TP 3.2.1 Đặtăvấnăđ

Chúng taăt păchungăvƠoăđ ăki mătraărằngăth iăgianăchuy năm chăb oăv c aă MPLS-TPănh ăh nă50ms.

3.2.2 Ph ngăphápăgi iăquy t

Dùngăphầnăm mămôăph ngăGNS3ă0.8.6ăhoặcăphiênăb năl năh năđ ămôăph ngă 1 phầnăm ngăVi năthôngăSócăTrĕngăv iăcấuăhìnhăbằngăcôngăngh MPLS-TP.ăTi nă hành ki mătraăm tăs ătínhănĕngc aăMPLS-TP gi ngănh ăbài ki mătraă3 và 4. (adsbygoogle = window.adsbygoogle || []).push({});

Bài kiểm tra 5: S ăđ ăđấuăn i:

Hình 3.5Sơ đồ mạng sử dụng công nghệ MPLS-TP

B1: Ti năhƠnhăkhaiăbáoăcấuăhìnhăM ngătrênăGNS3nh ăsau:

R0#

set interfaces em1 unit 0 family inet address 10.10.11.1/30 set interfaces em1 unit 0 family iso

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.10.1/30 set interfaces em2 unit 0 family iso

set interfaces em2 unit 0 family inet6 set interfaces em2 unit 0 family mpls

set interfaces lo0.0 family inet address 10.255.8.207 set protocols mpls interface em1.0

set protocols mpls interface em2.0 set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 set protocols ospf area 0.0.0.0 interface em2.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0

set protocols rsvp interface em2.0

set protocols mpls label-switched-path R0-to-R4 to 10.255.8.86 set protocols mpls label-switched-path R0-to-R4 oam mpls-tp-mode set protocols mpls label-switched-path R0-to-R4 associate-lsp to-R0 from 10.255.8.86

commit

R1#

set interfaces em1 unit 0 family inet address 10.10.11.2/30 set interfaces em1 unit 0 family iso

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.10.2/30 set interfaces em2 unit 0 family iso

set interfaces em2 unit 0 family inet6 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.12.2/30 set interfaces em3 unit 0 family iso

set interfaces em3 unit 0 family inet6 set interfaces em3 unit 0 family mpls

set interfaces em4 unit 0 family inet address 10.10.13.2/30 set interfaces em4 unit 0 family iso

set interfaces em4 unit 0 family inet6 set interfaces em4 unit 0 family mpls set protocols mpls interface em1.0 set protocols mpls interface em2.0

set protocols mpls interface em4.0 set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 set protocols ospf area 0.0.0.0 interface em2.0

set protocols ospf area 0.0.0.0 interface em3.0 metric 100 set protocols ospf area 0.0.0.0 interface em4.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0

set protocols rsvp interface em2.0 set protocols rsvp interface em3.0 set protocols rsvp interface em4.0

set protocols mpls transit-lsp-association tracel lsp-name-1 R0-to-R4 set protocols mpls transit-lsp-association tracel from-1 10.255.8.207 set protocols mpls transit-lsp-association tracel lsp-name-2 R4-to-R0 set protocols mpls transit-lsp-association tracel from-2 10.255.8.86 commit (adsbygoogle = window.adsbygoogle || []).push({});

R2#

set interfaces em1 unit 0 family inet address 10.10.13.1/30 set interfaces em1 unit 0 family iso

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.15.1/30 set interfaces em2 unit 0 family iso

set interfaces em2 unit 0 family inet6 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.14.1/30 set interfaces em3 unit 0 family iso

set interfaces em3 unit 0 family inet6 set interfaces em3 unit 0 family mpls set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0 set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0

set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0

set protocols rsvp interface em3.0

set protocols mpls transit-lsp-association tracel lsp-name-1 R0-to-R4 set protocols mpls transit-lsp-association tracel from-1 10.255.8.207 set protocols mpls transit-lsp-association tracel lsp-name-2 R4-to-R0 set protocols mpls transit-lsp-association tracel from-2 10.255.8.86 commit

R3#

set interfaces em1 unit 0 family inet address 10.10.16.2/30 set interfaces em1 unit 0 family iso

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.17.2/30 set interfaces em2 unit 0 family iso

set interfaces em2 unit 0 family inet6 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.14.2/30 set interfaces em3 unit 0 family iso

set interfaces em3 unit 0 family inet6 set interfaces em3 unit 0 family mpls set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0 set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0

set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0

set protocols rsvp interface em2.0 set protocols rsvp interface em3.0

set protocols mpls transit-lsp-association tracel lsp-name-1 R0-to-R4 set protocols mpls transit-lsp-association tracel from-1 10.255.8.207 set protocols mpls transit-lsp-association tracel lsp-name-2 R4-to-R0 set protocols mpls transit-lsp-association tracel from-2 10.255.8.86 commit

R4#

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces lo0.0 family inet address 10.255.8.86 set protocols mpls interface em1.0

set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0

set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0 (adsbygoogle = window.adsbygoogle || []).push({});

set protocols mpls label-switched-path R4-to-R0 to 10.255.8.207 set protocols mpls label-switched-path R4-to-R0 oam mpls-tp-mode set protocols mpls label-switched-path R4-to-R0 associate-lsp to-R4 from 10.255.8.207

commit

R5#

set interfaces em1 unit 0 family inet address 10.10.12.1/30 set interfaces em1 unit 0 family iso

set interfaces em1 unit 0 family inet6 set interfaces em1 unit 0 family mpls

set interfaces em2 unit 0 family inet address 10.10.15.2/30 set interfaces em2 unit 0 family iso

set interfaces em2 unit 0 family inet6 set interfaces em2 unit 0 family mpls

set interfaces em3 unit 0 family inet address 10.10.17.1/30 set interfaces em3 unit 0 family iso

set interfaces em3 unit 0 family inet6 set interfaces em3 unit 0 family mpls set protocols mpls interface em1.0 set protocols mpls interface em2.0 set protocols mpls interface em3.0 set protocols ospf traffic-engineering

set protocols ospf area 0.0.0.0 interface em1.0 metric 100 set protocols ospf area 0.0.0.0 interface em2.0 metric 100 set protocols ospf area 0.0.0.0 interface em3.0 metric 100 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols rsvp interface em1.0

set protocols rsvp interface em2.0 set protocols rsvp interface em3.0

set protocols mpls transit-lsp-association tracel from-1 10.255.8.207 set protocols mpls transit-lsp-association tracel lsp-name-2 R4-to-R0 set protocols mpls transit-lsp-association tracel from-2 10.255.8.86 commit

B2:ăTi năhƠnhăki mătraăm tăs ătínhănĕng bằngăl nhăping. B3:ăLấyăk tăqu .

Bài kiểm tra 6:

B1: Ti năhƠnhăkhaiăbáoăcấuăhìnhăM ngătrênăGNS3ăgi ngănh ăbƠiăki mătraă1. B2:ăTi năhƠnhăng tăm ngătheoăs ăđ :

Hình 3.6Sơ đồ mạng sử dụng công nghệ MPLS-TP khi ngắt mạng

B3:ăTi năhƠnhăki mătraăm tăs ătínhănĕng bằngăl nhăping. B4:ăLấyăk tăqu .

3.2.3 K tăqu đ tăđ c

Nh năxét:ăTrongăbƠiăki mătraă5ănƠyăchúngătaăthấy,ătaăti năhƠnhăpingăth ă10ălầnă m iălầnă500ăgóiăthìătrongă10ălầnăđ uănh năđ ă500ăgóiăkhôngămấtăgóiănƠo,ăkhôngăđoă đ căth iăgianăchuy năm chăb oăv , sự mất gói tin, th i gian delay gói tin.

Hình 3.7Kết quả lệnh “show mpls lsp”.

Nh năxét:ăK tăqu ătrongăhìnhă3.7ăchoăchúngătaăthấyătínhănĕngălspăđaăh ngăc aă MPLS-TP.

Nh năxét:ăTrongăbƠiăki mătraă6ănƠyăchúngătaăthấy,ătaăti năhƠnhăpingăth ă10ălầnă m iălầnă500ăgóiăthìălầnă1,ă2,ă3,ă4,ă6,ă7,ă9,ă10ănh năđ că499ăgóiăriêngălầnă5ăvƠă8ănh nă đ că 498ă gói.ă Dựaă vƠoă s ă góiă mấtă vƠă th iă giană mấtă góiă taă tínhă đ că th iă giană chuy năm chăb oăv ălầnăl tătheoăb ngătrênătheoăcôngăth că(1).

Soăsánhăgi aăbƠiăki mătraă4ăvƠă6ăthìăth iăgianăchuy năm chăb oăv ăc aăcôngă ngh ăMPLS-TPănhanhăh năMPLSăkho ngă50ms.

3.2.4 Vấnăđ ăt năt i

Ch ngă4. GI IăPHÁPăCHUY NăM NGăMAN-E

SịCăTRĔNGăT ăMPLSăSANGăMPLS-TP

4.1 Chuẩn b đ ng truy n quang

Thựcăhi năđấuăthêmă1ăvòngăRingăQuangăchoătoƠnăm ngăMAN-E Vi năthôngă SócăTrĕngătheoăs ăđ :

4.2 Ti n hành khai báo giao th căđ nh tuy n IS ậ IS

Khai báo IS-IS trên các interface: (adsbygoogle = window.adsbygoogle || []).push({});

STG00STG interface GigabitEthernet9/1 description STG00STG:STG00ANP:Gi9/1 dampening mtu 9192 ip address 10.97.0.1 255.255.255.252 ip router isis soctrang

ip pim sparse-mode carrier-delay msec 0 mpls ip

mpls traffic-eng tunnels

mpls traffic-eng backup-path Tunnel301

rmon collection history 45 owner campusmanager buckets 10 interval 300

clns mtu 512

isis circuit-type level-1 isis network point-to-point isis metric 100 level-1

isis authentication mode md5 isis authentication key-chain ISIS service-policy output 1GE_ES20_OUT ip rsvp bandwidth

STG00ANP

interface GigabitEthernet9/1

description STG00ANP:STG00STG:Gi9/1 dampening

ip address 10.97.0.2 255.255.255.252 ip router isis soctrang

ip pim sparse-mode carrier-delay msec 0 mpls ip

mpls traffic-eng tunnels

mpls traffic-eng backup-path Tunnel401

rmon collection history 25 owner campusmanager buckets 10 interval 300

clns mtu 512

isis circuit-type level-1 isis network point-to-point isis metric 100 level-1

isis authentication mode md5 isis authentication key-chain ISIS service-policy output 1GE_ES20_OUT ip rsvp bandwidth

LƠmăt ngătựăv iăcácăinterfaceăcònăl i.

4.3 Cấu hình MPLS-TP

CấuăhìnhăMPLS-TP nh ăsau:

Configuring the Pseudowire Class

SUMMARY STEPS 1. enable 2. configure terminal 3. pseudowire-class class-name 4. encapsulation mpls 5. control-word

6. protocol {l2tpv2 | l2tpv3 | none} [l2tp-class-name]

7. preferred-path {interface tunnel tunnel-number | peer {ip-

address | host-name}} [disable-fallback]

8. status protocol notification static class-name

9. vccv bfd template name [udp | raw-bfd] DETAILED STEPS

Bảng 4.1Configuring the Pseudowire Class. (adsbygoogle = window.adsbygoogle || []).push({});

Command or Action Purpose

Step 1 enable Example:

Router> enable

Enables privileged EXEC mode.

• Enter your password if prompted.

Step 2 configure terminal Example:

Router# configure terminal

Enters global configuration mode.

Step 3 pseudowire-class class-name

Example:

Router(config)# pseudowire-class mpls-tp- class1

Creates a pseudowire class and enters pseudowire class configuration mode.

Step 4 encapsulation mpls Example:

Router(config-pw-class)# encapsulation mpls

Specifies the encapsulation type.

Step 5 control-word Example:

Router(config-pw-class)# control-word

Enables the use of the control word.

Step 6 protocol {l2tpv2 | l2tpv3 | none} [l2tp-

class-name]

Example:

Router(config-pw-class)# protocol none

Specifies the type of protocol.

Step 7 preferred-path {interface tunnel tunnel-

number |peer {ip-address | host-name}}

[disable-fallback]

Example:

Router(config-pw-class)# preferred-path interface tunnel-tp2

Specifies the tunnel to use as

(adsbygoogle = window.adsbygoogle || []).push({});

Một phần của tài liệu Một số tính năng nổi trộ của MPLS TP só với MPLS luận văn thạc sĩ ngành kỹ thuật điện tử (Trang 41)