You are on page 1of 6

Would you like a CLI(C) or a TL1 login(T) or TL1 normal session(N) ?

[N]: C
login: isadmin
password: i$@mad-

Sau đó màn hình xuất hiện yêu cầu đổi Password 2 lần, ta đổi như sau:

New password: ANS#150


Confirm new password: ANS#150

1. Khai báo thiết bị


-> Set the date and the time:

isadmin#admin sntp system-time <year-month-day:hour:minutes:seconds>

 Kiểm tra trạng thái các slot trên shelf IP MSAN.


isadmin># show equipment slot
=====================================================
slot table
=====================================================
slot actual-type enabled error-status availability
--------------------------------------------------------------------------------
1/1/1 geb3-a yes no-error available
1/1/2 geb3-a yes no-error available
1/1/3 nblc-a no no-planned-board available
1/1/4 empty no no-error not-installed
1/1/5 empty no no-error not-installed
1/1/6 empty no no-error not-installed
1/1/7 empty no no-error not-installed
1/1/8 empty no no-error not-installed
1/1/9 empty no no-error not-installed
1/1/10 efl3-b no no-planned-board available
1/1/11 efl3-b no no-planned-board available
1/1/12 efl3-b no no-planned-board available
1/1/13 efl3-b no no-planned-board available
1/1/14 efl3-b no no-planned-board available
1/1/15 efl3-b no no-planned-board available
1/1/16 efl3-b no no-planned-board available
1/1/17 efl3-b no no-planned-board available
1/1/18 efl3-b no no-planned-board available
--------------------------------------------------------------------------------
slot count : 18
=====================================================

Các slot thuê bao ADSL efl3-b chưa được khai báo (no-planned-board)

 Khai báo các slot này


isadmin># configure equipment slot 1/1/[10...18] planned-type efl3-b

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 1/6
Cú pháp [x…y] cho khai báo tự động các slot từ 1/1/10 đến 1/1/18

 Kiểm tra lại các slot (sau khi khai báo ~ 30s để các slot này được active)

isadmin># show equipment slot


=====================================================
slot table
=====================================================
slot actual-type enabled error-status availability
--------------------------------------------------------------------------------
1/1/1 geb3-a yes no-error available
1/1/2 geb3-a yes no-error available
1/1/3 nblc-a no no-planned-board available
1/1/4 empty no no-error not-installed
1/1/5 empty no no-error not-installed
1/1/6 empty no no-error not-installed
1/1/7 empty no no-error not-installed
1/1/8 empty no no-error not-installed
1/1/9 empty no no-error not-installed
1/1/10 efl3-b yes no-error available
1/1/11 efl3-b yes no-error available
1/1/12 efl3-b yes no-error available
1/1/13 efl3-b yes no-error available
1/1/14 efl3-b yes no-error available
1/1/15 efl3-b yes no-error available
1/1/16 efl3-b yes no-error available
1/1/17 efl3-b yes no-error available
1/1/18 efl3-b yes no-error available
--------------------------------------------------------------------------------
slot count : 18
=====================================================

2. Khai báo uplink và thông số quản lý

 Thiết lập chế độ 1 IP cho 2 card Active/Standby


isadmin># configure system single-public-ip

 Khai báo địa chỉ quản lý, default route


isadmin# configure system management host-ip-address manual:172.20.51.196/24 (ip Yên
Bình )
isadmin>configure>system>management# default-route 172.20.51.254
isadmin>configure>system>management>default-route$ exit all
Default route lấy luôn là địa chỉ gateway phía BRAS
Kiểm tra lại IP vừa khai báo
isadmin># show transport ip-address
=====================================================
ip-address table
=====================================================
address ifindex subnet-mask
--------------------------------------------------------------------------------
127.0.0.1 285306880 255.0.0.0

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 2/6
127.0.0.2 285306882 255.0.0.0
172.20.70.196 285306883 255.255.255.0
--------------------------------------------------------------------------------
ip-address count : 3
=====================================================

 Khai báo giá trị VLAN quản lý


isadmin># configure system mgnt-vlan-id 3999
isadmin>configure>system# shub entry vlan ext-vlan-id 3999
isadmin>configure>system>shub>entry>vlan# exit all

 Khai báo cổng uplink lên BRAS và gán VLAN quản lý vào cổng này

isadmin># configure interface shub port 1 port-type network mode automatic admin-status
up
isadmin>configure>interface>shub>port>1# exit all
isadmin># configure vlan shub id 3999 egress-port network:1
isadmin>configure>vlan>shub>id>3999>egress-port>network:1$ exit all
isadmin># configure bridge shub port 1 pvid 3999
isadmin>configure>bridge>shub>port>1# exit all

 Kiểm tra kết nối vật lý và show trạng thái của port vừa khai báo
