Настройка Huawei SmartAX MA5683T через консоль

Стандартный логин: root, пароль: admin.
Стандартный IP: 10.11.104.2
Стандартные данные для подключения через консольный порт: Скорость 9600, 8bits, stopbits 1, flow control none, VT100/auto.
На входе подаем тегированный vlan, у клиента будет выходить трафик без тега.

На сайте support.huawei.com мануал по настройке на эту модель не был опубликован.

На тесте будет использоваться сборка:
1 —
2 —
3 —
4 —
5 GPBD
6 SCUN
7 SCUN
8 GICF
9 GICF
10 PRTE
И GPON ONUшки: Huawei EchoLife HG8010, ZTE ZXA10 F601, Huawei EchoLife HG8245C (WiFi).

Подключимся к консольному порту (CON) и пропишем IP для управления в управляемом VLAN (у меня 207):

enable
config
vlan 207 smart
port vlan 207 0/8 0
interface vlanif 207
ip address 192.168.5.5 255.255.255.0
quit
ip route-static 0.0.0.0 0 192.168.5.1

Либо можно назначить IP специальному meth порту для управления (тогда придется подключить к OLT лишний кабель):

interface meth 0
ip address 192.168.5.5
quit

В конфигурационном режиме добавим пользователя чтобы можно было подключится через telnet:

MA5683T(config)#terminal user name
huawei
pass007
pass007
3 (1. пользователь 2. оператор 3. администратор)
4

Подтверждение новоустановленых плат:

MA5683T(config)#board confirm 0/5
MA5683T(config)#board confirm 0/8
MA5683T(config)#board confirm 0/9
MA5683T(config)#display board

Добавление нового Vlan для пользователей:

MA5683T(config)#vlan 228 smart
MA5683T(config)#port vlan 228 0/8 0
MA5683T(config)#display vlan 228

Пример добавление DBA профайла:

MA5683T(config)#dba-profile add profile-id 10 type4 max 1024000
MA5683T(config)#display dba-profile all

Добавление lineprofile:

MA5683T(config)#ont-lineprofile gpon profile-id 10
tcont 4 dba-profile-id 10
gem add 1 eth tcont 4
mapping-mode vlan
gem mapping 1 0 vlan 228
commit
quit

Добавление srvprofile:

MA5683T(config)#ont-srvprofile gpon profile-id 10
ont-port eth 1
port vlan eth 1 228
commit
quit

Настройки GPON и добавление ONU:

MA5683T(config)#interface gpon 0/5
huawei(config-if-gpon-0/5)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/5)#display ont autofind 0
huawei(config-if-gpon-0/5)#ont add 0 0 sn-auth 5A544117C04C6148 omci ont-lineprofile-id 10 ont-srvprofile-id 10 desc ОПИСАНИЕ
MA5683T(config-if-gpon-0/5)#ont port native-vlan 0 0 eth 1 vlan 228

Пример просмотра информации о добавленной ONU:

MA5683T(config-if-gpon-0/5)#display ont info 0 0
MA5683T(config-if-gpon-0/5)#display ont ipconfig 0
MA5683T(config-if-gpon-0/5)#display ont traffic 0 0 1
MA5683T(config-if-gpon-0/5)#display ont optical-info 0 1
MA5683T(config-if-gpon-0/5)#display ont version 0 1
MA5683T(config-if-gpon-0/5)#display statistics ont-eth 0 1 ont-port 1

Настройка GIU uplink портов:

MA5683T(config)#interface giu 0/8
MA5683T(config-if-giu-0/8)#native-vlan all vlan 228
MA5683T(config-if-giu-0/8)#network-role 0 uplink
MA5683T(config-if-giu-0/8)#display port state all
MA5683T(config-if-giu-0/8)#display traffic-suppress

Добавление service-port для добавленной onu (для каждой onu нужно прописывать service-port, без него не будет работать):

MA5683T(config)#service-port 1 vlan 228 gpon 0/5/0 ont 0 gemport 1 multi-service user-vlan 228

По service-port в дальнейшем можно смотреть mac-адреса на onu:

display mac-address service-port 1

Пример поиска конкретного mac-адреса:

display mac-address all | include e0cb-4ec3-7c44

Настройка DHCP:

MA5683T(config)#dhcp-server 0 ip 10.0.0.1
MA5683T(config)#dhcp proxy enable
MA5683T(config)#interface vlanif 228
MA5683T(config-if-vlanif50)#dhcp-server 0

Настройка SNMP:

MA5683T(config)#snmp-agent community read имя
MA5683T(config)#snmp-agent sys-info version v2c
MA5683T(config)#snmp-agent sys-info contact тескт
MA5683T(config)#snmp-agent sys-info location текст

Настроим защиту от петель:

ring check enable
ring check resume-interval 30

Пример включения защиты от dos:

security anti-dos enable
security anti-dos control-packet policy deny
security anti-dos control-packet rate 0/5/0 default
display security anti-dos control-packet rate 0/5/0
display security dos-blacklist all

Включим прочую защиту:

security anti-icmpattack enable
security anti-ipattack enable
security anti-macduplicate enable
display log security 
display security config
display security conflict

Просмотр mac-адресов:

display mac-address

Сохранение конфигурации:

save

Просмотр текущей конфигурации:

display current-configuration

Просмотр части текущей конфигурации в которой встречается указанный текст:

display current-configuration | include ТЕСКТ

Пример экспорта конфигурации на tftp сервер:

MA5683T(config)#backup configuration tftp 10.0.0.2 huawei25062014.txt

Пример сброса конфигурации:

erase flash data active/standby

Пример просмотра различной статистики:

display board 0/5
display cpu 0/5
display resource
display security config
display temperature
display gpon statistics ethernet 0/5 0

Настройка контроля перегрузки процессора (стандартно 10):

display cpu-overload-control parameter
cpu-overload-control  parameter adjustfactor 20

Для удаления ONU нужно сначала удалить service-port, а потом саму ONU командами:

undo service-port 1
interface gpon 0/5
ont delete 0 0

Пример настройка времени:

time 11:24:00
time 11:24:00 2016-11-06
display time
timezone GMT+ 02:00
display timezone
display time dst
display time time-stamp
display time-range
ntp-service подкомманды
display ntp-service

Включение/отключение отображения аварийных сигналов в консоли:

