Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

306 Fabric OS Command Reference Manual
53-1000436-01
ipAddrSet
2
0 Sets the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP
address, and Fibre Channel subnetmask of logical switch 0.
1 Sets the Ethernet IP address, Ethernet subnetmask, Fibre Channel IP
address, and Fibre Channel Subnetmask of logical switch 1.
-IPv6 Sets or deletes IPv6 addresses.
--add Specifies an address to set with a prefix, if needed.
--delete Deletes the address.
-eth0 -eth1 -gate Selects the address on the blade to alter.
-slot n Selects the slot to apply the command to on a chassis-based system.
Examples To configure an IPv6 address on a switch or CP:
switch:admin> ipaddrset -ipv6 -cp 0--add 1080::8:800:200C:417A/64
IP address is being changed...Done.
To set the IP address details for switch number 1 on a chassis-based system:
switch:admin> ipaddrset -sw 1
Ethernet IP Address [192.168.166.148]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [none]:
Fibre Channel Subnetmask [none]:
Committing configuration...Done.
OK.
To enable DHCP on a non-chassis-based system:
switch:admin> ipaddrset
Ethernet IP Address [192.168.74.102]:
Ethernet Subnetmask [255.255.255.0]:
Fibre Channel IP Address [220.220.220.2]:
Fibre Channel Subnetmask [255.255.0.0]:
Gateway IP Address [192.168.74.1]:
DHCP [Off]: on
See Also ipAddrShow