H3C S9500 Series Operating instructions

Category
Network switches
Type
Operating instructions
Operation Manual – Port
H3C S9500 Series Routing Switches Table of Contents
i
Table of Contents
Chapter 1 Port Configuration Overview......................................................................................1-1
Chapter 2 Ethernet Port Configuration .......................................................................................2-1
2.1 Ethernet Port Overview......................................................................................................2-1
2.2 Ethernet Port Configuration...............................................................................................2-1
2.2.1 Entering Ethernet Port View....................................................................................2-1
2.2.2 Enabling/Disabling an Ethernet Port.......................................................................2-2
2.2.3 Setting Ethernet Port Description............................................................................2-2
2.2.4 Setting the Duplex Attribute of the Ethernet Port....................................................2-2
2.2.5 Setting Speed on the Ethernet Port ........................................................................2-3
2.2.6 Setting the Cable Type for the Ethernet Port..........................................................2-3
2.2.7 Enabling/Disabling Flow Control for the Ethernet Port............................................2-4
2.2.8 Enabling/Disabling Jumbo Frames’ Passing a Card...............................................2-4
2.2.9 Setting Broadcast/Multicast Suppression on Ethernet Port....................................2-5
2.2.10 Setting the Ethernet Port Mode.............................................................................2-6
2.2.11 Setting the Link Type for the Ethernet Port...........................................................2-6
2.2.12 Adding the Ethernet Port to Specified VLANs.......................................................2-7
2.2.13 Setting the Default VLAN ID for the Ethernet Port................................................2-8
2.2.14 Setting the VLAN VPN Feature on a Port.............................................................2-8
2.2.15 Copying Port Configurations to Other Ports..........................................................2-9
2.2.16 Setting Port Hold Time........................................................................................2-11
2.2.17 Setting the Ethernet Port in Loopback Mode......................................................2-11
2.3 Displaying and Debugging Ethernet Port ........................................................................2-12
2.4 Ethernet Port Configuration Example..............................................................................2-13
2.5 Ethernet Port Troubleshooting.........................................................................................2-13
Chapter 3 Link Aggregation Configuration ................................................................................3-1
3.1 Overview............................................................................................................................3-1
3.1.1 Introduction to Link Aggregation .............................................................................3-1
3.1.2 Introduction to LACP...............................................................................................3-1
3.1.3 Aggregation Types..................................................................................................3-2
3.1.4 Load Sharing...........................................................................................................3-4
3.2 Link Aggregation Configuration .........................................................................................3-5
3.2.1 Enabling/Disabling LACP at Port ............................................................................3-6
3.2.2 Creating/Deleting an Aggregation Group................................................................3-6
3.2.3 Adding/Deleting an Ethernet Port into/from an Aggregation Group........................3-7
3.2.4 Configuring/Deleting Aggregation Group Description.............................................3-8
3.2.5 Configuring System Priority.....................................................................................3-8
3.2.6 Configuring Port Priority..........................................................................................3-9
Operation Manual – Port
H3C S9500 Series Routing Switches Table of Contents
ii
3.3 Displaying and Debugging Link Aggregation.....................................................................3-9
3.4 Link Aggregation Configuration Example........................................................................3-10
Chapter 4 POS Port Configuration ..............................................................................................4-1
4.1 POS Port Overview............................................................................................................4-1
4.2 POS Port Configuration.....................................................................................................4-1
4.2.1 Entering POS Port View..........................................................................................4-1
4.2.2 Adding/Deleting POS Port into/from VLAN.............................................................4-2
4.2.3 Enabling/Disabling POS Port..................................................................................4-2
4.2.4 Configuring POS Port Description...........................................................................4-2
4.2.5 Setting Frame Format of POS Port.........................................................................4-3
4.2.6 Setting Scrambling Function of POS Port...............................................................4-3
4.2.7 Setting Alarm Threshold for the POS Port..............................................................4-3
4.2.8 Setting Clock Mode on POS Port............................................................................4-4
4.2.9 Setting Polling Interval of the State Timer on POS Port.........................................4-4
4.2.10 Setting CRC Check Bit Length of POS Port .........................................................4-5
4.2.11 Setting Loopback Mode of POS Port....................................................................4-5
4.2.12 Setting Overhead Byte Type of POS Port.............................................................4-6
4.2.13 Setting Timeout Time for PPP Negotiation...........................................................4-7
4.2.14 Setting MTU of POS Port......................................................................................4-7
4.3 Displaying and Debugging POS Port Configuration..........................................................4-7
4.4 POS Port Configuration Example......................................................................................4-8
4.5 Troubleshooting POS Port Configuration..........................................................................4-9
Chapter 5 RPR Port Configuration ..............................................................................................5-1
5.1 RPR Standard Overview....................................................................................................5-1
5.1.1 RPR Port Overview.................................................................................................5-1
5.2 Configuring RPR Ports ......................................................................................................5-1
5.2.1 Configuration Preparations .....................................................................................5-1
5.2.2 RPR Port Configuration Tasks................................................................................5-2
5.2.3 Configuration Example............................................................................................5-5
5.3 Displaying and Debugging RPR Port Configuration..........................................................5-6
Chapter 6 IDS Linkage Configuration..........................................................................................6-1
6.1 Overview............................................................................................................................6-1
6.1.1 Necessity.................................................................................................................6-1
6.1.2 Operations Involved................................................................................................6-1
6.2 Requirements for Switch (Router) .....................................................................................6-1
6.2.1 Requirements for IDS..............................................................................................6-1
6.3 Linkage Configuration of IDS with the Switch (Router) .....................................................6-2
6.3.1 Configuration Description........................................................................................6-2
6.3.2 Configuration Tasks ................................................................................................6-2
6.4 IDS Linkage Configuration Example..................................................................................6-3
6.5 Displaying IDS Linkage Configuration...............................................................................6-5
Operation Manual – Port
H3C S9500 Series Routing Switches Table of Contents
iii
Chapter 7 Port Isolation Configuration.......................................................................................7-1
7.1 Port Isolation Overview......................................................................................................7-1
7.2 Configuration Tasks...........................................................................................................7-1
7.2.1 Configuring an Isolated Group................................................................................7-1
7.2.2 Configuring an Uplink Port in the Isolated Group.................................................... 7-2
7.2.3 Configuring Isolated Ports for an Isolated Group....................................................7-2
7.3 Port Isolation Configuration Example ................................................................................7-3
Chapter 8 Packet Statistics Configuration ................................................................................. 8-1
8.1 Introduction to Egress Packet Statistics ............................................................................8-1
8.1.1 Configuring Egress Packet Statistics Counters ......................................................8-1
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 1 Port Configuration Overview
1-1
Chapter 1 Port Configuration Overview
The H3C S9500 Series Routing Switches (hereinafter referred to as S9500 series)
support these LPU boards:
z XP2
z XP4
z XK1
z GT8P
z F32G
z GP12
z GP24
z GT12
z GT24
z GV48
z FP20
z FT48
z P4G8
z SP4
z UP1
z VP2
The Ethernet ports of S9500 series have the following features:
z XP2 provides two 10GE optical ports and works in 10 Gbps full duplex mode
without user intervention.
z XP4 provides four 10GE optical ports and works in 10 Gbps full duplex mode
without user intervention.
z XK1 provides one 10GE optical/electrical port and works in 10 Gbps full duplex
mode without user intervention.
z GT8P provides four 1000 Mbps SFP optical ports and eight 10/100/1000 Mbps
electrical ports. The optical ports in 1000 Mbps full duplex mode without user
intervention. The electrical ports support auto-MDI/MDI-X and can work in 1000
Mbps full duplex, 100 Mbps half/full duplex, or 10 Mbps half/full duplex mode.
z F32G provides 32 × 10/100 Mbps electrical ports and four 1000 Mbps optical ports.
The 10/100 Mbps electrical ports support auto-MDI/MDI-X and can work in half
duplex, full duplex or auto-negotiation mode. They can negotiate with other
network devices to choose optimum duplex mode and speed. The 1000 Mbps
optical ports work in 1000 Mbps full duplex mode without user intervention.
z GP12 provides 12 × 1000 Mbps optical ports and works in 1000 Mbps full duplex
mode without user intervention.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 1 Port Configuration Overview
1-2
z GP24 provides 24 × 1000 Mbps optical/electrical ports and works in 1000 Mbps
full duplex mode without user intervention.
z GT12 provides 12 × 10/100/1000 Mbps electrical ports, supports auto-MDI/MDI-X,
and can work in 1000 Mbps full duplex, 100 Mbps half/full duplex, or 10 Mbps
half/full duplex mode.
z GT24 provides 24 × 10/100/1000 Mbps electrical ports, supports auto-MDI/MDI-X,
and can work in 1000 Mbps full duplex, 100 Mbps half/full duplex, or 10 Mbps
half/full duplex mode.
z GV48 provides 48 × 10/100/1000 Mbps electrical ports, which work in 1000 Mbps
full duplex mode (the rate and duplex mode are user configurable), and supports
POE power supply.
z FP20 provides 20 × 100 Mbps optical ports and works in 100 Mbps full duplex
mode without user intervention.
z FT48 provides 48 × 10/100 Mbps electrical ports, supports auto-MDI/MDI-X, and
can work in half duplex, full duplex or auto-negotiation mode. It can negotiate with
other network devices to choose optimum duplex mode and speed.
z P4G8 provides four POS ports and eight 1000 Mbps optical ports. The POS ports
work at the speed of 155 Mbps; the 1000 Mbps optical ports work in 1000 Mbps full
duplex mode without user intervention.
z SP4 provides four 2.5 Gbps POS optical ports. The POS ports work at the speed
of 2.5 Gbps without user intervention.
z UP1 provides one 10 Gbps POS optical ports. The POS ports work at the speed of
10 Gbps without user intervention.
z VP2 provides two 10 Gbps RPR ports. The RPR ports work at the speed of 10
Gbps without user intervention.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-1
Chapter 2 Ethernet Port Configuration
2.1 Ethernet Port Overview
S9500 series can provide conventional Ethernet ports, fast Ethernet ports, 1000 Mbps
Ethernet ports and 10 Gbps Ethernet ports. The configurations of these Ethernet ports
are basically the same, which will be described in the following sections.
2.2 Ethernet Port Configuration
The following sections describe Ethernet port configuration tasks:
z Entering Ethernet Port View
z Enabling/Disabling an Ethernet Port
z Setting Ethernet Port Description
z Setting the Duplex Attribute of the Ethernet Port
z Setting Speed on the Ethernet Port
z Setting the Cable Type for the Ethernet Port
z Enabling/Disabling Flow Control for the Ethernet Port
z Enabling/Disabling Jumbo Frames’ Passing a Card
z Setting Broadcast/Multicast Suppression on Ethernet Port
z Setting the Ethernet Port Mode
z Setting the Link Type for the Ethernet Port
z Adding the Ethernet Port to Specified VLANs
z Setting the Default VLAN ID for the Ethernet Port
z Setting the VLAN VPN Feature on a Port
z Copying Port Configurations to Other Ports
z Setting Port Hold Time
z Setting the Ethernet Port in Loopback Mode
2.2.1 Entering Ethernet Port View
Before configuring the Ethernet port, enter Ethernet port view first.
Perform the following configuration in system view.
Table 2-1 Entering Ethernet port view
Operation Command
Enter Ethernet port view
interface interface-type interface-number
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-2
2.2.2 Enabling/Disabling an Ethernet Port
After configuring the related parameters and protocol of the port, you can use undo
shutdown command to enable the port. If you do not want a port to forward data any
more, use shutdown command to disable it.
Perform the following configuration in Ethernet port view.
Table 2-2 Enabling/disabling an Ethernet port
Operation Command
Disable an Ethernet port
shutdown
Enable an Ethernet port
undo shutdown
By default, the port is enabled.
2.2.3 Setting Ethernet Port Description
To distinguish the Ethernet ports, you can use the following command to make some
necessary descriptions.
Perform the following configuration in Ethernet port view.
Table 2-3 Setting Ethernet port description
Operation Command
Set an Ethernet port description
description text
Delete the Ethernet port description
undo description
By default, an Ethernet port has no description.
2.2.4 Setting the Duplex Attribute of the Ethernet Port
To configure a port to send and receive data packets at the same time, set it to
full-duplex. To configure a port to either send or receive data packets at a time, set it to
half-duplex. If the port has been set to auto-negotiation mode, the local and peer ports
will automatically negotiate about the duplex mode.
Perform the following configuration in Ethernet port view.
Table 2-4 Setting the duplex attribute for the Ethernet port
Operation Command
Set duplex attribute for Ethernet port duplex { auto | full | half }
Restore the default duplex attribute of Ethernet port
undo duplex
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-3
Note that, 10/100 Mbps electrical Ethernet port can operate in full-duplex, half-duplex
or auto-negotiation mode. The10/100/1000 Mbps electrical Ethernet port can operate in
full duplex, half duplex or auto-negotiation mode. When the port operates at 1000 Mbps
or in auto mode, the duplex mode can be set to full (full duplex) or auto
(auto-negotiation). The optical 100/1000 Mbps and 10 Gbps Ethernet ports work in full
duplex mode without user intervention.
The port defaults the auto (auto-negotiation) mode.
2.2.5 Setting Speed on the Ethernet Port
You can use the following command to set the speed on the Ethernet port. If the speed
is set to auto-negotiation mode, the local and peer ports will automatically negotiate
about the port speed.
Perform the following configuration in Ethernet port view.
Table 2-5 Setting speed on the Ethernet port
Operation Command
Set Ethernet port speed speed { 10 | 100 | 1000 | 10000 | auto }
Restore the default speed on Ethernet
port
undo speed
Note that, the 10/100 Mbps electrical Ethernet port can operate at 10 Mbps, 100 Mbps
and in auto mode. You can set it accordingly. The 10/100/1000Mbps electrical Ethernet
port can operate at 10 Mbps, 100 Mbps, or 1000 Mbps as per different requirements.
However in half duplex mode, the port cannot operate at 1000 Mbps or in auto mode.
The 100 Mbps optical Ethernet port supports 100 Mbps; the 1000 Mbps optical
Ethernet port supports 1000 Mbps; the 10 Gbps optical Ethernet port supports 10 Gbps
without user intervention.
By default, the speed of the port is in auto mode.
2.2.6 Setting the Cable Type for the Ethernet Port
The Ethernet port supports the straight-through and cross-over network cables. The
following command can be used for configuring the cable type.
Perform the following configuration in Ethernet port view.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-4
Table 2-6 Setting the type of the cable connected to the Ethernet port
Operation Command
Set the type of the cable connected to
the Ethernet port
mdi { across | auto | normal }
Restore the default type of the cable
connected to the Ethernet port
undo mdi
Note that, the settings only take effect on 10/100 Mbps and 10/100/1000 Mbps
electrical ports.
By default, the cable type is auto (auto-recognized). That is, the system can
automatically recognize the type of cable connecting to the port.
2.2.7 Enabling/Disabling Flow Control for the Ethernet Port
After enabling flow control in both the local and the peer switch, if congestion occurs in
the local switch, the switch will inform its peer to pause packet sending. Once the peer
switch receives this message, it will pause packet sending, and vice versa. In this way,
packet loss is reduced effectively. The flow control function of the Ethernet port can be
enabled or disabled through the following command.
Perform the following configuration in Ethernet port view.
Table 2-7 Enabling/disabling flow control for the Ethernet port
Operation Command
Enable Ethernet port flow control
flow-control
Disable Ethernet port flow control
undo flow-control
By default, Ethernet port flow control is disabled.
2.2.8 Enabling/Disabling Jumbo Frames’ Passing a Card
During large throughput data switching, like file transmission, a card may encounter
jumbo frames larger than the standard Ethernet frame length. The following command
can be used to enable jumbo frames to pass a card or disable them from passing a
card.
Perform the following configuration in system view.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-5
Table 2-8 Enabling/disabling jumbo frames’ passing a card
Operation Command
Enable Jumbo frames to pass the card on a
specified slot, and set the maximum length
of Jumbo frames allowed to pass the card
jumboframe enable
[ jumboframe-value ] slot slot-num
Disable Jumbo frames from passing the card
on a specified slot
jumboframe disable slot slot-num
By default, jumbo frames are allowed to pass cards.
Note:
The system supports discrete values of Jumbo frame lengths ranging from 1536 to
10240. However, effective Jumbo frame values fall into several sections: the effective
Jumbo frame value for the 1536-1552 section is 1552, that for the 1552-9022 section is
9022, that for the 9022-9122 section is 9122, and that for the 9122-10240 section is
10240.
2.2.9 Setting Broadcast/Multicast Suppression on Ethernet Port
To prevent port congestion resulting from broadcast/multicast packet flooding, the
switch supports broadcast/multicast suppression. You can enable broadcast/multicast
suppression by setting the speed percentage or bandwidth values..
Perform the following configuration in Ethernet port view.
Table 2-9 Setting broadcast/multicast suppression on Ethernet port
Operation Command
Configure broadcast suppression ration
Ethernet port
broadcast-suppression { ratio |
bandwidth bandwidth }
Restore the default setting of broadcast
suppression on Ethernet port
undo broadcast-suppression
Configure multicast suppression ration
Ethernet port
multicast-suppression { ratio |
bandwidth bandwidth }
Restore the default setting of multicast
suppression on Ethernet port
undo multicast-suppression
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-6
Caution:
z You cannot enable both broadcast suppression and multicast suppression
simultaneously on the same card. Namely, once you have enabled broadcast
suppression on some ports of a card, you cannot enable multicast suppression on
the other ports of the card, and vice versa.
z If multicast suppression is enabled, broadcast packets are also suppressed at the
same time, while broadcast suppression does not work on multicast suppression.
z No distinction is made between known multicast and unknown multicast for
multicast suppression.
By default, the broadcast suppression ratio is 50%, while the multicast suppression
ratio is 100%.
2.2.10 Setting the Ethernet Port Mode
Most ports adopt the LAN mode for general data exchange. The port must work in WAN
mode, however, if it needs special frame format for data transfer (such as in fiber
transmission). You can configure network mode available on the port using the
port-mode command.
Perform the following configuration in Ethernet port view.
Table 2-10 Setting the Ethernet port mode
Operation Command
Set the Ethernet port mode port-mode { wan | lan }
Restore the default Ethernet port mode
undo port-mode
By default, Ethernet ports works in LAN mode. 10GE Ethernet ports support WAN
mode.
2.2.11 Setting the Link Type for the Ethernet Port
Ethernet port can operate in three different link types, access, hybrid, and trunk types.
The access port carries one VLAN only, used for connecting to the user’s computer.
The trunk port can belong to more than one VLAN and receive/send the packets on
multiple VLANs, used for connection between the switches. The hybrid port can also
carry more than one VLAN and receive/send the packets on multiple VLANs, used for
connecting both the switches and user’s computers. The difference between the hybrid
port and the trunk port is that the hybrid port allows the packets from multiple VLANs to
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-7
be sent without tags, but the trunk port only allows the packets from the default VLAN to
be sent without tags.
Perform the following configuration in Ethernet port view.
Table 2-11 Setting the link type for the Ethernet port
Operation Command
Configure the port as access port
port link-type access
Configure the port as hybrid port
port link-type hybrid
Configure the port as trunk port
port link-type trunk
Restore the default link type, that is, the
access port
undo port link-type
You can configure three types of ports concurrently on the same switch, but you cannot
switch between trunk port and hybrid port. You must turn it first into access port and
then set it as other type. For example, you cannot configure a trunk port directly as
hybrid port, but first set it as access port and then as hybrid port.
By default, the port is access port.
2.2.12 Adding the Ethernet Port to Specified VLANs
The following commands are used for adding an Ethernet port to a specified VLAN. The
access port can only be added to one VLAN, while the hybrid and trunk ports can be
added to multiple VLANs.
Perform the following configuration in Ethernet port view.
Table 2-12 Adding the Ethernet port to specified VLANs
Operation Command
Add the current access port to a
specified VLAN
port access vlan vlan-id
Add the current hybrid port to specified
VLANs
port hybrid vlan vlan-id-list { tagged |
untagged }
Add the current trunk port to specified
VLANs
port trunk permit vlan { vlan-id-list |
all }
Remove the current access port from to
a specified VLAN
undo port access vlan
Remove the current hybrid port from to
specified VLANs
undo port hybrid vlan vlan-id-list
Remove the current trunk port from
specified VLANs
undo port trunk permit vlan
{ vlan-id-list | all }
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-8
Note that the access port shall be added to an existing VLAN other than VLAN 1. The
VLAN to which Hybrid port is added must have been existed.
After adding the Ethernet port to specified VLANs, the local port can forward packets of
these VLANs. The hybrid and trunk ports can be added to multiple VLANs, thereby
implementing the VLAN intercommunication between peers. For the hybrid port, you
can configure to tag some VLAN packets, based on which the packets can be
processed differently.
2.2.13 Setting the Default VLAN ID for the Ethernet Port
Since the access port can only be included in one VLAN only, its default VLAN is the
one to which it belongs. The hybrid port and the trunk port can be included in several
VLANs, it is necessary to configure the default VLAN ID. If the default VLAN ID has
been configured, the packets without VLAN Tag will be forwarded to the port that
belongs to the default VLAN. When sending the packets with VLAN Tag, if the VLAN ID
of the packet is identical to the default VLAN ID of the port, the system will remove
VLAN Tag before sending this packet.
Perform the following configuration in Ethernet port view.
Table 2-13 Setting the default VLAN ID for the Ethernet port
Operation Command
Set the default VLAN ID for the hybrid port
port hybrid pvid vlan vlan-id
Set the default VLAN ID for the trunk port
port trunk pvid vlan vlan-id
Restore the default VLAN ID of the hybrid
port to the default value
undo port hybrid pvid
Restore the default VLAN ID of the trunk
port to the default value
undo port trunk pvid
Note that: to guarantee the proper packet transmission, the default VLAN ID of local
hybrid port or Trunk port should be identical with that of the hybrid port or Trunk port on
the peer switch.
By default, the VLAN of hybrid port and trunk port is VLAN 1 and that of the access port
is the VLAN to which it belongs
2.2.14 Setting the VLAN VPN Feature on a Port
A VLAN Tag consists of only 12 bits (defined by IEEE802.1Q), so Ethernet Switches
can support up to 4k VLANs. In networking, especially in MAN (metropolitan area
network), a large numbers of VLANs are required to segment users. In this case, 4k
VLANs are not enough.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-9
The port VLAN VPN feature of the switch can provide duplex VLAN Tags to a packet,
namely, mark the packet with another VLAN Tag besides the original one, thus to
provide 4k x 4k VLANs to meet user’s demands for VLANs. At the same time, the port
VLAN VPN feature provides the following functions: using the original VLAN Tag to
differentiate users and services, and using the new VLAN Tag to load service and VPN
users. These make VLAN configuration simple and practicable. Through VLAN VPN
configuration, Ethernet Switches can meet the requirement in MAN.
If VLAN VPN is enabled on a port, every packet received on the port (no matter whether
the packet carries a VLAN Tag or not) will be given a new Tag that specifies the default
VLAN of this port. Thus, if the port receives a packet that already carries a VLAN Tag,
the packet will get two Tags; if the part receives an untagged packet, the packet will be
given a default VLAN Tag of the port.
Perform the following configuration in Ethernet port view.
Table 2-14 Setting the port VLAN VPN feature
Operation Command
Enable the port VLAN VPN feature
vlan-vpn enable
Disable the port VLAN VPN feature
undo vlan-vpn
Note that if any of GVRP, STP, and 802.1x has been enabled on a port, the VLAN VPN
feature cannot be enabled on the port.
By default, the port VLAN VPN feature is disabled.
2.2.15 Copying Port Configurations to Other Ports
To keep the configurations of other ports consistent with a specified port, you can use
copy configuration command to copy the configurations of that specified port to other
ports. Such configurations may involve: STP setting, QoS setting, LACP setting, and
port setting. The detailed table is as follows:
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-10
Table 2-15 Configurations that can be copied
Attribute Detailed Setting
Enable/disable STP
Port priority
Path cost
Link attributes(point-to-point or not)
Port mCheck
Max transmission speed
Enable/disable root protection
Enable/disable loop protection
Edge or non-edge port
STP setting
Reset ARP or not
Define/apply flow template
Traffic reshaping
Traffic redirection
Packet filtering
Priority re-assignment
Traffic statistics
Traffic mirroring
QoS setting
Rate limiting
Permitted VLAN ID
Default VLAN ID
Add ports to VLAN
Default 802.1p priority
Port speed, duplex mode
Port setting
Port link type
LACP Enable/disable LACP on the port
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-11
Note:
z Using copy configuration command will clear protocol VLAN attributes of the
destination port, but it can not copy protocol VLAN attributes of source port to the
destination port.
z Using the copy configuration command, you can only copy the configurations of
Ethernet ports, Gigabit Ethernet ports and aggregation groups.
Perform the following configuration in system VLAN
Table 2-16 Copying port configurations to other ports
Operation Command
Copy port
configurations
to other ports
copy configuration source { interface-type interface-number |
aggregation-group agg-id } destination { interface-list
[ aggregation-group agg-id ] | aggregation-group agg-id }
Note that if the copy source is an aggregation group, the Active port with the smallest
number will be taken as the source; if the copy destination is an aggregation group, the
configurations of all ports in the group will be updated to the configurations of the
source. You cannot specify a dynamic aggregation group as the destination port of the
copy command.
2.2.16 Setting Port Hold Time
If the Down/Up operation is implemented on ports too frequently, the switch may fail.
Therefore, you can configure port hold time to prohibit frequent change of the port
status.
Perform the following configuration in system view.
Table 2-17 Setting the port hold time
Operation Command
Set the port hold time link-status hold hold-time
Restore the default value
undo link-status hold
By default, the port hold time is set to 3 seconds.
2.2.17 Setting the Ethernet Port in Loopback Mode
Perform the following configuration in Ethernet port view.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-12
Table 2-18 Setting the Ethernet port in loopback mode
Operation Command
Set the Ethernet port in loopback mode loopback { external | internal }
Remove loopback configuration on the port
undo loopback
By default, the Ethernet port is set in loopback mode. At present, the Ethernet ports of
the S9500 series switches do not support the external loopback mode.
2.3 Displaying and Debugging Ethernet Port
After the above configuration, execute display command in any view to display the
running of the Ethernet port configuration, and to verify the effect of the configuration.
Execute reset command in user view to clear the statistics information of the port.
Table 2-19 Displaying and debugging Ethernet port
Operation Command
Display all the information of the port
display interface interface-type |
interface-type interface-number [ packets ]
Display hybrid port or trunk port display port { hybrid | trunk }
Display the statistics information of
the port
display counters [ rate ] { inbound |
outbound } interface [ interface-type ]
Clear the statistics information of the
port
reset counters interface [ interface_type |
interface-type interface-number |
View Jumbo frame configuration on
all cards
display jumboframe configuration
Note:
z The S9500 series do not support the Loopback External mode.
z When 802.1x is enabled on a port, the statistics information of the port cannot be
cleared.
z By default, the display counters command displays the traffic statistic information
of all ports in service.
z The supported Jumbo frame length ranges, as well as the default values, may vary
from card to card.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-13
2.4 Ethernet Port Configuration Example
I. Network requirements
Switch A is connected to Switch B through Trunk port GigabitEthernet2/1/1. Configure
the Trunk port with default VLAN ID, so that: when receiving the packets without VLAN
Tag, the port can forward them to the member ports belonging to the default VLAN;
when it sending the packets with VLAN Tag and the packet VLAN ID is the default
VLAN ID, the Trunk port remove the packet VLAN Tag and forward the packet.
II. Network diagram
Switch A
Switch B
Figure 2-1 Network diagram for Ethernet port configuration
III. Configuration procedure
The following configurations are used for Switch A. Please configure Switch B in the
similar way.
# Enter the Ethernet port view of GigabitEthernet2/1/1.
[H3C] interface gigabitethernet2/1/1
# Set the GigabitEthernet2/1/1 as a trunk port and allows VLANs 2, 6 through 50, and
100 to pass.
[H3C-GigabitEthernet2/1/1] port link-type trunk
[H3C-GigabitEthernet2/1/1] port trunk permit vlan 2 6 to 50 100
# Create the VLAN 100.
[H3C] vlan 100
# Configure the default VLAN ID of GigabitEthernet2/1/1 as 100.
[H3C-GigabitEthernet2/1/1] port trunk pvid vlan 100
2.5 Ethernet Port Troubleshooting
Symptom 1: Default VLAN ID configuration fails.
Solution: Take the following steps:
z Execute the display interface or display port command to check if the port is a
trunk port or a hybrid port. If it is neither of them, configure it as a trunk or hybrid
port.
z Then configure the default VLAN ID.
Symptom 2: The port is in down status.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 2 Ethernet Port Configuration
2-14
Solution: Please check
z If the cable connection is correct and if the optical fiver cable is inversely
connected.
z If the shutdown command is used on the port.
z If the right optical module is inserted.
Operation Manual – Port
H3C S9500 Series Routing Switches Chapter 3 Link Aggregation Configuration
3-1
Chapter 3 Link Aggregation Configuration
3.1 Overview
3.1.1 Introduction to Link Aggregation
Link aggregation means aggregating several ports together to implement the
outgoing/incoming payload balance among the member ports and enhance the
connection reliability. Link aggregation may be manual aggregation, dynamic LACP
aggregation or static LACP aggregation. For the member ports in an aggregation group,
their basic configurations must be the same. That is, if one is a trunk port, others must
also be; when it turns into access port, then others must change to access port.
Basic configuration includes STP setting, QoS setting, VLAN setting, and port setting.
The STP setting includes STP enabling/disabling, link attribute (point-to-point or not),
STP priority, path cost, max transmission speed, loop protection, root protection, edge
port or not. The QoS setting includes traffic limiting, priority marking, default 802.1p
priority, bandwidth assurance, congestion avoidance, traffic redirection, and traffic
statistics. The VLAN setting includes permitted VLAN types, default VLAN ID. The port
setting includes port link type.
One S9500 series routing switch can support up to 920 aggregation groups. IDs 1
though 31 indicate manual or static aggregation groups. IDs 32 through 64 are
reserved. IDs 65 though 192 are routed trunks; IDs 193 through 920 indicate dynamic
aggregation groups. The systems with MPLS VPN cards only support seven load
balancing aggregation groups; those without MPLS VPN cards support 31 load
balancing aggregation groups. The systems with FE boards using EX chips only
supports seven load balancing aggregation groups.
Note:
At present, S9500 series also support trans-board aggregation. The trans-board
aggregation is the same as the intra-board aggregation.
3.1.2 Introduction to LACP
Link aggregation control protocol (LACP) based on the IEEE802.3ad standard can be
used in dynamic link aggregation. An LACP-enabled port sends link aggregation
control protocol data units (LACPDUs) to tell the peer about its system priority, system
MAC address, port priority, port number and operation key. After receiving the
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57

H3C S9500 Series Operating instructions

Category
Network switches
Type
Operating instructions

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI