pwwn
Use pwwn to allow a pWWN to log in through the specified interfaces.
Use undo pwwn to delete the configuration.
Syntax
pwwn pwwn [ interface interface-list ] [ smartsan-static ]
undo pwwn pwwn [ interface interface-list ] [ smartsan-static ]
Default
A pWWN is not allowed to log in through the specified interfaces.
Views
VSAN view
Predefined user roles
network-admin
Parameters
nwwn: Specifies the pWWN (WWN of an N_Port or NP_Port) in the format of xx:xx:xx:xx:xx:xx:xx:xx, where x is a hexadecimal number.
interface interface-list: Specifies a space-separated list of up to 10 interface items. Each item specifies an interface or a range of interfaces in the form of interface-type interface-number1 to interface-type interface-number2. The value for interface-number2 must be greater than or equal to the value for interface-number1. The two interfaces that define an interface range must be the same type and on the same card. The interface type can only be FC interface (cannot be a member port of an FC aggregate interface), FC aggregate interface, or VFC interface. If you do not specify the interface interface-list option, the specified pWWN can log in through any interface.
smartsan-static: Allows Smart SAN-capable N_Ports or NP_Ports whose Smart SAN Security Support field is not 0x00 to log in through the specified interfaces. The configured entry is a Smart SAN static entry. If you do not specify this keyword, the configured entry is a static entry.
Usage guidelines
Only FCF switches and VSANs operating in FCF mode support this command.
You can configure this command only after you enable port security. You can specify the smartsan-static keyword only after you enable Smart SAN for FC/FCoE.
After you add (or delete) a binding entry to (or from) the port security database, the switch performs authorization checks on devices already logged in. If the device specified in the binding entry or a device on a specified interface passes authorization checks, the device is not logged out. Otherwise, the device is logged out.
Examples
# Allow pWWN 20:36:44:78:66:77:ab:9e to log in through in VSAN 2.
<Sysname> system-view [Sysname] vsan 2 [Sysname-vsan2] pwwn 20:36:44:78:66:77:ab:9e interface fc 1/0/1
# Allow pWWN 20:36:44:78:66:77:ab:9e to log in through VFC 1 in VSAN 2.
<Sysname> system-view [Sysname] vsan 2 [Sysname-vsan2] pwwn 20:36:44:78:66:77:ab:9e interface vfc 1
Related commands
display fc-port-security database