alarm output all
undo alarm output all

Настройка и просмотр логов:

display log all (История введенных команд всех пользователей)
display log cli (CLI users)
display log failure (История невыполненных введенных команд)
display log index (Index of the log)
display log memory (The max memory of some type of log)
display log name (История введенных команд указанным пользователем)
display log security (Display security log)
display log snmp (SNMP users)
display loghost
log modify operating (Operating log (Modify log configuration))
log modify security (Security log)
loghost activate (Activate a log server configuration item)
loghost add (Add a log server configuration item)
loghost deactivate (Deactivate a log server configuration item)
loghost delete
display syslog
syslog disable (Set the switch for reporting the alarm event to the syslor)
syslog enable (Set the switch for reporting the alarm event to the syslor)
syslog output (Configure the output level of the syslog)
syslog sync (Synchronizing the alarm event to the syslog server)

При подключении нерабочей SFP можно увидеть информацию о ней например в активных тревогах:

display alarm active all

Приведу и опишу список остальных возможных команд. Команды можно набирать не до конца, а нажимать клавишу TAB, они будут дописываться автоматически.

КОМАНДЫ НАЧАЛЬНОГО ПОЛЬЗОВАТЕЛЬСКОГО РЕЖИМА:

bandwidth port frameid/slotid/portid (Set the bandwidth of port)
cls (Очистка экрана)
display alarm active (Отображение информации об активных тревогах)
display alarm configuration (Отображение информации об конфигурации тревог)
display alarm dy5 (Отображение информации DY5)
display alarm history (Отображение истории тревог)
display alarm jitter-proof (Отображение параметров jitter-proof)
display alarm list alarmclass (Operate by alarm class)
display alarm list alarmlevel (Operate by alarm level)
display alarm list alarmtype (Operate by alarm type)
display alarm list all (Display the basic information of all the alarms)
display alarm list from (Start alarm ID)
display alarm statistics (Display alarm statistics result)
display autosave configuration (Отображение параметров автосохранения конфигурации)
display bandwidth (Display bandwidth of board and port or system convergence)
display baudrate (Отображение скорости передачи данных через консольный порт)
display board номер (Отображение информации о плате)
display client (Информация о пользователях)
display event configuration (Display event configuration information)
display event history (Display historical event records)
display event list (Display event basic information)
display event statistics (Display event statistics result)
display frame info (Display Frame information)
display history-command (Отображение истории введенных команд)
display idle-timeout (Display interval of terminal timeout)
display if-h248 all (Display info of all MG interface)
display infoswitch cli (Display information output switch of the command line)
display interactive (Display command confirmed function)
display language (Информация о версии языка отображения)
display mem номер (Отображение используемой памяти в процентах)
display patch (Display information of patch)
display serial-mode (Display access-mode: console/cqt/112/spl)
display sysman mac-address (Display the network interface MAC address)
display system declaration switch (Declaration file is to be shown or not)
display system encoding (Отображение кодировки системы)
display system sys-info (Информация о конфигурации устройства)
display sysuptime (Отображение времени работы системы)
display temperature frameid/slotid (Отображение температуры плат)
display terminal type (Отображение типа терминала)
display terminal user all (Отображение свойств всех пользователей)
display terminal user expired-time (Отображение свойств пользователя истекшего по времени)
display terminal user locked (Отображение свойств заблокированных пользователей)
display terminal user name (Отображение свойств польователя указанного по имени)
display terminal user online (Отображение свойств пользователей онлайн)
display terminal user-profile all (Query all user profiles)
display terminal user-profile name (Query one user profiles)
display version ( version command group)
display version backplane (Backplane version)
display version frameid/slotid
echo (Echo)
enable (Включите команд привилегированного режима)
help (Описание интерактивной справочной системы)
history-command max-size (Set the size of history commands in buffer)
idle-timeout 1-255 (Display interval of terminal timeout)
interactive (Enable or disable command execute confirm function)
quit (Exit from current mode and enter prior mode)
scroll (Set auto or manual scroll function)
smart (Enable or disable smart function)
super (Modify super password parameters)
switch language-mode (Switch language mode)
telnet хост (Открытие telnet соединения)
terminal type ansi/vt100 (Указание типа терминала)
undo команда (Отмена указанной команды)

КОМАНДЫ ПРИВИЛЕГИРОВАННОГО РЕЖИМА:

