Cisco Cisco Packet Data Gateway (PDG) Ratgeber Für Administratoren

Seite von 377
  Getting Started 
Using the CLI for Initial Configuration  ▀   
 
Cisco ASR 5000 System Administration Guide  ▄  
 
   
41 
Using the CLI for Initial Configuration 
The initial configuration consists of the following: 
 
Configuring a context-level security administrator and hostname 
 
Configuring the Ethernet interface(s) on the SPIO that is installed behind the primary SMC 
 
Configuring the system for remote CLI access via Telnet, SSH, or FTP (secured or unsecured) 
This section provides instructions for performing these tasks using the CLI. 
Step 1 
At the CLI prompt, enter: 
[local]host_nameconfigure 
[local]host_name(config)# 
Step 2 
Enter the context configuration mode by entering the following command: 
[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.
 
Step 3 
Enter the following command to configure a context-level security administrator for the system: 
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:
  You must configure a context-level security administrator during the initial configuration. After you 
complete the initial configuration process and end the CLI session, if you have not configured a security administrator, 
CLI access will be locked. For complete information on the above command, see the Context Configuration Mode 
Commands
 chapter of the Command Line Interface Reference
Step 4 
Enter the following command at the prompt to exit the context configuration mode: 
[local]host_name(config-ctx)# exit 
[local]host_name(config)# 
Step 5 
Enter the following command to configure a hostname by which the system will be recognized on the network: 
[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.
 
Step 6 
Configure the network interfaces on the SPIO using the following instructions: 
Step a 
Enter the context configuration mode by entering the following commands: 
[local]host_name(config)# context local 
[local]host_name(config-ctx)#