2014年2月17日星期一

Configuring a GPON ONT

The MA5680T /MA5603T provides end users with services through the ONT. The MA5600T/MA5603T can manage the ONT and the ONT can work in the normal state only after the channel between the MA5600T/MA5603T and the ONT is available.

To add five ONTs in offline mode with password authentication mode (ONT passwords are 0100000001-0100000005), set the discovery mode of password authentication to always-on, and bind ONT capability profile 10, do as follows:

huawei(config)#interface gpon 0/2

huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000001 always-on profile-id 10 manage-mode omci

huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000002 always-on profile-id 10 manage-mode omci

huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000003 always-on profile-id 10 manage-mode omci

huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000004 always-on profile-id 10 manage-mode omci

huawei(config-if-gpon-0/2)#ont add 0 password-auth 0100000005 always-on profile-id 10 manage-mode omci

To add an ONT that is managed by the OLT through the OMCI protocol, confirm this ONT according to the SN 3230313185885B41 automatically reported by the system, and bind the ONT with capability profile 3 that match the ONT, do as follows:

huawei(config)#interface gpon 0/2

huawei(config-if-gpon-0/2)#port 0 ont-auto-find enable

huawei(config-if-gpon-0/2)#ont confirm 0 sn-auth 3230313185885B41 profile-id 3 manage-mode omci

To add an ONU that is managed as an independent NE and whose SN is known as 3230313185885641, bind the ONU with capability profile 4 that matches the ONU, configure the NMS parameters for the ONU, and set the management VLAN to 100, do as follows:

huawei(config)#snmp-profile add profile-id 1 v2c public private 10.10.5.53 161 huawei

huawei(config)#interface gpon 0/2

huawei(config-if-gpon-0/2)#ont add 0 2 sn-auth 3230313185885641 profile-id 4 manage-mode snmp

huawei(config-if-gpon-0/2)#ont ipconfig 0 2 static ip-address 10.20.20.20 mask 255.255.255.0 gateway 10.10.20.1 vlan 100 

huawei(config-if-gpon-0/2)#ont snmp-profile 0 2 profile-id 1


huawei(config-if-gpon-0/2)#ont snmp-route 0 2 ip-address 10.10.20.190 mask 255.255.255.0 next-hop 10.10.20.100

2014年1月2日星期四

Configuring the NTP Peer Mode

Configure the Huawei MA5680T   for clock synchronization in the NTP peer mode. In the peer mode, configure only the active peer, and the passive peer need not be configured. In the peer mode, the active peer and the passive peer can synchronize with each other. The peer with a higher clock stratum is synchronized by the peer with a lower clock stratum.

Run the ntp-service refclock-master command to configure the local clock as the master NTP clock, and specify the stratum of the master NTP clock.
Run the ntp-service unicast-peer command to configure the NTP peer mode, and specify the IP address of the remote server that functions as the local timer server and the interface for transmitting and receiving NTP packets.
 NOTE:
In this command, ip-address is a unicast address, which cannot be a broadcast address, a multicast address, or the IP address of a reference clock.
After the source interface of the NTP packets is specified by source-interface, the source IP address of the NTP packets is configured as the primary IP address of the specified interface.

One MA5616 functions as the NTP active peer (IP address of the L3 interface of VLAN 2: 10.10.10.10/24) and works on clock stratum 4, the other MA5616 (IP address: 10.10.10.20/24) functions as the NTP passive peer, the active peer sends a clock synchronization request packet through the VLAN L3 interface to the passive peer, the passive peer responds to the request packet, and the peer with a higher clock stratum is synchronized by the peer with a lower clock stratum. To perform these configurations, do as follows:
huawei(config)#ntp-service refclock-master 4
huawei(config)#ntp-service unicast-peer
huawei(config)#vlan 2 standard
huawei(config)#port vlan 2 0/0 1
huawei(config)#interface vlanif 2
huawei(config-if-vlanif2)#ip address 10.10.10.10 24

huawei(config  Huawei MA5683T  -if-vlanif2)#quit