isadmin># show interface shub port 1
=====================================================
port table
=====================================================
port admin-status oper-status speed type duplex
--------------------------------------------------------------------------------
1 up up ☻ one-gb network full
--------------------------------------------------------------------------------
port count : 1
=====================================================
Ping thử kết nối lên BRAS
isadmin># ping 172.20.51.10
=====================================================
ping table
=====================================================
ip-addr received sent loss mean-delay max-delay min-delay
-----------------------------------------------------------------------------------------
172.20.70.1 0 1 100 0 0 1000
172.20.70.1 1 2 50 0 0 3
172.20.70.1 2 3 33 0 0 4
172.20.70.1 3 4 25 0 0 3
172.20.70.1 4 5 20 1 1 3
-----------------------------------------------------------------------------------------
ping count : 5
 Khai báo các port khác
Port 3: Đấu tới quản lý PSTN
isadmin># configure interface shub port 3 port-type network mode automatic admin-status
up
isadmin>configure>interface>shub>port>3# exit all
isadmin># configure vlan shub id 3995 egress-port network:3

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 3/6
isadmin>configure>vlan>shub>id>3995>egress-port>network:3$ exit
isadmin>configure>vlan>shub>id>3999# untag-port network:3
isadmin>configure>vlan>shub>id>3999>untag-port>network:3$ exit all
isadmin># configure bridge shub port 3 pvid 3999
isadmin>configure>bridge>shub>port>3# exit all

Port X: Đấu thiết bị khác vào


+) Nếu thiết bị này là loại Untagged (Laptop, đường quản lý,…)
Mode của Port = Network
Phải dùng thêm “configure vlan shub id Y untag-port network:X”
+) Nếu thiết bị này là loại Tagged (IPDSLAM khác, ….)
Mode của Port = Subtending
Chỉ cần dùng lệnh Egress-port vào cổng này
Các thiết bị đấu vào nếu thuộc các VLAN khác thì cần khai báo VLAN này

Ví dụ khai báo port 4 thuộc về VLAN quản lý 3999 cho đường quản lý phục vụ chuỗi thiết
bị SAGEM:
isadmin># configure interface shub port 4 port-type network mode automatic admin-status
up
isadmin>configure>interface>shub>port>4# exit all
isadmin># configure vlan shub id 3999 name SAGEMman mode residential-bridge
isadmin>configure>vlan>shub>id>3999$ egress-port network:4
isadmin>configure>vlan>shub>id>3999>egress-port>network:4$ exit
isadmin>configure>vlan>shub>id>3999$ untag network:4
isadmin>configure>vlan>shub>id>3999>egress-port>network:4$ exit all
isadmin># configure bridge shub port 4 pvid 3997
isadmin>configure>bridge>shub>port>4# exit all
isadmin># configure vlan shub id 3999 egress-port network:1
(Lệnh cuối để thông tin quản lí được đi lên qua port 1)

 Khai báo địa chỉ Server và đường quản lý SNMP


Đưa địa chỉ IP của Server vào các lệnh sau
isadmin># configure system security snmp community public host-address
172.20.51.254/24
isadmin>configure>system>security>snmp>community>public>host-
address>172.20.51.254/24$ exit
isadmin>configure>system>security>snmp# community NETMAN host-address
172.20.51.254/24 context shub
isadmin>configure>system>security>snmp>community>NETMAN>host-
address>172.20.51.254/24$ exit all
3. Khai báo các profile
 Khai báo Spectrum profile – Profile quy định các chuẩn ADSL
Ví dụ tạo Spectrum profile với id = 2 name = AllADSL với các chuẩn ADSL tương ứng cho
các loại modem hiện tại của VNPT
isadmin># configure xdsl spectrum-profile 2 name AllADSL
isadmin>configure>xdsl>spectrum-profile>2$ g992-3-l1
isadmin>configure>xdsl>spectrum-profile>2$ g992-3-l2
isadmin>configure>xdsl>spectrum-profile>2$ g992-3-am
isadmin>configure>xdsl>spectrum-profile>2$ g992-5-a
isadmin>configure>xdsl>spectrum-profile>2$ g992-5-am
isadmin>configure>xdsl>spectrum-profile>2$ power_mgnt_mode l2-l3
isadmin>configure>xdsl>spectrum-profile>2$ active

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 4/6
isadmin>configure>xdsl>spectrum-profile>2$ exit all

 Khai báo các gói dịch vụ (các Service profile)


