06-Port Correlation Configuration Operation

Download

Table of Contents

Chapter 1 Ethernet Port Configuration. 1-1

1.1 General Ethernet Port Configuration. 1-1

1.1.1 Basic Ethernet Port Configuration. 1-1

1.1.2 Combo Port Configuration. 1-2

1.1.3 Configuring Flow Control on an Ethernet Port 1-4

1.1.4 Configuring Loopback Testing on an Ethernet Port 1-5

1.1.5 Configuring a Port Group. 1-5

1.1.6 Configuring Storm Suppression Ratio on an Ethernet Port 1-6

1.1.7 Copying Configurations from a Specified Port to Other Ports. 1-7

1.1.8 Enabling the Forwarding of Jumbo Frames. 1-8

1.1.9 Configuring an Ethernet Port to Perform Loopback Detection. 1-8

1.1.10 Configuring port MDI attribute on an Ethernet Port 1-10

1.1.11 Ethernet Port Cable Testing. 1-10

1.1.12 Configuring the Interval to Perform Statistical Analysis on Port Traffic. 1-11

1.2 Maintaining and Displaying an Ethernet Port 1-11

Chapter 2 Link Aggregation Configuration. 2-1

2.1 Link Aggregation Overview. 2-1

2.1.1 Configuring a Manual Link Aggregation Group. 2-1

2.1.2 LACP. 2-2

2.1.3 Consistency Considerations for Ports in an Aggregation. 2-2

2.2 Approaches to Link Aggregation. 2-3

2.2.1 Manual link aggregation. 2-3

2.2.2 Static LACP link aggregation. 2-5

2.2.3 Load Sharing in a Link Aggregation Group. 2-6

2.2.4 Aggregation Port Group. 2-6

2.3 Configuring Link Aggregation. 2-7

2.3.1 Configuring a Manual Link Aggregation Group. 2-7

2.3.2 Configuring a Static LACP Link Aggregation Group. 2-8

2.3.3 Configuring an Aggregation Group Name. 2-9

2.3.4 Entering Aggregation Port Group View. 2-9

2.4 Displaying and Maintaining Link Aggregation. 2-10

2.5 Link Aggregation Configuration Example. 2-10

Chapter 3 Port Isolation Configuration. 3-1

3.1 Port Isolation Overview. 3-1

3.2 Port Isolation Configuration. 3-1

3.3 Displaying Port Isolation Configuration. 3-2

3.4 Port Isolation Configuration Example. 3-2

 


Chapter 1  Ethernet Port Configuration

1.1  General Ethernet Port Configuration

Table 1-1 Port configuration tasks

Operation

Remarks

Related section

Basic Ethernet Port Configuration

Optional

1.1.1 

Combo Port Configuration

Optional

1.1.2 

Configuring Flow Control on an Ethernet

Optional

1.1.3 

Configuring Loopback Testing on an Ethernet Port

Optional

1.1.4 

Configuring a Port Group

Optional

1.1.5 

Configuring Storm Suppression Ratio on an Ethernet Port

Optional

1.1.6 

Copying Configurations from a Specified Port to Other Ports

Optional

1.1.7 

Enabling the Forwarding of Jumbo Frames

Optional

1.1.8 

Configuring an Ethernet Port to Perform Loopback Detection

Optional

1.1.9 

Configuring port MDI attribute on an Ethernet Port

Optional

1.1.10 

Ethernet Port Cable Testing

Optional

1.1.11 

Configuring the Interval to Perform Statistical Analysis on Port Traffic

Optional

1.1.12 

 

1.1.1  Basic Ethernet Port Configuration

Three types of duplex modes exist for Ethernet ports:

l           Full-duplex mode (full): in this mode, the sending and receiving of data packets happen simultaneously;

l           Half-duplex mode (half): in this mode, at a particular time, either the sending or receiving of data packets is allowed, but not both;

l           Autonegotiation mode (auto): in this mode, the transmission mode is negotiated between peer Ethernet ports.

Follow these steps to make basic Ethernet port configurations:

To do...

Use the command

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Enable an Ethernet port

undo shutdown

Optional

Enabled by default. Use the shutdown command to disable a port.

Configure the description for an Ethernet port

description text