2013年12月30日星期一

Configuring a Working Mode for an APS Group

A working mode can be configured for an APS group. The NE40E-X3  ME60    supports APS working modes, including automatic APS switching, and delayed switchback with the wait to restore (WTR) time configured. An APS working mode must be configured on a protect interface.

Run:
system-view
The system view is displayed.
Run:
interface interface-type interface-number
Or, run:
controller cpos cpos-number
The interface view is displayed.
Run:
aps mode { one2one bidirection | one-plus-one { bidirection | unidirection } }
A working mode is configured for the APS group. The configuration of an APS working mode takes effect after the shutdown and undo shutdown commands are run on the protect interface.
Run:
system-view
The system view is displayed.
Run:
interface interface-type interface-number
Or, run:
controller cpos cpos-number
The protect interface view of the APS group is displayed.
Run:
aps revert wtr-time
The WTR time is set for the APS group.

NOTE:
If two different switchback delays are set on two protect interfaces in APS groups on two ends of a link, the effective switchback delay depends on one of the following situations:
If one-plus-one unidirection is configured, the switckback delays of both protect interfaces take effect after the working interfaces recover.

If one2one bidirection or one-plus-one bidirection is configured, the switchback delay of the protect interface on the device with the working interface recovering later than the other working interface takes effect on both protect interfaces.

Configuring a VTY User Interface

