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.

Prerequisites for the Setup Utility

•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.

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.

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.

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.