Trạng thái sau khi gán PVID xong

Một phần của tài liệu Nghiên cứu xây dựng quy trình lắp đặt vận hành khai thác và bảo dưỡng Thiết bị GPON OLT 7360 của hãng ALCATEL (Trang 115)

102

2.3.1.5. Cấu hình Voip Service

OLT ONT1 Black phone 7609 DTH Black phone ONT2 FTP server 113.171.225.6 Realm: ims.vnpt.vn SIP server SW Vlan 3607 10.139.0.100 Vlan 3607 10.139.0.x Vlan 3607 10.139.0.y user1 : +84432000226 pass : 84432000226 user2 : +84432000227 pass : 84432000227 PE 10.99.35.30/32 Hình 2. 89: Topo mạng IMS a. Tạo Vlan cho Voip Service

Chú ý : Để có thể cấu hình được dịch vụ Viop khi Create ONT ta phải đưa Voip Support về chuẩn Prorierity VoIP OMCI

103

Hình 2. 90: Khai báo ONT để chạy VOICE

Tương tự như tạo Vlan cho HSI hoặc IPTV. Vlan cho dịch vụ Voip cũng được tạo một lần duy nhất và được đầy vào SAP và IHUB.

104

Hình 2. 91: Khai báo VLAN VOICE theo dạng unstack

Gắn Vlan vào QoS

Hình 2. 92: Gán QoS cho VLAN Lệnh CLI: Lệnh CLI:

#configure vlan id 62 mode residential-bridge in-qos-prof-name name:ALL_IN_ONE

105

Hình 2. 93: Tạo VPLS cho VLAN Parametters: Parametters:

Service Type: v-VPLS VLAN ID: 62

Customer: IHUB:1() Description: VOIP

Administrative State: Unlock

Hình 2. 94: Điền tham số cho VPLS

106

- Sap Up-Link

Parametters:

Type: LAG

Link Agg: IHUB:1 // Nếu ta tạo Link Aggregation ID là 1

thì sẽ là IHUB:1

VLAN ID: 62

Hình 2. 95: thơng số cho sap Uplink

- Sap Downlink

Hình 2. 96: thơng số cho sap downlink

107

Hình 2. 97: enable user-to-user cho vlan

Lệnh CLI: (adsbygoogle = window.adsbygoogle || []).push({});

#configure service vpls 62 customer 1 v-vpls vlan 62 create #configure service vpls 62 sap lag-1:62 create

#configure service vpls 62 sap lt:1/1/1:62 create #configure service vpls 62 user-user-com

#configure service vpls 62 no shutdown b. Tạo Bandwidth profile cho Voip:

Tượng tự như tạo profile cho HSI/ IPTV: Bandwith cho Voip được tạo một lần duy nhất và dùng cho tất cả các thuê bao sau này.

Tạo BandWidth 2M cho up-stream và gắn vào UNI

108

Hình 2. 99: Gán vào uplink

Lệnh CLI:

#configure qos profiles bandwidth VOIP_2M committed-info-rate 2000 #configure qos profiles bandwidth VOIP_2M assured-info-rate 2000 #configure qos profiles bandwidth VOI P_2M excessive-info-rate 2000

#configure qos interface 1/1/1/1/1/voip upstream-queue 0 bandwidth-profile name: VOIP_2M

Tạo Bandwidth cho down-stream:

Parametters:

Name: VOIP_2M

Type: Single Token Bucket (GPON) CIR: 2000

109

Hình 2.100: Tham số cho downlink Map BW vào downstream cho VOIP Map BW vào downstream cho VOIP

Lệnh CLI

#configure qos profiles shaper VOIP_2M committed-info-rate 2000 committed-burst-size 0 excess-info-rate 2000 type singletokenbucketgpon #configure qos interface 1/1/1/1/1/voip queue 0 shaper-profile name:VOICE_2M

110

Hình 2. 101: Tạo uni cho voice

#configure bridge port 1/1/1/1/1/voip vlan-id 62 in-qos-prof-name name:ALL_IN_ONE

111

Hình 2. 102: Gán PVID cho Voice Service

Note: Sau khi thay đổi cần ấn Apply để áp dụng Lệnh CLI