Optional

Default to the port name. For example “GigabitEthernet1/0/1 Interface”

Configure the duplex mode for an Ethernet port

duplex { auto | full | half }

Optional

Default to “auto”.

Configure the transmission rate for an Ethernet port

speed { 10 | 100 | 1000 | auto }

Optional

Default to “auto”.

Configure the link type of port

port link-type { access | hybrid | trunk }

Optional

Default to “access”.

 

&  Note:

l      For the double combo port, the optical port goes up when you use the undo shutdown command on it, and the electrical port in pairs goes down, and vice versa.

l      The mdi and virtual-cable-test commands are not available on the optical combo port.

l      The optical combo port cannot work in half-duplex mode, only supports two speed options: 1000 Mbps and auto.

l      When the port works at 1000 Mbps, you cannot configure it in half-duplex mode, and vice versa.

 

1.1.2  Combo Port Configuration

I. Introduction to Combo port

A Combo port refers to two Ethernet interfaces in a device panel (normally one is an optical port and the other is an electrical port). Inside the device there is only one forwarding interface. Combo port and its corresponding electrical port work in a TX/SFP mode. Users can choose one to use depending on the actual network requirements, but not two simultaneously. When one port is working, the other is disabled, and vice versa.

A Combo port is a logical port with two physical connections, one is called optical port, the other electrical port. The Combo port corresponds to a single forwarding port inside the device. Only one port can be active at a time. When one is active, the other will be automatically deactivated.

For ease of management, a Combo port can be categorized into one of the two following types:

l           Single Combo port: the two Ethernet interfaces in the device panel correspond to only one interface view, in which the state on the two interfaces can be realized. A single Combo port can be a Layer 2 Ethernet interface or a Layer 3 Ethernet interface.

l           Double Combo port: the two Ethernet interfaces in the device panel correspond to two interface views. The state switchover can be realized in user’s own interfaces view. A double Combo port can only be a layer 2 Ethernet interface.

 

&  Note:

Currently, the S5500-SI series switches support double combo ports.

 

II. Combo ports and corresponding electric ports on S5500-SI series

Table 1-2 Combo ports and corresponding electric ports on S5500-SI series switches

Switch

Combo port

Corresponding port

S5500-28C-SI

S5500-28C-PWR-SI

GigabitEthernet1/0/25

GigabitEthernet1/0/22

GigabitEthernet1/0/26

GigabitEthernet1/0/24

GigabitEthernet1/0/27

GigabitEthernet1/0/21

GigabitEthernet1/0/28

GigabitEthernet1/0/23

S5500-52C-SI

S5500-52C-PWR-SI

GigabitEthernet1/0/49

GigabitEthernet1/0/46

GigabitEthernet1/0/50

GigabitEthernet1/0/48

GigabitEthernet1/0/51

GigabitEthernet1/0/45

GigabitEthernet1/0/52

GigabitEthernet1/0/47

 

III. Configuring Combo port state

Follow these steps to configure a double Combo port state:

To do...

Use the command

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type interface-number

Enable a specified double Combo port

undo shutdown

Optional

By default, out of the two ports in a Combo port, the one with a smaller port ID is enabled.

The port with the smaller port ID is of electrical type.

 

1.1.3  Configuring Flow Control on an Ethernet Port

When flow control is turned on between peer Ethernet ports, if traffic congestion occurs at the ingress interface, it will send a Pause frame notifying the egress interface to temporarily suspend the sending of packets. The egress interface is expected to stop sending any new packets when it receives the Pause frame. In this way, flow controls helps to avoid the dropping of packets. Note that only after both the ingress and the egress interfaces have turned on their flow control will this be possible.

 

&  Note:

l      The S5500-SI series switches can only receive but not send pause frames.

l      The S5500-SI series switches do not support to send jamming signal in half duplex mode.

 

Follow these steps to configure flow control on an Ethernet port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Turn on flow control on an Ethernet port

flow-control

Required

Turned off by default

 

1.1.4  Configuring Loopback Testing on an Ethernet Port

You can enable loopback testing to check whether the Ethernet port is functioning properly. Note that no data packets can be forwarded during the testing. Loopback testing falls into the following two categories:

l           Internal loopback testing: The packets from a port go inside the switch and then back to the original port. If the internal loopback test succeeds, the port is OK.

l           External loopback testing: a loopback plug needs to be plugged into an Ethernet port, if data packets sent from the port is received by the same port through the loopback plug, the external loopback testing is successful indicating that the port is functioning properly.

Follow the following steps to configure Ethernet port loopback testing:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Configure to enable loopback testing

loopback { external | internal }

Optional

Disabled by default

 

&  Note:

l      The loopback testing is not applicable when the port is in a shutdown state;

l      The speed, duplex, mdi, and shutdown commands are not applicable during a loopback testing;

l      An Ethernet port works in the full duplex mode when the port performs loopback testing. After the loopback testing is disabled on the port, the original duplex mode of the port is restored.

 

1.1.5  Configuring a Port Group

To make the configuration task easier for users, certain devices allow users to configure on a single port as well as on multiple ports in a port group. In port group view, the user only needs to input the configuration command once on one port and that configuration will apply to all ports in the port group. This effectively reduces redundant configurations.

A Port group could belong to one of the following two categories:

l           Manual port group: manually created by users. Multiple Ethernet ports can be added to the same port group;

l           Dynamic port group: dynamically created by system, currently mainly applied in link aggregation port groups. A link aggregation port group is automatically created together with the creation of a link aggregation group and cannot be created by users through command line input. Adding or deleting of ports in a link aggregation port group can only be achieved through operations on the link aggregation group.

Follow the following steps to enter port group view:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter port group view

Enter manual port group view

port-group manual port-group-name

Enter aggregation port group view

port-group aggregation agg-id

 

Follow the following steps to configure manual port group:

To do...

Use the command...

Remarks

Enter system view

system-view

Create a manual port group, and enter manual port group view

port-group manual port-group-name

Required

Add an Ethernet port to a specified manual port group

group-member interface-list

Required

 

&  Note:

l      The manual port groups cannot survive a system rebooting.

l      For details on configuring link aggregation port group, refer to Chapter 2  Link Aggregation Configuration

 

1.1.6  Configuring Storm Suppression Ratio on an Ethernet Port

You can use the following commands to suppress the broadcast/multicast/unknown unicast flow.

Traffic that has exceeded the configured threshold will be discarded so that it remains below the configured threshold. This effectively prevents storms, avoids network congestion, and ensures that the network functions properly.

Configure storm suppression ratio on an Ethernet port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view or port group view

Enter Ethernet port view

interface interface-type interface-number

At least one required;

Configurations made under Ethernet port view apply to the current port only whereas configurations made under port group view apply to all ports in the group.

Enter port group view

port-group { manual port-group-name | aggregation agg-id }

Configure broadcast storm suppression ratio

broadcast-suppression { ratio | pps pps }

Optional

Default to 100%, that is, broadcast traffic is not suppressed by default

Configure multicast storm suppression ratio

multicast-suppression { ratio | pps max-pps }

Optional

Default to 100%, that is, multicast traffic is not suppressed by default

Configure unknown unicast storm suppression ratio

unicast-suppression { ratio | pps max-pps }

Optional

Default to 100%, that is, unknown unicast traffic is not suppressed by default

 

1.1.7  Copying Configurations from a Specified Port to Other Ports

Using the copy configuration command you can easily copy configurations from a specified Ethernet port to other Ethernet ports provided that they all work in Layer 2 mode.

Configurations that can be copied include VLAN, QoS, STP, and port configurations, as illustrated below:

l           Port configuration: link type, rate, duplex mode.

l           GVRP configurations, including GVRP enabling/disabling, GVRP registration type, and Hold/Join/Leave timer length of a port.

l           STP configuration: STP enabled/disabled, link types (point-to-point or not), STP priority, route cost, rate limit, looping, root protection, edge ports or not.

l           Port-isolate configurations, including configurations of the isolated group which the port belongs to.

l           VLAN configurations: VLANs that are allowed to pass through the port, default VLAN ID;

l           LACP configurations: LACP enabled/disabled.

l           QoS configurations: rate limiting, port priority, default 802.1p priorities;

