Switch ip address, Date and time settings, Using dhcp to set the ip address – Brocade 6520 Hardware Reference Manual User Manual
Page 24: Setting a static ip address, Time zones
![background image](/manuals/361679/24/background.png)
12
Brocade 6520 Hardware Reference Manual
53-1002705-02
Brocade 6520 configuration
2
Switch IP address
You can configure the Brocade 6520 with a static IP address, or you can use a Dynamic Host
Configuration Protocol (DHCP) server to set the IP address of the switch. DHCP is enabled by
default. The Brocade 6520 supports both IPv4 and IPv6. If you are using IPv6, consult the Fabric
OS Command Reference for details when issuing the ipaddrset command.
Using DHCP to set the IP address
When using DHCP, the Brocade 6520 obtains its IP address, subnet mask, and default gateway
address from the DHCP server. The DHCP client can only connect to a DHCP server that is on the
same subnet as the switch. If your DHCP server is not on the same subnet as the Brocade 6520,
use a static IP address.
Setting a static IP address
Complete the following steps to set a static IP address.
1. Log in to the switch using the default password (the default passsword is password).
2. Use the ipaddrset command to set the Ethernet IP address.
If you are going to use an IPv4 IP address, enter the IP address in dotted decimal notation as
prompted. As you enter a value for a line in the following example, the next line appears.
For instance, the Ethernet IP address appears first. When you enter a new IP address or simply
press Enter to accept the existing value, the Ethernet Subnetmask line appears.
In addition to the Ethernet IP address itself, you can set the Ethernet subnet mask, the
Gateway IP address, and whether to obtain the IP address by way of DHCP or not.
switch:admin> ipaddrset
Ethernet IP Address [192.168.74.102]:
Ethernet Subnetmask [255.255.255.0]:
Gateway IP Address [192.168.74.1]:
DHCP [Off]: off
If you are going to use an IPv6 address, enter the network information in semicolon-separated
notation as a standalone command.
switch:admin> ipaddrset -ipv6 --add 1080::8:800:200C:417A/64
IP address is being changed...Done.
Date and time settings
The Brocade 6520 maintains the current date and time inside a battery-backed real-time clock
(RTC) circuit. Date and time are used for logging events. Switch operation does not depend on the
date and time; a Brocade 6520 with an incorrect date and time value still functions properly.
However, because the date and time are used for logging, error detection, and troubleshooting, you
should set them correctly.
Time zones
You can set the time zone for the switch by name. You can also set country, city, or time zone
parameters.