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.