03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

download 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

of 16

Transcript of 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    1/16

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    2/16

    OptiX Metro 500

    Configuration Guide Figures

    Huawei Technologies Proprietary

    ii

    Figures

    Figure 3-1Service configuration example 3-4Figure 3-2NE board information 3-4Figure 3-3SDH timeslot allocation diagram of Ethernet service 3-6

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    3/16

    OptiX Metro 500

    Configuration Guide Tables

    Huawei Technologies Proprietary

    iii

    Tables

    Table 3-1Ethernet service connection 3-5Table 3-2VLAN Forwarding filter table 3-5Table 3-3Configuring Ethernet Layer-2 switching service 3-6

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    4/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-1

    3 Configuring EthernetLayer 2 Switching Services

    This chapter describes how to configure Ethernet Layer 2 switching services on theOptiX iManager T2000.

    It contains the following sections:

    Overview

    Configuring Ethernet Service

    3.1 Overview

    The ET1D board of the OptiX Metro 500 supports Layer 2 switching.

    Ethernet Layer 2 switching is usually known as MAC layer switching. The Layer 2switching works in the same way as an Ethernet switch. Layer 2 switching is fulfilledby source address learning and destination-based forwarding.

    In this case, the OptiX Metro 500 functions as an Ethernet switch.

    You need to acquire some basic knowledge of the following concepts before serviceconfiguration.

    3.1.1 Working Mode of the PORT port

    The PORT of the ET1D can be set to five working modes:

    10M half-duplex.

    10M full-duplex.

    100M half-duplex.

    100M full-duplex.

    Auto-negotiation.

    The working mode of the PORT of the ET1D must be consistent with that of theinterconnected PORT. The PORT of the ET1D cannot be set to auto-negotiation if theopposite end does not support this mode.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    5/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-2

    3.1.2 VLAN ID

    Here are several concepts about VLAN ID.

    1. VLAN ID in the Frame Structure of Packet

    The frame structure of the packet transmitted by the Ethernet switch complies withG.802.1q. There is VLAN ID in the frame structure.

    2. VLAN ID of the PORT

    The VLAN ID is allocated to packets by the PORT when they enter the port.

    3. VLAN ID of the VCTRUNK Port

    The VLAN ID is allocated to packets by the VCTRUNK port when they enter the port.

    4. VLAN ID in the VLAN Forwarding Filter Table

    The VLAN forwarding filter table allocates PORT and VCTRUNK for each VLAN. The

    ID in the VLAN forwarding filter table is the ID of each VLAN.

    3.1.3 VLAN Priority

    The ET1D supports VLAN priority function. There are three possibilities:

    If the bandwidth of input data is less than that of the output data, packets of bothhigher and lower priority can pass the port.

    If the total bandwidth of input data is more than that of the output port, while thehigher priority bandwidth is less than the bandwidth of the output port, all higherpriority packets can pass and only part lower priority packets can pass through thebandwidth remained.For example, a VCTRUNK port is bound with five VC-12s, outputting data at a

    bandwidth of 10 Mbit/s. If the higher priority bandwidth is 6 Mbit/s and the lowerpriority bandwidth is 6 Mbit/s, the higher priority packets can pass completely andthe lower priority packets can pass at 4 Mbit/s.

    If the total bandwidth of input data is more than that of the output port, while thehigher priority bandwidth is more than the bandwidth of the output port, none of thelower priority packets can pass and only part of the higher priority packets canpass, at a bandwidth equal to that of the output port.For example, a VCTRUNK port is bound with five VC-12s, outputting data at abandwidth of 10 Mbit/s. If the higher priority bandwidth is 12 Mbit/s and the lowerpriority bandwidth is 6 Mbit/s, the higher priority packets can pass at 10 Mbit/s andthe lower priority packets cannot pass.

    For two services of the same VLAN priority, if congestion takes place, the bandwidth isallocated in proportion with the bandwidth of the two services.

    For a service of 15 Mbit/s and a service of 10 Mbit/s, if the output bandwidth is 20Mbit/s, the former service passes at 12 Mbit/s and the latter service passes at 8 Mbit/s.

    3.1.4 Flow Control

    The ET1D supports standard flow control protocol (IEEE802.3X) at its IP interfaceside.

    When the flow control protocol is enabled, if the bandwidth of the transmitted service ismore than the allocated bandwidth, the ET1D sends flow control frame to the oppositeend (equipment connected with the interface board of the ET1D), which reduces traffic

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    6/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-3

    at receiving the flow control frame to ensure a reliable transmission.

    However, the ET1D does not support flow control at the VCTRUNK port side (SDHside). When the traffic sent from the SDH side is more than the bandwidth supportedby the ET1D, it discards the overmuch traffic.

    In practice, keep the traffic volume sent from the SDH side under the availablebandwidth to avoid packet loss.

    The ET1D only supports two flow control attributes: "not enable port flow control" and"enable symmetric flow control frame".

    3.1.5 VCTRUNK

    VCTRUNK is the transmission channel. A VCTRUNK can be bound with 1 to 16VC-12s. The ETID board supports two PORTs and 16 VCTRUNKs at most.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    7/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-4

    3.2 Configuring Ethernet Services

    3.2.1 Service Requirement

    A non-protection chain is required, as shown in Figure 3-1.There are two companies A and B. Branch 1 (A1) and branch 2 (A2) of Acommunicate with each other over a bandwidth of 8 Mbit/s. Branch 1 (B1) and branch2 (B2) of B communicate with each other over a bandwidth of 6 Mbit/s. Branch 3 (B3)and branch 4 (B4) of B communicate with each other over a bandwidth of 2 Mbit/s.

    Transport network

    42M 2M

    :OptiX Metro 500

    :Switch

    :Service connection

    B branch 3

    B branch 1

    NE3NE2

    2M

    3

    NE1

    B branch 4

    B branch 2

    A branch 2

    A branch 1

    Figure 3-1 Service configuration example

    3.2.2 Service Planning

    Prepare the following as required.

    NE board information

    Ethernet service connection table

    Forwarding filter table

    SDH timeslot allocation diagram

    1. NE Board Information

    For the board configuration of each NE, see Figure 3-2.

    SCC STG XC SL1D PL1D ET1D

    NE1

    SCC STG XC SL1D PL1D

    NE2

    SCC STG XC SL1D PL1D

    NE3

    ET1D

    ET1D

    Figure 3-2 NE board information

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    8/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-5

    2. Ethernet Service Connection Table

    There are Ethernet services between A1 in NE1 and A2 in NE2, between B1 in NE1and B2 in NE2, and between B3 in NE1 and B4 in NE3.

    For the Ethernet service connection, refer to Table 3-1.

    Table 3-1 Ethernet service connection

    Service A1A2 B1B2 B3B4

    Source NE NE1 NE1 NE1Source board-port 6-ET1D-1 6-ET1D-2 6-ET1D-2Occupied timeslot VC-12: 14 VC-12: 57 VC-12: 8Port working mode 100M full duplex 100M full duplex 100M full duplexTag flag Tag Aware Tag Aware Tag AwareNumber of bound VC-12

    4 3 1

    Sink NE NE2 NE2 NE3Sink board-port 6-ET1D-1 6-ET1D-2 6-ET1D-1VLAN ID 1 2 3

    Note

    The VLAN ID is set on the Ethernet switch, as shown in Figure 3-1.

    3. VLAN Forwarding Filter Table

    Table 3-2is the forwarding filter table of the ET1D boards in NE1, NE2 and NE3.

    Table 3-2 VLAN Forwarding filter table

    NE VB User VLAN ID PORT port VCTRUNK port

    1 Company A 1 PORT1 VCTRUNK1

    2 VCTRUNK2

    NE1

    2 Company B

    3

    PORT2

    VCTRUNK3

    1 Company A 1 PORT1 VCTRUNK1NE2

    2 Company B 2 PORT2 VCTRUNK2

    NE3 2 Company B 3 PORT1 VCTRUNK1

    4. SDH Timeslot Allocation Diagram

    Figure 3-3shows the timeslot allocation diagram of Ethernet services on the SDHnetwork.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    9/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-6

    Timeslot

    NE 1NE NE 2 NE 3

    t6:1-7

    t6:8t6:8

    1#

    VC-4 VC12 : 8

    t6:1-7

    4-SL1D-24-SL1D-1

    Legend:

    Unidirectional service between A and C, passing through B

    A B C

    4-SL1D-24-SL1D-1

    t6:1-7: Indicates the 1st to 7th 2M of the board in slot 6

    VC12 : 1-7

    Figure 3-3 SDH timeslot allocation diagram of Ethernet service

    3.2.3 Configuration Process

    Table 3-3lists the procedure to configure Ethernet service of the ET1D board onT2000.

    Table 3-3 Configuring Ethernet Layer-2 switching service

    Stage Description

    1 Creating a Board

    2 Configuring an Ethernet Interface

    3 Configuring Ethernet LAN Service

    4 Configuring the Forwarding Filter Table

    5 Configuring the Aging Time

    6 Configuring SDH Service

    Note:

    To create NE and SDH network on the T2000, refer to chapter 1.

    This section takes NE1 as an example to illustrate how to configure Ethernet services.

    The configuration process of NE2 and NE3 is almost the same as that of NE1.

    1. Creating a Board

    Step Action

    1 In the Main Topology, double-click the NE1 icon to display the NE Panel.2 Right-click the slot 6 and select Add ET1Dfrom the board list. Click Close.

    Click to close the NE panel.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    10/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-7

    Step Action

    3 Repeat steps 1 and 2 to configure the ET1D for NE2 and NE3.

    2. Configuring an Ethernet Interface

    Note:

    The working mode of the PORT of the ET1D must be consistent with that of theinterconnected PORT. The PORT of the ET1D cannot be set to auto-negotiation if theopposite end does not support this mode.

    Configure the Ethernet interface referring to Table 3-1.

    Step Action

    1 In the Main Topology, right-click the NE1 icon and select NE Explorer.2 In the NE Explorer, select the 6-ET1D board of NE1.3 In the Function Tree, choose Configuration> Ethernet Interface Management

    > Ethernet Interface.4 Select Internal Port.

    Click the TAG Attributetab. Configure Tag attribute parameters for ports6-ET1D-VCTRUNK1, 6-ET1D-VCTRUNK2 and 6-ET1D-VCTRUNK3 referring toTable 3-1and Table 3-2.

    TAG: Tag Aware.

    Click Apply.

    5 Click the Bound Pathtab.

    Click Configuration, the Bound Path Configurationdialog box is displayed.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    11/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-8

    Step Action

    6 Configure the bound path of company A in the dialog box.

    Configurable Ports: VCTRUNK1.

    Available Resources: VC4-1.

    Available Timeslots: VC12-1 to VC12-4.

    Click , and the configured bound path is listed in the Selected Bound Pathspane.

    Click Apply.

    7 Configure the bound path from B1 to B2 in the dialog box.

    Configurable Ports: VCTRUNK2.Available Resources: VC4-1.

    Available Timeslots: VC12-5 to VC12-7.

    Click , and the configured bound path is listed in the Selected Bound Pathspane.

    Click Apply.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    12/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-9

    Step Action

    8 Configure the bound path from B3 to B4 in the dialog box.

    Configurable Ports: VCTRUNK3.

    Available VC4: VC4-1.

    Available Timeslot: VC12-8.

    Click , the configured bound path is listed in the Selected Bound Pathspane.

    Click OK.9 In the Ethernet Interfacewindow, select External Port.

    10 Click the Basic Attributestab and set the parameters of MAC1 and MAC2according to Table 3-1.

    Enabled/Disabled: Enabled.

    Working Mode: 100M Full Duplex. If both ends support auto-negotiation, set

    the working mode to auto-negotiation. Otherwise, set the working mode thesame with that of the opposite end.

    For other parameters, use the default values. Click Apply.

    11 In the Flow Controltab, start the flow control function.

    Non-Autonegotiation Flow Control Mode: Enable Symmetric Flow Control.

    Click Apply.

    12 Click the TAG Attributestab, set TAG parameters for PORT1 and PORT2.

    TAG: Tag Aware.

    Click Apply.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    13/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-10

    3. Configuring Ethernet LAN Services

    Configure the VB according to Table 3-2.

    Step Action

    1 In the Main Topology, right-click the NE1 icon and select NE Explorer.2 Select 6-ET1D of NE1.

    3 In the Function Tree, choose Configuration> Ethernet Service> EthernetLAN Service.

    4 Click Newto display the Create Ethernet LAN Servicedialog box. Setparameters.

    VB: VB1.

    5 Click Configure Mounted Port.

    In the VB Mount Port Configurationdialog box, select MAC1 and VCTRUNK1

    according to Table 3-2and click .

    Click OK.

    6 In the Create Ethernet LAN Servicedialog box, click Apply.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    14/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-11

    Step Action

    7 In the Create Ethernet LAN Servicedialog box, set the parameter below.

    VB Name: VB2.

    8 Click Configure Mounted Port.In the VB Mount Port Configurationdialog box, select MAC2, VCTRUNK2 and

    VCTRUNK3 according to Table 3-2and click .

    Click OK.9 In the Create Ethernet LAN Servicedialog box, click OK.

    When the "Operation Succeeded" dialog box is displayed, click Close.

    4. Configuring the Forwarding Filter Table

    Configure the forwarding filter table according to Table 3-2.

    Step Action

    1 In the Function Tree, choose Configuration> Ethernet Service> EthernetLAN Service. Click the VLANtab.

    2 Select the ET1D board with the VB ID as "1". Click Newto display the CreateVLANdialog box.

    Refer to Table 3-2, and set the following parameter:

    VLAN ID: 1

    In Available forwarding ports, select PORT1 and VCTRUNK1. Click .

    Click Apply.

    3 Select the ET1D board with the VB ID as "2". Click Newto display the CreateVLANdialog box. Set the following parameter:

    VLAN ID: 2

    In Available forwarding ports, select PORT 2 and VCTRUNK2. Click .

    Click Apply.4 Set the following parameter in the Create VLANdialog box:

    VLAN ID: 3

    In Available forwarding ports, select PORT 2 and VCTRUNK3. Click .

    Click OK.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    15/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-12

    5. Configuring the Aging Time

    Note:

    To avoid the dynamic routing table of the ET1D board being crammed with increasingPORT ports, set the aging time for the routing table.

    That is, if a source MAC address is not used within a certain time (five minutes, forexample), it is assumed that there is no routing requirement for this addresstemporarily.

    Delete it so that the routing table can hold more MAC addresses.

    Step Action

    1 In the Function Tree, choose Configuration> Layer-2 SwitchingManagement> Aging Time.

    2 Set Aging Timeand Multicast Aging Time.

    3 Click Apply.

    Note:

    The aging time is 5 minutes by default. The multicast aging time is 8 minutes bydefault. You can set it as required.

    6. Configuring SDH Services

    Refer to Figure 3-3,and configure the SDH service of NE1.

    Step Action

    1 Select NE1 in the NE Explorer.2 In the Function Tree, choose Configuration> SDH Service Configuration.

  • 8/12/2019 03-Chapter 3 Configuring Ethernet Layer 2 Switching Services

    16/16

    OptiX Metro 500

    Configuration Guide

    3 Configuring Ethernet

    Layer 2 Switching Services

    Huawei Technologies Proprietary

    3-13

    Step Action

    3 Click Createto set the following parameters in the Create SDH Servicedialogbox:

    Level: VC12.

    Direction: Bidirectional.

    Source Slot: 6-ET1D.

    Source Timeslot Range: 18.

    Sink Slot: 4-SL1D-1(SDH-1).

    Sink VC4: VC4-1.

    Sink Timeslot Range: 18.

    Activate Immediately: Yes.

    Click OK.