Showing posts with label HUAWEI S6720. Show all posts
Showing posts with label HUAWEI S6720. Show all posts

Monday, June 1, 2020

How to Configure Huawei Switch Common VLAN Mapping?

Configuring 1 to 1 VLAN Mapping

1 to 1 VLAN mapping allows the switch to map the VLAN ID of packets to an S-VLAN ID.

For example, configure the switch to map VLAN 2 in packets entering GE0/0/1 to VLAN 200.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet0/0/1

[HUAWEI-GigabitEthernet0/0/1] port link-type trunk  //Configure the interface as a trunk interface. VLAN mapping can only be configured on a trunk or hybrid interface.

[HUAWEI-GigabitEthernet0/0/1] qinq vlan-translation enable  //On a fixed device, VLAN translation must be enabled first. This configuration is not required on a modular device.

[HUAWEI-GigabitEthernet0/0/1] port vlan-mapping vlan 2 map-vlan 200

Configuring N to 1 VLAN Mapping

N to 1 VLAN mapping allows the switch to map a range of VLAN IDs to an S-VLAN ID.

For example, configure the switch to map VLANs 3, 4, 5, and 6 in packets entering GE0/0/1 to VLAN 200.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet0/0/1

[HUAWEI-GigabitEthernet0/0/1] port link-type trunk  //Configure the interface as a trunk interface. VLAN mapping can only be configured on a trunk or hybrid interface.

[HUAWEI-GigabitEthernet0/0/1] qinq vlan-translation enable  //On a fixed device, VLAN translation must be enabled first. This configuration is not required on a modular device.

[HUAWEI-GigabitEthernet0/0/1] port vlan-mapping vlan 3 to 6 map-vlan 200

 NOTE:

This configuration is not supported by Huawei S5720HI, S5730HI, and S6720HI.

Configuring 2 to 1 VLAN Mapping

When an interface configured with 2 to 1 VLAN mapping receives a double-tagged packet, it maps the outer tag of the packet to the S-VLAN tag and transparently transmits the inner tag as the data.

For example, configure the switch to map the outer VLAN ID of 8 and inner VLAN ID of 7 in packets entering GE0/0/1 to the outer VLAN ID of 200 and to retain the inner VLAN ID.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet0/0/1

[HUAWEI-GigabitEthernet0/0/1] port link-type trunk  //Configure the interface as a trunk interface. VLAN mapping can only be configured on a trunk or hybrid interface.

[HUAWEI-GigabitEthernet0/0/1] qinq vlan-translation enable  //On a fixed device, VLAN translation must be enabled first. This configuration is not required on a modular device.

[HUAWEI-GigabitEthernet0/0/1] port vlan-mapping vlan 8 inner-vlan 7 map-vlan 200

 NOTE:

Only the S1720X, S1720X-E, S3700HI, S5700EI, S5700HI, S5710EI, S5710HI, S5720EI, S5720HI, S5730HI, S5730S-EI, S5730SI, S6700EI, S6720EI, S6720HI, S6720LI, S6720S-EI, S6720S-LI, S6720S-SI, and S6720SI of fixed devices support this configuration. The modular device supports this configuration.

Configuring 2 to 2 VLAN Mapping

When an interface configured with 2 to 2 VLAN mapping receives a double-tagged packet, it maps double tags of the packet to S-VLAN tags.

For example, configure the switch to map the outer VLAN ID of 11 and inner VLAN ID of 10 in packets entering GE0/0/1 to the outer VLAN ID of 200 and inner VLAN ID of 201.

<HUAWEI> system-view

[HUAWEI] interface gigabitethernet0/0/1

[HUAWEI-GigabitEthernet0/0/1] port link-type trunk  //Configure the interface as a trunk interface. VLAN mapping can only be configured on a trunk or hybrid interface.

[HUAWEI-GigabitEthernet0/0/1] qinq vlan-translation enable  //On a fixed device, VLAN translation must be enabled first. This configuration is not required on a modular device.

[HUAWEI-GigabitEthernet0/0/1] port vlan-mapping vlan 11 inner-vlan 10 map-vlan 200 map-inner-vlan 201

 NOTE:

