Kindly I want to know what is the use of the following two commands " nsShow & nsAllshow " ?
and What is the meaning of displays entries in the local Name Server of the switch ????
The nsShow command displays entries in the local Name Server of the switch.•Type: N for N_Port, NL for NL_Port, or U for unknown.•Pid: 24-bit port ID.•COS: Classes of service supported by the device.•PortName: Port WWN of the device.•NodeName: Node WWN of the device.•TTL: Time-to-live (in seconds) for cached entries from other Name Servers or na (not applicable) for local entries.•FC4s: Upper level protocols supported by the device.•Fabric Port Name: Port WWN of port to which the device is attached.The nsAllShow command displays the 24-bit port identifiers of all devices connected to the fabric.
Without going into details; a name server is fabric service that runs on every switch.
So the term local nameserver, just means the command looks at the local nameserver and not remote nameservers running on the other switches.
nsshow display information the nameserver knows about the connected devices
nsallshow shows info for all devices on all switches.
You can use them when troubleshooting or understanding your fabric