Sunteți pe pagina 1din 16

OptiX Metro 500 Configuration Guide

Contents

Contents
3 Configuring Ethernet Layer 2 Switching Services...........................................................3-1
3.1 Overview ................................................................................................................................... 3-1 3.1.1 Working Mode of the PORT port...................................................................................... 3-1 3.1.2 VLAN ID ........................................................................................................................... 3-2 3.1.3 VLAN Priority.................................................................................................................... 3-2 3.1.4 Flow Control ..................................................................................................................... 3-2 3.1.5 VCTRUNK........................................................................................................................ 3-3 3.2 Configuring Ethernet Services .................................................................................................. 3-4 3.2.1 Service Requirement ....................................................................................................... 3-4 3.2.2 Service Planning .............................................................................................................. 3-4 3.2.3 Configuration Process...................................................................................................... 3-6

Huawei Technologies Proprietary i

OptiX Metro 500 Configuration Guide

Figures

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

Huawei Technologies Proprietary ii

OptiX Metro 500 Configuration Guide

Tables

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

Huawei Technologies Proprietary iii

OptiX Metro 500 Configuration Guide

3 Configuring Ethernet Layer 2 Switching Services

3
It contains the following sections:

Configuring Ethernet Layer 2 Switching Services

This chapter describes how to configure Ethernet Layer 2 switching services on the OptiX iManager T2000. 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 2 switching works in the same way as an Ethernet switch. Layer 2 switching is fulfilled by 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 service configuration.

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 the interconnected PORT. The PORT of the ET1D cannot be set to auto-negotiation if the opposite end does not support this mode.

Huawei Technologies Proprietary 3-1

OptiX Metro 500 Configuration Guide

3 Configuring Ethernet Layer 2 Switching Services

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 with G.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 both higher and lower priority can pass the port. If the total bandwidth of input data is more than that of the output port, while the higher priority bandwidth is less than the bandwidth of the output port, all higher priority packets can pass and only part lower priority packets can pass through the bandwidth 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 lower priority bandwidth is 6 Mbit/s, the higher priority packets can pass completely and the 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 the higher priority bandwidth is more than the bandwidth of the output port, none of the lower priority packets can pass and only part of the higher priority packets can pass, at a bandwidth equal to that of the output port. 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 12 Mbit/s and the lower priority bandwidth is 6 Mbit/s, the higher priority packets can pass at 10 Mbit/s and the lower priority packets cannot pass.

For two services of the same VLAN priority, if congestion takes place, the bandwidth is allocated 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 20 Mbit/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 interface side. When the flow control protocol is enabled, if the bandwidth of the transmitted service is more than the allocated bandwidth, the ET1D sends flow control frame to the opposite end (equipment connected with the interface board of the ET1D), which reduces traffic Huawei Technologies Proprietary 3-2

OptiX Metro 500 Configuration Guide

3 Configuring Ethernet Layer 2 Switching Services

at receiving the flow control frame to ensure a reliable transmission. However, the ET1D does not support flow control at the VCTRUNK port side (SDH side). When the traffic sent from the SDH side is more than the bandwidth supported by the ET1D, it discards the overmuch traffic. In practice, keep the traffic volume sent from the SDH side under the available bandwidth 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 16 VC-12s. The ETID board supports two PORTs and 16 VCTRUNKs at most.

Huawei Technologies Proprietary 3-3

OptiX Metro 500 Configuration Guide

