Using the Cisco Nexus 7000 Series NX-OS Setup Utility


This chapter describes how to set up the basic Cisco NX-OS configuration after you have installed the hardware.

This chapter includes the following sections:

Information About the Cisco NX-OS Setup Utility

Prerequisites for the Setup Utility

Setting Up Your Cisco NX-OS Device

Where to Go Next

Additional References

Information About the Cisco NX-OS Setup Utility

The Cisco NX-OS setup utility is an interactive command-line interface (CLI) mode that guides you through a basic (also called a startup) configuration of the system. The setup utility allows you to configure only enough connectivity for system management.

The setup utility allows you to build an initial configuration file using the System Configuration Dialog. The setup starts automatically when a device has no configuration file in NVRAM. The dialog guides you through initial configuration.After the file is created, you can use the CLI to perform additional configuration.

You can press Ctrl-C at any prompt to skip the remaining configuration options and proceed with what you have configured up to that point, except for the administrator password. If you want to skip answers to any questions, press Enter. If a default answer is not available (for example, an IP address), the setup utility uses what was previously configured and skips to the next question. Figure 2-1 shows how to enter and exit the setup script.

Figure 2-1 Setup Script Flow

You use the setup utility mainly for configuring the system initially, when no configuration is present. However, you can also use the setup utility at any time for basic device configuration by entering the setup command at the CLI in any command mode. The setup utility keeps the configured values when you skip steps in the script. For example, if you have already configured the mgmt0 interface, the setup utility does not change that configuration if you skip that step. However, if there is a default value for the step, the setup utility changes to configuration using that default, not the configured value. Be sure to carefully check the configuration changes before you save the configuration.


Note Be sure to configure the IPv4 route, the default network IPv4 address, and the default gateway IPv4 address to enable SNMP access. If you enable IPv4 routing, the device uses the IPv4 route and the default network IPv4 address. If IPv4 routing is disabled, the device uses the default gateway IPv4 address.

The setup script only supports IPv4. For information on configuring IPv6, see the Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.0.


Prerequisites for the Setup Utility

The setup utility has the following prerequisites:

Have a password strategy for your network environment.

Connect the console port on the supervisor module to the network. If you have dual supervisor modules, connect the console ports on both supervisor modules to the network.

Connect the Ethernet management port on the supervisor module to the network. If you have dual supervisor modules, connect the Ethernet management ports on both supervisor modules to the network.

Setting Up Your Cisco NX-OS Device

To configure basic management of the Cisco NX-OS device using the setup utility, follow these steps:


Step 1 Power on the device.

Step 2 Enter the new password for the administrator.


Tip If a password is trivial (such as a short, easy-to-decipher password), your password configuration is rejected. Passwords are case-sensitive. Be sure to configure a strong password that are at least eight characters long, contain both upper- and lower-case letters, and contain numbers.


Enter the password for "admin": <password>
Confirm the password for "admin": <password>

---- Basic System Configuration Dialog VDC: 1 ----

This setup utility will guide you through the basic configuration of the system. Setup 
configures only enough connectivity for management of the system. 

Please register Cisco Nexus7000 Family devices promptly with your supplier. Failure to 
register may affect response times for initial service calls. Nexus7000 devices must be 
registered to receive entitled support services. 

Press Enter at anytime to skip a dialog. Use ctrl-c at anytime to skip the remaining 
dialogs.

Step 3 Enter the setup mode by entering yes.

Would you like to enter the basic configuration dialog (yes/no): yes

Step 4 Create additional accounts by entering yes (no is the default).

Would you like to enter the basic configuration dialog (yes/no): yes


Note User login IDs must contain nonnumeric characters.


a. Enter the user login ID.

Enter the User login Id : user_login

b. Enter the user password.

Enter the password for "user1": user_password
Confirm the password for "user1": user_password

c. Enter the default user role.

Enter the user role (network-operator|network-admin|vdc-operator|vdc-admin) 
[network-operator]: default_user_role

For information on the default user roles, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.0.

Step 5 Configure an SNMP community string by entering yes.

Configure read-only SNMP community string (yes/no) [n]: yes 
SNMP community string : snmp_community_string

For information on the SNMP, see the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 4.0.

Step 6 Enter a name for the device (the default name is switch).

Enter the switch name: switch_name

Step 7 Enable the license grace period by entering yes.


Note Enabling the grace period allows users to test licensed features, except for Cisco TrustSec, which requires an Advanced Services license. The grace period is 120 days and starts when you first configure a licensed feature and stops when all features for a license are disabled. Once the grace period expires you must purchase the license to access the licensed features. For more information about licenses, see the Cisco Nexus 7000 Series NX-OS Licensing Guide, Release 4.0.


Enable license grace period? (yes/no) [n]: yes

Step 8 Configure out-of-band management by entering yes. You can then enter the mgmt0 IPv4 address and subnet mask.


