HPE JH396A Reference guide

Category
Network switches
Type
Reference guide
HPE FlexFabric 5940 Switch Series
FC and FCoE Command Reference
Software version: Release 671x and later
Document version: 6W100-20230822
© Copyright 2023 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
FC and FCoE commands ·············································································· 1
FCoE mode commands ····································································································································· 1
display fcoe-mode ······································································································································ 1
fcoe-mode ·················································································································································· 1
FC interface commands ····································································································································· 3
bandwidth (FC interface view) ···················································································································· 3
default (FC interface view) ························································································································· 3
description (FC interface view)··················································································································· 4
display interface fc ····································································································································· 5
fc mode (FC interface view) ····················································································································· 12
fcb2bcredit ················································································································································ 12
fcb2bcredit recovery enable ····················································································································· 13
fill-word ····················································································································································· 14
interface fc ················································································································································ 14
port-type ··················································································································································· 15
reset counters interface fc ························································································································ 16
shutdown (FC interface view) ··················································································································· 17
speed ······················································································································································· 17
using ························································································································································· 18
VFC interface commands································································································································· 19
bandwidth (VFC interface view) ··············································································································· 19
bind interface ············································································································································ 20
default (VFC interface view) ····················································································································· 22
description (VFC interface view) ·············································································································· 22
display interface vfc ·································································································································· 23
fc mode (VFC interface view) ··················································································································· 26
interface vfc ·············································································································································· 27
reset counters interface vfc ······················································································································ 28
shutdown (VFC interface view) ················································································································ 28
FC link aggregation commands ······················································································································· 29
bandwidth (FC aggregate interface view) ································································································ 29
default (FC aggregate interface view) ······································································································ 29
description (FC aggregate interface view) ······························································································· 30
display interface san-aggregation ············································································································ 30
display san-aggregation ··························································································································· 34
fc mode (FC aggregate interface view) ···································································································· 36
interface san-aggregation ························································································································ 37
reset counters interface san-aggregation ································································································· 38
san-aggregation group ····························································································································· 38
san-aggregation load-sharing mode local-first ························································································· 39
shutdown (FC aggregate interface view) ································································································· 40
FCoE commands ············································································································································· 40
display fcoe ·············································································································································· 40
display fcoe vlan ······································································································································· 41
fcoe enable ··············································································································································· 42
fcoe fcf-priority ·········································································································································· 43
fcoe fcmap ················································································································································ 44
fcoe fka-adv-period ·································································································································· 45
fcoe global fcf-priority ······························································································································· 46
VSAN commands ············································································································································· 47
display vsan port-member ························································································································ 47
display vsan status ··································································································································· 48
port ··························································································································································· 49
port access vsan ······································································································································ 50
port trunk mode ········································································································································ 50
port trunk vsan ········································································································································· 51
vsan ·························································································································································· 52
ii
working-mode ··········································································································································· 54
Fabric building commands ······························································································································· 54
allowed-domain-id ···································································································································· 54
display fc domain ····································································································································· 55
display fc domain-list ································································································································ 57
display fc ess ············································································································································ 58
display fc login ·········································································································································· 60
display fc name-service database ············································································································ 61
display fc port-bind-area ··························································································································· 64
display fc scr-table ··································································································································· 64
display fc switch-wwn ······························································································································· 66
display fc timer ········································································································································· 66
display fcid allocation ······························································································································· 67
display fcid persistent ······························································································································· 67
display rdp database ································································································································ 68
display rdp request-polling-interval ·········································································································· 74
display smartsan status ···························································································································· 74
domain auto-reconfigure enable ·············································································································· 75
domain configure enable ·························································································································· 76
domain restart ·········································································································································· 76
domain-id ················································································································································· 77
fabric-name ·············································································································································· 78
fc domain rcf-reject ··································································································································· 79
fc login-limit ·············································································································································· 80
fc name-service auto-discovery ··············································································································· 80
fc port-bind-area enable ··························································································································· 81
fc timer distributed-services ····················································································································· 82
fc timer error-detect ·································································································································· 83
fc timer resource-allocation ······················································································································ 83
fc wwn default-fc4-type ···························································································································· 84
fcid persistent enable ······························································································································· 85
priority ······················································································································································ 86
rdp request-polling-interval ······················································································································· 87
reset fcid persistent ·································································································································· 87
rscn aggregation enable··························································································································· 88
rscn aggregation timer ····························································································································· 88
smartsan enable ······································································································································· 89
snmp-agent trap enable fc-fabric ············································································································· 90
snmp-agent trap enable fc-name-service ································································································· 91
timer distributed-services ························································································································· 92
timer error-detect ······································································································································ 92
timer resource-allocation ·························································································································· 93
wwn fcid ··················································································································································· 94
FC routing and forwarding commands ············································································································· 95
display fc exchange ·································································································································· 95
display fc fib ············································································································································· 97
display fc routing-table ····························································································································· 98
display fspf graceful-restart ···················································································································· 101
display fspf lsdb ······································································································································ 102
display fspf neighbor ······························································································································ 104
display fspf statistics ······························································································································ 105
fc route-static ·········································································································································· 106
fspf cost ·················································································································································· 107
fspf dead-interval ···································································································································· 108
fspf enable ·············································································································································· 109
fspf graceful-restart ································································································································ 110
fspf graceful-restart helper ····················································································································· 110
fspf graceful-restart interval ···················································································································· 111
fspf hello-interval ···································································································································· 112
fspf min-ls-arrival ···································································································································· 112
fspf min-ls-interval ·································································································································· 113
fspf retransmit-interval ···························································································································· 114
iii
fspf silent ················································································································································ 115
fspf spf-hold-time ···································································································································· 115
reset fspf counters ·································································································································· 116
FC zone commands ······································································································································· 117
delete zone database all ························································································································ 117
display zone ··········································································································································· 117
display zone member ····························································································································· 119
display zone statistics ···························································································································· 121
display zone status ································································································································· 122
display zone-alias ··································································································································· 123
display zoneset ······································································································································ 125
display zoneset active ···························································································································· 126
member (zone alias view) ······················································································································ 128
member (zone set view) ························································································································· 130
member (zone view) ······························································································································· 131
pairwise-zoning enable ·························································································································· 132
reset zone statistics ································································································································ 133
snmp-agent trap enable fc-zone ············································································································ 134
zone clone ·············································································································································· 135
zone default-zone permit ························································································································ 135
zone hard-zoning enable························································································································ 136
zone merge-control restrict ···················································································································· 137
zone mode enhanced····························································································································· 138
zone name ············································································································································· 139
zone rename ·········································································································································· 139
zone-alias clone ····································································································································· 140
zone-alias name ····································································································································· 141
zone-alias rename ·································································································································· 142
zoneset activate ····································································································································· 142
zoneset clone ········································································································································· 143
zoneset distribute ··································································································································· 144
zoneset distribute full ····························································································································· 145
zoneset name ········································································································································· 145
zoneset rename ····································································································································· 146
zone-type peer-zone ······························································································································ 147
NPV commands ············································································································································· 148
display fc nport ······································································································································· 148
display npv login ····································································································································· 149
display npv status ··································································································································· 150
display npv traffic-map ··························································································································· 152
npv auto-load-balance enable ················································································································ 153
npv auto-load-balance-interval ··············································································································· 153
npv load-balance disruptive ··················································································································· 154
npv traffic-map ······································································································································· 155
FIP snooping commands ······························································································································· 156
display fip-snooping enode ···················································································································· 156
display fip-snooping fcf ··························································································································· 156
display fip-snooping flushing-rules ········································································································· 157
display fip-snooping rules ······················································································································· 158
display fip-snooping sessions ················································································································ 159
fip-snooping enable ································································································································ 160
fip-snooping fc-map ································································································································ 160
fip-snooping port-mode ·························································································································· 161
Port security commands································································································································· 162
any-wwn ················································································································································· 162
display fc-port-security database ··········································································································· 163
display fc-port-security statistics ············································································································ 164
display fc-port-security status················································································································· 165
display fc-port-security violation ············································································································· 166
fc-port-security ······································································································································· 167
fc-port-security database copy ··············································································································· 168
fc-port-security enable ···························································································································· 168
iv
nwwn ······················································································································································ 169
pwwn ······················································································································································ 170
reset fc-port-security database··············································································································· 172
reset fc-port-security statistics ················································································································ 172
snmp-agent trap enable fc-port-security ································································································ 173
swwn ······················································································································································ 174
FCS commands ············································································································································· 175
display fcs database ······························································································································· 175
display fcs discovery status ···················································································································· 176
display fcs ie ··········································································································································· 177
display fcs port ······································································································································· 179
fcs discovery start ·································································································································· 182
fcs discovery stop ··································································································································· 183
FDMI commands ············································································································································ 183
display fdmi database ···························································································································· 183
FC ping commands ········································································································································ 189
fcping ······················································································································································ 189
FC tracert commands····································································································································· 190
fctracert ·················································································································································· 190
Document conventions and icons ······························································ 193
Conventions ··················································································································································· 193
Network topology icons ·································································································································· 194
Support and other resources ····································································· 195
Accessing Hewlett Packard Enterprise Support····························································································· 195
Accessing updates ········································································································································· 195
Websites ················································································································································ 196
Customer self repair ······························································································································· 196
Remote support ······································································································································ 196
Documentation feedback ······················································································································· 196
Index ·········································································································· 198
1
FC and FCoE commands
The HPE FlexFabric 5940 2-slot Switch (JH397A) and HPE FlexFabric 5940 4-slot Switch (JH398A)
support FC after the LSWM124XG2QFC (JH184A) or LSWM116FC (JL865A) interface module is
installed.
The LSWM124XG2QFC (JH184A) interface module provides FC interfaces operating at up to 8
Gbps. The LSWM116FC (JL865A) interface module provides FC interfaces operating at up to 32
Gbps.
For FC and FCoE to work, the device must operate in advanced or expert mode. For more
information about system operating modes, see device management in Fundamentals Configuration
Guide.
FCoE mode commands
display fcoe-mode
Use display fcoe-mode to display the FCoE mode of the switch.
Syntax
display fcoe-mode
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the FCoE mode of the switch.
<Sysname> display fcoe-mode
The FCoE mode is NONE.
Table 1 Command output
Field
Description
The FCoE mode is mode.
The mode can be one of the following:
• FCF.
• FCF-NPV.
• NPV.
• TRANSIT.
• NONE (non-FCoE mode).
Related commands
fcoe-mode
fcoe-mode
Use fcoe-mode to configure an FCoE mode for the switch.
2
Use undo fcoe-mode to restore the default.
Syntax
fcoe-mode { fcf | fcf-npv | npv | transit }
undo fcoe-mode
Default
A switch operates in non-FCoE mode.
Views
System view
Predefined user roles
network-admin
Parameters
fcf: Specifies the FCF mode.
fcf-npv: Specifies the FCF-NPV mode.
npv: Specifies the NPV mode.
transit: Specifies the Transit mode.
Usage guidelines
An FC and FCoE-capable switch can operate in non-FCoE mode or in one of the following FCoE
modes:
•
FCF mode—When the switch operates in this mode, it is an FCF switch and supports E_Ports
and F_Ports. An FCF switch can connect to the following elements:
ï‚¡ An E_Port on another FCF switch through its E_Port.
ï‚¡ An N_Port or NP_Port through its F_Port.
•
NPV mode—When the switch operates in this mode, it is an NPV switch and supports F_Ports
and NP_Ports. An NPV switch can connect to the following elements:
ï‚¡ An N_Port or NP_Port through its F_Port.
ï‚¡ An F_Port through its NP_Port.
•
FCF-NPV mode—When the switch operates in this mode, it is an FCF-NPV switch. A VSAN on
an FCF-NPV switch can operate in either of the following modes:
 FCF mode—When a VSAN operates in this mode, the VSAN acts as an FCF switch.
 NPV mode—When a VSAN operates in this mode, the VSAN acts as an NPV switch.
