2014年3月20日星期四

Configuring the Load Balancing Mode

Only the LS-S5324TP-SI-AC and LS-S5328C-EI-24S support the enhanced load balancing mod

Run:
system-view
The system view is displayed.
Run:
interface eth-trunk trunk-id
The Eth-Trunk interface view is displayed.
Run:
load-balance { dst-ip | dst-mac | src-ip | src-mac | src-dst-ip | src-dst-mac }
The load balancing mode of the Eth-Trunk is set.
NOTE:
The S5300SI and S5300LI use the parameter src-dst-ip in the HASH algorithm for load balance regardless of whether you configure this parameter.
Run:
system-view
The system view is displayed.
Run:
load-balance-profile profile-name
A load balancing profile is created and its view is displayed.
Run:
l2 field [ dmac | dport | l2-protocol | smac | sport | vlan ] *
The load balancing mode of Layer 2 packets is set.
Run:
ipv4 field [ dip | dport | l4-dport | l4-sport | protocol | sip | sport | vlan ] *
The load balancing mode of IPv4 packets is set.
Run:
ipv6 field [ dip | dport | l4-dport | l4-sport | protocol | sip | sport | vlan ] *
The load balancing mode of IPv6 packets is set.
Run:
ipv6 field [ dip | dport | l4-dport | l4-sport | protocol | sip | sport | vlan ] *
The load balancing mode of IPv6 packets is set.
Run:
quit
Return to the system view.
Run:
interface eth-trunk trunk-id
The Eth-Trunk interface view is displayed.
Run:
load-balance enhanced profile profile-name
The load balancing profile is applied.
 NOTE:
The preceding load balancing modes apply only to known unicast traffic. To configure the load balancing mode for unknown unicast traffic, run the unknown-unicast load-balance { dmac | smac | smacxordmac | enhanced }command in the system view. Only the S5300EI, S5310EI, and S5300HI support load balancing configuration for unknown unicast traffic.


2014年3月12日星期三

Configure the subtending multicast service.

In the MSTP ring network, MA5600-1 is subtended with Huawei MA5600, and MA5600-3 is subtended with MA5600-4. According to the data plan, MA5600-4 provides the multicast service. In this manner, it is necessary to configure the multicast subtending on MA5600-1 first.
Add the upstream port.
The upstream port is already added in 11.c. It is unnecessary to configure it again.
Configure the IGMP proxy.
The IGMP proxy is already configured in 11.c. It is unnecessary to configure it again.
Configure the program library.
The program library is already configured in 11.c. It is unnecessary to configure it again.
Configure the multicast for the subtending port.
Specify a subtending port.
huawei(config-btv)#igmp cascade-port 0/7/1
huawei(config-btv)#igmp cascade-port 0/7/2
Modify the subtending port.
huawei(config-btv)#igmp cascade-port modify 0/7/1 static enable
huawei(config-btv)#igmp cascade-port modify 0/7/2 static enable
Add programs to the static subtending port.
huawei(config-btv)#igmp static-join cascade-port 0/7/1 ip 224.1.1.1 sourceip 192
.168.1.2
huawei(config-btv)#igmp static-join cascade-port 0/7/1 ip 224.1.1.2 sourceip 192
.168.1.2
huawei(config-btv)#igmp static-join cascade-port 0/7/1 ip 224.1.1.3 sourceip sourceip 192.168.1.2
huawei(config-btv)#igmp static-join cascade-port 0/7/2 ip 224.1.1.1 sourceip sourceip 192.168.1.2
huawei(config-btv)#igmp static-join cascade-port 0/7/2 ip 224.1.1.2 sourceip 192.168.1.2
huawei(config Huawei MA5683T -btv)#igmp static-join cascade-port 0/7/2 ip 224.1.1.3 sourceip 192.168.1.2


2014年3月3日星期一

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

How to configure the multiprotocol label switching (MPLS) based on the binding the PVC with the PW template to set up the Label Distribution Protocol (LDP) remote session, label switching paths (LSP), and PW between the MA5680T    and the router.

Configure the route. PWE3 has no special requirement for the routing policy. Here, an open shortest path first (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 the loopback interface.
huawei(config)#interface loopback 1
huawei(config-if-loopback1)#ip address 1.1.1.1 32
huawei(config-if-loopback1)#quit
Configure the label switch router (LSR) ID for the MPLS.
huawei(config)#mpls lsr-id 1.1.1.1
Enable the 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 the 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
Create a remote peer.
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 triggering mechanism.
huawei(config)#mpls
huawei(config-mpls)#lsp-trigger host
huawei(config-mpls)#label advertise non-null
huawei(config-mpls)#quit
Enable the MPLS L2VPN.
huawei(config)#mpls l2vpn
Configure a service port.
huawei(config)#service-port vlan aoe atm 0/5/0 vpi 1 vci 40 rx-cttr 6 upc off tx-cttr 6 upc off
Create a PW template.
huawei(config)#pw-template pwt
huawei(config-pw-template-pwt)#peer-address 10.1.3.2
huawei(config-pw-template-pwt)#pw-type atm sdu
huawei(config-pw-template-pwt)#quit
Bind the PVC with the PW template.
huawei(config)#pw-ac-binding pvc MA5683T    0/5/0 vpi 1 vci 40 pw 106 pw-template pwt