ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
CommandDescriptionHostnameSTG0244OLT01
2
cd DATA0Xóa trắng cấu hìnhIP OLT10.12.117.230
3
delete startrun.datIP GW10.12.117.238
4
yesIP ACS vlan 2573120.117.254.33
5
reload system forceIP ACS vlan 250124.252.111.254
6
yesIP ACS_GW120.117.254.38
7
enableMột số cấu hình cơ ản liên quan hostname và ip cổng quản lý
8
zxr10
Trước khi cấu hình FT nhớ setup tool (putty/kitty/crt/hyperterminal/..) lưu log tác động lại để check nếu có lỗi
9
configure terminal
FT copy paste cấu hình từng phần để tránh fail lệnh, và dễ check nếu bị fail (1 lần copy tối đa 30-40 lệnh thôi)
10
hostname STG0244OLT01
Nếu cấu hình lỗi thì tạm dừng, liên hệ đầu mối kv3 hỗ trợ xử lý rồi chạy tiếp
11
line telnet server enable
12
interface mgmt_eth
13
ip address 192.168.1.20 255.255.255.0
14
exit255.255.240.0
15
set-pnp enable
16
interface smartgroup1Khai báo uplink join vào smartgroup
17
switchport mode hybrid
18
exit
19
interface xgei-1/1/1
20
no shutdown
21
speed speed-1G
22
switchport mode hybrid
23
exit
24
interface xgei-1/1/2
25
no shutdown
26
speed speed-1G
27
switchport mode hybrid
28
exit
29
interface xgei-1/1/3
30
speed speed-1G
31
exit
32
interface xgei-1/1/4
33
speed speed-1G
34
end
35
configure terminal
36
lacp
37
interface smartgroup1
38
lacp mode 802.3ad
39
lacp load-balance src-dst-mac
40
exit
41
interface xgei-1/1/1
42
smartgroup 1 mode active
43
exit
44
interface xgei-1/1/2
45
smartgroup 1 mode active
46
end
47
configure terminalKhai báo vlan quản lý, IP quản lý và định tuyến đến gateway.
48
vlan 40
49
exit
50
interface smartgroup1
51
switchport vlan 40 tag
52
exit
53
interface vlan40
54
ip address 10.12.117.230 255.255.255.240
55
exit
56
ip route 0.0.0.0 0.0.0.0 10.12.117.238
57
end
58
show lacp internalKiểm tra trạng thái cổng uplink
59
ping 10.12.117.238Kiểm tra kết nối đến Gateway
60
ping 10.73.225.195Kiểm tra kết nối đến NMS
61
configure terminalCấu hình TACACS và user local là "admin"
62
tacacs enable
63
tacacs-server timeout 5
64
tacacs-server deadtime 5
65
tacacs-server packet 1024
66
tacacs-server host 10.73.66.63 key T@c@cs2022
67
tacacs-server host 10.60.60.88 key T@c@cs2022
68
tacplus group-server zte
69
server 10.73.66.63
70
server 10.60.60.88
71
exit
72
aaa-authentication-template 2001
73
aaa-authentication-type tacacs-local
74
authentication-tacacs-group zte
75
exit
76
aaa-authorization-template 2001
77
aaa-authorization-type tacacs-local
78
authorization-tacacs-group zte
79
exit
80
system-user
81
authentication-template 1
82
bind aaa-authentication-template 2001
83
exit
84
authorization-template 1
85
bind aaa-authorization-template 2001
86
local-privilege-level 15
87
exit
88
user-default
89
bind authentication-template 1
90
bind authorization-template 1
91
exit
92
user-name admin
93
password Viettel@123
94
bind authentication-template 1
95
bind authorization-template 1
96
end
97
write
98
99
100