isadmin>configure>xdsl# service-profile 6 name megamaxi
isadmin>configure>xdsl>service-profile>6$ plan-bitrate-up 640 plan-bitrate-down 3680
isadmin>configure>xdsl>service-profile>6$ min-bitrate-up 32 min-bitrate-down 32
isadmin>configure>xdsl>service-profile>6$ max-bitrate-up 640 max-bitrate-down 3680
isadmin>configure>xdsl>service-profile>6$ active
isadmin>configure>xdsl>service-profile>6$ exit

4. Khai báo thông số uplink và thuê bao


 Khai báo Access_Node_ID
isadmin># configure system id XXX.YYY.AAA

 Khai báo VLAN dịch vụ và gán cho port uplink & card thuê bao
isadmin># configure vlan shub id 225 ( vlan Yên Bình ) name thanhto mode residential-
bridge
isadmin>configure>vlan>shub>id>225$ egress-port network:1
isadmin>configure>vlan>shub>id>225>egress-port>network:1$ exit
isadmin>configure>vlan>shub>id>225$ egress-port lt:1/1/[10...11]
isadmin>configure>vlan>shub>id>225# exit all
isadmin># configure vlan id 225 name thanhto mode residential-bridge pppoe-relay
Tham số PPPOE-RELAY cho phép gửi header 7 tham số để nhận thực 7 tham số trên
VISA
isadmin>configure>vlan>id>408$ exit all

 Khai báo lần lượt 24 thuê bao của các card


isadmin># configure interface port xdsl-line:1/1/10/[1...24] admin-up
isadmin># configure xdsl line 1/1/10/[1...24] service-profile 3 spectrum-profile 2 admin-up
isadmin># configure atm pvc 1/1/10/[1...24]:0:32 aal5-encap-type llc-snap
isadmin># configure bridge port isam:1/1/10/[1...24]:0:32
isadmin># configure bridge port isam:1/1/10/[1...24]:0:32 vlan-id 408
isadmin># configure bridge port isam:1/1/10/[1...24]:0:32 pvid 408
Dùng [1...24] cho phép tự động khai báo 24 port của card 1/1/10
Ở đây dùng gói dịch vụ easy (service profile = 3) làm tốc độ default cho tất cả các port
Khi thuê bao thực đăng kí có thể áp gói dịch vụ khác theo yêu cầu cho từng port cụ thể
isadmin># configure xdsl line 1/1/X/Y no admin-up
isadmin># configure xdsl line 1/1/X/Y service-profile <new_id> spectrum 2 admin-up

Tiếp tục lặp lại bộ 6 lệnh trên với các card thuê bao còn lại.

 Lưu lại cấu hình


isadmin># admin software-mngt shub database save
isadmin>admin>software-mngt>shub>database$ exit all
Sau khi lưu cấu hình, card GEB3 standby cũng sẽ đồng bộ dữ liệu với card active và nếu
mất điện trạm sẽ không mất cấu hình.

5. Một số lệnh khác ( Tham khảo thêm trong file CLI)


 Đổi địa chỉ IP trạm
isadmin># configure system management no default-route
isadmin># configure system management host-ip-address manual:<new_IP>/<mask>

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 5/6
isadmin># configure system management default-route <IP_default_route>

 Show địa chỉ IP trạm


isadmin># show transport ip-address

 Show trạng thái port thuê bao


isadmin># show xdsl operational-data line 1/1/X/Y detail

 Show trạng thái port trên GEB3


isadmin># show interface shub port <port #> detail

 Show các VLAN


isadmin># show vlan shub-vlan-name|name|residential-bridge|shub-port-vlan-map|…

 Cancel 1 khai báo thuê bao


Do thuê bao ADSL được tạo ra và được link tới nhiều tham số (bộ 6 câu lệnh), vì thế muốn
bỏ việc khai báo 1 thuê bao, cần làm ngược lại các bước cùng tham số “NO” đặt ở trước tham số
cần thiết. Ví dụ
isadmin># configure bridge port isam:1/1/10/[1...24]:0:32 no pvid
isadmin># configure bridge port isam:1/1/10/[1...24]:0:32 no vlan-id 408
isadmin># configure bridge no port isam:1/1/10/[1...24]:0:32
isadmin># configure atm no pvc 1/1/10/[1...24]:0:32
isadmin># configure xdsl line 1/1/10/[1...24] no admin-up
isadmin># configure interface port xdsl-line:1/1/10/[1...24] no admin-up

 Xóa tất cả cấu hình vừa config.(Tức là làm từ đầu khi trạm mới ).
isadmin>#admin sof oswp 1 acti clea database de faul

Ấn bản 01
Công ty Liên doanh Thiết bị Viễn thông 6/6

You might also like