#configure bridge port 1/1/1/1/1/voip vlan-id 62 #configure bridge port 1/1/1/1/1/voip pvid 62 d. Khai báo đầu số thoại trong file xml

- Sử dụng file XML template của hãng cho đúng chủng loại ONT.

- Chỉ chỉnh sửa thông số về số ĐT, Username, Password.

112 <UNIID>1</UNIID> <IdentityDataSet> <AddressOfRecord>sip:+84432000008@ims.vnpt.vn</AddressOfRecord> <Realm>realm</Realm> <username>+84432000008@ims.vnpt.vn</username> <Password>111111</Password> <ContactURIUser>84432000008</ContactURIUser> <UNIID>2</UNIID> <IdentityDataSet> <AddressOfRecord>sip:+84432000006@ims.vnpt.vn</AddressOfRecord> <Realm>realm</Realm> <username>+84432000006@ims.vnpt.vn</username> <Password>111111</Password> <ContactURIUser>84432000006</ContactURIUser>

Mỗi UNIID trên tương ứng với một đầu số điện thoại. Để tạo đầu số mới: B1: Copy file template cấu hình voip thành một file mới:

B2: Đổi tên file mới thành mã MEN của khách hàng (adsbygoogle = window.adsbygoogle || []).push({});

113

B4: Tìm đến phần <UNIID>1</UNIID> hoặc <UNIID>2</UNIID> để sửa các thơng số tương ứng.

Ví dụ: Khách hàng có số là 32001987:

Chú ý:

- Để thay số DT mới cho khách hàng cũ ta cũng làm tương tự chứ không sửa trưc tiếp trên File đã tạo.

- Nếu khách hàng chỉ chạy một số điện thoại thì chỉ khai báo trong

<UNIID>1</UNIID>

114

e. Tạo dịch vụ VOIP

Note: Card POT phải được tạo trước và được Enable trước

- SSH rồi cut through vào ONT:

ONTUSER/SUGAR2A041

- Type lệnh thay đổi Operator ID:

ritool set OperatorID IUSA

- Xóa config cũ:

cfgcli –r

- Reboot lại ONT:

Reboot

- Kiểm tra lại cấu hình( check *) sau khi ONT reboot xong.

ritool dump #ritool dump the Format:02 the MfrID:ALCL the Factorycode:01 the HardwareVersion:3FE54945ABBA the ICS:01

the SerialNum: 1251ZA9B9 the CleiCode: the Mnemonic:I-240W-A the ProgDate:130228 the MACAddress:e0:30:05:7c:dd:64 the DeviceIDPref:0000 the SWImage:005e the Spare3:000000000000

115 the Password:00000000000123456789 the G984Serial:faa4fe05 the HWConfiguration:0000000000000000 the PartNumber:3FE54945ABBA the Spare4:000000000000000000000000 the Checksum:19eb the InserviceReg:0000

the UserName: usradmin the UserPassword:usradmin

the MgntUserName: adminadmin the MgntUserPassword: ALC#FGU the SSID-1Name: ALHN- the SSID-1Password:00000000 the SSID-2Name:0000000000000000 the SSID-2Password:00000000 the OperatorID:IUSA the SLID:00000000000000000000000000000000 the CountryID: the Spare5:000000000000 the Checksum1:91e7 the Spare6:0000 the RollbackFlag:3700

116

Parametters:

Hình 2. 103: thơng số trong tab general

117

Hình 2. 105: thơng số trong tab FTP

Lệnh CLI (adsbygoogle = window.adsbygoogle || []).push({});

#configure voice ont service 1/1/1/1/1/1 dhcp enable mgc-udp-port 5060 conf-method ftp ftp-serv-ip-addr 172.17.10.1 ftp-user-name root ftp- passwd 123456 conf-file-name 000001MEN.xml vlan 62

f. Kiểm tra dịch vụ:

- Kiểm tra DHCP session và FTP session

Dùng phần mềm bắt bản tin trên DHCP server và FTP server để xem các phiên DHCP và FTP thiết lập thành cơng hay khơng. Nếu OK phía VoIP client sẽ có IP Address và có file config. Ngược lại, check lại configure trên switch và OLT để đảm bảo thông suốt VLAN từ ONT lên DHCP server.

