H3C S9500 Series Operating instructions

  • Hello! I am an AI chatbot trained to assist you with the H3C S9500 Series Operating instructions. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Table of Contents
i
Table of Contents
Chapter 1 Ethernet Port Configuration .......................................................................................1-1
1.1 Ethernet Port Overview......................................................................................................1-1
1.2 Ethernet Port Configuration...............................................................................................1-1
1.2.1 Entering Ethernet Port View....................................................................................1-2
1.2.2 Enabling/Disabling an Ethernet Port.......................................................................1-2
1.2.3 Setting Ethernet Port Description............................................................................1-2
1.2.4 Setting the Duplex Attribute of an Ethernet Port.....................................................1-2
1.2.5 Setting Speed on the Ethernet Port ........................................................................1-3
1.2.6 Setting the Cable Type for the Ethernet Port..........................................................1-4
1.2.7 Enabling/Disabling Flow Control for the Ethernet Port............................................1-5
1.2.8 Setting the Interval for Performing Statistics on the Port........................................1-5
1.2.9 Permitting/Denying Jumbo Frames.........................................................................1-6
1.2.10 Setting Broadcast/Multicast Suppression on an Ethernet Port.............................1-6
1.2.11 Setting the Network Mode of an Ethernet Port .....................................................1-7
1.2.12 Setting the Link Type for the Ethernet Port...........................................................1-8
1.2.13 Adding the Ethernet Port to Specified VLANs.......................................................1-9
1.2.14 Setting the Default VLAN ID for the Ethernet Port................................................1-9
1.2.15 Setting the VLAN VPN Feature on a Port...........................................................1-10
1.2.16 Enabling/Disabling the VLAN Filtering Function on an Ethernet Port.................1-11
1.2.17 Copying Port Configurations to Other Ports........................................................1-11
1.2.18 Setting the Link-State Hold Time ........................................................................1-13
1.2.19 Setting the Ethernet Port in Loopback Mode......................................................1-14
1.3 Displaying and Maintaining Ethernet Port Configuration.................................................1-14
1.4 Ethernet Port Configuration Example..............................................................................1-15
1.5 Troubleshooting Ethernet Ports.......................................................................................1-16
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-1
Chapter 1 Ethernet Port Configuration
When configuring an Ethernet port, go to these sections for information you are
interested in:
z Ethernet Port Overview
z Ethernet Port Configuration
z Displaying and Maintaining Ethernet Port Configuration
z Ethernet Port Configuration Example
z Troubleshooting Ethernet Ports
1.1 Ethernet Port Overview
The S9500 series can provide conventional Ethernet ports, fast Ethernet ports, 1,000
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.
1.2 Ethernet Port Configuration
Complete the following tasks to configure an Ethernet port:
z Entering Ethernet Port View
z Enabling/Disabling an Ethernet Port
z Setting Ethernet Port Description
z Setting the Duplex Attribute of an 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 Setting the Interval for Performing Statistics on the Port
z Permitting/Denying Jumbo Frames
z Setting Broadcast/Multicast Suppression on an Ethernet Port
z Setting the Network Mode of an Ethernet Port
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 Enabling/Disabling the VLAN Filtering Function on an Ethernet Port
z Copying Port Configurations to Other Ports
z Setting the Link-State Hold Time
z Setting the Ethernet Port in Loopback Mode
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-2
1.2.1 Entering Ethernet Port View
Before configuring an Ethernet port, enter Ethernet port view first.
Perform the following configuration in system view.
To do … Use the command …
Enter Ethernet port view
interface interface-type interface-number
1.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.
To do ... Use the command …
Disable an Ethernet port
shutdown
Enable an Ethernet port
undo shutdown
By default, the port is enabled.
1.2.3 Setting Ethernet Port Description
To distinguish Ethernet ports, you can use the following command to make some
necessary descriptions.
Perform the following configuration in Ethernet port view.
To do … Use the command …
Configure an Ethernet port description
description text
Delete the Ethernet port description
undo description
By default, an Ethernet port has no description.
1.2.4 Setting the Duplex Attribute of an 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 the duplex mode.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-3
To do … Use the command …
Set duplex attribute for the Ethernet port duplex { auto | full | half }
Restore the default duplex attribute of the
Ethernet port
undo duplex
10/100 Mbps electrical Ethernet ports can operate in full-duplex, half-duplex or
auto-negotiation mode, so can a 10/100/1,000 Mbps electrical Ethernet port. However,
when the port rate is set to 1,000 Mbps or auto, the duplex mode of the port can only be
set to full (full duplex) or auto (auto-negotiation). A 100 Mbps/1,000 Mbps optical
Ethernet port operates in full duplex mode even if it is configured to operate in the
auto-negotiation mode. A 10 Gbps optical Ethernet port can only operate in full duplex
mode.
The duplex mode of Ethernet ports defaults to auto (auto-negotiation).
Caution:
z For ports coupled with photoelectric transducers, set the duplex mode to
auto-negotiation mode. Otherwise, the status check for the port may be abnormal.
z Only the GP48 interface board offers 100/1000 Mbps optical ports. By default, such
an optical port operates at 1000 Mbps in full-duplex mode. If its rate is configured as
100 Mbps, you are recommended to configure it to operate in full-duplex mode.
Otherwise, the auto-negotiation information of the port will be wrong.
z Only the GP48 interface board supports speed (10/100/1000 Mbps) and duplex
mode auto-negotiation for photoelectric transceiver modules. For the function to
work, you must ensure that the modules are 1000_BASE_T photoelectric
transceiver modules certified by H3C.
1.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 the
port speed.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-4
To do … Use the command …
Set Ethernet port speed speed { 10 | 100 | 1000 | 10000 | auto }
Restore the default speed on the
Ethernet port
undo speed
The speed options in the command are available depending on the type and duplex
mode of the port. For example, for 10/100/1,000 Mbps electrical ports, 10 Mbps, 100
Mbps, and 1,000 Mbps are available. You can select a proper port speed as needed.
However, when the duplex mode is changed to half duplex, the port speed cannot be
set to 1,000 Mbps or auto.
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/1,000 Mbps electrical Ethernet port can operate at 10 Mbps, 100 Mbps, or
1,000 Mbps. However in half duplex mode, the port cannot operate at 1,000 Mbps or in
auto mode. The 100 Mbps optical Ethernet port supports 100 Mbps; the 1,000 Mbps
optical Ethernet port supports 1,000 Mbps; a 10 Gbps optical Ethernet port only
supports 10 Gbps.
By default, the speed of the port is in auto mode.
Caution:
z Only the GP48 interface board offers 100/1000 Mbps optical ports. By default, such
an optical port operates at 1000 Mbps in full-duplex mode. If its rate is configured as
100 Mbps, you are recommended to configure it to operate in full-duplex mode.
Otherwise, the auto-negotiation information of the port will be wrong.
z Only the GP48 interface board supports speed (10/100/1000 Mbps) and duplex
mode auto-negotiation for photoelectric transceiver modules. For the function to
work, you must ensure that the modules are 1000_BASE_T photoelectric
transceiver modules certified by H3C.
1.2.6 Setting the Cable Type for the Ethernet Port
The Ethernet port supports 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 – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-5
To do … Use the 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:
z The settings only take effect on 10/100 Mbps and 10/100/1000 Mbps electrical
ports.
z 10Gbps Ethernet ports support optical fiber only.
By default, the cable type is auto (auto-recognized). That is, the system can
automatically recognize the type of the cable connecting to the port.
1.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 sending packets to the local switch, 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.
To do … Use the command …
Enable Ethernet port flow control
flow-control
Disable Ethernet port flow control
undo flow-control
By default, Ethernet port flow control is disabled.
1.2.8 Setting the Interval for Performing Statistics on the Port
Follow these steps to set the interval for performing statistics on the port:
To do … Use the command … Remarks
Enter system view
system-view
Enter Ethernet port
view/POS port view
interface interface-type
interface-number
Required
The interface-type
argument is the Ethernet
or POS port type.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-6
To do … Use the command … Remarks
Set the interval for
performing statistics on
the port
flow-interval interval
Required
300 seconds by default
1.2.9 Permitting/Denying Jumbo Frames
During large throughput data switching, like in file transmission, a card may encounter
jumbo frames larger than the standard Ethernet frame length. You may configure the
device to permit them to pass the card or deny them.
Perform the following configuration in system view.
To do … Use the 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-number
Disable Jumbo frames from passing the
card on a specified slot
jumboframe disable slot slot-number
By default, jumbo frames are allowed to pass.
Note:
z The system supports discrete Jumbo frame sizes ranging from 1,552 to 10,240.
However, effective Jumbo frame values fall into several sections: the effective
Jumbo frame sizes for the 1,552-9,022 section are 1,552 and 9,022, that for the
9,023-9,192 section is 9,192, and that for the 9,193-10,240 section is 10,240.
z For XP4 LPUs that are not of wire speed, only the jumbo frame value 10,236 is
supported, while all the other GE LPUs and 10GE LPUs support the jumbo frame
value 10,240. LSB1GV48 LPUs support only the jumbo frame value 10,236, and
LSB2FT48C0 LPUs support only the jumbo frame value 1,552.
1.2.10 Setting Broadcast/Multicast Suppression on an 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 a suppression triggering speed percentage or bandwidth
threshold.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-7
To do … Use the command …
Configure broadcast suppression on the
Ethernet port
broadcast-suppression { ratio |
bandwidth bandwidth }
Restore the default setting of broadcast
suppression on the Ethernet port
undo broadcast-suppression
Configure multicast suppression on the
Ethernet port
multicast-suppression { ratio |
bandwidth bandwidth }
Restore the default setting of multicast
suppression on the Ethernet port
undo multicast-suppression
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 To modify the broadcast/multicast suppression triggering threshold in the
percentage form on a port, make sure all the ports on a board adopt the default
suppression triggering threshold in the percentage form.
z When broadcast/multicast suppression is enabled on an LPU, you can set different
broadcast/multicast suppression triggering percentage values for different ports on
the LPU.
z While broadcast suppression does not work on multicasts, multicast suppression
can suppress broadcasts.
z No distinction is made between known multicast and unknown multicast for
multicast suppression.
z Broadcast suppression is implemented in a multiple of 64 bytes.
By default, the threshold for broadcast suppression is 50%, while that for multicast
suppression is 100%.
1.2.11 Setting the Network Mode of an Ethernet Port
A port in WAN mode is used for connecting to an SDH network, while a port in LAN
mode is used for connecting to Ethernet.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-8
To do … Use the command …
Set the network mode of the Ethernet port port-mode { wan | lan }
Restore the default network mode undo port-mode
By default, Ethernet ports work in LAN mode. 10-GE Ethernet ports support WAN
mode.
Note:
Ports on the XP4CA and XP4B boards do not support the WAN mode.
1.2.12 Setting the Link Type for the Ethernet Port
The link type of an Ethernet port can be access, hybrid, or trunk. The access port
carries one VLAN only and is used for connecting to the users computer. The trunk port
can belong to more than one VLAN to receive/send packets for them and is used for
connection between switches. The hybrid port can also carry more than one VLAN to
receive/send packets for them and is used for connecting both switches and user
computers. The difference between the hybrid port and the trunk port is that the hybrid
port allows the packets from multiple VLANs to 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.
To do … Use the 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 the link type of a port directly between trunk and hybrid. To change the link type
of a port from trunk to hybrid or vice versa, you must first set it to access.
The default port type is access.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-9
1.2.13 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.
To do … Use the 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 }
Caution:
The access port shall be added to an existing VLAN other than VLAN 1. The VLAN to
which a Hybrid port is added must be an existing VLAN.
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. On a hybrid port, you can
configure to tag some VLAN packets so that they can be processed differently.
1.2.14 Setting the Default VLAN ID for the Ethernet Port
Since the access port can only be included in one VLAN, its default VLAN is the one to
which it belongs. As the hybrid port and the trunk port can be included in multiple
VLANs, it is necessary to assign them a default VLAN ID. Configured with a default
VLAN ID, the hybrid or trunk port forwards the packets received without VLAN tags to
the default VLAN. If the port receives a packet with the default VLAN tag, it will remove
the tag before forwarding the packet.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-10
To do … Use the 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
Caution:
To guarantee the proper packet transmission, the default VLAN ID of the local hybrid
port or Trunk port should be identical with that of the hybrid port or Trunk port on the
peer switch.
The default VLAN on the hybrid or trunk port is VLAN 1 and that on the access port is
the VLAN to which it belongs.
1.2.15 Setting the VLAN VPN Feature on a Port
A VLAN Tag consists of 12 bits (defined by IEEE802.1Q), so Ethernet Switches can
support up to 4 K VLANs. Yet, this is far from enough for a network like MAN
(metropolitan area network), where a large number of VLANs are required to isolate
users.
The port VLAN VPN feature allows your switch to tag an originally tagged packet,
namely, to mark the packet with another VLAN Tag besides the original one, thus
providing VLANs as many as 4 K x 4 K. In addition, the use of dual tags allows you to
use the original VLAN Tag for differentiating users and services and the new VLAN Tag
for carrying services and VPNs, making VPN configuration simple and practicable.
Through VLAN VPN configuration, Ethernet Switches can better 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, a tagged packet received on the port will be sent out with dual
tags and an untagged one will be sent out with only the default VLAN tag of the port.
Perform the following configuration in Ethernet port view.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-11
To do … Use the command …
Enable the port VLAN VPN feature
vlan-vpn enable
Disable the port VLAN VPN feature
undo vlan-vpn
Note that if GVRP, STP, or 802.1x has been enabled on the port, you will be unable to
enable the VLAN VPN feature.
By default, the port VLAN VPN feature is disabled.
1.2.16 Enabling/Disabling the VLAN Filtering Function on an Ethernet Port
Perform the following configuration in Ethernet port view.
To do … Use the command …
Enable the VLAN filtering function
vlan filter enable
Disable the VLAN filtering function
vlan filter disable
By default, the VLAN filtering function is enabled on Ethernet ports.
With the VLAN filtering function enabled, the port permits only the packets of the VLAN
where it resides. With the VLAN filtering function disabled, the port forwards all the
packets it received.
1.2.17 Copying Port Configurations to Other Ports
To keep the configurations of some ports consistent with a specified port, you can use
the copy configuration command to copy the configurations of that specified port to
the other ports. Such configurations may involve STP, QoS, LACP, and port settings as
follows:
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-12
Table 1-1 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 settings
Reset ARP or not
Define/apply flow template
Traffic reshaping
Traffic redirection
Packet filtering
Priority re-assignment
Traffic statistics
Traffic mirroring
QoS settings
Rate limiting
Permitted VLAN ID
Default VLAN ID
Add ports to VLAN
Default 802.1p priority
Port speed, duplex mode
Port settings
Port link type
LACP Enable/disable LACP on the port
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-13
Note:
z Using the copy configuration command will clear protocol VLAN attributes of the
destination port, but it will not copy the protocol VLAN attributes of the source port to
the destination port.
z With the copy configuration command, you can only copy the configurations of
Ethernet ports, Gigabit Ethernet ports and aggregation groups.
z You cannot copy the configuration of a port to ports of XP4B and XP4CA LPUs.
z The uplink port of an isolation group cannot be configured as the source port or
destination port in the copy configuration command.
Perform the following configuration in system view.
To do … Use the 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 }
Caution:
If the copy source is an aggregation group, the selected port with the least port number
is taken as the source; if the copy destination is an aggregation group, the
configurations of all ports in the group are updated to the configurations of the source.
You cannot specify a dynamic aggregation group as the destination port in the copy
command.
1.2.18 Setting the Link-State Hold Time
Frequent port up/down may affect the performance of the switch. To avoid the situation,
you may configure the link-state hold time.
The system can record and report port changes to the user in one of the following two
ways.
z Interruption report: The switch does not suppress port state change reporting and
reports the changes immediately.
z Polling report: The switch suppresses port state change reporting. You can use
the link-status hold command to set the link-state hold time.
With the link-state hold time set to zero seconds, the switch always prefers the
interruption report mode to the polling report mode, so long as the former is supported.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-14
With the link-state hold time set to a non-zero value, the port adopts the polling report
mode, whether the interruption report mode is supported or not.
Therefore, you can switch the port state change reporting mode by setting the link-state
hold time.
Perform the following configuration in system view.
To do … Use the command …
Set the link-state hold time link-status hold hold-time
Restore the default value
undo link-status hold
The default link-state hold time is 3 seconds.
1.2.19 Setting the Ethernet Port in Loopback Mode
Perform the following configuration in Ethernet port view.
To do … Use the command …
Set the Ethernet port in loopback mode loopback { external | internal }
Remove loopback configuration on the port
undo loopback
Note:
At present, the Ethernet ports of the S9500 series switches do not support the external
loopback mode.
By default, the Ethernet port is not in loopback mode.
1.3 Displaying and Maintaining Ethernet Port Configuration
To do … Use the command … Remarks
Display information for
specified port(s)
display interface
[ interface-type | interface-type
interface-number [ packets ] ]
Available in any view
Display hybrid or trunk
ports
display port { hybrid | trunk } Available in any view
Display the statistics
information for the
specified port(s)
display counters [ rate ]
{ inbound | outbound }
interface [ interface-type ]
Available in any view
Clear the statistics of the
specified port(s)
reset counters interface
[ interface-type | interface-type
interface-number ]
Available in user view
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-15
To do … Use the command … Remarks
Display Jumbo frame
configuration on all cards
display jumboframe
configuration
Available in any view
Display the current alarm
information of the optical
transceiver module
plugged in the specified
port or all optical
transceiver modules
display transceiver alarm
interface [ interface-type
interface-number ]
Available in any view
Display the currently
measured values of the
diagnosis parameters for
the pluggable optical
transceiver in the
specified port or all
transceivers
display transceiver
diagnosis interface
[ interface-type
interface-number ]
Available in any view
Display the major
parameters of the optical
transceiver plugged in the
specified port or all optical
transceivers
display transceiver interface
[ interface-type
interface-number ]
Available in any view
Display the radio
frequency identification
(RFID) information of the
pluggable optical
transceiver in the
specified port or all optical
transceivers
display transceiver
manuinfo interface
[ interface-type
interface-number ]
Available in any view
Note:
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 position.
z The supported Jumbo frame length range and default value may vary by card.
1.4 Ethernet Port Configuration Example
I. Network requirements
z Switch A is connected to Switch B through GigabitEthernet 2/1/1.
z Configure GigabitEthernet 2/1/1 as a trunk port permitting packets of VLAN 2,
VLAN 6 through VLAN 50, and VLAN 100. Set VLAN 100 as the default VLAN on
GigabitEthernet 2/1/1.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-16
II. Network diagram
Figure 1-1 Network diagram for Ethernet port configuration
III. Configuration procedure
Note:
The following configuration is made on Switch A. Please configure Switch B in the
similar way.
# Enter the Ethernet port view of GigabitEthernet 2/1/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/1/1
# Configure GigabitEthernet 2/1/1 as a trunk port permitting packets of VLAN 2, VLAN 6
through VLAN 50, and VLAN 100.
[H3C-GigabitEthernet2/1/1] port link-type trunk
[H3C-GigabitEthernet2/1/1] port trunk permit vlan 2 6 to 50 100
[H3C-GigabitEthernet2/1/1] quit
# Create VLAN 100.
[H3C] vlan 100
[H3C-vlan100] quit
# Configure VLAN 100 as the default VLAN on GigabitEthernet 2/1/1.
[H3C] interface GigabitEthernet2/1/1
[H3C-GigabitEthernet2/1/1] port trunk pvid vlan 100
1.5 Troubleshooting Ethernet Ports
Symptom 1: Default VLAN ID configuration fails.
Solution: Take the following steps:
z Execute the display interface or display port command to check whether the
port is a trunk port or a hybrid port. If it is neither, configure it as a trunk or hybrid
port.
z Configure the default VLAN ID.
Symptom 2: The port is in down status.
Operation Manual – Ethernet Port
H3C S9500 Series Routing Switches Chapter 1 Ethernet Port Configuration
1-17
Solution: Check that
z The cable connection is correct and the optical fibers are correctly connected.
z The port has not been administratively shut down.
z The correct optical module is used.
/