2014年1月9日星期四

Configuring the Emergency Standalone

The MA5680T   /MA5683T     independently processes the internal users connecting to the same MG interface; therefore, the internal users can make calls normally without the control of MGC.

huawei(config)#interface h248 0
huawei(config-if-h248-0)#mg-software parameter 11 1
huawei(config-if-h248-0)#display mg-software parameter 11                      
  -------------------------------------------------                             
  Interface Id:0           para index:11  value:1                              
  -------------------------------------------------                            
 APPENDIX:                                                                     
  -------------------------------------------------                            
   Interface software parameter name:                                          
   11: Stand alone flag                                                       
       0: None                                                                  
       1: Inner                                                                
       2: Emergency                                                            
       3: Both              
huawei(config-if-h248-0)#digitmap set inner 8764XXXX     
huawei(config-if-h248-0)#display digitmap                                      
  -----------------------------------------------------------------------------
  Inner digitmap                                         : 8764XXXX        
  Urgent digitmap (for overload or bandwidth restrict)   : -                   
  Dualdial digitmap for card service                     : -                   
  -----------------------------------------------------------------------------


The configured digitmap corresponds to the user phone number.

2014年1月7日星期二

Creating an xDSL Service Port

The Huawei MA5680T  /Huawei MA5683T     provides the Internet access service with the access rate 3072 kbit/s to the user and a maximum of 2 users can use the same account to access the Internet at the same time. The query result shows that the system does not have a proper traffic profile. Therefore, a new traffic profile needs to be created.

huawei(config)#display traffic table from-index 0                           
{ <cr>|to-index<K> }:                                                          
                                                                                
  Command:
          display traffic table from-index 0
  Traffic parameters for IP service:
  -----------------------------------------------------------------------------
  TID  CAR(kbps)  Priority  Pri-Policy
  -----------------------------------------------------------------------------
  0    1024       6         tag-pri
  1    2496       6         tag-pri
  2    512        0         tag-pri
  3    576        2         tag-pri
  4    64         4         tag-pri
  5    2048       0         tag-pri
  6    --         0         tag-pri
  -----------------------------------------------------------------------------

  Traffic parameters for ATM service:
  -----------------------------------------------------------------------------
  TID  Service Traf CLP01PCR CLP0PCR CLP01SCR CLP0SCR MBS  CDVT   PPD/EPD/SHAPE
       Type    Type kbps     kbps    kbps     kbps    cells 1/10us
  -----------------------------------------------------------------------------
  0    cbr     2    1024     --      --       --      --   --       off/off/--
  1    cbr     2    2500     --      --       --      --   --       off/off/--
  2    ubr     2    512      --      --       --      --   --       on /on /--
  3    nrt-vbr 5    1200     --      600      --      250  --       on /on /--
  4    rt-vbr  15   128      --      --       64      300  10000000 on /on /off
  5    ubr     2    2048     --      --       --      --   --       on /on /--
  6    ubr     1    --       --      --       --      --   --       off/off/--
  -----------------------------------------------------------------------------
  Total Num              :    7
  Traffic type definition:
  1:NoTrafficDescriptor    2:NoClpNoScr             3:ClpNoTaggingNoScr
  4:ClpTaggingNoScr        5:NoClpScr               6:ClpNoTaggingScr
  7:ClpTaggingScr          8:ClpNoTaggingMcr        9:ClpTransparentNoScr
  10:ClpTransparentScr     11:NoClpTaggingNoScr     12:NoClpNoScrCdvt
  13:NoClpScrCdvt          14:ClpNoTaggingScrCdvt   15:ClpTaggingScrCdvt
  -----------------------------------------------------------------------------
huawei(config)#traffic table ip car 3072 priority 4 priority-policy pvc-Setting                                   
  Create traffic descriptor record successfully
  -----------------------------------------------------------------------------
  TD Index         : 7
  Priority         : 4
  Priority policy  : pvc-pri
  CAR              : 3072 kbps
  TD Type          : NoClpNoScr
  Service category : ubr
  Referenced Status: not used
  EnPPDISC         : on
  EnEPDISC         : on
  Clp01Pcr         : 3072 kbps
  -----------------------------------------------------------------------------