- Kiểm tra trên OLT

- Kiểm tra VLAN interface đang up/down

#show interface port vlan-port:1/1/1/1/1/voip:62

port |admin-status|opr-status

---------------------------------------------------+------------+---------------- --------------------------------------------------

vlan-port:1/1/1/1/1/vuni:62 up up

- Kiểm tra địa chỉ MAC mà OLT đã học được trên VLAN 62

typ:isadmin># show vlan fdb-board

================================================= =============================fdb-board table

118

=================================================

=============================slot-id |fdb-id |mac |status |sub-mac

---------+-----------------+-----------------+-------+-------------------------- -----------------------------------------------

lt:1/1/1 504 00:90:81:3e:04:f6 learned 00:90:81:3e:04:f6 lt:1/1/1 62 e0:30:05:7c:dc:6a learned e0:30:05:7c:dc:6a ----------------------------------------------------------------------------------- -----------------------------------------------

fdb-board count : 2

- Kiểm tra voice service và IP của VoIP client

typ:isadmin># show voice ont service 1/1/1/1/1/1

================================================= ==============================service table

================================================= ==============================

voip-index |net-gw-ipaddr |next-hop-addr |client-ipaddr |client- sub-netmask|ftp-server-ip |act-config-filename ---------------+---------------+---------------+---------------+---------------- --+---------------+------------------------------ 1/1/1/1/1/1 10.10.10.10 10.10.10.10 10.10.10.101 0.0.0.0 10.10.10.10 I-240W-A-Lab.xml ----------------------------------------------------------------------------------- ------------------------------------------------- service count : 1

Kiểm tra voice configuration

typ:isadmin># info configure voice ont service 1/1/1/1/1/1 configure voice ont

#--------------------------------------------------------------------------------- -------------------------------------------------

echo "voice"

#--------------------------------------------------------------------------------- -------------------------------------------------service 1/1/1/1/1/1 conf- file-name I-240W-A-Lab.xml vlan 62

119 ftp-serv-ip-addr 172.17.10.1 dhcp enabled mgc-udp-port 5060 voip-mode sip2 ftp-user-name root ftp-passwd 123456 exit 2.3.1.6. VPN L2 Service (adsbygoogle = window.adsbygoogle || []).push({});

Chú ý: Các profile về BW, QoS hiện đã được chuẩn hóa và tạo sẵn trên các trạm,

thủ tục tạo VPN L2 và L3 cũng dùng chung các profile đấy và bỏ qua bước tạo BW profiles, QoS profiles

7360 ALU 10.84.1.67 ONT1 ONT2 Spliter 1:n Spliter 1:n PC1 PC2 192.168.10.x/24 192.168.10.x/24 VLAN: 200 lt:1/1/8 lt:1/1/15 VPN-L2 Diagram 1/4 bridged port 4 bridged port 4 1/4 Hình 2. 106: Sơ đồ mạng VPN

Sau khi đưa ONT vào quản lý được ( thủ tục này giống với tạo dịch vụ HSI nên ta khơng nói lại nữa )

a. Tạo card và Port trên ONT

Từ ONT ->Create->ONT Card: Tạo card ID: 1 Ethernet cho dịch vụ HSI/IPTV/VPN

Parametters:

Planned Type: Ethernet Number of Data Ports: 4 Connected Node Type: UNI

120

Hình 2. 107: Tạo ethernet card

Lệnh CLI Tương ứng:

#configure equipment ont slot 1/1/15/2/1/1 planned-card-type 10_100base plndnumdataports 4 plndnumvoiceports 0 port-type uni admin-state up

121

#configure interface port uni:1/1/15/2/1/1/[1...4] admin-up

Kết quả:

b. Khai báo Vlan

Tương tự với HSI hay Mytv, VPN L2 cũng được quy hoạch một VLan riêng cho mỗi Node

Infraststructure->Layer2->Vlan->Create->Vlan

Parametters: Version: 1

Mode: Residential Bridge Ethernet Priority: Best Effort (0)

Note:

o Vlan cho các dịch vụ HSI, IPTV, VPN (L2) , VOIP là mode

Residental bridge.

o Về mức độ ưu tiên thì mức 0 Best Effort (0) là thấp nhất, cao