active (Enable configuration)
alarm active (Clear active alarm)
alarm alarmlevel (Set alarm level)
alarm correlation ( correlation command group)
alarm dy5 (DY5 alarm related operation)
alarm jitter-proof (Set parameters of alarm jitter-proof)
alarm output (Set alarm CLI output flag)
alarm srveff (Set alarm serviceaffect)
alarm-event statistics period 1-8760 (Statistical period for alarms without parameters(unit:hour))
autosave interval ( interval command group)
autosave time ( time command group)
autosave type (Display type of automatic saving)
backup bios (BIOS file)
backup configuration (Configuration file)
backup data (Database file)
backup language (Host Multi-language resource)
backup program (Host program)
backup sip-srvlogic (SIP-Srvlogic file)
backup voice (Voice file)
baudrate (скорость передачи данных через серийный порт, 9600,19200,38400,57600,115200 bps)
clear alarm dy5 (Clear dy5 alarm)
clear terminal user login failure (Failure login record)
client kickoff (Kickoff login client)
config (Переход в режим конфигурирования)
debugging all (Все функции отладки)
debugging bfd (BFD module)
debugging bgp (BGP protocol)
debugging dns (Domain name system module)
debugging ha (HA command)
debugging hwtacacs (Set HWTACACS server)
debugging ifigmp (Specify parameters for IGMP)
debugging igmp (IGMP debug information)
debugging ip (IP module)
debugging ipv6 ( ipv6 command group)
debugging isis (ISIS module)
debugging mpls ( mpls command group)
debugging mrm (Multicast information)
debugging ntp-service (NTP module)
debugging ospf (Open Shortest Path First (OSPF))
debugging pim (PIM module)
debugging rawip (RAWIP module)
debugging rawlink (RAWLINK module)
debugging rip (RIP module)
debugging rm (Open/Close RM debug switch)
debugging rsa (RSA module)
debugging stp (Spanning tree protocol)
debugging tcp (TCP module)
debugging tnlm (Tunnel configurations)
debugging tunnel (Tunnel module)
debugging udp (UDP module)
diagnose (Переход в режим диагностики)
disable (выход из привилегийного режима)
display acl (ACL status and configuration information)
display adsl ( adsl command group)
display alarm (Display alarm correlation information)
display ancp ( ancp command group)
display anti-rogueont ( Anti-rogueont command group)
display arp aging-mode (ARP entry aging mode)
display arp aging-time (ARP entry aging time (unit:min), default time is 20 minutes)
display arp all (Display static and dynamic ARP entry)
display arp dynamic (Display dynamic ARP entry)
display arp ip_addr (Display ARP entry by special IP address)
display arp proxy (Display ARP proxy status)
display arp static (Display static ARP entry)
display arp vlan (Display ARP entry by special VLAN ID)
display arp-detect (Arp Detect)
display auth (Параметры проверки подлинности)
display auto user (Отображение AUTO пользователей)
display auto-backup (Автоматическое резервное копирование)
display auto-vccv (Display the auto-vccv infomation)
display autosense service-port (Autosensing service virtual port)
display autounloop eth (Automatic unloop)
display base-gemport (Base GEM port ID)
display bfd (Specify BFD(Bidirectional Forwarding Detection) configuration information)
display bgp (BGP информация)
display bind adsl (ADSL service type)
display bind all (Display all binding(s))
display bind atm (ATM service type)
display bind board (Bind board command)
display bind dynamic-profile (Dynamic-profile)
display bind eth (LAN service type)
display bind service-port (Set by service virtual port index)
display bind shdsl (SHDSL service type)
display bind vdsl (VDSL service type)
display bit-error-define (PRA Bit Threshold parameters)
display board (отображение информации о плате)
display bonding-group (Bonding group)
display bpdu (BPDU)
display bra state (Display bra port state)
display bra-alarm-threshold (BRA Alarm Threshold parameters)
display bra-degrade-threshold (BRA Degrade Threshold parameters)
display bra-error-define (BRA Define Threshold parameters)
display buffer (Display buffer occupancy)
display car-group (Car-Group)
display car-threshold (Car thresholds of 802.1p priorities)
display cesop-connect ( cesop-connect command group)
display cfm ( cfm command group)
display classification all (Display all ONT traffic classification profiles)
display classification profile-id (By profile ID)
display classification profile-name (By profile name)
display clip parameters (Clip parameters configuration)
display clock external (Show config of external clock output)
display clock mode (Display 8K and 19M clock work mode)
display clock ql (Show SSM output mode)
display clock source ( source command group)
display clock switch (Display clock source switch parameter)
display command modify information (Информация о команде, уровень которой изменяется)
display config (Системная конфигурация)
display cos-queue-map (802.1p priority and queue map)
display cpe-management config (Show parameter information of cpe-management)
display cpu (Отображение загрузки процессора в процентах)
display cpu-overload-control ( cpu-overload-control command group)
display current-configuration (Отображение текущей конфигурации)
display data sync state (Отображение статуса синхронизации данных)
display dba-profile all (All DBA profile)
display dba-profile profile-id (DBA profile ID)
display dba-profile profile-name (DBA profile name)
display debugging ( debugging command group)
display default-parameter mpls te cspf (Display CSPF default parameter value)
display default-policy all (Display default policy setting)
display dhcp config (DHCP configuration)
display dhcp domain (Domain information)
display dhcp interface (Display DHCP configuration of interfaces)
display dhcp l2 (L2 DHCP statistics)
display dhcp l3 (L3 DHCP statistics)
display dhcp mac-range (MAC range information)
display dhcp option82 ( option82 command group)
display dhcp proxy (DHCP proxy user)
display dhcp server config (DHCP server command group)
display dhcp simulation (Simulation)
display dhcp-client ( dhcp-client command group)
display dhcp-option82 (Dhcp-option82)
display dhcp-server all-group (All of DHCP server group)
display dhcp-server integer 0-19 (The No. of DHCP server group)
display dhcp-server interface (Show DHCP server group of interfaces)
display digitmap (Digitmap configure)
display digitmap-timer (DMM T timer configure)
display dns domain (Имя домена по умолчанию)
display dns dynamic-host (Dynamic host name)
display dns server (IP адрес сервера доменных имен)
display dot1ad (Dot1ad TPID)
display dot1x (802.1X)
display dpbo-esel (DPBO-ESEL)
display dscp-to-pbits (DSCP mapping table)
display dsl (XDSL)
display dsp (DSP attributer configure)
display dsp-para-template (Display information of DSP parameters template(s))
display dtmf (DTMF parameter configure)
display E1 state (Display E1 port state)
display e1-degrade-threshold (PRA Degrade Threshold parameters)
display e1-error-define (PRA Define Threshold parameters)
display e2etrace (End to end signalling trace)
display early-drop (early-drop command group)
display efm (Ethernet Fault Managment)
display emu (Display environment monitor unit(s))
display encapsulation (Display encapsulation type)
display epon (EPON command group)
display esl (The online user information)
display exchange-weight (Overload control weight exchange)
display explicit-path (Show IP explicit paths)
display F5 (Display F5 oam configuration of port data)
display fault (Display the board fault list)
display fax (FAX parameter configure)
display fax-modem (Fax and modem parameter configuration)
display fib (FIB status and configuration information)
display file-server (Display file server configuration)
display firewall blacklist (Enter blacklist command group)
display firewall config (Display filter configuration)
display firewall packet-filter (Specify packet filter)
display flush (Smart Link FLUSH packet)
display frame (Display information about Frame)
display ftp (FTP user and password configuration)
display global-digitmap (Global digitmap information)
display gpon alarm-profile (Alarm profile command group)
display gpon dba (Dynamic bandwidth adjustment)
display gpon ont-password-renew (ONT password renewal)
display gpon statistics ethernet (Ethernet frame statistics)
display gpon statistics gem (GEM frame statistics)
display h248profile (Display the used profile info)
display h248stack (Display H248 stack transactions reliability parameter)
display h248statistics (H248 message statistic)
display hwtacacs-server (HWTACACS server information)
display icmp statistics (ICMP статистика)
display if-h248 (MG interface)
display igmp ( igmp command group)
display interface (Информация о всех интерфейсах)
display interface adsl (ADSL interface)
display interface meth (MEth interface)
display interface null (NULL interface)
display interface shdsl (SHDSL interface)
display interface vdsl (VDSL interface)
display interface vlanif (VLAN interface)
display io-packetfile (IO packet file in flash)
display ip as-path-filter (Specify Regular expression access list number)
display ip community-filter (Add a community-filter entry)
display ip interface ( interface command group)
display ip ip-prefix (Specify an address prefix-list)
display ip routing-table (Routing table)
display ip socket (Display information of created sockets)
display ip statistics (Display statistic information of datagram)
display ip vpn-instance (VPN Instance information)
display ip-aware (Ip aware feature command)
display ipoa (IPoA config)
display ipprec-to-pbits (IP precedence mapping table)
display ipv6 ( ipv6 command group)
display isis (ISIS status and configuration information)
display isolate all (Isolate information)
display isolate board (By board)
display isolate group (By group)
display isolate port (By port)
display iua-link (IUA link)
display iua-linkset (IUA linkset)
display l2ua (L2ua protocol)
display l3vpn (L3vpn module)
display lacp (Link Aggregation Control Protocol)
display license (Display license information)
display line (Display parameter of ADSL port)
display link-aggregation (Link aggregation group)
display linktrap (Link trap switch of the port)
display local-digitmap (The local digitmap)
display location (Display MAC address location)
display lspv (Lsp verification)
display mac-address all (Display all MAC addresses)
display mac-address board (Display MAC address by board)
display mac-address learning (Configuration of dynamic MAC learning state)
display mac-address max-mac-count (The maximum number of MAC address that service virtual port can learn)
display mac-address meth (Display MAC address by METH port)
display mac-address number (Display MAC address number)
display mac-address port (Display MAC address by port)
display mac-address service-port (Display by service virtual port index)
display mac-address static (Static MAC)
display mac-address timer (Время хранения mac-адреса в таблице)
display mac-address vlan (Display MAC address by VLAN ID)
display mac-count-zero (Maxmum MAC address learning number is zero)
display mac-pool (Configure/display MAC pool)
display mbgp (Multicast-bgp routing table)
display meth (Meth routing)
display mg-overload-control (MG overload control parameters)
display mg-ringmode (Operation of ring mode)
display mg-software (MG interface software parameters)
display mgbrauser (MG-BRA user operation)
display mgc-overload-control (MGC overload control parameters of the MG interface)
display mgprauser (MG-PRA user operation)
display mgpstnuser (MG-PSTN user operation)
display mguser (MG user operation)
display migp (Multicast-igp routing table)
display mix (Mix info)
display modem (MODEM parameter configure)
display monitor-link (Monitor link group)
display mpls ( mpls command group)
display mrt (Multicast-static routing table)
display msginfo (Ten record of msg overloading)
display multi-portid (Multicast GEM port)
display multicast ( multicast command group)
display multicast-unknown (Multicast-unknown keyword)
display norollback (Display undo rollback time information)
display ont autofind (Automatically found ONT)
display ont capability (ONT capability)
display ont info (ONT information)
display ont version (ONT version information)
display ont-digitmap-profile (Ont digitmap profile)
display ont-learned-mac (The mac that the ont learned)
display ont-lineprofile ( ont-lineprofile command group)
display ont-pots-profile (Config pots profile)
display ont-sipagent-profile (Ont sipagent profile)
display ont-slaprofile (Ont-slaprofile)
display ont-srvprofile (ONT service profile)
display ont-voip-media (Ont voip media)
display onu (Display the state of the function of managing the ONU through the NAT proxy for the OLT)
display optical-alarm-profile (Optical alarm profile)
display ospf (Open Shortest Path First (OSPF))
display overload-aware (Awareness of overload)
display oversea (Oversea parameters)
display packet statistic vlan (Packet)
display packet-filter (Display the configuration information of packet filter)
display pbits-to-pbits (Priority mapping table)
display pim (PIM status and configuration information)
display pitp ( pitp command group)
display port desc (Display description by port or display port by description)
display port mode (Display nni port mode)
display port statistics (OLT port statistics)
display port vlan (Display VLAN information for port)
display power (Query system power)
display power-dialer-control (Power dialer control parameters)
display pppoa ( pppoa command group)
display pppoe ( pppoe command group)
display progress (Display progress)
display protect-group (Protect group)
display protocol ( protocol command group)
display pstn (Display pstn port state)
display ptp ( ptp command group)
display pw ( pw command group)
display pw-ac-binding (PW AC binding)
display pw-description (PW description)
display pw-para (Specifing PW PARA Mode configuration)
display pw-ps (PW protection group)
display qos-info (QoS interface configuration information)
display queue-buffer (CoS queue buffer size ratio)
display queue-scheduler (CoS queue scheduling mode)
display queue-shaping (Queue shaping configuration)
display rack (Display information about Rack)
display radius-server (RADIUS status and configuration information)
display raio (Relay Agent Information Options)
display raio-anid (ANID)
display raio-anip (ANIP)
display raio-mode (Display relay agent info option mode)
display rawlink (RAWLINK statistics information)
display resource (System resources(mem,message,cpu))
display rfc2198 ( rfc2198 command group)
display ring (Configure/display ring check information)
display rip ( rip command group)
display rm (Routing Module)
display rogueont (The rogueont)
display rollback (Display board rollback state)
display route-policy (Display configured route-maps)
display router (Configure router information)
display rrpp ( rrpp command group)
display rsa (Display RSA module status and configuration information)
display runstat (Display running statistic information of system)
display saved-configuration (The saved configuration information)
display sctp (Sctp protocol)
display display section-details (Section details)
display security anti-dos (Configure anti-dos)
display security anti-ipspoofing (Configure anti-ipspoofing)
display security anti-macspoofing (Anti-macspoofing function switch)
display security bind (Display bind information)
display security config (Display security config)
display security conflict (Display IP/MAC conflict information)
display security dos-blacklist (Display security dos-blacklist)
display security ip-bind (Display security dynamic binding IP address)
display security mac-filter (Mac address filter)
display service-num (Display service number(s))
display service-port (Service port)
display service-port-bundle (Service virtual port bundle)
display shdsl ( shdsl command group)
display snmp-agent ( snmp-agent command group)
display snmp-profile (SNMP profile command group)
display special-portid (Special GEM port)
display ssh ( ssh command group)
display stacking ( VLAN stacking)
display standalone (Info for stand alone)
display standby-port (The ports of standby board)
display statistics ( statistics command group)
display stp (Spanning tree protocol)
display sysman ( sysman command group)
display system ( system command group)
display tag-mode (Tag mode)
display tcont (T-CONT)
display tcp (TCP status and configuration information)
display tdm-connect ( tdm-connect command group)
display tei-check (TEI check parameters)
display temperature ( temperature command group)
display terminal ( terminal command group)
display thresholdid (Display threshold id information)
display tid-format (Terminal ID)
display tid-template (TID template)
display traffic ( traffic command group)
display traffic-suppress (Display information of board traffic suppression)
display trap ( trap command group)
display trap-sync (Display trap synchronization switch)
display tunnel-info (Tunnel Info)
display tunnel-policy (Tunnel Policy)
display udp (UDP status and configuration information)
display upward-bandwidth (Set upward bandwidth parameters)
display user (User define ring)
display vdsl ( vdsl command group)
display vlan ( vlan command group)
display vlan-feature (Display configuration of VLAN)
display vmac (Configure/display VMAC information)
display vmac-umac-mapping (Display the mapping of VMAC-UMAC)
display voice-para (Voice para running)
display voice-para-template (Parameter template)
display vrrp-snoop ( VRRP-SNOOPING command group)
display vtp-cdp (VTP-CDP)
display wred-profile (WRED profile)
display xdsl (XDSL)
display xpon ( xpon command group)
duplicate configuration (System configuration)
duplicate data (Database file)
duplicate language (System Multi-language resource)
duplicate packetfile (System packet)
duplicate program (Host program)
erase flash data active/standby (стирание конфигурационных данных)
event eventlevel (Set event level)
event output (Set event CLI output flag)
file-server auto-backup (Auto-backup server)
file-server auto-load (Auto-load server)
ftp clear (Clear FTP configuration, use anonymous)
ftp set (Set FTP user and password)
igmp prune-delay 0-3600
infoswitch cli 1-22 (Set information output switch of the command line)
load bios (BIOS file)
load cancel (Cancel loading to standby board or service board)
load configuration (Configuration file)
load cpld (CPLD file)
load data (Database file)
load declaration (Declaration file)
load fpga (FPGA file)
load language (Multi-language resource file)
load ont-packetfile (ONT packet file)
load packetfile (Software packet file)
load patch (System patch)
load program ( program command group)
load script (Script file)
load sip-srvlogic (SIP-Srvlogic file)
load voice (Voice file)
monitor (Переключение в режим мониторинга)
mpls te reoptimization (MPLS TE parameters, Trigger Re-optimization)
patch activate (Activate patch)
patch deactivate (Deactivate patch)
patch delete (Delete patch)
patch rollback (Rollback patch)
patch run (Run patch)
ping -c (Set the number of echo requests to send)
ping -i (Select the interface sending packets)
ping -q (Quiet output. Nothing is displayed except the summary lines at startup time and when finished)
ping -s (Specifies the number of data bytes to be sent)
ping -t (Set timeout in milliseconds to wait for each reply)
ping -v (Verbose output. ICMP packets other than ECHO_RESPONSE that are received are listed. By default, it is not displayed)
ping -vpn-instance (Specify VPN-Instance name)
ping hostip (IP address of a remote system)
ping ipv6 (IPv6 Protocol)
ping lsp (LSP Ping)
ping pw (PWE3 Ping)
quit (выход из текущего режима и переход в предыдущий)
reboot system/active/standby (перезагрузка системы, активной или ожидающей платы)
Do soft reset
refresh bgp all (All the connections with BGP)
refresh bgp external (External session)
refresh bgp group (BGP sessions for peer group)
refresh bgp internal (Internal session)
refresh bgp ip_addr (Specify ipv4 peer address)
refresh bgp vpn-instance (VPN instance)
reset acl (Clear ACL information)
reset arp (Reset ARP entry)
reset bfd (Specify BFD(Bidirectional Forwarding Detection) configuration information)
reset bgp (Border Gateway Protocol (BGP))
reset counters (Statistics information about the interface)
reset dhcp ( dhcp command group)
reset dhcp-server (Clear counters of DHCP server group)
reset dns (DNS status and configuration information)
reset efm (Ethernet Fault Managment)
reset firewall (Specify firewall configuration)
reset hwtacacs-server (Set HWTACACS server)
reset igmp (Specify parameters for IGMP)
reset ip ( ip command group)
reset ipv6 ( ipv6 command group)
reset isis (Clear ISIS)
reset lspv (Lsp verification)
reset mpls ( mpls command group)
reset multicast (Multicast information)
reset ospf (Open Shortest Path First (OSPF))
reset pim (Protocol Independent Multicast)
reset pw (Specify PW configuration information)
reset rawlink (RAWLINK statistics information)
reset rip (Configuration details of RIP)
reset tcp (TCP module)
reset udp (UDP module)
resource threshold cpu (Set cpu overload threshold)
resource threshold mem (Set resource overload threshold)
rollback (System rollback command)
save (общее сохранение)
save configuration/data
search keyword (Search command)
serial-mode (Set access-mode: console/CQT/112/SPL)
set biosCP (Patch operation)
set norollback (Set the operative time of rollback function)
ssh sftp clear (Clear user name, passowrd and port of SFTP load)
ssh sftp set (Configure user name, password and port of SFTP load)
super (Modify super password parameters)
sysman source trap/syslog/tftp/ftp/sftp/telnet/ping/tracert/license/all (Source interface configuration information)
sysname (установка сетевого имени системы)
system declaration (Declaration file)
system mode (Setting the system mode)
system status (Collect the status)
system switch-over (System switch over)
terminal debugging (Enable/disable debug information to terminal)
terminal hold (Lock the terminal)
terminal monitor (Enable/disable information output to current terminal)
terminal user (User operate (add, delete, modify attribute))
terminal user-profile (User profile)

