Настройка ZTE zxa C620 C600 C650
//Заходим в режим конфигурирования
configure terminal
//Включаем порт
interface xgei-1/4/4
no shutdown
switchport mode trunk
switchport vlan 99 tag
$
vlan list 99
$
vlan 99
$
//Добавляем vlan и назначаем айпи
interface vlan99
ip address 10.0.6.93 255.255.0.0
$
//Назначаем пользователя и даем права
aaa-authentication-template 2001
aaa-authentication-type local
$
aaa-authorization-template 2001
aaa-authorization-type local
$
system-user
authorization-template 1
bind aaa-authorization-template 2001
local-privilege-level 15
$
authentication-template 1
bind aaa-authentication-template 2001
$
global-user-aging day 90
user-authen-restriction fail-time 10 lock-minute 15
user-name admin
bind authentication-template 1
bind authorization-template 1
password "password"
$
//Настраиваем NTP
ntp enable
ntp server 10.0.0.250 priority 1 version 2
//Настраиваем SSH
ssh server username admin authentication-type password
ssh server enable
//настраиваем Профиль PON
pon
onu-type Z670 gpon
onu-type-if Z670 eth_0/1
onu-type-if Z670 eth_0/2
onu-type-if Z670 eth_0/3
onu-type-if Z670 eth_0/4
onu-type-if Z670 wifi_0/1
onu-type-if Z670 wifi_0/2
onu-type-if Z670 wifi_0/3
onu-type-if Z670 wifi_0/4
onu-type-if Z670 wifi_0/5
onu-type-if Z670 wifi_0/6
onu-type-if Z670 wifi_0/7
onu-type-if Z670 wifi_0/8
uncfg-onu-display-info mac sn model vendorid
onu-profile gpon line TEST
fec enable
tcont 1 profile DBA_1000MB
$
$
//настраиваем порт SFP и добавляем ону
interface gpon_olt-1/1/1
onu 1 type Z670 sn "Serial"
$
//настраиваем порт ONU
interface gpon_olt-1/1/1
no shutdown
$
interface gpon_onu-1/1/1:1
tcont 1 profile DBA_1000MB
gemport 1 tcont 1
$
//настраиваем профиль gpon
gpon
onu profile vlan INT_VLAN tag-mode tag cvlan 99
profile tcont DBA_1000MB type 4 maximum 1024000
$
//настраиваем ОНУ
pon-onu-mng gpon_onu-1/1/1:1
service 1 gemport 1 vlan 99
wan-ip ipv4 mode dhcp vlan-profile INT_VLAN host 1
$
//настраиваем VPORT
interface vport-1/1/1.1:1
service-port 1 user-vlan 99 vlan 99
$
///настраиваем SNMP
snmp-server community "Community" view AllView rw
snmp-server community "Community" view response rw
snmp-server view response mib-2 included
snmp-server view response org included
snmp-server version v2c enable