3 Configuring Ethernet Layer 2 Switching Services

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 A communicate with each other over a bandwidth of 8 Mbit/s. Branch 1 (B1) and branch 2 (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.
B branch 1

A branch 1

B branch 3

4 2M

2M

Transport network

2M

NE1

NE2

NE3

A branch 2

B branch 4 :OptiX Metro 500 :Switch

B branch 2

:Service connection

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 NE1 SCC NE3 STG XC SL1D PL1D ET1D STG XC SL1D PL1D ET1D SCC NE2 STG XC SL1D PL1D ET1D

Figure 3-2 NE board information

Huawei Technologies Proprietary 3-4

OptiX Metro 500 Configuration Guide 2. Ethernet Service Connection Table

3 Configuring Ethernet Layer 2 Switching Services

There are Ethernet services between A1 in NE1 and A2 in NE2, between B1 in NE1 and 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 Source NE Source board-port Occupied timeslot Port working mode Tag flag Number of bound VC-12 Sink NE Sink board-port VLAN ID

A1<->A2 NE1 6-ET1D-1 VC-12: 14 100M full duplex Tag Aware 4 NE2 6-ET1D-1 1

B1<->B2 NE1 6-ET1D-2 VC-12: 57 100M full duplex Tag Aware 3 NE2 6-ET1D-2 2

B3<->B4 NE1 6-ET1D-2 VC-12: 8 100M full duplex Tag Aware 1 NE3 6-ET1D-1 3

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

3. VLAN Forwarding Filter Table

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

NE NE1

VB 1 2

User Company A Company B

VLAN ID 1 2 3

PORT port PORT1 PORT2

VCTRUNK port VCTRUNK1 VCTRUNK2 VCTRUNK3

NE2

1 2

Company A Company B Company B

1 2 3

PORT1 PORT2 PORT1

VCTRUNK1 VCTRUNK2 VCTRUNK1

NE3

4. SDH Timeslot Allocation Diagram

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

Huawei Technologies Proprietary 3-5

OptiX Metro 500 Configuration Guide


NE Timeslot

3 Configuring Ethernet Layer 2 Switching Services


NE 3 NE 1 NE 2 4-SL1D-1 4-SL1D-2 4-SL1D-1 4-SL1D-2
VC12 : 1-7

t6:1-7 1# VC-4 t6:8

t6:1-7

VC12 : 8

t6:8

Legend: A

C Unidirectional service between A and C, passing through B t6:1-7: Indicates the 1st to 7th 2M of the board in slot 6

Figure 3-3 SDH timeslot allocation diagram of Ethernet service

3.2.3 Configuration Process


Table 3-3 lists the procedure to configure Ethernet service of the ET1D board on T2000.
Table 3-3 Configuring Ethernet Layer-2 switching service

Stage 1 2 3 4 5 6

Description Creating a Board Configuring an Ethernet Interface Configuring Ethernet LAN Service Configuring the Forwarding Filter Table Configuring the Aging Time 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 1 2 Action In the Main Topology, double-click the NE1 icon to display the NE Panel. Right-click the slot 6 and select Add ET1D from the board list. Click Close. Click to close the NE panel.

Huawei Technologies Proprietary 3-6

OptiX Metro 500 Configuration Guide Step 3 Action

3 Configuring Ethernet Layer 2 Switching Services

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 the interconnected PORT. The PORT of the ET1D cannot be set to auto-negotiation if the opposite end does not support this mode.

Configure the Ethernet interface referring to Table 3-1.


Step 1 2 3 4 Action In the Main Topology, right-click the NE1 icon and select NE Explorer. In the NE Explorer, select the 6-ET1D board of NE1. In the Function Tree, choose Configuration > Ethernet Interface Management > Ethernet Interface. Select Internal Port. Click the TAG Attribute tab. Configure Tag attribute parameters for ports 6-ET1D-VCTRUNK1, 6-ET1D-VCTRUNK2 and 6-ET1D-VCTRUNK3 referring to Table 3-1 and Table 3-2. TAG: Tag Aware. Click Apply.

Click the Bound Path tab. Click Configuration, the Bound Path Configuration dialog box is displayed.

Huawei Technologies Proprietary 3-7

OptiX Metro 500 Configuration Guide Step 6 Action

3 Configuring Ethernet Layer 2 Switching Services

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 pane. , and the configured bound path is listed in the Selected Bound Paths

Click Apply.

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 pane. , and the configured bound path is listed in the Selected Bound Paths

Click Apply.

Huawei Technologies Proprietary 3-8

OptiX Metro 500 Configuration Guide Step 8 Action

3 Configuring Ethernet Layer 2 Switching Services

Configure the bound path from B3 to B4 in the dialog box. Configurable Ports: VCTRUNK3. Available VC4: VC4-1. Available Timeslot: VC12-8. Click pane. Click OK. , the configured bound path is listed in the Selected Bound Paths

9 10

In the Ethernet Interface window, select External Port. Click the Basic Attributes tab and set the parameters of MAC1 and MAC2 according 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 the same with that of the opposite end. For other parameters, use the default values. Click Apply.

11

In the Flow Control tab, start the flow control function. Non-Autonegotiation Flow Control Mode: Enable Symmetric Flow Control. Click Apply.

12

Click the TAG Attributes tab, set TAG parameters for PORT1 and PORT2. TAG: Tag Aware. Click Apply.

Huawei Technologies Proprietary 3-9

OptiX Metro 500 Configuration Guide 3. Configuring Ethernet LAN Services

3 Configuring Ethernet Layer 2 Switching Services

Configure the VB according to Table 3-2.


Step 1 2 3 4 Action In the Main Topology, right-click the NE1 icon and select NE Explorer. Select 6-ET1D of NE1. In the Function Tree, choose Configuration > Ethernet Service > Ethernet LAN Service. Click New to display the Create Ethernet LAN Service dialog box. Set parameters. VB: VB1.

Click Configure Mounted Port. In the VB Mount Port Configuration dialog box, select MAC1 and VCTRUNK1 according to Table 3-2 and click . Click OK.

In the Create Ethernet LAN Service dialog box, click Apply.

Huawei Technologies Proprietary 3-10

OptiX Metro 500 Configuration Guide Step 7 Action

3 Configuring Ethernet Layer 2 Switching Services

In the Create Ethernet LAN Service dialog box, set the parameter below. VB Name: VB2.

Click Configure Mounted Port. In the VB Mount Port Configuration dialog box, select MAC2, VCTRUNK2 and VCTRUNK3 according to Table 3-2 and click . Click OK.

In the Create Ethernet LAN Service dialog 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 1 2 Action In the Function Tree, choose Configuration > Ethernet Service > Ethernet LAN Service. Click the VLAN tab. Select the ET1D board with the VB ID as "1". Click New to display the Create VLAN dialog 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 New to display the Create VLAN dialog 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 VLAN dialog box: VLAN ID: 3 In Available forwarding ports, select PORT 2 and VCTRUNK3. Click Click OK. . . .

Huawei Technologies Proprietary 3-11

OptiX Metro 500 Configuration Guide 5. Configuring the Aging Time

3 Configuring Ethernet Layer 2 Switching Services

Note: To avoid the dynamic routing table of the ET1D board being crammed with increasing PORT 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, for example), it is assumed that there is no routing requirement for this address temporarily. Delete it so that the routing table can hold more MAC addresses.

Step 1 2

Action In the Function Tree, choose Configuration > Layer-2 Switching Management > Aging Time. Set Aging Time and Multicast Aging Time.

Click Apply.

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

6. Configuring SDH Services

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


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

Huawei Technologies Proprietary 3-12

OptiX Metro 500 Configuration Guide Step 3 Action

3 Configuring Ethernet Layer 2 Switching Services

Click Create to set the following parameters in the Create SDH Service dialog box: 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.

Huawei Technologies Proprietary 3-13

S-ar putea să vă placă și