tracert -m (Set maximum time to live)
tracert -vpn-instance (Specify VPN-Instance name)
tracert -w (Set timeout in milliseconds to wait for each reply)
tracert hostip (IP address of a remote system)
tracert ipv6 (IPv6 Protocol)
tracert lsp (LSP traceroute)

trap convert (Set the conversion between alarm and event)
trap filter (Set the filtering condition)
trap flow-control (Set the switch of trap flow-control)

Set trap synchronization switch
trap-sync alarm (Alarm)
trap-sync all (All types)
trap-sync datachange (Datachange)
trap-sync event (Event)
trap-sync maintain (Maintain)
trap-sync test (Test)
trap-sync topo (Topo)
undo команда (Отмена указанной команды)
vlan (VLAN)

КОМАНДЫ В КОНФИГУРАЦИОННОМ РЕЖИМЕ:

aaa AAA(Authentication,Authorization,Accounting) view
acl Specify ACL configuration information
active Activate state of the bonding group
adsl adsl command group
ancp ANCP configuration command
anti-rogueont Anti-rogueont command group
arp arp command group
arp-detect Arp Detect
auto-backup Auto backup
auto-vccv Config the auto vccv
autounloop Automatic unloop
bfd Specify BFD(Bidirectional Forwarding Detection configuration information)
bgp Border Gateway Protocol(BGP)
bind bind command group
bit-error-define PRA Bit Threshold parameters
bitschip Reset bits chip
board add Add board
board confirm Confirm board
board delete Delete board
board desc Set board description
board power-off Power off the board
board power-on Power on the board
board primary-state Set board primary state
board prohibit Prohibit/Restore board
board reset Reset board
bonding-group Bonding group
bpdu tunnel vlan vlanid BPDU
bra-alarm-threshold BRA Alarm Threshold parameters
bra-degrade-threshold BRA Degrade Threshold parameters
bra-error-define BRA Define Threshold parameters
braport Enter braport command mode
btv Broadband TV
car-group Car-Group
car-threshold Set the car-threshold thresholds of each 802.1p priority
cesop-connect CESoP connect
cfm Continuity Fault Management
classification classification command group
clear clear command group
clip Clip parameters configuration
clock clock command group
command Modify command level parameters
config System config
cos-queue-map 802.1p priority and queue map
cpe-management cpe-management command group
cpu-overload-control cpu-overload-control command group
dba-profile add Add a DBA profile
dba-profile delete Delete a DBA profile
dba-profile modify Modify a DBA profile configuration
deactive bonding-group 0-127 Deactivate state of the bonding group
debugging (включение функций отладки системы)
default Configure default MAC pool
default-policy Configure default policy
defaultvlan Configure default VLAN type
dhcp domain Create and configure option60 domain
dhcp mac-range Create and configure MAC range
dhcp mode DHCP L2/L3 mode switch
dhcp option82 option82 command group
dhcp proxy proxy command group
dhcp relay-interface Relay-interface
dhcp server mode backup/shareload (режим DHCP сервера)
dhcp simulation Simulation
dhcp sub-option7 DHCP Sub-Option7 config
dhcp sub-option90 DHCP Sub-Option90 config
dhcp user DHCP user
dhcp-option82 Dhcp-option82
dhcp-server 0-19 ip адрес (добавление ip адреса DHCP сервера)
dns domain Specify default domain name
dns resolve Start domain name resolving
dns server Specify domain name server IP address
dot1ad Set dot1ad TPID
dot1x 802.1X
dpbo-esel DPBO-ESEL
dscp-to-pbits DSCP mapping table
dsp DSP attributer configure
dsp-para-template DSP parameters template configuration
dtmf DTMF parameter configure
e1-degrade-threshold PRA Degrade Threshold parameters
e1-error-define PRA Define Threshold parameters
e1port Enter e1port command mode
e2etrace End to end signalling trace
early-drop early-drop command group
efm Ethernet Fault Managment
emu EMU command group
encapsulation Set encapsulation type
epon ont-password-renew ONT password renewal
epon oui Set the OUI
esl Enter ESL(Ethernet Subscriber Line) user command mode
exchange-weight Overload control weight exchange
explicit-path Configure Explicit-Path
F5 Set F5 oam configuration of port data
fax FAX parameter configure
fax-modem Fax and modem parameter configuration
firewall blacklist Enter blacklist command group
firewall default deny Specify the default action is deny
firewall default permit Specify the default action is permit
firewall enable Enable the firewall
flush Smart Link FLUSH packet
frame set 0-1 desc текст (установка описания рамы)
gpon alarm-profile Alarm profile command group
gpon base-gemport Base GEM port ID
gpon dba Dynamic bandwidth adjustment
gpon multi-portid Multicast GEM port
gpon ont-password-renew ONT password renewal
h248statistics H248 message statistic
hwtacacs-server Set HWTACACS server
igmp IGMP command group
info-center Specify message output configuration information
interface adsl Change into ADSL command mode
interface atm Change into ATM command mode
interface csp Change into CSP command mode
interface edt Modify user board mode
interface emu Enter an environment monitor unit
interface epon Change into EPON command mode
interface eponnni Change into EPONNNI command mode
interface eth Change into ETH command mode
interface giu Change into GIU command mode

