HP FlexFabric 11900 Switch Series FCoE Command Reference Part number: 5998-4085 Software version: Release 2105 and later Document version: 6W100-20130515
Legal and notice information © Copyright 2013 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents FCoE commands ·························································································································································· 1 FCoE mode commands····················································································································································· 1 fcoe-mode ························································································································································
display fspf graceful-restart ·································································································································· 44 display fspf lsdb····················································································································································· 45 display fspf neighbor ············································································································································ 47 display fspf
Subscription service ·············································································································································· 89 Related information ························································································································································ 89 Documents ······························································································································································
FCoE commands The switch supports FCoE only when operating in advanced mode. For more information about system operating modes, see Fundamentals Configuration Guide. FCoE mode commands fcoe-mode Use fcoe-mode to configure an FCoE mode for the switch. Use undo fcoe-mode to restore the default. Syntax fcoe-mode { fcf | npv } undo fcoe-mode Default A switch operates in non-FCoE mode.
The switch can only convert from non-FCoE mode to one FCoE mode, or vice versa, and it cannot convert directly among the two FCoE modes. To convert among the two FCoE modes, first convert the switch to non-FCoE mode. After converting the switch to non-FCoE mode, FCoE-related configurations in the original FCoE mode are cleared. Examples # Configure the switch to operate in FCF mode. system-view [Sysname] fcoe-mode fcf # Convert the switch operating in FCF mode to NPV mode.
VFC interface and FIP commands bind interface Use bind interface to bind the VFC interface to a specified Ethernet interface. Use undo bind interface to remove the binding. Syntax bind interface interface-type interface-number [ mac mac-address ] undo bind interface Default A VFC interface is not bound to any Ethernet interface. Views VFC interface view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number.
[sysname-Vfc4] bind interface Ten-GigabitEthernet1/0/1 mac 000c-2999-eacd Related commands • display fcoe • display interface vfc default Use default to restore the default settings for a VFC interface. Syntax default Views VFC 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.
Views VFC interface view Predefined user roles network-admin Parameters text: Interface description, a case-sensitive string of 1 to 80 characters. Usage guidelines The description helps users identify the role of an interface. Examples # Configure the description as Vfcport1 for interface VFC 1. system-view [Sysname] interface vfc 1 [Sysname-Vfc1] description Vfcport1 Related commands display interface display fcoe Use display fcoe to display FCoE global configuration.
Field Description FKA period Interval at which a VFC interface sends Discovery Solicitations and unsolicited Discovery Advertisements. Related commands • fcoe fcmap • fcoe fka-adv-period • fcoe global fcf-priority display interface vfc Use display interface vfc to display VFC interface information.
VSAN of physical-UP state: Last clearing of counters: Never Table 2 Command output Field Description Physical state and administrative state of the VFC interface: • DOWN (Administratively)—The interface is administratively shut down by using the shutdown command. Vfc1 current state • DOWN—The interface is administratively up but physically down. • UP—The interface is up both administratively and physically. Line protocol current state Link layer protocol state of the VFC interface: DOWN or UP.
Field Description Physical link state of the interface: • UP—The link is physically up. • DOWN—The link is physically down. • ADM—The link has been administratively shut down. To recover its Link physical state, execute the undo shutdown command. • Stby—The interface is a standby interface. Protocol Protocol connection state of the interface: UP or DOWN. Description Interface description configured by using the description command.
Examples # Configure interface VFC 1 to operate in E mode. system-view [Sysname] interface vfc 1 [Sysname-Vfc1] fc mode e fcoe enable Use fcoe enable to enable FCoE for a VLAN and map a specified VSAN to the VLAN. Use undo fcoe enable to disable FCoE for the VLAN. Syntax fcoe enable [ vsan vsan-id ] undo fcoe enable Default FCoE is disabled on a VLAN. Views VLAN view Predefined user roles network-admin Parameters vsan vsan-id: Specifies a VSAN to be mapped to the VLAN.
fcoe fcf-priority Use fcoe fcf-priority to configure the FCF priority for the VFC interface. Use undo fcoe fcf-priority to restore the default. Syntax fcoe fcf-priority priority undo fcoe fcf-priority Default The default setting is 128. Views VFC interface view Predefined user roles network-admin Parameters priority: FCF priority for the VFC interface, in the range of 0 to 255. The smaller the value, the higher the priority.
Predefined user roles network-admin Parameters fc-map: FC-MAP value in the range of 0x0EFC00 to 0x0EFCFF. Usage guidelines The FC-MAP value is used to identify an FCoE network. Switches in the same FCoE network must have the same FC-MAP value. After FC-MAP values are configured, VFC interfaces perform an FIP renegotiation. Examples # Configure the FC-MAP value as 0x0EFCFF. system-view [Sysname] fcoe fcmap 0efcff Changing the FC-MAP will flap all VFC interfaces.
Table 4 Recommended values for different application scenarios Recommended value Application scenarios Remarks According to FC-BB-5, the upper limit of the FKA advertisement period value is 90 seconds. In this scenario, a single-MPU FCF switch or NPV switch will experience FCoE traffic disruption during an ISSU reboot, because this ISSU reboot takes more than 225 (2.5*90) seconds and the peer deletes the virtual link for failing to receive unsolicited Discovery Advertisements within 225 seconds.
Views System view Predefined user roles network-admin Parameters priority: System FCF priority in the range of 0 to 255. The smaller the value, the higher the priority. Usage guidelines The system FCF priority is used in the fcf priority field in an unsolicited Discovery Advertisement. An ENode selects the FCF switch with the highest priority from the FCF switches sending Discovery Advertisements and sends a FLOGI request to it for login. This command is effective for all VFC interfaces in F mode.
Related commands display interface vfc reset counters interface Use reset counters interface to clear the statistics for VFC interfaces. Syntax reset counters interface [ vfc [ number ] ] Views User view Predefined user roles network-admin Parameters number: VFC interface number. Usage guidelines Clear the existing statistics before collecting traffic statistics within a specific period of time on an interface.
Examples # Bring up interface VFC 1.
Fabric setup commands allowed-domain-id Use allowed-domain-id to specify the allowed domain ID list for a specific VSAN on the switch. Use undo allowed-domain-id to restore the default. Syntax allowed-domain-id domain-id-list undo allowed-domain-id domain-id-list Default The default setting is 1 to 239.
display fc domain Use display fc domain to display the domain information of the specified VSAN. Syntax display fc domain [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the domain information of all VSANs.
Table 5 Command output Field Description Running status: State • Stable—The configuration is finished. • Unstable—The configuration is not finished. Switch WWN WWN of the local switch. Fabric name Name of the fabric. Priority Running priority of the local switch. Domain ID Runtime domain ID of the local switch. Configuration information Configuration information of the local switch.
Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the lists of domain IDs dynamically assigned in all VSANs. Usage guidelines For a dynamically built fabric, you can use this command to display the list of domain IDs dynamically assigned in a specified VSAN, including the total number of domains and mappings between domain IDs and switch WWNs. Examples # Display the list of domain IDs dynamically assigned in VSAN 1.
Examples # Display the ESS negotiation result in VSAN 2.
Syntax display fc login [ vsan vsan-id ] [ count ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the node login information of all VSANs. count: Displays the total number of logged-in nodes. Examples # Display the node login information of VSAN 1.
Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the name server database information of all VSANs. fcid fcid: Specifies an FC address. The fcid argument is in the range of 0x010000 to 0xEFFFFF (hexadecimal). If no FC address is specified, this command displays the name server database entries of all FC addresses.
VSAN:1 FCID:0xec0200 Port-WWN(vendor): 10:00:00:5a:c9:28:c7:01 Node-WWN: 10:00:00:5a:c9:28:c7:01 Class: 3 Node-IP-addr: 192.168.0.52 FC4-types(FC4_features): Symbolic-port-name: Symbolic-node-name: Port-type: 0x01(N) Fabric-port-WWN: 22:0a:00:05:30:00:26:1e Hard-addr: 0x000000 --- Total 2 entries --- Table 10 Command output Field Description FCID FC address of the N_Port. Port type registered by a node with the switch: • 0x00(Unidentified)—No port type is registered.
Field Description Hard-addr Hardware address of the N_Port. Total entries Number of entries in the VSAN. display fc scr-table Use display fc scr-table to display the State Change Registration (SCR) list of N_Ports. Syntax display fc scr-table [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Displays the SCR list in the specified VSAN. The vsan-id argument is in the range of 1 to 3839.
Syntax display fc timer [ distributed-services | error-detect | resource-allocation ] [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters distributed-services: Displays the distributed service timeout period, in milliseconds. error-detect: Displays the error detection timeout period, in milliseconds. resource-allocation: Displays the resource allocation timeout period, in milliseconds. vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839.
Usage guidelines The fabric reconfiguration triggers principal switch selection, domain ID assignment, and FC address assignment throughout the fabric. Auto fabric reconfiguration occurs in the event of network faults or fabric merges as follows: • When two fabrics are merged: { { • The switches automatically perform a disruptive reconfiguration if the domain ID lists overlap.
Examples # Enable the fabric configuration function for the switch in VSAN 1. system-view [Sysname] vsan 1 [Sysname-vsan1] domain configure enable domain restart Use domain restart to configure the switch to initiate a fabric reconfiguration in a specified VSAN. Syntax domain restart [ disruptive ] Views VSAN view Predefined user roles network-admin Parameters disruptive: Initiates a disruptive reconfiguration.
domain-id Use domain-id to specify a domain ID for the switch in a specified VSAN. Use undo domain-id to restore the default. Syntax domain-id domain-id { preferred | static } undo domain-id Default The domain ID of a switch is 0 in each VSAN and is preferred type. Views VSAN view Predefined user roles network-admin Parameters domain-id: Domain ID in the range of 1 to 239. preferred: Specifies the domain ID as the preferred type. static: Specifies the domain ID as the static type.
Syntax fabric-name name undo fabric-name Default The fabric name is null. Views VSAN view Predefined user roles network-admin Parameters name: Specifies a fabric name, in the format of xx:xx:xx:xx:xx:xx:xx:xx, where x is a hexadecimal number. Usage guidelines An FCF switch supports assigning a fabric name to each VSAN, in the same format as the WWN (a 64-bit address). If the user does not configure a fabric name, the switch WWN is used as the fabric name after FCoE is enabled.
Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. Usage guidelines In a stable fabric, to avoid unnecessary disruptive reconfigurations, you can configure an FC interface to reject the RCF requests received from a specific VSAN by replying with a reject message. With this feature, the interface that receives an RCF request is isolated. Examples # Configure interface VFC1 to reject the RCF requests received in VSAN 1.
fc timer error-detect Use fc timer error-detect to specify the error detection timeout period globally. Use undo fc timer error-detect to restore the default. Syntax fc timer error-detect value undo fc timer error-detect Default The global error detection timeout period is 2000 milliseconds. Views System view Predefined user roles network-admin Parameters value: Error detection timeout period in the range of 1000 to 10000 milliseconds.
Predefined user roles network-admin Parameters value: Resource allocation timeout period in the range of 5000 to 10000 milliseconds. Usage guidelines The resource allocation timeout period can be configured in system view or VSAN view: • The configuration made in system view takes effect on all VSANs. The configuration made in VSAN view takes effect only on the current VSAN.
Examples # Specify the priority as 64 for the switch in VSAN 1. system-view [Sysname] vsan 1 [Sysname-vsan1] priority 64 Related commands domain restart timer distributed-services Use timer distributed-services to specify the distributed service timeout period for a specified VSAN. Use undo timer distributed-services to restore the default. Syntax timer distributed-services value undo timer distributed-services Default The distributed service timeout period is 5000 milliseconds.
Syntax timer error-detect value undo timer error-detect Default The error detection timeout period is 2000 milliseconds. Views VSAN view Predefined user roles network-admin Parameters value: Error detection timeout period in the range of 1000 to 10000 milliseconds. Usage guidelines The error detection timeout period can be configured in system view or VSAN view: • The configuration made in system view takes effect on all VSANs. The configuration made in VSAN view takes effect only on the current VSAN.
Parameters value: Resource allocation timeout period in the range of 5000 to 10000 milliseconds. Usage guidelines The resource allocation timeout period can be configured in system view or VSAN view: • The configuration made in system view takes effect on all VSANs. The configuration made in VSAN view takes effect only on the current VSAN. • If you configure the resource allocation timeout period globally and for the specified VSAN at the same time, the configuration for the VSAN is given priority.
Examples # In VSAN 1, bind the N_Port (whose WWN is 33:e8:00:05:30:00:16:df) to an FC address whose Area_ID is ab and Port_ID is 12.
VSAN commands display vsan port-member Use display vsan port-member to display the member interfaces of a specified VSAN. Syntax display vsan [ vsan-id ] port-member Views Any view Predefined user roles network-admin network-operator Parameters vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If you do not specify this argument, this command displays the member interfaces of all VSANs. Examples # Display the member interfaces of all VSANs.
Default A VFC interface is not assigned to any VSAN as a trunk port. Views VFC interface view Predefined user roles network-admin Parameters vsan-id-list: Specifies a list of VSANs, in the format of vsan-id-list = { vsan-id1 [ to vsan-id2 ] }&<1-10>, where vsan-id is in the range of 1 to 3839 and &<1-10> indicates that you can specify up to 10 vsan-id1 [ to vsan-id2 ] parameters. Examples # Assign interface VFC1 to VSANs 1, 2, 10, and 20 through 100.
37
FC routing and forwarding commands display fc exchange Use display fc exchange to display the FC exchange entries.
• Link exchange—Created at both ends based on the exchange ID and used for packet exchange. Examples # (In standalone mode.) Display the protocol exchange entries. display fc exchange protocol slot 1 Local_ID:EXID Remote_ID:EXID State Slot Protocol 0x000000:65535 0x000000:65535 LISTEN 1 6 # (In IRF mode.) Display the protocol exchange entries.
Field Description Connection state of the FC exchange: • PREPARE—The protocol exchange is successfully bound, or the link exchange is waiting for the response packet. State/connection state • LISTEN—The protocol exchange is monitoring the connection. • ESTABLISHED—The connection has been established. • ABTS—An ABTS was sent due to a connection timeout or error, and the ABTS ACK is being expected. • BA_ACC—An ABTS was received, an BA_ACC is replied, and an ACC ACK is being expected.
Usage guidelines The device looks up the VSAN ID and FC address in the FC FIB for the outgoing interface. If you specify both the fcid and mask-length arguments, this command displays FC FIB entries for the specified FC address and mask length. If you specify the fcid argument but not the mask-length argument, this command displays FC FIB entries for the specified FC address according to the longest matching rule.
Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 4095. If no VSAN is specified, this command displays routing information of all VSANs. fcid: Specifies the destination FC address for static FC routes, in the range of 0x010000 to 0xFFFFFF (hexadecimal). mask: Hexadecimal mask of the FC address. This argument is used together with the fcid argument. The value of this argument can be 0xFF0000, 0xFFFF00, or 0xFFFFFF.
State: Active Age: 0h21m36s Destination/mask: 0xfffc01/24 Protocol: DIRECT Preference: 0 Cost: 0 Interface: InLoop0 State: Active Age: 0h21m36s Destination/mask: 0xfffffa/24 Protocol: DIRECT Preference: 0 Cost: 0 Interface: InLoop0 State: Active Age: 0h21m36s Destination/mask: 0xfffffc/24 Protocol: DIRECT Preference: 0 Cost: 0 Interface: InLoop0 State: Active Age: 0h21m36s Destination/mask: 0xfffffd/24 Protocol: DIRECT Preference: 0 Cost: 0 Interface: InLoop0 State: Active Age: 0h21m36s Table 15 Command
Field Description State Route state: Active or Inactive. Age Lifetime of the route in the routing table, in the format of XXhXXmXXs. # Display the statistics for all the routes in VSAN 5. display fc routing-table vsan 5 statistics Routing Table: VSAN 5 Protocol route active added deleted DIRECT 4 4 4 0 STATIC 0 0 0 0 FSPF 0 0 0 0 Total 4 4 4 0 Table 16 Command output Field Description VSAN VSAN number.
Usage guidelines Use this command to display FSPF GR status information, including whether GR Restarter is enabled, whether GR Helper is enabled, number of GR Restarters being restarted, and number of GR Helpers assisting in restarting the local device. Examples # Display FSPF GR status information.
Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays LSDB information for all VSANs. Usage guidelines Use this command to display FSPF LSDB information, including the total number of link state records (LSRs) and specific information about each LSR. Examples # Display FSPF LSDB information.
Field Description Cost Link cost. display fspf neighbor Use display fspf neighbor to display FSPF neighbor information. Syntax display fspf neighbor [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays information about all FSPF neighbors.
Field Description Neighbor state: • • • • • • State Down—The neighbor does not start negotiation. Init—The neighbor has started negotiation. DB_Exchange—The neighbor has been discovered. DB_Wait—The local switch has sent the LSR. DB_Ack_Wait—The neighbor has sent the LSR. Full—Synchronization is complete. display fspf statistics Use display fspf statistics to display FSPF statistics.
Statistics counters: Bad packet : 0 Neighbor unknown : 0 Timer mismatch : 0 Neighbor state low : 0 Bad LSR : 0 Packet statistics: Type Input Output HELLO 0 0 LSU 0 0 LSA 0 0 Table 20 Command output Field Description FSPF statistics of VSAN FSPF statistics for a specified VSAN. The value in parentheses is the domain ID in decimal of the local switch. SPF computing count Number of SPF calculations. Bad packet Number of error packets.
Parameters fcid: Destination FC address of the static FC route, in the range of 0x010000 to 0xFFFFFF (hexadecimal). mask: Hexadecimal mask of the FC address. This argument is used together with the fcid argument. The value of this argument can be 0xFF0000, 0xFFFF00, or 0xFFFFFF. mask-length: Decimal mask of the FC address. This argument is used together with the fcid argument. The value of this argument can be 8, 16, or 24.
vsan vsan-id: Specifies the VSAN to which the interface belongs, in the range of 1 to 3839. Usage guidelines Each link has a different cost. The route selection algorithm uses this value to determine the best route. The smaller the interface FSPF cost, the smaller the link cost. Examples # Configure the FSPF cost of interface VFC 1 in VSAN 4 as 1000.
fspf enable Use fspf enable to enable FSPF for a specified VSAN. Use undo fspf enable to disable FSPF for a specified VSAN. Syntax fspf enable undo fspf enable Default FSPF is enabled after a VSAN is created. Views VSAN view Predefined user roles network-admin Usage guidelines FSPF-related functions work in a VSAN only after you enable FSPF for the VSAN. Examples # Enable FSPF for VSAN 4.
• GR Restarter—GR-capable device where a protocol restart or active/standby switchover occurs • GR Helper—The GR Restarter's neighboring device that assists in the GR process Examples # Enable FSPF GR. system-view [Sysname] fspf graceful-restart Related commands • display fspf graceful-restart • fspf graceful-restart helper fspf graceful-restart helper Use fspf graceful-restart helper to enable FSPF GR Helper. Use undo fspf graceful-restart helper to disable FSPF GR Helper.
undo fspf graceful-restart interval Default The default setting is 120 seconds. Views System view Predefined user roles network-admin Parameters interval-value: Specifies the maximum interval for FSPF GR in seconds, in the range of 40 to 1800. Usage guidelines If the GR Restarter fails to complete the GR process within the maximum interval, it immediately exits the GR process. Examples # Configure the maximum interval for FSPF GR as 100 seconds.
The configured Hello interval must be smaller than the dead interval and must be the same at the two ends of the link. Examples # Configure the Hello interval for interface VFC 1 in VSAN 4 as 10 seconds. system-view [Sysname] interface vfc 1 [Sysname-vfc1] fspf hello-interval 10 vsan 4 Related commands fspf dead-interval fspf min-ls-arrival Use fspf min-ls-arrival to configure the minimum LSR receiving interval for a specified VSAN. Use undo fspf min-ls-arrival to restore the default.
undo fspf min-ls-interval Default The default setting is 5 seconds. Views VSAN view Predefined user roles network-admin Parameters value: Minimum LSR refresh interval in the range of 1 to 60 seconds. Usage guidelines The minimum LSR refresh interval specifies the interval at which LSRs are refreshed. To reduce SPF calculations and LSR flooding in a fabric caused by frequent LSR refreshing, the switch cannot refresh local LSRs within this interval.
Examples # Configure the LSR retransmission interval for interface VFC 1 in VSAN 4 as 10 seconds. system-view [Sysname] interface vfc 1 [Sysname-vfc1] fspf retransmit-interval 10 vsan 4 fspf silent Use fspf silent to disable FSPF for the interface in a specified VSAN. Use undo fspf silent to enable FSPF for the interface in a specified VSAN. Syntax fspf silent vsan vsan-id undo fspf silent vsan vsan-id Default FSPF is enabled on all interfaces.
Views VSAN view Predefined user roles network-admin Parameters value: Shortest SPF calculation interval in the range of 0 to 60 seconds. Usage guidelines When the LSDB changes, SPF calculations occur, which consume CPU resources. To prevent frequent SPF calculations from consuming too many CPU resources, you can configure the shortest SPF calculation interval. The shortest SPF calculation interval defines the minimum interval between two consecutive SPF calculations.
FC zone commands delete zone database all Use delete zone database all to delete zone database information. Syntax delete zone database all Views VSAN view Predefined user roles network-admin Usage guidelines You can delete the zone database for the specified VSAN, including all zone sets, zones, and zone aliases, but not the active zone set. Examples # Delete zone database information for VSAN 1.
If you specify only vsan vsan-id, this command displays information about all zones in the specified VSAN. If you specify neither option, this command displays information about all zones in all VSANs. Examples # Display information about all zones in all VSANs. display zone VSAN 1: zone name z1 fcid 0x111111 fcid 0x222222 pwwn 11:11:11:11:22:22:22:22 zone name z2 fcid 0x111111 zone-alias name za1 fcid 0x333333 VSAN 2: VSAN 3: Table 21 Command output Field Description VSAN VSAN number.
pwwn pwwn: Specifies a zone member by its pWWN, in the format of xx:xx:xx:xx:xx:xx:xx:xx, where x is a hexadecimal number. zone-alias zone-alias-name: Specifies a zone alias name, a case-sensitive string of 1 to 64 characters. A zone alias name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839.
Field Description fcid FC address of the zone member for which parent information is displayed. pwwn pWWN of the zone member for which parent information is displayed. zone-alias Zone alias name. zone Zone name. Related commands • member (zone view) • member (zone-alias view) display zone status Use display zone status to display configuration and running status of zones.
Distribute: active only Full zoning database: Zonesets: 10, Zones: 20, Zone-aliases: 0 Status: merging VSAN 2: Mode: basic Default zone: permit Distribute: full Full zoning database: Zonesets: 10, Zones: 20, Zone-aliases: 0 Status: distributing Table 23 Command output Field Description VSAN VSAN number. Mode Zone mode: basic (supported) or enhanced. Default zone • deny—Members in the default zone cannot access each other. • permit—Members in the default zone can access each other.
Parameters name zone-alias-name: Specifies a zone alias name, a case-sensitive string of 1 to 64 characters. A zone alias name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839.
Predefined user roles network-admin network-operator Parameters name zoneset-name: Specifies a zone set name, a case-sensitive string of 1 to 64 characters. A zone set name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839.
• zoneset name • zoneset rename display zoneset active Use display zoneset active to display information about the active zone set. Syntax display zoneset active [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays information about active zone sets in all VSANs. Usage guidelines A VSAN can have only one active zone set.
pwwn 11:11:11:11:11:11:11:12 VSAN 2: VSAN 3: zoneset name zs1 zone name z1 *fcid 0x111111 [pwwn 11:11:11:11:11:11:11:11] *fcid 0x333333 [pwwn 33:33:33:33:33:33:33:33] fcid 0x123456 pwwn 11:11:11:11:11:11:11:12 # Display information about the active zone set in VSAN 1.
Default No member exists in a zone. Views Zone view Predefined user roles network-admin Parameters fcid fcid: Specifies the FC address of the member, in the format of xxxxxx, where x is a hexadecimal number. pwwn pwwn: Specifies the pWWN of the member, in the format of xx:xx:xx:xx:xx:xx:xx:xx, where x is a hexadecimal number. zone-alias zone-alias-name: Specifies an existing zone alias, a case-sensitive string of 1 to 64 characters.
Default No member exists in a zone alias. Views Zone alias view Predefined user roles network-admin Parameters fcid fcid: Specifies the FC address of the member, in the format of xxxxxx, where x is a hexadecimal number. pwwn pwwn: Specifies the pWWN of the member, in the format of xx:xx:xx:xx:xx:xx:xx:xx, where x is a hexadecimal number. Examples # Create zone alias za1 and enter its view.
Parameters zone-name: Specifies an existing zone, a case-sensitive string of 1 to 64 characters. A zone name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. Examples # Create zone z1. system-view [Sysname] vsan 1 [Sysname-vsan1] zone name z1 [Sysname-vsan1-zone-z1] quit # Create zone set zs1 and enter its view.
# Create zone z2 by copying z1. [Sysname-vsan1] zone clone z1 z2 Related commands • display zone • zone name zone default-zone permit Use zone default-zone permit to allow members in the default zone to access each other. Use zone default-zone permit to prohibit members in the default zone from accessing each other. Syntax zone default-zone permit undo zone default-zone permit Default Members in the default zone cannot access each other.
Parameters zone-name: Zone name, a case-sensitive string of 1 to 64 characters. A zone name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. Examples # Create zone z1 and enter its view. system-view [Sysname] vsan 1 [Sysname-vsan1] zone name z1 [Sysname-vsan1-zone-z1] Related commands display zone zone rename Use zone rename to rename a zone.
zone-alias clone Use zone-alias clone to copy a zone alias. Syntax zone-alias clone src-name dest-name Views VSAN view Predefined user roles network-admin Parameters src-name: Name of the source zone alias to be copied, a case-sensitive string of 1 to 64 characters. A source zone alias name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter.
Predefined user roles network-admin Parameters zone-alias-name: Zone alias name, a case-sensitive string of 1 to 64 characters. A zone alias name can contain English letters (uppercase and lowercase), numbers, and special characters dollar sign ($), minus sign (-), caret (^), and underscore (_), and it must start with an English letter. Examples # Create zone alias za1 and enter its view.
zoneset activate Use zoneset activate to activate a specified zone set as the active zone set and distribute it to the entire fabric. Use undo zoneset activate to delete an active zone set and distribute the deletion to the entire fabric. Syntax zoneset activate name zoneset-name undo zoneset activate Views VSAN view Predefined user roles network-admin Parameters name zoneset-name: Specifies the zone set to be activated by its name, a case-sensitive string of 1 to 64 characters.
Related commands • display zoneset active • zoneset distribute full zoneset clone Use zoneset clone to create a zone set by copying an existing zone set. Syntax zoneset clone src-name dest-name Views VSAN view Predefined user roles network-admin Parameters src-name: Name of the source zone set to be copied, a case-sensitive string of 1 to 64 characters.
Predefined user roles network-admin Usage guidelines After activating a zone set as the active zone set by using the zoneset activate command, you can modify the database configuration. With the zoneset distribute command, you can distribute the active zone set and the modified database to the entire fabric without changing the active zone set. Examples # Trigger a complete distribution.
zoneset name Use zoneset name to create a zone set and enter its view. If the zone set has been created, enter its view directly. Use undo zoneset name to delete a specified zone set. Syntax zoneset name zoneset-name undo zoneset name zoneset-name Views VSAN view Predefined user roles network-admin Parameters zoneset-name: Zone set name, a case-sensitive string of 1 to 64 characters.
Examples # Create zone set zs1. system-view [Sysname] vsan 1 [Sysname-vsan1] zoneset name zs1 [Sysname-vsan1-zoneset-zs1] quit # Rename zone set zs1 as zs2.
NPV commands display npv login Use display npv login to display the nodes on downlink interfaces and their mapped uplink interfaces. Syntax display npv login [ vsan vsan-id ] [ interface interface-type interface-number ] [ count ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the nodes of all VSANs on an NPV switch.
Syntax display npv status [ vsan vsan-id ] Views Any view Predefined user roles network-admin network-operator Parameters vsan vsan-id: Specifies a VSAN by its number in the range of 1 to 3839. If no VSAN is specified, this command displays the status of the switch in all VSANs. Usage guidelines You can use this command to display the status of each interface in VSANs, including VSAN tagging mode, interface state, and FC address. This command is available only when the switch is operating in NPV mode.
Table 28 Command output Field Description External Interfaces List of uplink interfaces. Server Interfaces List of downlink interfaces. Interface Interface name. State State of the interface: Up or Down. After an uplink interface goes up, the FC ID allocated by the core switch is displayed. A downlink interface does not have an FC ID. FCID In a VSAN, an NPV switch can be connected to multiple fabrics.
npv load-balance disruptive Use npv load-balance disruptive to initiate a disruptive load-balancing process on an NPV switch. Syntax npv load-balance disruptive Views VSAN view Predefined user roles network-admin Usage guidelines If the interfaces in a VSAN are not distributed evenly, you can use this command to initiate a disruptive load-balancing process so that all nodes in the VSAN relog in to the core switch.
external-interface interface-type interface-number: Specifies an uplink interface by its type and number, which can be a VFC interface. Usage guidelines When uplink-to-downlink interface mappings are configured for a downlink interface, the downlink interface can select an uplink interface to map from only the uplink interfaces mapped to the downlink interface.
FC ping commands fcping Use fcping to verify whether the destination address is reachable and to display the related statistics. Syntax fcping [ -c count | -t timeout ] * fcid fcid vsan vsan-id Views Any view Predefined user roles network-admin Parameters -c count: Specifies the number of echo requests to be sent, in the range of 0 to 2147483647 and defaulting to 5. The value of 0 indicates that echo requests are continuously sent until you manually stop sending them.
fcping fcid fffc01 vsan 1 FCPING fcid 0xfffc01: 128 data bytes, press CTRL_C to break. fcping: sendto: No route to host fcping: sendto: No route to host fcping: sendto: ^C --- 0xfffc01 fcping statistics --3 packet(s) transmitted 0 packet(s) received 100.00% packet loss Table 29 Command output Field Description FCPING fcid 0xfffc02 Check whether the device with destination address FFFC02 is reachable. 128 data bytes Number of data bytes in each echo request.
FC tracert commands fctracert Use fctracert to detect bidirectional routing information between source and destination. The destination can be a node or FC switch. Syntax fctracert [ -t timeout ] fcid fcid vsan vsan-id Views Any view Predefined user roles network-admin Parameters -t timeout: Specifies the timeout value in seconds for the entire FC tracert process. The value range is 1 to 10 and defaults to 5. fcid fcid: Specifies the destination address.
Field Description 0xfffcd5 Domain controller address FFFCxx of the switch, where xx is the domain ID of the switch. The FC tracert operation fails to be completed for the following possible reasons: Fctracert uncompleted. Service is unavailable. • • • • • • Resource is not enough. Max hops reached. Fabric is being built. No route to destination port. Destination port is not in fabric. Destination port and source port are not in the same zone.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABDFIMNPRSTVWZ domain restart,25 A domain-id,26 allowed-domain-id,14 F B fabric-name,26 bind interface,1 fc domain rcf-reject,27 D fc mode,6 default,2 fc route-static,49 delete zone database all,59 fc timer distributed-services,28 description,2 fc timer error-detect,29 display fc domain,15 fc timer resource-allocation,29 display fc domain-list,16 fcoe enable,7 display fc ess,17 fcoe fcf-priority,8 display fc exchange,38 fcoe fcmap,8 display fc fib,40 fcoe fka-adv-period,9 di
N vsan,36 npv load-balance disruptive,83 W npv traffic-map,83 Websites,89 P wwn area-port-id,33 port trunk vsan,35 Z priority,30 zone clone,70 R zone default-zone permit,71 reset counters interface,12 zone name,71 zone rename,72 reset fspf counters,58 zone-alias clone,73 S zone-alias name,73 shutdown,12 zone-alias rename,74 Subscription service,89 zoneset activate,75 T zoneset clone,76 timer distributed-services,31 zoneset distribute,76 zoneset distribute full,77 timer error-dete