123

Hình 2. 108: Các tham số cho VLAN L2 Lệnh CLI: Lệnh CLI:

#configure vlan id 2384 mode residential-bridge in-qos-prof-name name:ALL_IN_ONE

From: Ne->Infraststructure->Layer 2->L2 Services c. Tạo Vpls và Sap :

Parametters:

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

Services Type:V-VPLS Vlan ID: Vlan: 2384 Customer: IHUB1

124

Hình 2. 109: Tạo VPLS cho VLAN L2

Note: Phải unlock VPLS để đưa được vào sử dụng.

125

# configure service vpls 2384 customer 1 v-vpls vlan 2384 description VPN L2 VLAN 2384

# configure service vpls 2384 no shutdown Tạo sap:

- Uplink cho cả 2 nhánh

Parametters:

Type: LAG

Link Aggregation Group: IHub:1 Vlan ID: 2384

- Downlink cho cả 2 nhánh

Sau khi gán VPLS vào sap uplink(màu đỏ) thì gán down link. Parametters nhánh 1:

126

Parametters nhánh 2:

Lệnh CLI

#configure service vpls 2384 sap lag-1:2384 #configure service vpls 2384 sap lt:1/1/1:2384 #configure service vpls 2384 sap lt:1/1/2:2384

127

Kết quả:

d. Enable User to User traffic trên VPLS

Hình 2. 110: Enable User to User traffic trên VPLS

Note: Enable thông số User-to-User Traffic dùng khi cấu hình đường VPN trên cùng một VLAN, cùng một OLT

e. Tạo Bridge port (nhánh 1) From: ONT-> UNI

128

#configure bridge port 1/1/1/1/1/1/4 max-unicast-mac 100

Gắn BW profile vào UNI port cho Up và Downlink

- Cho DownStream:

#configure qos interface 1/1/1//1/1/4 queue 0 shaper-profile name:FiberHome_10M

- Cho UpStream:

# configure qos interface 1/1/1/1/1/1/4 upstream-queue 0 bandwidth-profile name:FiberHome_10M (adsbygoogle = window.adsbygoogle || []).push({});

Chú ý: Gói FiberHome_10M là băng thơng 10M được tạo sẵn trên trạm.

Gắn vlan vào port: From UNI->Create->VLAN Association.

Parametters:

VLAN Forwarding Mode: VLAN without Translation Network VLAN: 2384

129

Hình 2. 111: Tạo UNI cho L2 Lệnh CLI: Lệnh CLI:

#configure bridge port 1/1/1/1/1/1/4 vlan-id 2384

131

Hình 2. 112: Tạo PVID Lệnh CLI: Lệnh CLI:

#configure bridge port 1/1/1/1/1/1/4 pvid 2384

Note: sau khi khai báo xong nhánh 1(ONT 1 tại LT1 -PON1), làm tương tự với

nhánh 2 (ONT 1 tại LT2- PON 1)

Lệnh CLI:

#configure qos interface 1/1/2/1/1/1/4 upstream-queue 0 bandwidth-profile name:FiberHome_10M

#configure qos interface 1/1/2/1/1/1/4 queue 0 shaper-profile name :FiberHome_10M

#configure bridge port 1/1/2/1/1/1/4 max-unicast-mac 100 #configure bridge port 1/1/2/1/1/1/4 vlan-id 2384

#configure bridge port 1/1/2/1/1/1/4 pvid 2384

- Log vào ONT theo account ghi trên mặt ONT, nếu đã làm thủ tục

enable pots card thì U/P: root/admin

Lan Parametters:

132

Hình 2. 113: Để cổng trên ONT ở chế độ bridge Khai báo trên máy tính và add MAC tĩnh Khai báo trên máy tính và add MAC tĩnh

133

f. Các bước kiểm tra dịch vụ

- Kiểm tra trên máy tính

Từ PC1 ping tới PC2 và ngược lại

- Kiểm tra trên OLT

Kiểm tra VLAN interface đang up/down

Một phần của tài liệu Nghiên cứu xây dựng quy trình lắp đặt vận hành khai thác và bảo dưỡng Thiết bị GPON OLT 7360 của hãng ALCATEL (Trang 115)