l           QINQ configurations: QINQ enabled/disabled, Ethernet protocol type, mapping relation of outer VLAN ID and VLAN priority, BPDU TUNNEL configuration on the port.

Follow the following steps to copy configurations from a specified port to other ports:

To do...

Use the command...

Remarks

Enter system view

system-view

Copy configurations on a specified Layer 2 Ethernet port to other Layer 2 Ethernet ports

copy configuration source interface-type interface-number destination interface-list

Required

 

1.1.8  Enabling the Forwarding of Jumbo Frames

Due to tremendous amount of traffic occurred in Ethernet, it is likely that some frames might have a frame size greater than the standard Ethernet frame size. By allowing such frames (called jumbo frames) to pass through Ethernet ports, you can forward frames with a size greater than the standard Ethernet frame size and yet still within the specified size range.

Follow the following steps to enable the forwarding of jumbo frames

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view or port group view

Enter Ethernet port view

interface interface-type interface-number

At least one required

Enter port group view

port-group { manual port-group-name | aggregation agg-id }

Enable the forwarding on a specified port

jumboframe enable

Required

By default, frames that are not larger than 9216 bytes are allowed to pass through the Ethernet port.

 

1.1.9  Configuring an Ethernet Port to Perform Loopback Detection

The purpose of loopback detection is to detect loopbacks on a port.

When loopback detection is enabled on an Ethernet port, the device will routinely check whether the ports have any external loopback. If it detects a loopback on a port, the device will turn that port under loopback detection mode.

l           If an Access port has been detected with loopbacks, it will be shutdown. A Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.

l           If a Trunk port or Hybrid port has been detected with loopbacks, a Trunk message will be sent to the terminal. They will be shutdown if the loopback testing function is enabled on them. In addition, a Trap message will be sent to the terminal and the corresponding MAC address forwarding entries will be deleted.

Follow the following steps to configure loopback detection:

To do...

Use the command...

Remarks

Enter system view

system-view

Enable global loopback detection

loopback-detection enable

Required

Disabled by default

Configure time interval for external loopback detection

loopback-detection interval-time time

Optional

Default to 30 seconds

Enter Ethernet port view

interface interface-type interface-number

Enable loopback detection on a specified port

loopback-detection enable

Required

Disabled by default

Enable loopback detection on a Trunk port or a Hybrid port

loopback-detection control enable

Optional

Disabled by default

Enable loopback detection in all VLANs with Trunk ports or Hybrid ports

loopback-detection per-vlan enable

Optional

Enabled only in the default VLAN(s) with Trunk port or Hybrid ports

Display loopback detection information on a port

display loopback-detection

Available in any view

 

  Caution:

l      Loopback detection on a given port is enabled only after the loopback-detection enable command has been issued in both system view and the port view of the port.

l      Loopback detection on all ports will be disabled after the issuing of the undo loopback-detection enable command under system view.

 

1.1.10  Configuring port MDI attribute on an Ethernet Port

Follow the following steps to configure port Medium Dependent Interface (MDI) attribute on Ethernet Port:

l           across: Specifies a cross-over cable for the Ethernet port.

l           auto: Configures the Ethernet port to be auto-sensing for the cable type.

l           normal: Specifies straight-through cable for the Ethernet port.

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Configure the cable type for an Ethernet port

mdi { across | auto | normal }

Optional

Defaults to auto, that is, system automatically detects the type of cable in use.

 

&  Note:

l       Combo optical port and 10GE port do not support mdi command

l      For the mdi command, only auto mode can be successfully implemented on the S5500-SI series switches.

 

1.1.11  Ethernet Port Cable Testing

Follow the following steps to test the current working state of Ethernet port cables. System will return the testing result within five seconds, indicating the receiving direction (RX), the transmit direction (TX), any short cut or open cut, and the length of failed cables.

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type interface-number

Test the current working state of Ethernet port cables

virtual-cable-test

Required

By default, virtual cable test is disabled.

 

&  Note:

l      The virtual-cable-test command is not supported in a Combo optical port or 10GE port.

l      When the cable is functioning properly, the cable length in the test result represents no meaning

l      When the cable is not functioning properly, the cable length in the test result represents the length from the current interface to the failed position.

l      Currently S5500-SI Series Switches only support the testing of cable status and cable len