huawei(config)#service-port vlan 100 adsl 0/2/0 vpi 0 vci 35 rx-cttr 7 tx-cttr 7
huawei(config)#mac-address max-mac-count adsl 0/2/0 vpi 0 vci 35 2

A household user requests the Internet access service with the access rate 2048 kbit/s. To facilitate service expansion in the future, the MA5600/MA5603 adopts the ADSL2+ mode to provide the Internet access service to the user and differentiates users by user-side VLAN (the S-VLAN is VLAN 50 and the C-VLAN is VLAN 10). Query result shows that the system has a proper traffic profile. Therefore, the system provisions the Internet access service to the user immediately. To facilitate maintenance, configure description for the service port.

2014年1月6日星期一

Creating an xDSL Service Port

The MA5680T  /MA5683T   provides the Internet access service with the access rate 3072 kbit/s to the user and a maximum of 2 users can use the same account to access the Internet at the same time. The query result shows that the system does not have a proper traffic profile. Therefore, a new traffic profile needs to be created.

huawei(config)#display traffic table from-index 0                           
{ <cr>|to-index<K> }:                                                          
                                                                                
  Command:
          display traffic table from-index 0
  Traffic parameters for IP service:
  -----------------------------------------------------------------------------
  TID  CAR(kbps)  Priority  Pri-Policy
  -----------------------------------------------------------------------------
  0    1024       6         tag-pri
  1    2496       6         tag-pri
  2    512        0         tag-pri
  3    576        2         tag-pri
  4    64         4         tag-pri
  5    2048       0         tag-pri
  6    --         0         tag-pri
  -----------------------------------------------------------------------------

  Traffic parameters for ATM service:
  -----------------------------------------------------------------------------
  TID  Service Traf CLP01PCR CLP0PCR CLP01SCR CLP0SCR MBS  CDVT   PPD/EPD/SHAPE
       Type    Type kbps     kbps    kbps     kbps    cells 1/10us
  -----------------------------------------------------------------------------
  0    cbr     2    1024     --      --       --      --   --       off/off/--
  1    cbr     2    2500     --      --       --      --   --       off/off/--
  2    ubr     2    512      --      --       --      --   --       on /on /--
  3    nrt-vbr 5    1200     --      600      --      250  --       on /on /--
  4    rt-vbr  15   128      --      --       64      300  10000000 on /on /off
  5    ubr     2    2048     --      --       --      --   --       on /on /--
  6    ubr     1    --       --      --       --      --   --       off/off/--
  -----------------------------------------------------------------------------
  Total Num              :    7
  Traffic type definition:
  1:NoTrafficDescriptor    2:NoClpNoScr             3:ClpNoTaggingNoScr
  4:ClpTaggingNoScr        5:NoClpScr               6:ClpNoTaggingScr
  7:ClpTaggingScr          8:ClpNoTaggingMcr        9:ClpTransparentNoScr
  10:ClpTransparentScr     11:NoClpTaggingNoScr     12:NoClpNoScrCdvt
  13:NoClpScrCdvt          14:ClpNoTaggingScrCdvt   15:ClpTaggingScrCdvt
  -----------------------------------------------------------------------------
huawei(config)#traffic table ip car 3072 priority 4 priority-policy pvc-Setting                                   
  Create traffic descriptor record successfully
  -----------------------------------------------------------------------------
  TD Index         : 7
  Priority         : 4
  Priority policy  : pvc-pri
  CAR              : 3072 kbps
  TD Type          : NoClpNoScr
  Service category : ubr
  Referenced Status: not used
  EnPPDISC         : on
  EnEPDISC         : on
  Clp01Pcr         : 3072 kbps
  -----------------------------------------------------------------------------
huawei(config)#service-port vlan 100 adsl 0/2/0 vpi 0 vci 35 rx-cttr 7 tx-cttr 7
huawei(config)#mac-address max-mac-count adsl 0/2/0 vpi 0 vci 35 2

A household user requests the Internet access service with the access rate 2048 kbit/s. To facilitate service expansion in the future, the MA5600/MA5603 adopts the ADSL2+ mode to provide the Internet access service to the user and differentiates users by user-side VLAN (the S-VLAN is VLAN 50 and the C-VLAN is VLAN 10). Query result shows that the system has a proper traffic profile. Therefore, the system provisions the Internet access service to the user immediately. To facilitate maintenance, configure description for the service port.

2013年12月25日星期三

Configuring the NTP Multicast Mode

MA5680T/MA5603T_S uses the local clock as the master NTP clock on stratum 2 and works in the NTP multicast mode, multicasting clock synchronization packets periodically through IP address 10.10.10.10/24 of the Layer 3 interface of VLAN 2, and MA5600T/MA5603T_C functions as the NTP client, listening to the multicast packets sent from the server through IP address 10.10.10.20/24 of the Layer 3 interface of VLAN 2 and synchronizing with the clock on the multicast server. To perform these configurations, do as follows:
On MA5600T/MA5603T_S:
huawei(config)#ntp-service refclock-master 2
huawei(config)#vlan 2 standard
huawei(config)#port vlan 2 0/19 0
huawei(config)#interface vlanif 2
huawei(config-if-vlanif2)#ip address 10.10.10.10 24
huawei(config-if-vlanif2)#ntp-service multicast-server
huawei(config-if-vlanif2)#quit
On MA5600T/MA5603T_C:
huawei(config)#vlan 2 standard
huawei(config)#port vlan 2 0/19 0
huawei(config)#interface vlanif 2
huawei(config-if-vlanif2)#ip address 10.10.10.20 24
huawei(config-if-vlanif2)#ntp-service multicast-client

huawei(config MA5683T  -if-vlanif2)#quit

2013年12月23日星期一

Configuring MA5600

Configure the IP address of the inband NMS interface.
Create the LS-S2318TP-EI-AC  NMS VLAN.
huawei(config)#vlan 10 standard
Add the upstream port.
huawei(config)#port vlan 10 0/7 0-2
Enter the NMS VLAN interface mode.
huawei(config)#interface vlanif 10
Configure the IP address of the NMS VLAN interface.
huawei(config-if-vlanif10)#ip address 10.10.1.2 255.255.255.0
Add the route.
Configure the route destined to the NMS (trap destination host).
huawei(config)#ip route-static 2.2.2.2 255.255.255.255 10.10.1.1
preference 1
huawei(config)#ip route-static 2.2.2.3 255.255.255.255 10.10.1.1
preference 1
Configure the route destined to the time server.
huawei(config)#ip route-static 4.4.4.0 255.255.255.0 10.10.1.1
preference 1
Configure the route destined to the log host.
huawei(config)#ip route-static 3.3.3.0 255.255.255.0 10.10.1.1
preference 1
huawei(config)#ip route-static 3.3.4.0 255.255.255.0 10.10.1.1
preference 1
Add the ACL rule to implement the traffic classification.
huawei(config)#acl 3050
huawei(config-acl-adv-3050)#rule permit ip source any destination any
huawei(config-acl-adv-3050)#rule deny ip source any destination 10.10.1.2
0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 2.2.2.2 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 2.2.2.3 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 4.4.4.4 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 4.4.4.5 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 3.3.3.3 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 3.3.4.3 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#quit
huawei(config)#packet-filter inbound ip-group 3050 port 0/7/1
huawei(config)#packet-filter inbound ip-group 3050 port 0/7/2
Configure the SNMP parameters.
Configure the community name and the access rights.
huawei(config)#snmp-agent community read public
huawei(config)#snmp-agent community write private
Configure the administrator ID and contact information.
huawei(config)#snmp-agent sys-info contact HW-075528780808
Configure the device location information.
huawei(config)#snmp-agent sys-info location Shenzhen China
Configure the SNMP version.
huawei(config)#snmp-agent sys-info version v2c
 NOTE:
Here, the SNMP version must be the same as the SNMP version of the NMS. In this example, the NMS SNMP version is set to SNMP V2C.
Enable the trap sending.
huawei(config)#snmp-agent trap enable standard
Set the trap destination address.
huawei(config)#snmp-agent target-host trap-paramsname p1 v2c securityname public
huawei(config)#snmp-agent target-host trap-hostname aaa address 2.2.2.2 trap-paramsname p1
huawei(config)#snmp-agent target-host trap-paramsname p2 v2c securityname public
huawei(config)#snmp-agent target-host trap-hostname bbb address 2.2.2.3 trap-paramsname p2
Set the trap source address.

huawei(config S2326TP-EI )#snmp-agent trap source vlanif 10

Commission the outband network management on the device

Configure the IP address of the maintenance Ethernet port. The IP address of the local maintenance Ethernet port (outband network management port) of the MA5600T/MA5603T/MA5608T is 10.50.1.10/24.
 NOTE:
By default, the IP address of the maintenance Ethernet port (ETH port on the control board) is 10.11.104.2, and the subnet mask is 255.255.255.0.
huawei(config)#interface meth 0
huawei(config-if-meth0)#ip address 10.50.1.10 255.255.255.0
huawei(config-if-meth0)#quit
Add a route for the outband network management. Use the static route. The destination IP address is 10.10.1.0/24 (the network segment to which the U2000 belongs), and the gateway IP address is 10.50.1.1/24 (the IP address of the gateway of the MA5600T/MA5603T/MA5608T).
huawei(config)#ip route-static 10.10.1.0 24 10.50.1.1
Set the SNMP parameters.
Configure the SNMP user, group, and view.
The user name is user1, the group name is group1, the user authentication mode is SHA, the authentication password is authkey123, the user encryption mode is des56, the encryption password is prikey123, the read and write view names are hardy, and the view includes the internet subtree.

huawei(config)#snmp-agent usm-user v3 user1 group1
authentication-mode sha authkey123 privacy-mode des56 prikey123
huawei(config)#snmp-agent group v3 group1 privacy read-view hardy
write-view hardy
huawei(config)#snmp-agent mib-view hardy include internet
(Optional) Set the ID and contact means of the administrator.
The contact means of the administrator is HW-075528780808.

huawei(config)#snmp-agent sys-info contact HW-075528780808
(Optional) Set the location of the device.
The location of the device is Shenzhen_China.

huawei(config)#snmp-agent sys-info location Shenzhen_China

(Optional) Configure the engine ID of the SNMP entity.
The engine ID of the SNMP entity is set to 0123456789.
 NOTE:
The context engine ID of the SNMP must be the same as that on the U2000.
huawei(config)#snmp-agent local-engineid 0123456789
Set the SNMP version.
The SNMP version is SNMP V3.

 NOTE:
The SNMP version must be the same as the SNMP version set on the U2000.
huawei(config)#snmp-agent sys-info version v3
Enable the function of sending traps. On the MA5600T/MA5603T/MA5608T, enable the function of sending traps to the U2000.
huawei(config)#snmp-agent trap enable standard
Configure the IP address of the destination host for the traps. The host name is huawei, the IP address of the host is 10.10.1.10/24 (IP address of the U2000), the trap parameter name is ABC, the SNMP version is V3, the parameter security name is user1 (when the SNMP V3 is used, the parameter security name is the USM user name), and the traps are authenticated and encrypted.
huawei(config)#snmp-agent target-host trap-hostname huawei
address 10.10.1.10 trap-paramsname ABC
huawei(config)#snmp-agent target-host trap-paramsname
ABC v3 securityname user1 privacy
Set the IP address of the maintenance Ethernet port as the source IP address for sending traps. Set the SNMP packets to be forwarded from the maintenance Ethernet port of the MA5600T/MA5603T/HG8240 GPON . That is, the source address of the traps is meth 0.
huawei(config)#snmp-agent trap source meth 0
Save the data.

huawei(config)#save