****************************

РЕЖИМ КОМАНД GPON:

interface gpon
anti-rogueont manual-detect номер_порта Manually detect rogue ONT
car-mode service-port/port-cos CAR mode
car-port номер_порта CAR of port and CoS
clear statistics gemport Clear GEM frame statistics
clear statistics ont ONT command group
clear statistics ont-eth Clear Ethernet frame statistics
clear statistics ont-gem Clear GEM frame statistics
clear statistics ont-line-quality Line quality
display board Display information of board
display car-mode CAR mode
display car-port CAR of port and CoS
display current-configuration Current configuration
display dual-parenting-protect Type-B dual parenting protect command
display ont alarm-profile ONT alarm profile
display ont alarm-state ONT alarm state
display ont autofind Automatically found ONT
display ont capability ONT capability
display ont config-capability ONT configuration capability set
display ont info ONT information
display ont ipconfig ONT IP configuration
display ont mac-count MAC count
display ont mg MG interface
display ont optical-alarm-profile Optical alarm profile
display ont optical-info Information about the ONT optical transceiver
display ont port port command group
display ont potsport POTS port type
display ont register-info ONT register information for last 10 times
display ont snmp-profile ONT SNMP profile
display ont snmp-route SNMP route
display ont traffic ONT realtime traffic
display ont version ONT version information
display ont voip VOIP service
display port ddm-info Port ddm informationn
display port info Port information
display port ont-register-info ONT registration information
display port optical-alarm-profile Optical alarm profile
display port state Port state
display port traffic Port realtime traffic
display sippstnuser SIPPSTNUSER
display statistics statistics command group
display unbound-gemport Unbound GEM Port configuration command group
dual-parenting-protect Type-B dual parenting protect command
interface interface command group
ont activate Activate ONT(s)
ont add Add an ONT
ont alarm-profile ONT alarm profile
ont cancel Delete the automatically found ONT
ont confirm Confirm the automatically found ONT
ont deactivate Deactivate ONT(s)
ont delete Delete ONT(s)
ont factory-setting-restore Restore ONT(s)
ont gemport ONT GEM Port command group
ont ipconfig ONT IP configuration
ont modify Modify ONT
ont optical-alarm-profile Optical alarm profile
ont port port command group
ont re-discovery Re-discovery ONT(s)
ont re-register Re-register ONT(s)
ont remote-ping ONT remote ping
ont reset Reset ONT(s)
ont snmp-profile ONT SNMP profile
ont snmp-route SNMP route
port optical-alarm-profile Optical alarm profile
port номер_порта fec FEC check in the downstream direction
port номер_порта laser-switch on/off OLT optical port laser switch
port номер_порта ont-auto-find enable/disable ONT auto-find
port номер_порта ont-password-renew ONT password update
port номер_порта range Ranging compensation distance
pppoe PPPoE
pstnport Bind/Unbind Pots Profile
quit (Выход из текущего режима и переход в предыдущий режим)
return (Возвращение в привилегированный режим)
shutdown (Выключение)
sippstnuser (SIPPSTNUSER)
switch (Switch language mode)
tcont (T-CONT configuration command group)
unbound-gemport (Unbound GEM Port configuration command group)
undo команда (Отмена указанной команды)
*************************