Step 1 Configure LS-S5328C-EI-24S   the maximum number of concurrent VTY user interfaces.
<HUAWEI> system-view
[HUAWEI] user-interface maximum-vty 8
Step 2 Configure restrictions on call-in and call-out permissions on the VTY user interface.
[HUAWEI] acl 2000
[HUAWEI-acl-basic-2000] rule deny source 10.1.1.1 0
[HUAWEI-acl-basic-2000] rule permit source any
[HUAWEI-acl-basic-2000] quit
[HUAWEI] user-interface vty 0 7
[HUAWEI-ui-vty0-7] acl 2000 inbound
Step 3 Configure terminal attributes on the VTY user interface.
[HUAWEI-ui-vty0-7] shell
[HUAWEI-ui-vty0-7] idle-timeout 30
[HUAWEI-ui-vty0-7] screen-length 30
[HUAWEI-ui-vty0-7] history-command max-size 20
Step 4 Configure the user level on the VTY user interface.
[HUAWEI-ui-vty0-7] user privilege level 15
Step 5 Configure the authentication mode and password of the VTY user interface.
[HUAWEI-ui-vty0-7] authentication-mode password
[HUAWEI-ui-console0] set authentication password cipher huawei2012
[HUAWEI-ui-vty0-7] quit
After the VTY user interface is configured, users can log in to the device in the password
authentication mode using Telnet to maintain the device locally or remotely. For details on how
to log in to the device see Logging In to the Device Through Telnet.
Step 6 Verify the configuration.
# Run the quit command to disconnect the terminal from the device, connect the terminal to the
device using Telnet, and verify that the new password is valid.
# Use 10.1.1.1 to log in to the device using Telnet. The login fails.
# Run the user-interface vty 0 7 command to enter the VTY interface view, and run the display
this command to check the configurations on the VTY interface.
[HUAWEI] user-interface vty 0 7
[HUAWEI-ui-console0] display this
#
user-interface maximum-vty 8
user-interface vty 0 7
acl 2000 inbound
authentication-mode password
user privilege level 15
set authentication password cipher %%$%$RdF~Z+6N|0d^a3%v5`W~3.%ymjpAD#$u
[T'e#e32hd8G~4+&%$%$
history-command max-size 20
idle-timeout 30 0
screen-length LS-S5352C-EI  30
#


2013年12月26日星期四

Configuring the Association Between BFD Status and Sub-Interface Status

Perform the following procedure on the ME60/NE40E-X3  that needs to rapidly detect the link fault:
Run:
system-view
The system view is displayed.

Run:
bfd cfg-name
The BFD session view is displayed.

Run:
process-interface-status sub-if
The association between the BFD status and the sub-interface status is configured.

Run:
commit
The configuration is committed.

NOTE:
When the process-interface-status command and the commit command are run in succession, the BFD session may not be set up or the BFD session does not go Up through negotiation. Therefore, the BFD session does not notify the interface of the BFD status immediately, avoiding that the BFD session notifies the interface of incorrect status information that results in incorrect interface status change. After the configuration is committed, the BFD sessions can notify the interface of the BFD status change. In this manner, the BFD session status is associated with the interface status.
If the networking requires that the BFD status must be synchronized with the interface status, you can run the shutdown and undo shudown commands to change the status of the BFD session. When the undo shutdown command is run, a timer to test the BFD session status is started. If the BFD session goes Up through negotiation before the timer expires, the BFD session notifies the interface of the Up state. Otherwise, the BFD session regards the link as failed and notifies the interface of the Down state after the timer expires. In this manner, the BFD session status and the interface status are in real-time synchronization.
If the process-interface-status command is saved in the configuration file, the BFD session that is bound to the interface notifies the interface that the BFD session is Down when the NE80E/40E is restarted, in view of the initial status of an interface being Down.

Before BFD status is associated with interface status, the BFD configurations on the two NE80E/40Es must be correct and symmetrical. If the BFD status on the local interface goes Down, check whether the BFD configuration on the peer is correct or whether the BFD session has been shut down.

2013年12月19日星期四

Configuring the GE/FE Optical/Electrical Interface on Huawei NE40E

Generally, the Huawei ME60/Huawei NE40E   sets an Ethernet interface to an optical or electrical interface based on the interface module's type. If the NE80E/40E cannot identify an interface module, you need to manually set the interface to the optical or electrical mode.

Run:
system-view
The system view is displayed.

Run:
interface { ethernet | gigabitethernet } interface-number
The Ethernet interface view is displayed.

Run:
port-type { copper | fiber-100 | fiber-1000 }
The interface type is set.

Once the SFP module is identified, the system can automatically set the interface type according to the type of the SFP module. No configuration is required.

If the SFP module that cannot be identified works well, you need to forcibly set the interface type.

 NOTE:
When an SFP module is being replaced, the configurations such as the loopback test, interface speed, auto-negotiation mode, and duplex mode on the interface are all restored to default ones. You need to reconfigure them on the interface.
After the port-type command is run, the configurations such as the loopback test, interface speed, auto-negotiation mode, and duplex mode on the interface are all restored to default ones. You need to reconfigure them on the interface.

The parameter copper can be configured in the port-type command only when an optical/electrical SFP module is installed.

2013年12月17日星期二

Configuring CAR on a Layer 2 Port

The Huawei ME60 /40E supports configuration of traffic policing in both inbound and outbound directions on Layer 2 interfaces.
You can configure traffic policing for the NE80E/40E only on the physical GE and Ethernet interfaces.
Run:
system-view
The system view is displayed.
Run:
interface { ethernet | gigabitethernet } interface-number
The interface view is displayed.
Run:
portswitch
The Layer 2 interface view is displayed.
Run:
port default vlan vlan-id
A Layer 2 interface is added to a specified VLAN.
NOTE:
Please confirm the specified VLAN has been created before running this command.
Run:
port trunk allow-pass vlan { { vlan-id1 [ to vlan-id2 ] } & <1-10> | all }
The IDs of the VLANs allowed by the current interface are specified.
Run:
qos car { cir cir-value [ pir pir-value] } [ cbs cbs-value pbs pbs-value ] [ green { discard | pass [ service-class class color color ] } | yellow { discard | pass [ service-class class color color ] } | red { discard | pass [ service-class class color color ] } ]* { inbound | outbound } [ vlan { vlan-id1 [ to vlan-id2 ] &<1-10> } ]
 NOTE:

CAR is configured on an interface. The parameter [ vlan { vlan-id1 [ to vlan-id2 ] &<1-10> } ] takes effect only on layer 2 interfaces, and VLAN ID must be configured. When this command is configured  ME60 on a layer 3 interface, however, VLAN ID cannot be configured.