Manually Configuring the IP Settings
If you are using IP without a BOOTP server, you
must enter the IP parameters for the switch in order for the
SNMP (Simple Network Management Protocol)
Network Manager or Telnet software to communicate with the device.
-
Assign IP parameters to the switch.
-
Log in to the switch with administrator
privileges using the console interface.
-
Assign an IP address and subnet mask to a
VLAN (Virtual LAN).
-
The switch comes configured with a default VLAN named
default. To use Telnet or an SNMP Network Manager, you must have
at least one VLAN on the switch, and that VLAN must be assigned
an IP address and subnet mask. IP addresses are always assigned
to each VLAN. The switch can be assigned multiple IP addresses (one
for each VLAN).
Note
For information on creating and configuring
VLANs, see
VLANs.
-
Manually configure the IP settings.
-
Connect a terminal or workstation running terminal
emulation software to the console port, as detailed in Using the Console Interface.
-
At your terminal, press [Enter]
one or more times until you see the login prompt.
-
At the login prompt, enter your user name and
password. The user name is not case-sensitive; the password is case-sensitive. Ensure
that you have entered a user name and password with administrator privileges.
If you are logging in for the first time, use the default user name admin to
log in with administrator privileges. For example: login:
admin
Administrator capabilities enable you to access all switch functions. The default
user names have no passwords assigned.
If you have been assigned a user name and password with administrator privileges,
enter them at the login prompt.
-
Enter the password when prompted.
When you have successfully logged
in to the switch, the command line prompt displays the name of the
switch.
-
Assign an IP address and subnetwork mask for the default
VLAN by using the following command:
configure {vlan}
vlan_name ipaddress [ipaddress {ipNetmask}
| ipv6-link-local | {eui64}
ipv6_address_mask]
For
example:
configure vlan default ipaddress 123.45.67.8 255.255.255.0
The changes take effect
immediately.
Note
As a general rule, when
configuring any IP addresses for the switch, you can express a subnet mask by using
dotted decimal notation or by using classless inter domain routing notation (CIDR).
CIDR uses a forward slash plus the number of bits in the subnet mask. Using CIDR
notation, the command identical to the previous example is:
configure vlan
default ipaddress 123.45.67.8/24.
-
Configure the default route for the switch using the
following command:
configure iproute add default
gateway {metric} {multicast | multicast-only | unicast |
unicast-only} {vr vrname}
For
example:
configure iproute add default 123.45.67.1
-
Save your configuration changes so that they will be
in effect after the next switch reboot.
If you want to save your changes to the currently
booted configuration, use the following command:
saveExtremeXOS allows you to select or create a configuration file name of your choice to
save the configuration to.
-
If you want to save your changes to an existing
or new configuration file, use the following command:
save configuration {primary | secondary | existing-config | new-config}
-
When you are finished using the facility, log out of the
switch by typing: logout or quit.