Note You can only configure IPv4 address in the setup utility. For information on configuring IPv6, see the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 4.0.


Continue with Out-of-band (mgmt0) management configuration? [yes/no]: yes
Mgmt0 IPv4 address: mgmt0_ip_address
Mgmt0 IPv4 netmask: mgmt0_subnet_mask

Step 9 Configure the IPv4 default gateway (recommended) by entering yes. You can then enter its IP address.

Configure the default-gateway: (yes/no) [y]: yes 
IPv4 address of the default-gateway: default_gateway

Step 10 Configure advanced IP options such as the static routes, default network, DNS, and domain name by entering yes.

Configure Advanced IP options (yes/no)? [n]: yes

Step 11 Configure a static route (recommended) by entering yes. You can then enter its destination prefix, destination prefix mask, and next hop IP address.

Configure static route: (yes/no) [y]: yes
Destination prefix: dest_prefix 
Destination prefix mask: dest_mask 
Next hop ip address: next_hop_address

Step 12 Configure the default network (recommended) by entering yes. You can then enter its IPv4 address.


Note The default network IPv4 address is the same as the destination prefix in Step 11.


Configure the default network: (yes/no) [y]: yes
Default network IP address [dest_prefix]: dest_prefix 

Step 13 Configure the DNS IPv4 address by entering yes. You can then enter the address.

Configure the DNS IP address? (yes/no) [y]: yes
DNS IP address: ipv4_address

Step 14 Configure the default domain name by entering yes. You can then enter the name.

Configure the default domain name? (yes/no) [y]: yes
Default domain name: name

Step 15 Enable the Telnet service by entering yes.

Enable the telnet service? (yes/no) [y]: yes

Step 16 Enable the SSH service by entering yes. You can then enter the key type and number of key bits.
For more information, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.0.

Enable the ssh service? (yes/no) [y]: yes
Type of ssh key you would like to generate (dsa/rsa) : key_type
Number of  key bits <768-2048> : number_of_bits

Step 17 Configure the NTP server by entering yes. You can then enter its IP address. For more information, see the Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 4.0.

Configure NTP server? (yes/no) [n]: yes
NTP server IP address: ntp_server_IP_address

Step 18 Specify a default interface layer (L2 or L3).

Configure default interface layer (L3/L2) [L3]: interface_layer

Step 19 Enter the default switchport interface state (shutdown or no shutdown). A shutdown interface is in an administratively down state. For more information, see the Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 4.0.

Configure default switchport interface state (shut/noshut) [shut]: default_state

Step 20 Enter the best practices profile for control plane policing (CoPP). For more information, see the Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.0.

Configure best practices CoPP profile (strict/moderate/lenient/none) [strict]: policy

Step 21 Configure CMP for the current supervisor, and then enter the IP address, netmask, and default gateway IP by entering yes. For more information, see the Cisco Nexus 7000 Series Connectivity Management Processor Configuration Guide.

Configure CMP processor on current sup (slot 5)? (yes/no) [y]: yes
cmp-mgmt IPv4 address : IP_address
cmp-mgmt IPv4 netmask : net_mask
IPv4 address of the default gateway : default_gateway

Step 22 Configure CMP for the redundant supervisor by entering yes. You can then enter the IP address, netmask, and default gateway IP.

Configure CMP processor on current sup (slot 6)? (yes/no) [y]: yes
cmp-mgmt IPv4 address : ip_address
cmp-mgmt IPv4 netmask : net_mask
IPv4 address of the default gateway : default_gateway

The system now summarizes the complete configuration and asks if you want to edit it.

Step 23 Continue to the next step by entering no. If you enter yes, the setup utility returns to Step 3 and repeat each step.

Would you like to edit the configuration? (yes/no) [n]: no


Step 24 Use and save this configuration by entering yes.

Use this configuration and save it? (yes/no) [y]: yes


Caution If you do not save the configuration at this point, none of your changes are part of the configuration the next time the device reboots. Type yes to save the new configuration. This ensures that the boot variables for the kickstart and system images are also automatically configured.


Note You can reenter the setup utility at any time using the setup command in any command mode.


Where to Go Next

To become more familiar with the CLI, continue to Chapter 3, "Understanding the CLI."

Additional References

For additional information related to implementing Feature-1, see the following sections:

Related Documents

Related Documents

Related Topic
Document Title

Licensing

Cisco Nexus 7000 Series NX-OS Licensing Guide, Release 4.0

Command reference

Cisco Nexus 7000 Series NX-OS Fundamentals Command Reference, Release 4.0

CMP

Cisco Nexus 7000 Series Connectivity Management Processor Configuration Guide

SSH and Telnet

Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.0

User roles

Cisco Nexus 7000 Series NX-OS Security Configuration Guide, Release 4.0

IPv4 and IPv6

Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 4.0

SNMP and NTP

Cisco Nexus 7000 Series NX-OS System Management Configuration Guide, Release 4.0