interface gponnni Change into GPONNNI command mode
interface h248 Enter the MG interface mode
interface loopback LoopBack interface
interface meth MEth interface
interface null NULL interface
interface opf Change into OPF command mode
interface opg Change into OPG command mode
interface scu Change into SCU command mode
interface shl Change into SHL command mode
interface top Change into TOP command mode
interface top-stm1 Change into STM1 command mode
interface tunnel Tunnel interface
interface vdsl Change into VDSL command mode
interface vlanif VLAN interface
io-packetfile Activate the patch file of the board software packet
ip as-path-filter Specify Regular expression access list number
ip community-filter Add a community-filter entry
ip ip-prefix Specify an address prefix-list
ip route-static Establish static routes
ip vpn-instance VPN Instance
ip-aware Ip aware feature command
ipoa IPoA config
ipprec-to-pbits IP precedence mapping table
ipv6 ipv6 command group
isis Intermediate System to Intermediate System (ISIS) routes
isolate isolate command group
Configure LACP Protocol
lacp long-period Sepcify long-period
lacp priority Specify priority
lacp short-period Sepcify short-period
license esn Set ESN of the device
license server Set the license server
line-rate Limit the rate of the outbound packets of the interface
link-aggregation add-member Add link(s) to aggregation
link-aggregation delete-member Delete link(s) from aggregation
link-aggregation description Link aggregation group description
link-aggregation frame/slot Frame ID/Slot ID of destination port(s)
link-aggregation max-link-number Link aggregation max link number, one link at least and the max number of link aggregation member at most.
linktrap Link trap switch of the port
local-digitmap Config local digitmap
lspv lspv command group
mac-address learning Configuration of dynamic MAC learning state
mac-address max-mac-count The maximum number of MAC address that service virtual port can learn
mac-address static Static MAC
mac-address timer no-aging/aging-time 10-1000000 (время хранения mac-адреса в таблице, стандартно 300 секунд)
mac-count-zero Maxmum MAC address learning number is zero
mac-pool Configure/display MAC pool
manual-set Manual set AC fault configuration information
meth Meth routing
mg-overload-control MG overload control parameters
mgc-overload-control MGC overload control parameters of the MG interface
mmi-mode Activating the machine-machine mode
modem MODEM parameter configure
monitor-link group group-id Monitor link group
mpls mpls command group
multi-service-port Add multi-service-port
multicast multicast command group
multicast-unknown Multicast-unknown keyword
multicast-vlan Setup and enter mvlan mode
narrow Enter into the narrow resource mode
ont ONT command group
ont-digitmap-profile Ont digitmap profile
ont-lineprofile epon profile-id/name (параметры ont-lineprofile EPON)
ont-lineprofile gpon profile-id/name (параметры ont-lineprofile GPON)
ont-pots-profile Config pots profile
ont-sipagent-profile Ont sipagent profile
ont-slaprofile Ont-slaprofile
ont-srvprofile epon profile-id/name (параметры ont-srvprofile EPON)
ont-srvprofile gpon profile-id/name (параметры ont-srvprofile GPON)
—————————