•
Transit mode—When the switch operates in this mode, it is a Transit switch.
You can configure Ethernet interfaces on a Transit switch to operate in ENode or FCF mode. An
Ethernet interface in ENode mode can receive traffic from only an ENode. An Ethernet interface
in FCF mode can receive traffic from only an FCF switch.
The switch can only convert from non-FCoE mode to one FCoE mode, or vice versa. It cannot
convert directly among FCoE modes. To convert among FCoE modes, first convert the switch to
non-FCoE mode. Converting the switch to non-FCoE mode also clears all FC- and FCoE-related
settings in the original FCoE mode except FC interfaces, FC aggregate interfaces, and VFC
interfaces.
Examples
# Configure the switch to operate in FCF mode.
<Sysname> system-view
[Sysname] fcoe-mode fcf
3
# Convert the switch operating in FCF mode to NPV mode.
<Sysname> system-view
[Sysname] undo fcoe-mode
All current FC configuration will be lost. Continue? [Y/N]:y
[Sysname] fcoe-mode npv
Related commands
display fcoe-mode
FC interface commands
The commands in this section are supported only on FCF, FCF-NPV, and NPV switches.
bandwidth (FC interface view)
Use bandwidth to set the expected bandwidth for an FC interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth (in kbps) of an FC interface is the interface baud rate divided by 1000.
Views
FC interface view
Predefined user roles
network-admin
Parameters
bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.
Usage guidelines
The expected bandwidth of an interface affects the link costs in FSPF. You can control the route
selection by setting the expected bandwidth.
Examples
# Set the expected bandwidth to 50 kbps for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] bandwidth 50
default (FC interface view)
Use default to restore the default settings for an FC interface.
Syntax
default
4
Views
FC interface view
Predefined user roles
network-admin
Usage guidelines
CAUTION:
The
default command might interrupt ongoing network services. Make sure you are fully aware
of the impacts of this command when you execute it on a live network.
This command might fail to restore the default settings for some commands for reasons such as
command dependencies or system restrictions. Use the display this command in interface view
to identify these commands. Then use their undo forms or follow the command reference to restore
their default settings. If your restoration attempt still fails, follow the error message instructions to
resolve the problem.
Examples
# Restore the default settings for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] default
This command will restore the default settings. Continue? [Y/N]:y
description (FC interface view)
Use description to configure the description of an interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description of an FC interface is interface name Interface, for example, Fc1/0/1
Interface.
Views
FC interface view
Predefined user roles
network-admin
Parameters
text: Specifies a description, a case-sensitive string of 1 to 255 characters.
Usage guidelines
The description helps users identify the role of an interface.
Examples
# Configure the description of FC 1/0/1 as FCport1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
5
[Sysname-Fc1/0/1] description FCport1
display interface fc
Use display interface fc to display FC interface information.
Syntax
display interface [ fc [ interface-number ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
fc [ interface-number ]: Specifies FC interfaces. If you do not specify the fc keyword, this
command displays information about all interfaces supported by the device. If you specify the fc
keyword but not the interface-number argument, this command displays information about all
FC interfaces.
brief: Displays brief information about interfaces. If you do not specify this keyword, the command
displays detailed information about interfaces.
description: Displays complete interface descriptions. If you do not specify this keyword, the
command does not display interface descriptions.
down: Displays information about the interfaces in physically down state and the causes. If you do
not specify this keyword, the command displays information about interfaces in all states.
Examples
# Display detailed information about FC 1/0/1.
<Sysname> display interface fc 1/0/1
Fc1/0/1
Current state: UP
Line protocol state: UP
Description: Fc1/0/1 Interface
Bandwidth: 4000000kbps
Maximum transmission unit: 2112
4000Mbps-speed mode
Internet protocol processing: Disabled
Link layer protocol is FC
Fill word is idle-idle
Port WWN is 66:66:66:62:65:34:30:39
FC mode is F, state is F
BB_Credit Recovery is enabled
Transmit B2B Credit is 15
Receive B2B Credit is 15
Support the VSAN protocol
VSAN tagging mode is Non tagging
EVFP common VSAN : 1
Media type is not sure,port hardware type is UNKNOWN_SFP
6
Port priority: 0
4Gbps-speed mode, Link speed type is autonegotiation, Flow-control is enabled
The maximum frame length is 10000
Last link flapping: 1 hours 12 minutes 25 seconds
Last clearing of counters: Never
Peak input rate: 0 bytes/sec, at 2016-12-06 00:31:08
Peak output rate: 0 bytes/sec, at 2016-12-06 00:31:08
Last 300 second input: 0 packets/sec 0 bytes/sec 0%
Last 300 second output: 0 packets/sec 0 bytes/sec 0%
Input (total): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Input (normal): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 throttles
0 CRC, 0 frame, - overruns, 0 aborts
- ignored, - parity errors
Output (total): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Output (normal): 0 packets, 0 bytes
0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
0 lost carrier, - no carrier
Table 2 Command output
Field
Description
Current state
Physical link state of the interface:
• Administratively DOWN—The interface has been shut down by
using the shutdown command.
• Administratively DOWN(Global)—The interface has been shut
down by using the shutdown
all-physical-interfaces command.
• DOWN—The interface is administratively up, but its physical state
is down (possibly because no physical link exists or the link has
failed).
• UP—The interface is both administratively and physically up.
Line protocol state
Data link layer state of the interface. The state is determined through
automatic parameter negotiation at the data link layer.
• UP—The data link layer protocol is up.
• DOWN—The data link layer protocol is down.
Description Description of the interface.
Bandwidth Expected bandwidth of the interface.
4000Mbps-speed mode The interface is operating at 4000 Mbps.
Internet protocol processing:
Disabled The interface is not assigned an IP address and cannot process IP
packets.
Fill word Fill word mode of the interface:
• idle-idle.
• idle-arbff.
7
Field
Description
FC mode Mode of the interface.
state Operating mode of the interface through negotiation.
Transmit B2B Credit Buffer-to-buffer credit (BB_Credit) value of the remote end.
This field is displayed only after the link comes up.
Receive B2B Credit BB_Credit value of the local end.
This field is displayed only after the link comes up.
Support VSAN Protocol The interface supports the VSAN protocol after negotiation.
This field is displayed only after the link comes up.
VSAN tagging mode
VSAN tagging mode of the interface after the Exchange Virtual Fabrics
Protocol (EVFP) negotiation: Tagging or Non tagging.
This field is displayed only after the link comes up.
EVFP common VSAN Common VSANs in up state through the EVFP negotiation.
This field is displayed only after the link comes up.
Link speed type is
autonegotiation This field is displayed if the speed auto command is configured.
Link speed type is force link This field is displayed if a specific rate is configured by using the
speed
command.
Flow-control Flow control function status of the FC interface:
• enabled.
• not enabled.
The maximum frame length is MTU of the FC interface.
Last link flapping The amount of time that has elapsed since the most recent physical
state change of the interface. This field displays Never if the interface
has been physically down since device startup.
Last clearing of counters
Time when the interface statistics were last cleared by using the
reset counters interface fc command. Never indicates
that the interface statistics have never been cleared since switch
startup.
Peak value of input Peak incoming traffic rate on the FC interface.
Peak value of output Peak outgoing traffic rate on the FC interface.
Last 300 seconds input: 0
packets/sec 9 bytes/sec 0%
Average incoming traffic rate on the FC interface in the last 300
seconds and the percentage of the actual rate to the maximum interface
rate (configured by using the speed command).
A hyphen (-) indicates that the statistics item is not supported.
Last 300 seconds output: 0
packets/sec 9 bytes/sec 0%
Average outgoing traffic rate on the FC interface in the last 300 seconds
and the percentage of the actual rate to the maximum interface rate
(configured by using the speed command).
A hyphen (-) indicates that a statistics item is not supported.
8
Field
Description
Input (total): 142 packets, 13596
bytes
142 unicasts, 0
broadcasts, 0 multicasts, 0
pauses
Total numbers of frames and bytes received on the FC interface,
including normal frames, error frames, and pause frames.
• unicasts—Number of frames received that are destined to unicast
addresses.
• broadcasts—Number of frames received that are destined to
broadcast addresses.
• multicasts—Number of frames received that are destined to
multicast addresses.
• pauses—Number of pause frames received.
A hyphen (-) indicates that a statistics item is not supported.
Input (normal): 142 packets, -
bytes
142 unicasts, 0
broadcasts, 0 multicasts, 0
pauses
Total number of normal frames received on the FC interface and total
number of bytes of these frames, including normal frames and pause
frames.
• unicasts—Number of normal frames received that are destined to
unicast addresses.
• broadcasts—Number of normal frames received that are destined
to broadcast addresses.
• multicasts—Number of normal frames received that are destined
to multicast addresses.
• pauses—Number of pause frames received.
A hyphen (-) indicates that a statistics item is not supported.
input errors Total number of error frames received on the FC interface.
runts
Number of frames received that meet the following requirements:
• Smaller than 64 bytes.
• In correct format.
• Have valid CRC values.
giants
Number of jumbo frames received. Jumbo frames are frames larger
than the maximum allowed frame size.
For an FC interface that does not permit jumbo frames, the maximum
frame length is as follows:
• 1518 bytes (without VLAN tags).
• 1522 bytes (with VLAN tags).
For an FC interface that permits jumbo frames, the maximum Ethernet
frame length is configured when you configure jumbo frame support on
the interface.
throttles Number of times the switch shuts down the FC interface due to buffer or
CPU overload.
CRC Number of incoming frames that had a valid length but contained CRC
errors.
frame Number of incoming frames that contained CRC errors and a
non-integer number of bytes.
overruns Number of incoming frames dropped because the input rate of the FC
interface exceeded the queuing capability.
9
Field
Description
aborts
Total number of illegal incoming frames:
• Fragment frames—CRC error frames shorter than 64 bytes. The
length (in bytes) can be an integral or non-integral value.
• Jabber frames—CRC error frames larger than the maximum
frame allowed size on the FC interface (with an integral or
non-integral length).
ï‚¡ For an FC interface that does not permit jumbo frames, the
maximum allowed frame size is 1518 bytes (without VLAN
tags) or 1522 bytes (with VLAN tags).
ï‚¡ For an FC interface that permits jumbo frames, the maximum
allowed frame size is configured when you configure jumbo
frame support on the interface.
• Symbol error frames—Frames that contained at least one
undefined symbol.
• Unknown operation code frames—Non-pause MAC control
frames.
• Length error frames—Frames whose 802.3 length fields did not
match the actual frame length (46 to 1500 bytes).
ignored Number of incoming frames dropped because the receiving buffer of the
port ran low.
parity errors Number of incoming frames with parity errors.
Output (total): 139 packets,
13748 bytes
139 unicasts, 0
broadcasts, 0 multicasts, 0
pauses
Total numbers of frames and bytes sent on the FC interface, including
normal frames, error frames, and pause frames.
• unicasts—Number of frames sent that are destined to unicast
addresses.
• broadcasts—Number of frames sent that are destined to
broadcast addresses.
• multicasts—
Number of frames sent that are destined to multicast
addresses.
• pauses—Number of pause frames sent.
A hyphen (-) indicates that a statistics item is not supported.
Output (normal): 139 packets, -
bytes
139 unicasts, 0
broadcasts, 0 multicasts, 0
pauses
Total number of normal frames sent on the FC interface and total
number of bytes of these frames, including normal frames and pause
frames.
• unicasts—Number of normal frames sent that are destined to
unicast addresses.
• broadcasts—Number of normal frames sent that are destined to
broadcast addresses.
• multicasts—Number of normal frames sent that are destined to
multicast addresses.
• pauses—Number of pause frames sent.
A hyphen (-) indicates that a statistics item is not supported.
output errors Total number of error frames sent on the FC interface.
underruns Number of outgoing frames dropped because the output rate of the FC
interface exceeded the queuing capability. This is a low-probability
hardware anomaly.
buffer failures Number of frames dropped due to insufficient transmitting buffer
resources.
aborts Total number of frames that are not successfully sent for various
reasons, for example, collisions.
deferred Number of frames that are delayed for transmission because collisions
are detected before they are sent.
10
Field
Description
collisions Number of frames that the FC interface stopped transmitting because
collisions were detected during transmission.
late collisions Number of frames that the FC interface deferred to transmit after
transmitting their first 512 bits because of detected collisions.
lost carrier Number of carrier losses during transmission. This counter increases by
one when a carrier is lost, and applies to serial WAN interfaces.
no carrier
Number of times that the FC interface failed to detect the carrier when
attempting to send frames. This counter increases by one each time the
FC interface failed to detect the carrier, and applies to serial WAN
interfaces.
# Display brief information about FC 1/0/1.
<Sysname> display interface fc 1/0/1 brief
Brief information on FC interface(s):
Admin Mode: auto - auto; E - e port; F - f port; NP - n port proxy
Oper Mode: E - e port; F - f port; NP - n port proxy;
TE - trunking e port; TF - trunking f port;
TNP - trunking n port proxy
Interface VSAN Admin Admin Oper Oper Status SAN-Aggregation
Mode Trunk Mode Speed
Mode
Fc1/0/1 2 F off F 4G UP SAGG23
Table 3 Command output
Field
Description
Interface Name of the interface.
VSAN Access VSAN of the interface.
Admin Mode
User-configured interface mode:
• auto.
• E.
• F.
• NP.
Admin Trunk Mode
User-configured trunk mode for the interface:
• auto.
• on.
• off.
Oper Mode
Negotiated mode (link layer negotiation) in which the interface is
operating:
• E—The interface is operating in E mode as an access port.
• F—The interface is operating in F mode as an access port.
• NP—The interface is operating in NP mode as an access port.
• TE—The interface is operating in E mode as a trunk port.
• TF—The interface is operating in F mode as a trunk port.
• TNP—The interface is operating in NP mode as a trunk port.
If negotiation is not initiated or fails, this field displays two hyphens (--).
11
Field
Description
Oper Speed Interface rate in bps after physical layer negotiation is performed and
the data link layer comes up.
If negotiation is not initiated or fails, this field displays two hyphens (--).
Status Negotiated state (link layer negotiation) for the interface:
• UP.
• DOWN.
SAN-Aggregation FC aggregation group to which the interface belongs.
This field is empty when the interface is not assigned to an FC
aggregation group.
# Display the descriptions of FC interfaces.
<Sysname> display interface fc brief description
Brief information on FC interface(s):
Interface Description
Fc1/0/2 Fc1/0/2 Interface
Fc1/0/3 Fc1/0/3 Interface
# Display brief information about the FC interfaces in physically down state.
<Sysname> display interface fc brief down
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
Fc1/0/1 ADM Administratively
Table 4 Command output
Field
Description
Brief information on interface(s)
under bridge mode Brief information about Layer 2 interfaces.
Interface Interface name.
Link
Physical link state of the interface:
• DOWN—The interface is physically down.
• ADM—The interface has been shut down by using the
shutdown command. To restore the physical state of the
interface, use the undo shutdown command.
• Stby—The interface is a backup interface in standby state. To see
the primary interface, use the display
interface-backup state
command.
Cause
Cause for the physical link state of an interface to be DOWN:
• Not connected—No physical connection exists (possibly because
the optical fiber is disconnected or faulty).
• Administratively—The interface has been manually shut down by
using the shutdown command. To restore the physical state of
the interface, use the
undo shutdown
command.
Related commands
reset counters interface fc
12
fc mode (FC interface view)
Use fc mode to set the mode of an FC interface.
Use undo fc mode to restore the default.
Syntax
fc mode { auto | e | f | np }
undo fc mode
Default
On an FCF switch, the mode of an FC interface is auto.
On an NPV or FCF-NPV switch, the mode of an FC interface is F.
Views
FC interface view
Predefined user roles
network-admin
Parameters
auto: Specifies the auto mode, so that the FC interface can operate in F mode or E mode through
dynamic negotiation.
e: Specifies the E mode.
f: Specifies the F mode.
np: Specifies the NP mode.
Usage guidelines
FC interfaces on an FCF switch support only auto, E, and F modes. FC interfaces on an NPV switch
support only F and NP modes. FC interfaces on an FCF-NPV switch support only E, F, and NP
modes.
On an FCF-NPV switch, if the mode of an FC interface does not match the mode of a VSAN of the
interface, the mode does not take effect in the VSAN.
Examples
# Set the mode to F for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] fc mode f
Related commands
working-mode
fcb2bcredit
Use fcb2bcredit to set the BB_Credit value for an FC interface.
Use undo fcb2bcredit to restore the default.
Syntax
fcb2bcredit credit-value
undo fcb2bcredit
13
Default
The BB_Credit value for an FC interface is 15.
Views
FC interface view
Predefined user roles
network-admin
Parameters
credit-value: Specifies the number of packets that the FC interface can continuously receive.
The value range for this argument is 1 to 500 on LSWM116FC (JL865A) expansion modules and 1 to
15 on other expansion modules.
Usage guidelines
The BB_Credit is a flow control mechanism used to ensure that an FC interface does not drop
packets.
The BB_Credit value is configurable. Typically, you do not need to change the default value.
Examples
# Set the BB_Credit value to 10 for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] fcb2bcredit 10
fcb2bcredit recovery enable
Use fcb2bcredit recovery enable to enable BB_Credit recovery for an FC interface.
Use undo fcb2bcredit recovery enable to disable BB_Credit recovery for an FC interface.
Syntax
fcb2bcredit recovery enable
undo fcb2bcredit recovery enable
Default
BB_Credit recovery is disabled for an FC interface.
Views
FC interface view
Predefined user roles
network-admin
Usage guidelines
This command allows two FC interfaces to recover the connection when BB_Credits are lost.
For the feature to take effect, you must configure the command on both FC interfaces.
Examples
# Enable BB_Credit recovery for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] fcb2bcredit recovery enable
14
fill-word
Use fill-word to set the fill word mode for an 8-Gbps FC interface.
Use undo fill-word to restore the default.
Syntax
fill-word { idle-arbff | idle-idle }
undo fill-word
Default
An 8-Gbps FC interface uses the idle-arbff mode.
Views
FC interface view
Predefined user roles
network-admin
Parameters
idle-arbff: Specifies the idle-arbff mode. This mode uses the idle primitive signal in the link
initialization phase and uses the ARBff primitive signal as the fill word.
idle-idle: Specifies the idle-idle mode. This mode uses the idle primitive signal in the link
initialization phase and uses the idle primitive signal as the fill word.
Usage guidelines
This command is available only for 8-Gbps FC interfaces. 2-Gbps and 4-Gbps FC interfaces support
only the idle-idle mode.
For two 8-Gbps FC interfaces to communicate correctly, make sure the fill word is the same on them.
To make the fill word mode setting take effect, execute the shutdown and undo shutdown
commands on the FC interface.
Examples
# Set the fill word mode to idle-idle for FC 1/0/1.
<Sysname> system-view
[Sysname] interface fc 1/0/1
[Sysname-Fc1/0/1] speed 8000
[Sysname-Fc1/0/1] fill-word idle-idle
Related commands
speed
interface fc
Use interface fc to enter FC interface view.
Syntax
interface fc interface-number
Views
System view
  • 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
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206

HPE JH396A Reference guide

Category
Network switches
Type
Reference guide

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

Finding information in a document is now easier with AI