2014年3月20日星期四

Configuring Automatic Saving of DHCP Data

You can configure the S3328TP-EI-24S  to save DHCP data to the storage device. When a fault occurs, you can restore data from the storage device.

Run:
system-view
The system view is displayed.
Run:
dhcp server database enable
The S3300 automatically saves DHCP data to the flash memory.
After the dhcp server database enable command is executed, the system generates the lease.txt and conflict.txt files in the flash. The two files save the address lease information and address conflict information.
Run:
dhcp server database write-delay interval
The interval for saving DHCP data is set.
By default, DHCP data is not automatically saved to flash. After the S3300 is configured to automatically save DHCP data, the S3300 saves data every 7200 seconds by default and the latest data overwrites the previous data.
Run:
dhcp server database recover
The DHCP data in the storage device is restored.

After the dhcp server database recover command is executed, the Huawei S3300  restores the DHCP data in the flash.

Configuring Global VLAN Mapping

Do as follows as the LS-S2318TP-SI-AC  where global VLAN mapping needs to be configured.

Run:
system-view
The system view is displayed.
Run:
vlan vlan-id
The VLAN view is displayed.
Run:
vlan-mapping map-vlan vlan-id [ remark-8021p 8021p-value ]
Global VLAN mapping is configured.
 NOTE:
To enable global VLAN mapping to take effect on an interface, ensure that:
The interface is a hybrid or trunk interface.
The interface has been added to the translated switch VLAN in tagged mode.

VLAN translation is enabled on the interface by using the qinq vlan-translation enable command.

2014年3月4日星期二

Configuration Example of MPLS - Based on Binding the VLAN with the PW Template

How to set up the LDP remote session, LSP and PW between the MA5680T  and the router.

Configure a route. PWE3 has no special requirements for the routing policy. Here, an OSPF route is considered as an example.
huawei(config)#ospf
huawei(config-ospf-1)#area 0
huawei(config-ospf-1-area-0.0.0.0)#network 1.1.1.1 0.0.0.0
huawei(config-ospf-1-area-0.0.0.0)#network 10.1.2.0 0.0.255.255
huawei(config-ospf-1-area-0.0.0.0)#quit
huawei(config-ospf-1)#quit
Configure a loopback port.
huawei(config)#interface loopback 1
huawei(config-if-loopback1)#ip address 1.1.1.1 32
huawei(config-if-loopback1)#quit
Configure the MPLS LSR ID.
huawei(config)#mpls lsr-id 1.1.1.1
Enable MPLS.
huawei(config)#mpls
huawei(config-mpls)#quit
huawei(config)#vlan 140 standard
huawei(config)#mpls vlan 140
huawei(config)#interface vlanif 140
huawei(config-if-vlanif140)#ip address 10.1.2.1 24
huawei(config-if-vlanif140)#mpls
huawei(config-if-vlanif140)#quit
Configure a VLAN interface.
huawei(config)#port vlan 140 0/7 2
huawei(config)#interface scu 0/7
huawei(config-if-scu-0/7)#native-vlan 2 vlan 140
huawei(config-if-scu-0/7)#quit
Enable MPLS LDP.
huawei(config)#mpls ldp
huawei(config-mpls-ldp)#quit
huawei(config)#interface vlanif 140
huawei(config-if-vlanif140)#mpls ldp
huawei(config-if-vlanif140)#quit
Configure a peer device.
huawei(config)#mpls ldp remote-peer router
huawei(config-mpls-ldp-remote-router)#remote-ip 10.1.3.2
huawei(config-mpls-ldp-remote-router)#quit
Configure the MPLS LDP trigger mechanism.
huawei(config)#mpls
huawei(config-mpls)#lsp-trigger host
huawei(config-mpls)#label advertise non-null
huawei(config-mpls)#quit
Enable MPLS L2VPN.
huawei(config)#mpls l2vpn
Create a VLAN.
huawei(config)#vlan 100 standard
Create a PW template.
huawei(config)#pw-template pweth
huawei(config-pw-template-pweth)#peer-address 10.1.3.2
huawei(config-pw-template-pweth)#pw-type ethernet tagged
huawei(config-pw-template-pweth)#quit
Bind the VLAN with the PW template.
The ID of the PW bound with the PVC must be the same as the ID of the PW for the remote peer.
huawei(config MA5683T )#pw-ac-binding vlan 100 pw 107 pw-template pweth

