advertisement
M6100, M5300, and M7100 Series
Switches
Software Setup Manual
Software Version 11.0.0
March 2015
208-10798-01
350 East Plumeria Drive
San Jose, CA 95134
USA
M6100, M5300, and M7100 Series Switches
Support
Thank you for selecting NETGEAR products.
After installing your device, locate the serial number on the label of your product and use it to register your product at
https://my.netgear.com
. You must register your product before you can use NETGEAR telephone support. NETGEAR recommends registering your product through the NETGEAR website.
For product updates and web support, visit
http://support.netgear.com
.
Phone (US & Canada only): 1-888-NETGEAR.
Phone (Other Countries): Check the list of phone numbers at
http://support.netgear.com/general/contact/default.aspx
.
Contact your Internet service provider for technical support.
Compliance
For regulatory compliance information, visit
http://www.netgear.com/about/regulatory
.
See the regulatory compliance document before connecting the power supply.
Trademarks
© NETGEAR, Inc., NETGEAR and the NETGEAR logo are trademarks of NETGEAR, Inc. Any non-NETGEAR trademarks are used for reference purposes only.
Revision History
Publication Part Number Publish Date
208-10798-01 March 2015
Comments
Original publication
2
Contents
Chapter 1 Get Started
Overview of the Access and Initial Configuration Options . . . . . . . . . . . . . . . . . . 6
Prepare a Terminal and Access the Switch Through the
Access the Switch Through the Console Port . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Start the Switch and Observe the Power-On Self-Test . . . . . . . . . . . . . . . . . . . . 8
Perform Initial Configuration of the Switch Through a DHCP Server. . . . . . . 9
Perform Initial Configuration of the Switch Through the Console Port . . . . . 9
Use the Web Management Interface for Initial Configuration . . . . . . . . . . . . . . 14
Overview of the Web Management Interface . . . . . . . . . . . . . . . . . . . . . . . . . 14
Use the Web Management Interface to Configure the Management
Access the Web Management Interface When the Switch Is
Configure an SNMPv3 User Profile Using the Web Management Interface 18
Chapter 2 Use the Auto Install Configuration
TFTP IP Address and Configuration File Name Concepts. . . . . . . . . . . . . . . . . . . 21
About Conflicting TFTP Server Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . 22
About Obtaining an Image from a TFTP Server Through Auto Install . . . . . . . . 24
Configure Auto Install Through the Web Management Interface . . . . . . . . . 26
Monitor and Complete the Auto Install Process . . . . . . . . . . . . . . . . . . . . . . . . 26
Chapter 3 Manage Switch Registration and Licenses
3
M6100, M5300, and M7100 Series Switches
Use the Web Management Interface to Load a License . . . . . . . . . . . . . . . . . 31
4
1.
Get Started
1
This manual describes software configuration tasks that are most commonly used when you install a new M6100, M5300, or M7100 series switch. To configure the switch software, connect a terminal to the switch.
This chapter includes the following sections:
•
•
Overview of the Access and Initial Configuration Options
•
Prepare a Terminal and Access the Switch Through the Console Port
•
Start the Switch and Observe the Power-On Self-Test
•
Use the Management VLAN Interface, Service Port, or Console Port for Initial
•
Use the Web Management Interface for Initial Configuration
Note:
For more information about the topics covered in this manual, visit the support website at
support.netgear.com
.
Note:
Firmware updates with new features and bug fixes are made available from time to time at
downloadcenter.netgear.com
. Some products can regularly check the site and download new firmware, or you can check for and download new firmware manually. If the features or behavior of your product does not match what is described in this guide, you might need to update your firmware.
5
M6100, M5300, and M7100 Series Switches
Available Publications
A number of other publications are available for your switch at
downloadcenter.netgear.com
, including the following publications:
•
M6100, M5300, M7100 Chassis Hardware Installation Guide
•
M6100, M5300, M7100 Switch Module Installation Guide
•
M6100, M5300, M7100 Command Line Interface Manual
Refer to the
M6100, M5300, M7100 Command Line Interface Manual
for information about the command structure. This provides information about the CLI commands used to configure the switch. It provides CLI descriptions, syntax, and default values.
•
M6100, M5300, M7100 Software Administration Manual
•
M6100, M5300, M7100 Web User Guide
Overview of the Access and Initial Configuration Options
To configure the switch, you can access it through the console port, management VLAN interface, service port, or web management interface. For information about these options, see the following sections and information:
•
Use the Management VLAN Interface, Service Port, or Console Port for Initial
If a DHCP server exists on your network, you can perform the initial configuration through the management VLAN interface or service port. If no DHCP server exists on your network, you can perform the initial configuration through the CLI through the console port.
•
Use the Web Management Interface for Initial Configuration
Access the web management interface through an Ethernet connection to perform the initial configuration.
Tip:
Use the web management interface for configuration instead of the CLI.
Web configuration is quicker and easier than entering the multiple required CLI commands.
Prepare a Terminal and Access the Switch Through the
Console Port
To access the console port on the switch, you need a VT100-compatible terminal or a computer that provides either a serial port or a USB port and that runs VT100 terminal emulation software.
Get Started
6
M6100, M5300, and M7100 Series Switches
You can access the console port of the switch either through a mini-USB port or through the serial port:
• Mini-USB port
. The switch comes with a mini-USB to USB cable, which you can use to connect the mini-USB console port on the switch to a USB port on a VT100-compatible terminal or a Windows computer that runs VT100 terminal emulation software.
Note:
To use the mini-USB port, you must install the USB driver on the computer. (The Windows USB driver is on the resource CD.)
• Serial port
. The serial port is configured for 115200 baud, eight data bits, one stop bit, and no parity. It is either a DB9 male connector or RJ-45 connector (it depends on the platform). You must connect an RS-232 crossover cable (which might not come in the switch package) from the serial port to the DB9 port on a VT100-compatible terminal or computer that runs VT100 terminal emulation software.
Prepare a Terminal
To configure the terminal emulation software:
1.
Select one of the serial ports to connect to the console.
2.
Set the data rate to 115200 baud.
The speed is set to 115200 baud at the factory. The setting is also printed on the front panel under the console port.
3.
Set the data format to eight data bits, one stop bit, and no parity.
4.
Set the flow control to none.
5.
Under Properties, select the correct mode.
6.
Select terminal keys.
Access the Switch Through the Console Port
You can use a locally or remotely attached terminal to access the switch through the console port.
To access the switch through the console port:
1.
Set up a VT100-compatible terminal on the computer and open the appropriate COM port.
When the terminal interface initializes, the login user prompt displays.
2.
Enter your user name and password.
The default for the user name is
admin
and the password is blank (that is, do not enter a password).
You can now access the switch with its default configuration.
Get Started
7
M6100, M5300, and M7100 Series Switches
For information about how to perform the initial configuration of the switch through the
Perform Initial Configuration of the Switch Through the Console Port
For detailed information about how to use the CLI to configure the switch with all its options, see the
M4100, M5300, and M6100 Command Line Interface Manual
that is available at
downloadcenter.netgear.com
.
Start the Switch and Observe the Power-On Self-Test
When you supply power to the switch, the switch goes through a power-on self-test (POST).
The POST runs every time that the switch initializes and checks the switch hardware before booting the switch. If the POST detects a critical problem, the startup procedure stops. The boot process runs for approximately 60 seconds.
If POST passes successfully, a valid executable image loads into RAM. If you connect a local terminal to the switch, POST messages display on the terminal and indicate test success or failure.
To start the switch:
1.
Locate an AC power receptacle.
2.
Connect the switch to the AC receptacle.
The switch does not provide an on/off button.
Use the Management VLAN Interface, Service Port, or
Console Port for Initial Configuration
The management VLAN interface and service port let you access the switch from a remote workstation over an Ethernet network. You must configure the IP address, subnet mask, and default gateway on the switch.
The management VLAN interface, which you can access through any regular port in the management VLAN, is an in-band connection.
Note:
Only switch model M6100 supports a service port. This service port is on the M6100 front panel and is labelled OOB to indicate an out-of-band (OOB) connection.
Perform the initial configuration of the switch by using one of the following methods:
• DHCP server
. Use a DHCP server through the management VLAN interface or service port (see
Perform Initial Configuration of the Switch Through a DHCP Server
• CLI
. Use the CLI over the console port (see
Perform Initial Configuration of the Switch
Get Started
8
M6100, M5300, and M7100 Series Switches
• ezconfig
. Use the ezconfig application through the management VLAN interface, service
Use ezconfig for Initial Configuration
Perform Initial Configuration of the Switch Through a DHCP
Server
You can assign IP information initially through a DHCP server through the management
VLAN interface or through the service port. The network must provide a DHCP server. By default, DHCP mode is enabled on the switch.
Configure the DHCP server with IP address and MAC information for the switch. Obtain this information through the serial port connection using the
show in interface vlan 1
or
show serviceport
command. Set up the server with the following values:
• IP address
. The unique IP address for the switch. Each IP parameter is made up of four decimal numbers, ranging from 0 to 255. If no DHCP server is available to assign an IP address to the switch through DHCP, the default IP address for the service port is
169.254.101.100 and the default IP address for the management VLAN interface is
169.254.100.100.
• Subnet mask
. The subnet mask for the LAN, for example, 255.255.255.0.
• Gateway IP address
. The IP address of the default router, if the switch is a node outside the IP range of the LAN.
• MAC address
. The MAC address of the switch.
When you connect the switch to the network for the first time after configuring the DHCP server, the switch is configured with the IP address, subnet, and other information you supplied. The switch is ready for access through the management VLAN interface or service port.
If your network does not use a DHCP server, access the switch through the console port to
configure the network information (see
Perform Initial Configuration of the Switch Through the Console Port
on page 9) or use ezconfig (see
Use ezconfig for Initial Configuration
Perform Initial Configuration of the Switch Through the
Console Port
If your network does not use a DHCP server (see
Perform Initial Configuration of the Switch
the console port.
on page 9), you can configure the IP address of the switch through
To configure the IP address of the switch through the console port:
1.
Set up a VT100-compatible terminal on the computer and open the appropriate COM port.
When the terminal interface initializes, the user login prompt displays.
2.
Enter your user name and password.
Get Started
9
M6100, M5300, and M7100 Series Switches
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
3.
Disable the default DHCP client mode to assign an IP address manually. Enter one of the following commands:
•
For the management VLAN interface:
(Management Switch)
#config
(Management Switch)
(Config)#interface VLAN 1
(Management Switch)
(Interface vlan 1)#no ip address dhcp
•
For the service port:
serviceport protocol none
4.
Set the IP address, subnet mask, and gateway address by entering one of the following commands:
•
For the management interface:
a.
Set the IP address:.
(Management Switch)
#
(Management Switch)
#config
(Management Switch)
(Config)#interface VLAN 1
(Management Switch)
(Interface vlan 1)#ip address
ipaddress subnetmask
Note:
By default, VLAN 1 is the management VLAN.
b.
Set the gateway:
(Management Switch)
(Config)#ip default-gateway <gateway-addr>
•
For the service port:
serviceport parms
ipaddress subnetmask
[
gateway
]
Use the following information to configure the parameters:
•
ip address
. The unique IP address for the switch. Each IP parameter is made up of four decimal numbers, ranging from 0 to 255.
•
subnetmask
. The subnet mask for the LAN.
•
gateway
. The gateway address for the subnet. No default subnet exists.
5.
To enable these changes to be retained during a reset of the switch, type
save
at the main menu prompt, and type
y
to confirm the changes.
6.
To view the changes and verify the IP address information, enter the
show ip interface vlan <management vlan ID>
or
show serviceport
command.
The switch is now ready for Telnet and SSH access as well as for web-based management.
Get Started
10
M6100, M5300, and M7100 Series Switches
Use ezconfig for Initial Configuration
You can perform the initial configuration by using the Easy Setup Wizard (ezconfig) through the management VLAN interface, service port, or console port.
ezconfig Overview
ezconfig is an interactive utility that provides a simplified procedure for setting up the following basic switch settings:
•
Switch management IP address
•
Switch admin user password
•
Switch name and location
Start ezconfig and Configure the Switch
You can enter ezconfig either in Global Config mode (#) or in Display mode (>).
At any point in the setup, you can type
Q
to abort the program. ezconfig checks for any changes and prompts you to save the changes.
To start ezconfig and configure the switch:
1.
Enter the
ezconfig
command.
The utility displays the following text:
(Switch) >ezconfig
NETGEAR EZ Configuration Utility
--------------------------------
Hello and Welcome!
This utility will walk you through assigning the IP address for the switch management CPU. It will allow you to save the changes at the end. After the session, simply use the newly assigned IP address to access the Web GUI using any public domain Web browser.
Admin password not defined. Do you want to assign the admin password (password length should vary in a range of 8 - 64 characters)? (Y/N/Q)
You are prompted to change the admin password.
2.
For security reasons, change the default password by typing
Y
, typing a new password, and confirming the password.
If you already set the password and do not want to change it again, type
N
.
Enter new password:********
Confirm new password:********
Password Changed!
Get Started
11
M6100, M5300, and M7100 Series Switches
The 'enable' password required for switch configuration through the command line interface is currently not configured. Do you wish to change it (Y/N/Q)? y
Enter new password:********
Confirm new password:********
Password Changed!
3.
To change the management VLAN ID, type
Y
, and type a new VLAN ID.
Current Management VLAN ID: 1
Do you want to set new Management VLAN ID (Y/N/Q)?
You are prompted to set up the IP address of the switch.
4.
Set up the IP address of the switch, either manually (type
C
) or through DHCP (type
D
):
Assigning an IPv4 address to your switch management
Current IPv4 Address Configuration
----------------------------------
Management VLAN ID: 1
IPv4 Address Assignment Mode: Manual
IPv4 Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Router IPv4: 0.0.0.0
Routing Mode: Enable
IPv4 address has been assigned manually. What do you want to do?
C - Change IPv4 address.
D - Assign IPv4 address for the switch using DHCP Mode(current
IPv4 address will be lost).
N - Skip this option and go to the next question.
Q - Quit.
? - Help.
(C/D/N/Q/?)?
If the switch was already assigned an IP address and you do not want to change the IP address again, type
N
.
ezconfig displays the current IP address and subnet mask. By default, the network DHCP server assigns IP addresses automatically according to DHCP. However, you can
Get Started
12
M6100, M5300, and M7100 Series Switches
overwrite the DHCP client mode by assigning a fixed IP address here. Once a fixed IP address is assigned, ezconfig automatically disables DHCP client mode and assigns the static IP address to the management VLAN.
5.
To set up IPv6 address for management VLAN, type
C
to assign a new global IPv6 address, or type
D
to get an IP6 address from an IPv6 DHCP server, or type
A
to generate the IPv6 address automatically.
Management VLAN ID: 1
IPv6 Address: fe80::6eb0:ceff:fef9:f6e3/64
IPv6 Current state: TENT
EUI64: Disabled
Routing Mode: Enable
IPv6 address has been assigned manually. What do you want to do?
C - Add IPv6 address.
D - Assign IPv6 address for the switch using DHCP Mode.
A - Assign IPv6 address for the switch using Auto Mode.
N - Skip this option and go to the next question.
Q - Quit.
? - Help.
(C/D/A/N/Q/?)
6.
To set up an IPv4 address for service port, type
Y
to assign the IPv4 address manually.
Current Out of Band(service port) IPv4 Address Configuration
--------------------------------
IP Address Assignment Mode: DHCP
IP Address: 172.26.2.135
Subnet Mask: 255.255.255.0
Default Router: 172.26.2.1
Do you want to assign IPv4 address manually? (Y/N/Q)?
The IPv4 address will be assigned automatically by the DHCP server in your network.
You can disable DHCP mode and use static (fixed) IPv4 address. If fixed IPv4 address mode is selected, DHCP mode is disabled, and you are prompted to set the values for these fields.
7.
To set up an IPv6 address for the service port, type
A
to generate an IPv6 address automatically, or type
D
to get an IPv6 address from the DHCP server, or type
C
to add an
IPv6 address to the service port.
Get Started
13
M6100, M5300, and M7100 Series Switches
Service port IPv6 Address Mode: None
IPv6 Administrative Mode: Enabled
Service port IPv6 Address Mode autoconfigure: Disabled
IPv6 Address: fe80::6eb0:ceff:fef9:f6e1/64
Network IPv6 address gateway:
IPv6 Default Router: fe80::222:3fff:fe9e:9605
EUI Flag: True
The IPv6 address has been assigned manually. What do you want to do?
A - Assign IPv6 address for the switch using Auto Mode.
D - Assign IPv6 address for the switch using DHCP Mode.
G - Assign IPv6 Getway.
C - Add IPv6 address.
N - Skip this option and go to the next question.
Q - Quit.
? - Help.
8.
To change the management interface, type
O
to select service port as the source IP address of the management protocol such as syslog, snmp client, and so on. Or type
V
to select the
IP address of the management LAN as the source IP address of the management protocol.
Current Management Interface Configuration
--------------------------------
Management Interface: L3 Management VLAN
Current management interface is L3 Management VLAN. What do you want to do?
O - Change to Out of Band port (service port).
V - Change to L3 Management VLAN.
N - Skip this option and go to the next question.
Q - Quit.
? - Help.
(O/V/N/Q/?)
9.
To enable the routing interface, type
Y
.
Do you want routing to be enabled (Y/N)?
10.
Assign a switch name and location information.
Get Started
14
M6100, M5300, and M7100 Series Switches
Enter alphanumeric characters only. Characters such as # and $ are not supported. The number of characters cannot exceed 31 characters.
Assigning System Name, System Location and System Contact to your switch management
Current Configuration
--------------------------------
System Name:
System Location:
System Contact:
Do you want to assign switch name and location information?
(Y/N/Q)
Assigning SNTP server for time stamp to your switch management
Current Configuration
--------------------------------
SNTP system clock server: unicast
SNTP server:
Do you want to enable SNTP system clock server? (Y/Q)
11.
Save the configuration by typing
Y
.
There are changes detected, do you wish to save the changes permanently (Y/N)?
y
The configuration changes have been saved successfully.
Please enter 'show running-config' to see the final configuration.
Thanks for using EzConfig!
Your changes are saved in flash memory (permanent storage).
Use the Web Management Interface for Initial
Configuration
This section provides general information about the web management interface and the steps to perform the initial configuration.
For detailed information about how to use the web management interface to configure the switch with all its options, see the
M6100 Web User Guide
, which is available at
downloadcenter.netgear.com
.
Get Started
15
M6100, M5300, and M7100 Series Switches
Overview of the Web Management Interface
To access the switch through the web management interface, use the latest version of a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet Explorer.
The web management interface and terminal interface differ in various ways. For example, on the web management interface, you can display the entire forwarding database; the terminal interface displays only 10 entries starting at specified addresses.
The switch accommodates two types of users: administrative users and guests. An administrative user can configure the switch for network application, but a guest cannot. The guest can only view the settings and status of the network. By default, both users can log in without a password. NETGEAR strongly recommends that you create a unique password for the administrative user before placing the switch into production.
The web management interface lets you configure and use the following types of features:
• System
. Configuration and status information for system features and services such as the timer, DNS server, IP address, and system resource usage
• Switching
. Features that relate to Layer 2 services such as VLANs, link aggregation,
Spanning Tree Protocol, port configuration, and the MAC address table
• Routing
. Layer 3 services such as VLAN routing, port routing, and protocols such as RIP,
OSPF, VRRP, and other protocols
• QoS
. Quality of Service features such as DiffServ and CoS queue assignment
• Security
. Security services such as 802.1x port authentication, traffic control with various forwarding controls, and ACLs
• Monitoring
. Ethernet port statistics, various system logs, and port mirroring
• Maintenance
. Services to perform a firmware upgrade, to save the configuration, and to perform a backup of the configuration
Use the Web Management Interface to Configure the
Management VLAN Interface and Service Port
You can configure the management VLAN interface through the web management interface.
However, if you already configured the switch for in-band connectivity (see
Management VLAN Interface, Service Port, or Console Port for Initial Configuration
on page 8), the switch is already connected to the network, access to the web management
interface is enabled, and you do not need to perform the following task.
To configure the management VLAN interface and service port through the web management interface:
1.
Prepare your computer with a static IP address in the 169.254.100.0 subnet, for example, 169.254.100.201.
2.
Connect an Ethernet cable from an Ethernet port on your computer to an Ethernet port on the switch.
Get Started
16
M6100, M5300, and M7100 Series Switches
3.
Launch a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet
Explorer.
4.
Enter the IP address of the switch in the web browser address field.
Enter
169.254.100.100
, which is the default IP address of the management VLAN interface. For the service port, the default IP address is 169.254.101.100.
The Login screen displays.
5.
Enter the user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
6.
Click the
Login
button.
The web management interface menu displays.
7.
Select
System > Management > IPv4 Management VLAN Configuration
.
8.
Select the Configuration Method
Manual
radio button.
9.
In the
IP Address
field, enter the network IP address for the switch.
For example, enter 10.100.4.100.
10.
In the
Subnet Mask
field, enter the network subnet mask for the switch.
For example, enter 255.255.255.0.
11.
Click the
Apply
button.
Your settings are saved.
Get Started
17
M6100, M5300, and M7100 Series Switches
12.
Select
System > Management > IPv4 Service Port
.
13.
Select the Service Port Configuration Protocol
None
radio button.
14.
In the
IP Address
field, enter the service port IP address.
For example, enter 172.26.1.110.
15.
In the
Subnet Mask
field, enter the service port subnet mask.
For example, enter 255.255.255.0.
16.
In the
Default Gateway
field, enter the service port default gateway.
For example, enter 172.26.1.1.
17.
Click the
Apply
button.
Your settings are saved.
18.
Log out of the web management interface.
19.
Return your computer to its original settings.
If you want log in to the web management interface again, you now must use the newly assigned network IP address.
Access the Web Management Interface When the Switch Is
Already Connected to the Network
This procedure describes how to access the web management interface when you already configured the management VLAN IP address of the switch.
To access the web management interface:
1.
Connect an Ethernet cable from an Ethernet port on your computer to an Ethernet port on the switch.
2.
Launch a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet
Explorer.
3.
Enter the management VLAN or service port IP address of the switch in the web browser address field.
Get Started
18
M6100, M5300, and M7100 Series Switches
The Login screen displays.
4.
Enter the user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
5.
Click the
Login
button.
The web management interface menu displays.
You are ready to configure the switch through the web management interface. For detailed information about how to use the web management interface to configure the switch with all its options, see the
M6100 Web User Guide
, which is available at
downloadcenter.netgear.com
.
Configure an SNMPv3 User Profile Using the Web Management
Interface
Configuring an SNMPv3 user profile is a part of user configuration. Any user can connect to the switch using the SNMPv3 protocol, but for authentication and encryption, additional steps are needed.
This procedure describes how to access the web management interface and configure an
SNMPv3 user profile when you already configured the network IP address of the switch.
To configure an SNMP V3 new user profile:
1.
Connect an Ethernet cable from an Ethernet port on your computer to an Ethernet port on the switch.
2.
Launch a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet
Explorer.
3.
Enter the management VLAN or service port IP address of the switch in the web browser address field.
The Login screen displays.
4.
Enter the user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
5.
Click the
Login
button.
The web management interface menu displays.
6.
Select
System > Configuration > User Accounts
.
The User Accounts screen displays.
7.
From the
User
menu, select
Create
.
A new user is created.
8.
In the
User Name
field, enter a new user name.
Get Started
19
M6100, M5300, and M7100 Series Switches
9.
In the
Password
field, enter a new password and then retype it in the
Confirm Password
field.
Note:
If SNMPv3 authentication is used for this user, the password must be eight or more alphanumeric characters.
10.
If you do not need authentication and encryption, go to
11.
To enable authentication, from the
Authentication Protocol
menu, select either
MD5
or
SHA
.
12.
If you do not need encryption, go to
13.
To enable encryption, from the
Encryption Protoco
l menu, select
DES
. In the
Encryption
Key
field, enter an encryption code of eight or more alphanumeric characters.
14.
Click the
Apply
button.
Your settings are saved.
Get Started
20
2.
Use the Auto Install Configuration
Auto Install is a software feature that provides for the configuration of a switch automatically when the switch is initialized and no configuration file is found on the switch.
This chapter includes the following sections:
•
Auto Install Configuration Concepts
•
Switch IP Address Assignment Concepts
•
TFTP IP Address and Configuration File Name Concepts
•
About Conflicting TFTP Server Configurations
•
•
About Obtaining a Configuration File
•
About Obtaining an Image from a TFTP Server Through Auto Install
•
2
20
M6100, M5300, and M7100 Series Switches
Auto Install Configuration Concepts
The downloaded configuration file is not distributed across the chassis. When an administrator saves the configuration, the configuration file is distributed to all blades.
The Auto Install process requires you to enable DHCP. The downloaded configuration file is not automatically saved to the startup-config
file. An administrator must explicitly issue a save request to save the configuration. The Auto Install process depends on the configuration of other devices in the network, including a DHCP server or a TFTP server and, if necessary, a DNS server.
Auto Install occurs in three phases:
1.
Configuration or assignment of an IP address to the switch
2.
Assignment of a TFTP server
3.
Downloading a configuration file for the switch from the TFTP server
Switch IP Address Assignment Concepts
If DHCP is enabled on the switch and an IP address is not yet assigned, the switch requests an IP address assignment. The IP address assignment through DHCP normally functions with the Auto Install feature. That is, the following information that is returned from the server is recognized:
•
The IP address ( yiaddr
) and subnet mask (option 1) to be assigned to the switch.
•
The IP address of a default gateway (option 3), if needed for IP address communication.
Some network configurations require the specification of a default gateway through which some IP address communication can occur. Option 3 of a DHCP response specifies the default gateway.
After an IP address is assigned to the switch, if a host name is not already assigned, then
Auto Install issues a DNS request for the corresponding host name. This host name is also displayed as the CLI prompt the same as if the
hostname
command was used.
TFTP IP Address and Configuration File Name Concepts
A DHCP server might return the following TFTP configuration file and IP address information:
•
The name of the configuration file (bootfile or option 67) to be downloaded from the TFTP server.
•
The identification of the TFTP server from which to obtain the bootfile. See the following fields:
-
The host name of the TFTP server (option 66 or sname). Either the TFTP address or name is specified, not both, in most network configurations. If a TFTP host name is given, a DNS server is required to translate the name to an IP address.
-
The IP address of the TFTP server (option 150).
Use the Auto Install Configuration
21
M6100, M5300, and M7100 Series Switches
-
The address of the TFTP server (siaddr) to be used for Auto Install requests.
You can also enter this information manually.
No DHCP configuration is saved in the startup-config
file.
About Conflicting TFTP Server Configurations
The TFTP server IP address can be deduced from the multiple sources. It is selected from one of the following fields, listed from the highest priority to the lowest:
•
The
sname
field of a DHCP reply
•
The TFTP server name (option 66) of a DHCP reply
•
The TFTP server address (option 150) field of a DHCP reply
•
The
siaddr
field of a DHCP reply
About DNS Server Requirements
A DNS server is required to resolve the IP address of the TFTP server only if the sname or option 66 value is used.
About Obtaining a Configuration File
After obtaining IP addresses for both the switch and the TFTP server, the Auto Install process attempts to download a configuration file. A host-specific configuration file is downloaded, if possible. Otherwise, a network configuration file is used as a bridge to get the final
configuration. For more information, see
Host-Specific Configuration File
and
Default Network Configuration File
Host-Specific Configuration File
If the DHCP server specifies a bootfile name, the switch attempts to download a host-specific configuration file. The switch makes three unicast TFTP requests for the specified bootfile. If the unicast attempts fail, or if a TFTP server address was not provided, Auto Install process stops. No broadcast attempts are made.
Note:
The bootfile is required for a file type of
*.cfg
. The bootfile cannot be named fastpath.cfg
, startup-config
, or hpc_broad.cfg
.
These names are reserved.
Use the Auto Install Configuration
22
M6100, M5300, and M7100 Series Switches
Default Network Configuration File
If the switch cannot find the specified bootfile or the bootfile name from the DHCP server, the switch attempts to download the default network configuration file ( fp-net.cfg
). The switch issues TFTP requests for a network configuration file in the same manner that it attempts to download a host-specific configuration file.
The default network configuration file must contain IP address to host name mappings using the command
ip host
hostname address
. If the default network configuration file does not contain the switch IP address, the switch uses DNS to attempt to resolve its host name.
The following example is a sample fp-net.cfg
file: config
...
ip host switch_to_setup 192.168.1.10
ip host another_switch 192.168.1.11
... <other hostname definitions> exit
When a host name is determined, the switch issues a TFTP request for a file named
hostname
.cfg
, in which
hostname
is the first eight characters of the switch’s host name.
If the switch cannot map its IP address to a host name, Auto Install sends TFTP requests for the default configuration file host.cfg
.
The following table summarizes the configuration files that can be downloaded, and the order in which they are sought.
Table 1. Configuration files and order
Order Sought File Name
1
2
3
bootfile
.cfg
fp-net.cfg
Description
Host-specific configuration file, ending in a
*.cfg
file extension.
bootfile
represents the name of the file.
Default network configuration file.
hostname
.cfg
Host-specific configuration file, associated with host name.
hostname
is the first eight characters of the switch’s host name.
4 host.cfg
Default configuration file.
Final File Sought
Yes
No
Yes
Yes
The following table displays the determining factors for issuing unicast TFTP requests.
Table 2. Unicast TFTP requests
TFTP Server
Address Available
Host-Specific Router
Configuration File Name Available
TFTP Request Method
Yes Yes
Yes No
Issue a unicast request to the TFTP server for the host-specific router configuration file.
Issue a unicast request to the TFTP server for a default network or router configuration file.
Use the Auto Install Configuration
23
M6100, M5300, and M7100 Series Switches
About Obtaining an Image from a TFTP Server Through
Auto Install
You can use Auto Install to let the switch download an image from a TFTP server using
DHCP option switch.
125. The image update can either upgrade or downgrade the firmware on the
For the switch to be able to download an image from a TFTP server, the DHCP server must include an image description file that lists the name of the image that the switch must download from the TFTP server. For example, the autoinstall_dhcp
image description file on the DHCP server lists the m6100v10.2.0.12
image name that the switch must download from the TFTP server.
Option 125 in the DHCP server must contain the following information (the example uses the autoinstall_dhcp
image description file and the m6100v10.2.0.12
image name):
• Enterprise number (4 octets)
. 0x0000 0x11ae
In decimals, the enterprise number for NETGEAR is 4526.
• Data length (1 octet)
. 0x12
The data length includes the SubOption code plus the SubOption length plus the Image description file name: 1+1+16.
SubOption code (2 octets)
. 0x05
SubOption length (1 octet)
. 0x10
The length of the name of the image description file.
Image description file name (N octets)
.
61.7574.6f69.6e73.7461.6c6c.5f64.6863.70
In plain text, the name of the image description file is autoinstall_dhcp
.
The content of the autoinstall_dhcp image description file is m6100v10.2.0.12.stk
, which is the name of the image that the switch must download from the TFTP server.
You can change the name for the image description file, but then you must also change the option 125 data length, which is based on the SubOption code, SubOption length, and image description file name.
Configure Auto Install
The following figure shows an Auto Install configuration with a DHCP server and a TFTP server, allowing a configuration file to be distributed across a chassis.
The following information is configured on the DHCP server:
•
The IP address (yiaddr) and subnet mask (option1)
•
The name of the configuration file (bootfile or option 67)
•
The IP address of the TFTP server (option 150)
Use the Auto Install Configuration
24
M6100, M5300, and M7100 Series Switches
The configuration file is located on the TFTP server (for example, switch.cfg
).
192.168.0.1
192.168.0.2
DHCP server
TFTP server
192.168.0.3
Figure 1. Components in an Auto Install configuration
Configure Auto Install Through the CLI
This section describes how to configure Auto Install through the CLI.
To use the CLI to configure Auto Install:
1.
Download the configuration file from the TFTP server.
2.
Save the configuration file automatically after autoconfig completes.
(Netgear switch) #boot host auto-save
3.
Continue Auto Install:
(Netgear switch) #boot autoinstall start
4.
Request an IP address, configuration file name, and TFTP IP address from the DHCP server:
(Netgear switch) #
Config file 'startup-config' created successfully.
AutoInstalled configuration is saved.
(Netgear switch) #show autoinstall
AutoInstall Mode.............................. Stopped
AutoInstall Persistent Mode................... Enabled
AutoSave Mode................................. Disabled
AutoInstall Retry Count....................... 3
AutoInstall State............................. AutoInstall is completed.
Auto Install is now completed.
Use the Auto Install Configuration
25
M6100, M5300, and M7100 Series Switches
Configure Auto Install Through the Web Management
Interface
This section describes how to configure Auto Install through the web management interface.
To use the web management interface to configure Auto Install:
1.
Prepare your computer with a static IP address in the 169.254.100.0 subnet, for example, 169.254.100.201.
2.
Connect an Ethernet cable from an Ethernet port on your computer to an Ethernet port on the switch.
3.
Launch a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet
Explorer.
4.
Enter the IP address of the switch in the web browser address field.
Enter
169.254.100.100
, which is the default IP address of the switch.
The Login screen displays.
5.
Enter the user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
6.
Click the
Login
button.
The web management interface menu displays.
7.
Select
Maintenance > Save Config >Auto Install Configuration
.
8.
From the
AutoInstall Mode
menu, select
Start
.
9.
From the
AutoSave Mode
menu, select
Enabled
.
10.
Click the
Apply
button.
Your settings are saved and the Auto Install process starts.
Monitor and Complete the Auto Install Process
When the switch boots in the absence of a saved configuration file, a message displays on the console stating that the Auto Install procedure is beginning. A message displays when
Use the Auto Install Configuration
26
M6100, M5300, and M7100 Series Switches
Auto Install is complete. The message also indicates that the configuration must be saved to prevent Auto Install from being performed on the next reboot.
When Auto Install is successfully completed, the messages are in the buffered log, not on the console. You can execute a
show running-config
command to validate the contents of the configuration. You must be logged in as administrator.
About Saving the Configuration
An administrator must explicitly save the downloaded configuration in nonvolatile memory so that the configuration is available on the next reboot. If you are using the CLI, first make sure that the configuration is correct, then enter the
copy running-config startup-config
command.
If the Host-Specific Configuration File Is Not Found
If the Auto Install process fails to download any configuration file, a message is logged. If a final configuration file is not downloaded, the entire process repeats every 10 minutes.
How to Terminate the Auto Install Process
You can terminate the Auto Install process at any time before downloading any configuration files. Terminate the Auto Install process if the switch is disconnected from the network or if no configuration files are configured on the TFTP server. Termination of the Auto Install process ends further periodic requests for a host-specific file.
About Managing the Downloaded Configuration Files
The configuration files downloaded through Auto Install are stored in nonvolatile memory.
The files can be managed (viewed, displayed, deleted) along with files downloaded through the configuration scripting utility.
A configuration file is not automatically deleted after it is downloaded. However, the configuration file does not take effect upon a reboot. If you save the configuration file, the saved configuration takes effect upon reboot. If you do not save the configuration file, the
Auto Install process occurs again on a subsequent reboot. A repeated install might cause previously downloaded files to be overwritten.
About Restarting the Auto Install Process
If the configuration file is not found on the switch, the Auto Install process automatically starts a subsequent reboot. A restart of the install process can occur if the configuration was never saved on the switch or if you issued a command to erase the configuration file.
During a particular session, you can restart the Auto Install process if you previously stopped it during the same login session. This action reinitiates the process for that login session only.
NETGEAR recommends that you restart the install process only when you are certain that the configuration is clear.
If no configuration file is stored on the switch, reinitialization of the switch after you entered the
erase startup-config
command automatically activates the Auto Install process.
Use the Auto Install Configuration
27
M6100, M5300, and M7100 Series Switches
Event Logging for the Auto Install Process
The switch logs a message for each of the following events:
•
The Auto Install component receives a configuration file name and other options upon resolving an IP address through a DHCP client. The boot option values are logged.
•
The Auto Install component initiates a TFTP request for a boot (configuration) file and receives the file, or the request times out. File names and server IP addresses and host names are logged.
•
The Auto Install component initiates a request for a host name. The IP address and resolved host name are logged.
•
The Auto Install component initiates a TFTP request for a
hostname
.cfg
file and receives the file, or the request times out. File names and server IP addresses and host names are logged.
•
The start of a configuration script is being applied.
•
The CLI scripting utility fails to apply a configuration file.
•
The Auto Install process is complete.
•
The name of the specified configuration file conflicts with a reserved configuration file name.
Use the Auto Install Configuration
28
3.
Manage Switch Registration and
Licenses
3
This chapter describes how to activate your license key and register your switch. This chapter includes the following sections:
•
•
Activate a License Key for a Switch
•
Load the License File onto the Switch
Note:
License keys are available only for these switch models: M5300-28G,
M5300-52G, M5300-28G-POE+, and M5300-52G-POE+.
29
M6100, M5300, and M7100 Series Switches
Register Your Switch
Registering your switch gives you access to phone or online support and validates the hardware warranty.
To register your product:
1.
Use a web browser to visit
my.netgear.com
.
2.
If you have a NETGEAR account, type your email address and password and click the
LOGIN
button.
If you do not have an account, your NETGEAR account will be created automtatically when you register your product.
3.
Click the
REGISTER NOW
button.
The NETGEAR Product Registration screen displays.
4.
Complete the fields to register your product.
5.
Click the
FINISH
button.
Your product is registered. If you do not already have a NETGEAR account, your new account is created.
Activate a License Key for a Switch
Note:
License keys are available only for these switch models: M5300-28G,
M5300-52G, M5300-28G-POE+, and M5300-52G-POE+.
To activate a license key for a switch:
1.
Obtain a license key from your VAR or NETGEAR authorized e-commerce portal.
2.
Register your switch.
For more information about how to register your switch, see
3.
With the license key at hand and the serial number of the switch, visit
my.netgear.com
.
Manage Switch Registration and Licenses
30
M6100, M5300, and M7100 Series Switches
4.
Click
Activate license key for registered product
.
You are directed to the Software License Registration website.
Because the license key has not yet been activated for this product, the License Key column for your switch shows an
Activate
link.
5.
Click the
Activate
link.
You are prompted to enter the license key.
6.
Cut and paste the license key that you received into the
License Key
field.
NETGEAR recommends that you cut and paste to avoid potential typing errors.
7.
Click the
Submit
button.
The screen displays a
DOWNLOAD
button.
8.
Click the
DOWNLOAD
button.
The license.dat file is downloaded onto your local drive.
Load the License File onto the Switch
You can use the CLI or the Web Management Interface to load a license file onto the switch.
Use the CLI to Load a License
You can use either the CLI
copy
command to copy the license.dat file to the switch you can download the license file.
To use the CLI to load the license.dat file that you downloaded onto the switch:
1.
Connect the computer with the license.dat file to the switch.
2.
Set up a VT100-compatible terminal on the computer and open the appropriate COM port.
When the terminal interface initializes, the user login prompt displays.
3.
Enter your user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
4.
To copy the license.dat file, use the
copy
command.
5.
To download the license.dat file, use the
parameter nvram:license-key
command.
Assume that tftp server is working on 10.100.5.13.
(Switch) #copy tftp://10.100.5.13/XSM7224S-2ER1080U40004.lic nvram:license-key
Manage Switch Registration and Licenses
31
M6100, M5300, and M7100 Series Switches
Use the Web Management Interface to Load a License
To use the Web Management Interface to load the license.dat file onto the switch:
1.
Prepare your computer with a static IP address in the 169.254.100.0 subnet, for example, 169.254.100.201.
2.
Connect an Ethernet cable from an Ethernet port on your computer to an Ethernet port on the switch.
3.
Launch a web browser such as Google Chrome, Mozilla Firefox, or Microsoft Internet
Explorer.
4.
Enter the IP address of the switch in the web browser address field.
Enter
169.254.100.100
, which is the default IP address of the management VLAN interface. For the service port, the default IP address is 169.254.101.100.
The Login screen displays.
5.
Enter the user name and password.
The default admin user name is
admin
and the default admin password is blank, that is, do not enter a password.
6.
Click the
Login
button.
The web management interface menu displays.
7.
Select
Maintenance > Download > HTTP File Download
.
8.
In the
File Type
menu, select
License Key
.
9.
Click the
Apply
button.
The select file screen opens and displays a list of your license keys.
10.
Select your license data file.
11.
Click the
Open
button.
Manage Switch Registration and Licenses
32
M6100, M5300, and M7100 Series Switches
The license key is downloaded.
Manage Switch Registration and Licenses
33
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 6 Available Publications
- 6 Overview of the Access and Initial Configuration Options
- 6 Prepare a Terminal and Access the Switch Through the Console Port
- 7 Prepare a Terminal
- 7 Access the Switch Through the Console Port
- 8 Start the Switch and Observe the Power-On Self-Test
- 8 Use the Management VLAN Interface, Service Port, or Console Port for Initial Configuration
- 9 Perform Initial Configuration of the Switch Through a DHCP Server
- 9 Perform Initial Configuration of the Switch Through the Console Port
- 11 Use ezconfig for Initial Configuration
- 15 Use the Web Management Interface for Initial Configuration
- 16 Overview of the Web Management Interface
- 16 Use the Web Management Interface to Configure the Management VLAN Interface and Service Port
- 18 Access the Web Management Interface When the Switch Is Already Connected to the Network
- 19 Configure an SNMPv3 User Profile Using the Web Management Interface
- 22 Auto Install Configuration Concepts
- 22 Switch IP Address Assignment Concepts
- 22 TFTP IP Address and Configuration File Name Concepts
- 23 About Conflicting TFTP Server Configurations
- 23 About DNS Server Requirements
- 23 About Obtaining a Configuration File
- 23 Host-Specific Configuration File
- 24 Default Network Configuration File
- 25 About Obtaining an Image from a TFTP Server Through Auto Install
- 25 Configure Auto Install
- 26 Configure Auto Install Through the CLI
- 27 Configure Auto Install Through the Web Management Interface
- 27 Monitor and Complete the Auto Install Process
- 29 Event Logging for the Auto Install Process
- 31 Register Your Switch
- 31 Activate a License Key for a Switch
- 32 Load the License File onto the Switch
- 32 Use the CLI to Load a License
- 33 Use the Web Management Interface to Load a License