ASR 5000 Configuration
Using the ASR 5000 Quick Setup Wizard
| Item | Task | Description/Notes |
|---|---|---|
|
1
|
Enter or exit the
wizard.
|
Enter no at the prompt
to automatically be directed to the command line interface (CLI). Proceed
to the Using the CLI for Initial
Configuration section for instructions on performing
an initial system configuration with the CLI.
|
|
Enter setup at the command
prompt to re-invoke the wizard.
|
||
|
2
|
Configure an administrative username/password
and a hostname for the system.
|
The name of the default
administrative user configured through the wizard is admin.
|
|
Administrative user
name is an alphanumeric string of 1 through 32 characters that is
case sensitive.
|
||
|
Administrative user
password is an alphaumeric string of 1 through 63 characters that
is case sensitive.
|
||
|
Configure a valid, non-null
hostname. The hostname is an alphanumeric string of 1 through
63 characters that is case sensitive.
|
||
|
3
|
Change chassis key value.
(Release 12.2
and higher)
|
A unique chassis key
is configured at the factory for each system. This key
is used to decrypt encrypted passwords found in generated configuration
files. The system administrator can create a unique chassis
key that will be used to encrypt passwords stored in configuration
files.
Enter yes to set a new
chassis key. Refer to the instructions in System Settings. Additional
information can be found in System Security.
|
|
4
|
Configure a single
SPIO out-of-band management interface for out-of-band
system management.
|
Traffic on the management
LAN is not transferred over the same media as user data and control
signaling.
|
|
For security reasons, management
functions should be maintained on a separate network from user data
and control signaling.
|
||
|
The port nomenclature
vaires based on the medium being used to access the network – Ethernet or
fiber.
SPIO1 represents either
the Ethernet 1 or SFP 1 interface on the SPIO. SPIO1 is the default.
SPIO2 represents either
the Ethernet 2 or SFP 2 interface on the SPIO.
|
||
|
Use the RJ-45
interfaces to connect the system to the management network with
CAT3 or CAT5 Ethernet cable. Use the SFP interfaces to
connect the system to the management network with 1000Base-SX
optical fiber cable. The default is rj-45.
|
||
|
Configure an IP address, subnet
mask, and gateway for the interface.
|
||
|
Instructions for configuring
the second management interface on the SPIO can be found in System Settings.
|
||
|
5
|
Enable various remote
access protocols for accessing the system.
|
Secure Shell (SSH) uses
TCP port number 22 by default, if enabled.
SSH V1 and/or
V2 are supported.
If SSH is enabled, you
can also enable SSH File Transfer Protocol (SFTP) server functionality.
|
|
Telnet uses TCP port
number 23 by default, if enabled.
|
||
|
The File Transfer
Protocol (FTP) uses TCP port number 21 by default, if
enabled.
|
||
|
For maximum security, use
only SSH v2.
|
||
|
6
|
Review and/or
modify the configuration of previous prompts.
|
|
|
7
|
Review the configure
script created by the wizard based on your inputs.
|
An example of a created
script is displayed in the example below. Variables are
displayed in italics (variable).
|
|
8
|
Apply the configuration
file to the system.
|
Once applied, the
parameter configuration is automatically saved to the system.cfg
file stored on the primary SMC compact flash card.
|
config
system
hostname hostname
context
local
administrator admin_name password passwd
interface
spio1
ip
address ip_address subnet
#exit
ip
route 0.0.0.0 0.0.0.0 gw_address spio1
ssh
key v1_key
ssh
key v2_rsa_key
ssh
key v2_dsa_key
server
sshd
subsystem
sftp
#exit
no
server telnetd
server
ftpd
no
server telnetd
#exit
port
ethernet 24/1
bind
interface spio1 local
no
shutdown
media
rj45
#exit
end
IMPORTANT:
[local]host_name# configure
[local]host_name(config)#
[local]host_name(config)# context local
[local]host_name(config-ctx)#The local context is the system’s management context. Contexts allow you to logically group services or interfaces. A single context can consist of multiple services and can be bound to multiple interfaces.
administrator user_name [ encrypted ] password password | [ ecs ] [ expiry-date date_time ] [ ftp ] [ li-administration ] [ nocli ] [ noecs ] [ timeout-absolute timeout_absolute ] [ timeout-min-absolute timeout_min_absolute ] [ timeout-idle timeout_idle ] [ timeout-min-idle timeout_min_idle ]
IMPORTANT:
[local]host_name(config-ctx)# exit
[local]host_name(config)#
[local]host_name(config)# system hostname host_name
host_name is
the name by which the system will be recognized on the network. The hostname
is an alphanumeric string of 1 through 63 characters that is case sensitive.
[local]host_name(config)# context local
[local]host_name(config-ctx)#
[local]host_name(config-ctx)# interface interface_name
interface_name is
the name of the interface expressed as an alphanumeric string of
1 through 79 characters that is case sensitive. The following
prompt appears as the system enters the Ethernet Interface Configuration
mode:
[local]host_name(config-if-eth)#
{ ip address | ipv6
address } ipaddress subnetmask
IMPORTANT:
[local]host_name(config-if-eth)# exit
[local]host_name(config-ctx)#
{ ip | ipv6 } route gw_address interface_name
[local]host_name(config-ctx)# exit
[local]host_name(config)#
[local]host_name(config)#port ethernet slot#/port#
[local]host_name(config-port-slot#/port#)# bind interface interface_name local
[local]host_name(config-port-slot#/port#)# no shutdown
interface_name is
the name of the interface that you configured in step 7b.
[local]host_name(config-port-slot#/port#)# media [ rj45 | sfp ]
The
SPIO is equipped with dual RJ-45 and dual SFP interfaces. The
RJ-45 interfaces connect the system to the management network
with CAT3 or CAT5 Ethernet cable. The SFP interfaces connect
the system to the management network with 1000Base-SX optical
fiber cable.
medium { auto | speed { 10 | 100 | 1000 | 10000 } duplex { full | half } }
[local]host_name(config-port-slot#/port#)# exit
[local]host_name(config)#
IMPORTANT:
IMPORTANT:
IMPORTANT:
[local]host_name(config)# context local
[local]host_name(config-ctx)#
[local]host_name(config-ctx)# server telnetd
[local]host_name(config-ctx)# ssh generate key [ type { v1-rsa | v2-rsa | v2-dsa } ]
IMPORTANT:
[local]host_name(config-ctx)# server sshd
[local]host_name(config-sshd)# subsystem sftp
[local]host_name(config-sshd)# exit
[local]host_name(config-ctx)# server ftpd
[local]host_name(config-ctx)# end
[local]host_name#
[local]host_name# show configuration
The
CLI output should be similar to the sample output:
context local
interface interface_name
ip
address ipaddress subnetmask
exit
subscriber
default
exit
administrator admin_name password admin_password
server
telnetd
server
ftpd
ssh
generate key
server
sshd
subsystem
sftp
exit
port ethernet 24/1
bind
interface interface_name local
exit
port ethernet 24/1
no
shutdown
exit
snmp engine-id
local 800007e580ed826c191ded2d3d
end
[local]host_name# show ip route
The
CLI output should be similar to the sample output:
"*" indicates
the Best or Used route.
Destination
Nexthop Protocol Prec Cost Interface
*0.0.0.0/0
ipaddress
static 1 0 spio1
*network
0.0.0.0 connected
0 0 spio1
[local]host_name# show ip interface name interface_name
interface_name is
the name of the interface that was configured in step 7b.The
CLI output should be similar to the sample output:Intf Name: spio1Intf Type: Broadcast
Description:
IP State: UP (Bound
to 24/1 untagged, ifIndex 402718721)
IP Address: ipaddress Subnet Mask: subnetmask
Bcast Address: bcastaddress MTU: 1500
Resoln Type: ARP ARP timeout: 3600
secs
L3 monitor LC-port
switchover: Disabled
Number of Secondary
Addresses: 0
[local]host_name# configure
[local]host_name(config)#
[local]host_name(config)# context local
[local]host-name(config-ctx)#
[local]host_name(config-ctx)# 24/1
[local]host_name(config-if-eth)#
[local]host_name(config-if-eth)# { ip | ipv } address ipaddress subnet_mask secondary
[local]host_name(config-if-eth)# end
[local]host_name# show config context
local
The CLI output should look similar
to this example:
config
context
local
interface interface_name
ip
address ipaddress subnetmask
ip
address ipaddress subnetmask secondary
#exit