Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
Fabric OS Command Reference 291
53-1000599-02
ipAddrShow
2
ipAddrShow
Displays the IP address information for a switch or control processor (CP).
Synopsis ipaddrshow [-cp cp_number]
ipaddrshow [-sw sw_number]
ipaddrshow - slot n
ipaddrshow [-eth0 -eth1 -gate]
Description Use this command to display the IP addresses configured in the system.
The -cp option displays the CP IP address and the -sw option displays the switch IP addresses. For
switches, the command displays the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP
address, and Fibre Channel subnetmask. For CPs, the command displays the Ethernet IP address,
Ethernet subnetmask, host name, and gateway IP address.
For chassis based systems with intelligent blades the addresses configured for each slot can be
shown with the -slot option. Without any further options it shows all the addresses associated with
the slot, but this can be restricted using one of the sub options.
Note The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, "Understanding Admin Domain Restrictions" and Appendix A, "Command Availability"
for details.
Operands This command has the following operands:
-cp cp_number For dual-CP systems, this specifies the CP card number to display (0 or 1).
-slot n For enterprise-class systems specify the slot for a blade.
-eth0 -eth1 -gate For a slot show only the selected ethernet interface or the gateway
If no operands are specified, the command displays all the IP addresses configured in the system.
On standalone platforms, this command ignores all operands.
Examples To display the IP address for logical switch 0:
switch:admin> ipaddrshow -sw 0
Ethernet IP Address: 192.168.166.147
Ethernet Subnetmask: 255.255.255.0
Fibre Channel IP Address: 0.0.0.0
Fibre Channel Subnetmask: 0.0.0.0
See Also ipAddrSet