HOME | ARTICLES | PROJECTS | MEMORIES | ABOUT | CONTACT |
---|
Fabric Commands
=======================
fabricshow
switch0:FID128:admin> fabricshow
Switch ID Worldwide Name Enet IP Addr FC IP Addr Name
-------------------------------------------------------------------------
1: fffc01 00:00:00:00:b0:00:00:01 172.16.0.1 0.0.0.0 >"switch0"
2: fffc02 00:00:00:00:b0:00:00:02 172.16.0.2 0.0.0.0 "switch1"
The Fabric has 2 switches
Switch commands
=======================
switchshow
switch0:FID128:admin> switchshow
switchName: switch0
switchType: 170.5
switchState: Online
switchMode: Native
switchRole: Subordinate
switchDomain: 1
switchId: fffc01
switchWwn: 00:00:00:00:00:00:00:01
zoning: ON (cfg_san)
switchBeacon: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N16 Online FC F-Port 1 N Port + 2 NPIV public
1 1 010100 id N16 Online FC F-Port 11:11:11:11:11:11:11:11
2 2 010200 id N16 Online FC F-Port 11:11:11:11:11:11:11:12
3 3 010300 id N16 Online FC F-Port 11:11:11:11:11:11:11:13
4 4 010400 id N16 Online FC F-Port 1 N Port + 2 NPIV public
5 5 010500 id N16 Online FC F-Port 1 N Port + 1 NPIV public
6 6 010600 id N16 Online FC F-Port 1 N Port + 1 NPIV public
7 7 010700 id N16 Online FC E-Port 00:00:00:00:00:00:00:02 "switch2" (upstream)
8 8 010800 -- N32 No_Module FC (No Ports on Demand license) Disabled
9 9 010900 -- N32 No_Module FC (No Ports on Demand license) Disabled
10 10 010a00 -- N32 No_Module FC (No Ports on Demand license) Disabled
11 11 010b00 -- N32 No_Module FC (No Ports on Demand license) Disabled
12 12 010c00 -- N32 No_Module FC (No Ports on Demand license) Disabled
13 13 010d00 -- N32 No_Module FC (No Ports on Demand license) Disabled
14 14 010e00 -- N32 No_Module FC (No Ports on Demand license) Disabled
15 15 010f00 -- N32 No_Module FC (No Ports on Demand license) Disabled
16 16 011000 -- N32 No_Module FC (No Ports on Demand license) Disabled
17 17 011100 -- N32 No_Module FC (No Ports on Demand license) Disabled
18 18 011200 -- N32 No_Module FC (No Ports on Demand license) Disabled
19 19 011300 -- N32 No_Module FC (No Ports on Demand license) Disabled
20 20 011400 -- N32 No_Module FC (No Ports on Demand license) Disabled
21 21 011500 -- N32 No_Module FC (No Ports on Demand license) Disabled
22 22 011600 -- N32 No_Module FC (No Ports on Demand license) Disabled
23 23 011700 -- N32 No_Module FC (No Ports on Demand license) Disabled
Port commands
=======================
portshow
switch1:FID128:admin> portshow 5
portIndex: 5
portName: port5
portHealth: Fabric vision license not present. Please install the license and retry the operation.
Authentication: None
portDisableReason: None
portCFlags: 0x1
portFlags: 0x20b03 PRESENT ACTIVE F_PORT G_PORT U_PORT NPIV LOGICAL_ONLINE LOGIN NOELP ACCEPT FLOGI
LocalSwcFlags: 0x0
portType: 27.0
POD Port: Port is licensed
portState: 1 Online
Protocol: FC
portPhys: 6 In_Sync portScn: 32 F_Port
port generation number: 0
state transition count: 1
portId: 010500
portIfId: 43020014
portWwn: 20:00:00:00:00:00:00:05
portWwn of device(s) connected:
11:11:11:11:11:11:11:11
11:11:11:11:11:11:11:12
Distance: normal
portSpeed: N16Gbps
FEC: Inactive
Credit Recovery: Inactive
Aoq: Inactive
FAA: Inactive
F_Trunk: Inactive
NPVC: Inactive
LE domain: 0
Peer beacon: Off
Interrupts: 0 Link_failure: 0 Frjt: 0
Unknown: 1 Loss_of_sync: 0 Fbsy: 0
Lli: 7 Loss_of_sig: 0
Proc_rqrd: 50 Protocol_err: 0
Timed_out: 0 Invalid_word: 0
Tx_unavail: 0 Invalid_crc: 0
Delim_err: 0 Address_err: 0
Lr_in: 1 Ols_in: 0
Lr_out: 0 Ols_out: 1
Cong_Prim_in: 0
Nos_in: 0 Nos_out: 0
Alias commands
=======================
alishow
switch0:FID128:admin> alishow
Defined configuration:
cfg: cfg_san
SANZONE0
zone: SANZONE0
HOST0; HOST1; HOST2
alias: HOST0
10:00:00:00:00:00:00:aa
alias: HOST1
10:00:00:00:00:00:00:ab
alias: HOST2
10:00:00:00:00:00:00:ac
Effective configuration:
cfg: cfg_san
zone: SANZONE0
10:00:00:00:00:00:00:aa
10:00:00:00:00:00:00:ab
10:00:00:00:00:00:00:ac
alicreate
switch01:FID128:admin> alicreate HOST1, 10:00:00:00:00:00:00:aa
Configuration commands
=======================
cfgcreate
cfgcreate
cfgshow
cfgshow
cfgsave
cfgsave
cfgtransshow
cfgtransshow
cfgtransabort
cfgtransabort
cfgadd
cfgadd
cfgsave
cfgsave
cfgenable
cfgenable
Zone commands
=======================
zoneshow
zoneshow
zoneadd
zoneadd