Archiwa tagu: huawei OLT

Podstawowa konfiguracja OLT Huawei MA5683T (SCUN)

defaultowy IP 10.11.104.2 login: root hasło: admin
(backspace działa po wciśnięciu CTRL-H)

#display board 0
————————————————————————-
SlotID BoardName Status SubType0 SubType1 Online/Offline
————————————————————————-
0 H805GPFD Normal
1
2
3
4
5
6 H802SCUN Active_normal
7 H802SCUN Standby_normal
8 H801GICF Normal
9 H801X2CS Normal
10
11
12
————————————————————————-

Jeśli któraś z kart nie ma statusu Normal, trzeba ją dodać, np.
config
board add board add 0/0 H805GPFD
board confirm 0/0

Aktualną konfigurację pokazuje:
#display current-configuration

Interfejsem do zarządzania (wyłącznie) jest meth, ustawiamy mu IP:
config
interface meth 0
ip address 172.16.20.1 255.255.255.0
save

Dodajemy VLAN:
config
vlan 300
port vlan 300 0/8 0 (300 to numer VLAN, 8 to karta GICF (zgodnie z display board 0), 0 to pierwszy port)
Możemy ustawić IP na VLANie:
interface vlanif301
ip address 10.10.20.2 255.255.255.0

Ustawiamy autofind na każdym porcie, na którym chcemy aby ONTy zostawały znajdowane:
interface gpon 0/0
port 0 ont-auto-find enable
port 1 ont-auto-find enable

Poniższą komendą można wylistować nieskonfigurowane nowe ONTy:
(config-if-gpon-0/0)#display ont autofind 0
Failure: The automatically found ONTs do not exist
(nie należy podpinać bezpośrednio ONT do OLT, bo sygnał będzie za mocny i ONT nie będzie widoczny, po podłączeniu jednego splittera 1×16 działa)

Dodajemy ONTa:
GAMS(config-if-gpon-0/0)#ont add 1 12 sn-auth „4857544306xxxxxx” omci ont-lineprofile-id 0 ont-srvprofile-id 1 desc „HG850aKK”
Number of ONTs that can be added: 1, success: 1
PortID :1, ONTID :12

GAMS(config-if-gpon-0/0)#display ont info 1 12
—————————————————————————–
F/S/P : 0/0/1
ONT-ID : 12
Control flag : active
Run state : online
Config state : normal
Match state : match
DBA type : SR
ONT distance(m) : 1554
ONT battery state : not support
Memory occupation : –
CPU occupation : –
Temperature : –
Authentic type : SN-auth
SN : 4857544306xxxxxx (HWTC-06D7E510)
Management mode : OMCI
Software work mode : normal
Isolation state : normal
ONT IP 0 address/mask : –
Description : HG850a BG112
Last down cause : –
Last up time : 2017-10-02 21:52:18+08:00
Last down time : –
Last dying gasp time : –
ONT online duration : 0 day(s), 0 hour(s), 0 minute(s), 20 second(s)
Type C support : Not support
Interoperability-mode : ITU-T
—————————————————————————–
VoIP configure method : Default
—————————————————————————–
Line profile ID : 0
Line profile name : line-profile_default_0
—————————————————————————–
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :GEM-CAR
Mapping mode :VLAN
TR069 management :Disable
TR069 IP index :0
—————————————————————————–
Notes: * indicates Discrete TCONT(TCONT Unbound)
—————————————————————————–
DBA Profile-ID:2
DBA Profile-ID:20
—————————————————————————–
Service profile ID : 1
Service profile name : ont-default
—————————————————————————–
Port-type Port-number
—————————————————————————–
POTS 2
ETH 4
VDSL 0
TDM 0
MOCA 0
CATV 0
—————————————————————————–
TDM port type : E1
TDM service type : TDMoGem
MAC learning function switch : Enable
ONT transparent function switch : Disable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring detect frequency : 8 (pps)
Ring resume interval : 300 (s)
Multicast forward mode : Unconcern
Multicast forward VLAN : –
Multicast mode : Unconcern
Upstream IGMP packet forward mode : Unconcern
Upstream IGMP packet forward VLAN : –
Upstream IGMP packet priority : –
Native VLAN option : Concern
Upstream PQ color policy : –
Downstream PQ color policy : –
—————————————————————————–
Port-type Port-ID QinQmode PriorityPolicy Inbound Outbound
—————————————————————————–
ETH 1 unconcern unconcern unconcern unconcern
ETH 2 unconcern unconcern unconcern unconcern
ETH 3 unconcern unconcern unconcern unconcern
ETH 4 unconcern unconcern unconcern unconcern
—————————————————————————–
Notes: * indicates the discretely configured traffic profile,
run the display traffic table ip command to query
traffic table configuration.
—————————————————————————–
Port-type Port-ID DownstreamMode MismatchPolicy
—————————————————————————–
ETH 1 operation discard
ETH 2 operation discard
ETH 3 operation discard
ETH 4 operation discard
—————————————————————————–
Port-type Port-ID Dscp-mapping-table-index
—————————————————————————–
ETH 1 0
ETH 2 0
ETH 3 0
ETH 4 0
IPHOST 1 0
—————————————————————————–
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
—————————————————————————–
ETH 1 – – – Unlimited
ETH 2 – – – Unlimited
ETH 3 – – – Unlimited
ETH 4 – – – Unlimited
—————————————————————————–
Alarm policy profile ID : 0
Alarm policy profile name : alarm-policy_0
—————————————————————————–

Najprostsza jest konfiguracja ‚simplified’, tzn. bez ręcznego przydzielania gemportów:

service-port 1012 vlan 300 port 0/0/0 ont 12 iphost multi-service user-vlan 300 tag-transform translate
(do VLANu 300 na OLT, dodajemy końcówkę klienta (ONT) u niego też VLAN 300.
Zmiana hasła:
#terminal user password
User Name(<=15 chars):root Old Password(<=15 chars): New Password(length<8,15>):
Failure: The password must contain at least one digit
New Password(length<8,15>):
Confirm Password(length<8,15>):
Information takes effect
Repeat this operation? (y/n)[n]:n