Only the S1720X, S1720X-E, S5720EI, S5720HI, S5730HI, S5730S-EI, S5730SI, S6720EI, S6720HI, S6720LI, S6720S-EI, S6720S-LI, S6720S-SI, and S6720SI of fixed devices support this configuration. The modular device supports this configuration.

Thursday, October 25, 2018

Traffic Policy Failed in Huawei S6720 Switch

Issue Description
Customer feedback that the traffic policy apply fail in Huawei S6720 200R009C00SPC500, and want to know the reason.
transparent.gif Alarm Information
=========================================================================
  ===============display traffic-policy applied-record===============
=========================================================================
#
-------------------------------------------------
  Policy Name:   af1
  Policy Index:  0
     Classifier:match-any     Behavior:af1
-------------------------------------------------
 *interface XGigabitEthernet0/0/2.1709
    traffic-policy af1 inbound 
      slot 0    :  fail
 *interface XGigabitEthernet0/0/2.3173
    traffic-policy af1 inbound 
      slot 0    :  fail
 *interface XGigabitEthernet0/0/2.3870
    traffic-policy af1 inbound 
      slot 0    :  fail
 *system
    traffic-policy af1 global inbound slot 0
      slot 0    :  success
-------------------------------------------------
  Policy total applied times: 4.
#
transparent.gif Handling Process
Step 1 check the traffic policy configuration as follow:

traffic behavior af1
 remark 8021p 1
#
traffic classifier match-any operator or
 if-match any
#
traffic policy af1 match-order config
 classifier match-any behavior af1
#

Step 2 check the port configuration as follow:

interface XGigabitEthernet0/0/2.1709
 mtu 1600
 qinq mapping vid 1710 map-vlan vid 1709
 traffic-policy af1 inbound
 mpls l2vc 10.3.1.4 152 tunnel-policy T1
#
interface XGigabitEthernet0/0/2.3173
 mtu 1600
 qinq mapping vid 1711 map-vlan vid 3173
 traffic-policy af1 inbound
 mpls l2vc 10.3.1.4 156 tunnel-policy T2
#
interface XGigabitEthernet0/0/2.3870
 mtu 1600
 qinq mapping vid 1712 map-vlan vid 3870
 traffic-policy af1 inbound
 mpls l2vc 10.3.1.4 158 tunnel-policy T3
#

Root Cause
The traffic behavior Remark 8021p and qinq mapping vid 1710 map-vlan vid 1709 conflict,It cause the fail.
transparent.gifSolution
The traffic behavior Remark 8021p and qinq mapping vid 1710 map-vlan vid 1709 both opreation for vlan, so it will conflict and cause the fail.
So we suggest customer change the traffic behavior for example remark dscp or others behavior

transparent.gifSuggestions
The conflict operation may cause the traffic policy fail. Before configuration suggest check our production document there have the detail limit description.

Thursday, March 16, 2017

Huawei Switch S6720-54C-EI-48S with Great Performance

Many Internet Service Providers Choose Huawei S6720 series switch, but not S6700, the reason is that S6720 has better performance than S6700, while price has no much difference.

Huawei S6720-54C-EI-48S ports:
48*10GE SFP+, 2*40G QSFP+, one extended slot for 4*40GE interface card.
Forwarding performance: 1080 Mpps
Switching capacity: 2.56 Tbps


  
Huawei S6700-48-EI ports:
48*GE SFP, or 10G SFP+
Forwarding performance: 720 Mpps

Switching capacity: 960Gbps

Q: Do I need to buy power supply for S6720-54C-EI-48S?
A:Yes, by default S6720-54C-EI-48S has one power supply.

Q: Do I need to buy SFP Modules for S6720-54C-EI-48S?
A:Yes, as S6720-54C-EI-48S is a optical switch, the optical ports will not able to work without SFP module, if you don’t have SFP module, you will need to purchase additional SFP Module.

Q: Does S6720-54C-EI-48S support dual power?
A: Yes, AC and DC power supplies can even be used simultaneously.

Q: How many slots S6720-54C-EI-48S support?
A: One extended slot for 4x40GE QSFP+ interface card