Команды режима ont-srvprofile:

commit (Применение данных профиля)
display (Отображение информации)
(Set ONT IGMP up datagrams forwarding mode)
igmp-forward default (Default)
igmp-forward translation (VLAN translation)
igmp-forward transparent (Transparent)
igmp-forward unconcern (Unconcern)
mac-learning enable/disable (ONT MAC-address learning function)
multicast mode igmp-snooping/olt-control/unconcern (Multicast parameter configuration)
(Set ONT multicast-forwarding mode)
multicast-forward tag (TAG mode)
multicast-forward unconcern (Unconcern)
multicast-forward untag (Untag mode)
native-vlan concern/unconcern (ONT Native-VLAN option function)
ont-port catv (CATV port)
ont-port eth номер (ETH port)
ont-port moca (MOCA port)
ont-port pots (POTS port)
ont-port tdm (TDM port)
ont-port tdm-srvtype (TDM service type)
ont-port tdm-type (TDM type)
port car (ONT ethernet port CAR function)
port dscp (Dscp-to-pbits mapping table)
port e1 (E1 port attribute)
port priority-policy (Priority policy)
port q-in-q (QinQ mode)
port vlan (VLAN configuration on a port)
quit (Exit from current mode and enter prior mode)
return (Enter the privileged mode)
switch (Switch language mode)
transparent enable/disable (ONT transparent transmission function)
undo команда (Отмена указанной команды)
—————————