2014年3月3日星期一

Configuring the User Privilege of the Console User Interface

How to control a user's authority to log in to the ME60 and how to configure a user's priority to improve ME60 security.

Run:
system-view
The system view is displayed.
Run:
user-interface console interface-number
The console user interface view is displayed.
Run:
user privilege level level
The user privilege is set.

NOTE:
By default, users that log in through the console user interface can use level 15 commands, and users logging in through other user interfaces can ME60-X3   use commands at level 0.

2014年2月25日星期二

Configuring the H.248/MGCP-based VAG Service

According to the data plan, configure  Huawei MA5600    standard VLAN 20 as the media and signaling upstream VLAN, add upstream port 0/19/0 to the VLAN, and configure the IP address of the Layer 3 interface to 10.10.10.10, which facilitates the configuration of the media and signaling IP address pools.
huawei(config)#vlan 20 standard
huawei(config)#port vlan 20 0/19 0
huawei(config)#interface vlanif 20
huawei(config-if-vlanif20)#ip address 10.10.10.10 24
huawei(config-if-vlanif20)#quit
Configure the media and signaling IP address pools.
Add the IP address of the VLAN Layer 3 interface configured in the previous step to the media and signaling IP address pools respectively. Therefore, the media and signaling IP addresses used for the services can be selected from the IP address pools. According to the data plan, IP address 10.10.10.10 is added to the media and signaling IP address pools, and the gateway IP address corresponding to the media IP address is 10.10.10.1.
huawei(config)#voip
huawei(config-voip)#ip address media 10.10.10.10 10.10.10.1
huawei(config-voip)#ip address signaling 10.10.10.10
huawei(config-voip)#quit
Add an MG interface.
Add an MG interface for the MG to communicate with the MGC, which ensures that the MGC can control the call connection through the MG interface. According to the data plan, add MG interface 0, and configure the interface attributes.
huawei(config)#interface h248 0
  Are you sure to add MG interface?(y/n)[n]:y
huawei(config-if-h248-0)#if-h248 attribute mg-media-ip1 10.10.10.10 mgip 10.10.10.10 mgport 2944 primary-mgc-ip1 10.10.20.20
primary-mgc-port 2944 code text transfer udp
Configure the TID template of the PSTN users on MG interface 0.
Configure the TID generation mode. According to the data plan, the terminal prefix of PSTN users is huawei, and the TID template adopts layering template 6.
 NOTICE:
The Huawei MA5683T   MA5603T/MA5608T requires that the terminal prefixes of PSTN users, ISDN BRA users, and ISDN PRA users on the same H.248 interface be either the same or different. Note this when configuring the terminal prefix.

2014年2月24日星期一

Configuring a Role for the Interface

To ensure the normal forwarding of SEP packets in a SEP LS-S2326TP-EI-AC    segment, add Layer 2 interfaces to the SEP segment and configure different roles for the interfaces.

Run:
system-view
The system view is displayed.
Run:
interface interface-type interface-number
The view of an Ethernet interface added to the SEP segment is displayed.
Run:
stp disable
STP is disabled on the interface.
Run:
sep segment segment-id [ edge [ no-neighbor ] { primary | secondary } ]
The Ethernet interface is added to a specified SEP segment and a role is configured for it.
 NOTE:
On the S3300HI, an interface can be added to two SEP segments.
On the S3300SI and LS-S2326TP-SI-AC , an interface can be added to only one SEP segment.

2014年2月23日星期日

Configuring the VLAN Associated with the Sub-interface

Perform the following steps on the ME60 that uses sub-interfaces to implement interworking in a VLAN.

This step is required when you enable proxy ARP in a VLAN on the Ethernet sub-interfaces, GE sub-interfaces, or Eth-Trunk sub-interfaces.To enable proxy ARP in a VLAN on the VLANIF interface, skip this step.

Run:

system-view

The system view is displayed.

Run:

interface { ethernet | gigabitethernet | eth-trunk } interface-number.sub-interface-number

The sub-interface view is displayed.

Run:

vlan-type dot1q low-vid


The Ethernet sub-interface is encapsulated with 802.1Q and the VLAN ID associated with the sub-interface is  ME60-X3    configured.