ont-voip-media Ont voip media
onu nat disable Disable the function of managing the ONU through the NAT T
onu nat enable Enable the function of managing the ONU through the NAT proxy for the OLT
onu nat ip адрес Set the public ip address of ONU which is managed by OLT y
onu nat ip-pool start-address адрес Set the start ip address of ONU NAT ip pool
onu nat priority 0-7 Set the SNMP message priority of ONU which is managed by y
onu nat vlan 2-4093 Set the VlanId of the Management Channel which ONU belong
optical-alarm-profile Optical alarm profile
ospf ospf command group
overload-aware Awareness of overload
oversea Oversea parameters
packet Packet
packet-filter Filter packets based on acl
pbits-to-pbits Priority mapping table
pim Specify PIM(Protocol information —
pitp pitp command group
pmbs Enter pmbs user command mode
port desc frameid/slotid/portid текст (установка описания порта)
port mode frameid/slotid/portid adapt/epon/ge/gpon (установка режима порта)
port vlan Port VLAN operation
power-dialer-control Power dialer control parameters
pppoa pppoa command group
pppoe pppoe command group
protect Protect group
protect-group Protect group
protocol protocol command group
pstnport Enter pstnport command mode
ptp ptp command group
pw PW information
pw-ac-append PW AC append
pw-ac-binding PW AC binding
pw-description PW description
pw-para Specifing PW parameter configuration
pw-protect PW protect
pw-revertive-mode Recovery mode
queue-buffer CoS queue buffer size ratio
queue-scheduler CoS queue scheduling mode
queue-shaping Queue shaping configuration
queue-wred Queue WRED binding
quit Exit from current mode and enter prior mode
rack Set Rack description attribute
radius-server Add or delete radius-server template
raio Relay Agent Information Options
raio-anid ANID
raio-anip ANIP
raio-format Set user-defined RAIO format string
raio-mode Set relay agent info option mode
reset cfm Continuity Fault Management
reset dot1x 802.1X
reset gpon GPON command group
reset lacp Link Aggregation Control Protocol
reset packet Packet
reset port Port command group
reset pw PW AC binding
reset rrpp
reset security security command group
reset statistics statistics command group
reset stp Spanning tree protocol
reset traffic-statistic Clear traffic statistic information
return (Возвращение в привилегированный режим)
rfc2198 rfc2198 command group
ring check disable/enable (отключение/включение защиты от петель)
ring check private-ethtype (Set the ethernet type of ring check)
ring check resume-interval 1-1440 (время в минутах, после которого деактивированная onu с обнаруженной петлей активируется)
rip rip command group
route-policy Route-policy
router Configure router information
rrpp Rapid ring protection protocol
rsa Specify RSA module configuration information
sctp Sctp protocol
security anti-dos anti-dos command group
security anti-icmpattack Icmp optimize global configuration
security anti-ipattack Ip optimize global configuration
security anti-ipspoofing Configure anti-ipspoofing
security anti-macduplicate Anti-macduplicate function
security anti-macspoofing Anti-macspoofing function switch
security arp-detect Configure arp-detect mode
security mac-filter Mac address filter
security pppoe PPPoE Config
security source-route Source-route filter global configuration
service-num Service number configuration
service-port Service port
service-port-bundle Service virtual port bundle
shdsl shdsl command group
shutdown Deactivate the port on the standby board
sigtran Into sigtran module
snmp-agent
snmp-agent community Set a community for the access of SNMPv1&SNMPv2c
snmp-agent group Set an SNMP group based on USM
snmp-agent local-engineid Set the engineID of local SNMP entity
snmp-agent mib-view Set SNMP MIB view information
snmp-agent syntax Set SNMP syntax mode
snmp-agent sys-info Set system information of the node
snmp-agent target-host Set the target hosts to receive SNMP notification/trap packets
snmp-agent trap trap command group
snmp-agent trap-format Set trap format
snmp-agent usm-user Set a new user for access to SNMP entity
snmp-profile add Add a SNMP profile
snmp-profile delete Delete a SNMP profile
snmp-profile modify Modify a SNMP profile
spc Enter spc user command mode
ssh Specify SSH (secure shell) configuration information
stacking VLAN stacking
static-lsp Static LSP configuration
stp Spanning tree protocol
subboard subboard command group
supervlan VLAN aggregation
sysman Operation on firewall
system system command group
tag-mode Tag mode
tcont auto-combine enable/disable
tcp Specify TCP(Transmis information —
tdm-connect TDM connect
tei-check TEI check parameters
temperature protect Set temperature protect mode
temperature threshold Set the temperature threshold of the system
terminal terminal command group
test Enter test mode
tid-template TID template
time-range Specify time-range configuration information
traffic Configure traffic table
traffic-limit Limit the rate of the packets
traffic-mirror Mirror the packets
traffic-priority Specify new priority of the packets
traffic-redirect Redirect the packets
traffic-statistic Count the packets
traffic-suppress Set board traffic suppression
tunnel-policy Tunnel Policy
undo команда (Отмена указанной команды)
upward-bandwidth (Set upward bandwidth parameters)
user (User define ring)
userdef-template-port-para (User-defined config template)
userdef-template-user-para (User-defined config template)
vdsl (VDSL)
vlan ( vlan command group)
vmac (Configure/display VMAC information)
voice-para-template (Parameter template config)
voip (Enter voip mode)
vrrp-snoop ( VRRP-SNOOPING command group)
vsqm (Enter the VSQM mode)
vtp-cdp (VTP-CDP)
wred-profile (WRED profile)
xdsl (XDSL)
xpon ( xpon command group)
xpon-profile-copy (XPON profile copy)

Смотрите также: http://ixnfo.com/dobavlenie-onu-na-huawei-smartax-ma5683t.html

Настройка Huawei SmartAX MA5683T через консоль: 5 комментариев

  1. Хорошая статья… А как настраивать не по omci а по snmp и со статическими адресами?

    1. Здравствуйте. По поводу переноса не задумывался, но когда нужно было перенести пару десятков, просто используя текстовый редактор скопировал часть команд из файла конфигурации которые прописывают ont, составил по ним команды undo service-port и ont delete, потом отредактировал номер порта и ont текущих команд и скопировав их поочередно выполнил в терминале OLT. Ушло на это около 5 минут.

Добавить комментарий