Understanding the Local File System
File Types Used by the Local File System
Understanding the boot.sys File
Maintaining the Local File System
File System Management Commands
Synchronizing the File System
Creating Directories
Renaming Files and Directories
Copying Files
[local]host_name# copy /flash/cfgfiles/system.cfg /flash/configs_old/system_2011.cfg
[local]host_name# copy /flash/host_name_configs/simple_ip.cfg
ftp://administrator:secure@192.168.34.156/host_name_configs/ simple_ip.cfg
Deleting Files
Removing Directories
Formatting Local Devices
CAUTION:
Applying Pre-existing CLI Configuration Files
CAUTION:
[local]host_name# configure url [ verbose ]
Viewing Files on the Local File System
Viewing the Contents of a Local Device
Viewing CLI Configuration and boot.sys Files
Validating an Operating System File
Configuring the Boot Stack
System Boot Methods
Viewing the Current Boot Stack
IMPORTANT:
IMPORTANT:
boot system priority
18 \
image /flash/15-0-builds/production.45666.bin \
config /flash/general_config.cfg
boot system priority
19 \
image /flash/15-0-builds/production.45717.bin \
config /flash/general_config_3819.cfg
boot system priority
20 \
image /flash/15-0-builds/production.45069.bin \
config /flash/general_config_3665.cfg
boot system priority
18 \
image /flash/16-1-builds/asr5000-16.1.3.bin \
config /flash/general_config.cfg
boot system priority
19 \
image /flash/16-1-builds/asr5000-16.1.1.bin \
config /flash/general_config_3819.cfg
boot system priority
20 \
image /flash/16-1-builds/asr5000-16.1.0.bin \
config /flash/general_config_3665.cfg
boot interface local-eth1
medium auto media rj45
boot networkconfig
static ip address spio24 192.168.1.150 netmask
255.255.255.0
boot delay 15
boot system priority
18 image tftp://192.168.1.161/tftpboot/image_version.bin \config /flash/general_config.cfg
boot system priority
19 image tftp://192.168.1.161/tftpboot/image_version.bin \config /flash/general_config.cfg
boot system priority
20 image /flash/image_version.bin \config /flash/general_config.cfg
Adding a New Boot Stack Entry
IMPORTANT:
Deleting a Boot Stack Entry
Network Booting Configuration Requirements
configure
The
following prompt appears:
[local]host_name(config)#
[local]host_name(config)# boot interface { local-eth1 | local-eth2 } medium { auto | speed { 10 | 100 | 1000 } duplex { full | half } } media { rj45 | sfp }
for complete information
on the above command, see the Global Configuration Mode
Commands chapter of the Command
Line Interface Reference.
[local]host_name# configure
The following prompt
appears:
[local]host_name(config)#
[local]host_name(config)# boot networkconfig { dhcp | { { dhcp-static-fallback | static } ip address
spio24 ip_address24 [ spio25 ip_address25 ] netmask subnet_mask [ gateway gw_ip_address ] } }
For complete information
about the above command, see the Global Configuration Mode
Commands chapter of the Command
Line Interface Reference.
The following command
configures the boot network to communicate using DHCP, with a
static-fallback IP address for SPIO in slot 24 of 192.168.206.101
and a Class C netmask.
boot networkconfig
dhcp-static-fallback ip address spio24 192.168.206.101
netmask 255.255.255.0
The next example uses
static IP addresses for SPIOs in both slots 24 and 25, which
can access the external network server through a gateway whose IP
address is 135.212.10.2.
boot networkconfig
static ip address spio24 192.168.206.101
spio25 192.168.206.102 netmask 255.255.255.0
gateway 135.212.10.2
Configuring Boot Network Delay Time
[local]host_name(config)# boot delay time
IMPORTANT:
Configuring a Boot Nameserver
Upgrading the Operating System Software
Identifying OS Release Version and Build Number
Verify Free Space on the /flash Device
[local]host_name# directory /flash
-rwxrwxr-x 1 root root 7334
May 5 17:29 asr-config.cfg
-rwxrwxr-x 1 root root 399
Jun 7 18:32 system.cfg
-rwxrwxr-x 1 root root 10667
May 14 16:24 testconfig.cfg
-rwxrwxr-x 1 root root 10667
Jun 1 11:21 testconfig_4.cfg
-rwxrwxr-x 1 root root 5926
Apr 7 16:27 tworpcontext.cfg
-rwxrwxr-x 1 root root 15534
Aug 4 13:31 test_vlan.cfg
-rwxrwxr-x 1 root root 2482
Nov 18 11:09 gateway2.cfg
-rwxrwxr-x 1 root root 159106048
Dec 31 2011 image_filename
1136352 /flash
Filesystem 1k-blocks Used
Available Use% Mounted on
/var/run/storage/flash/part1
31154688 1136352 30018336
4% /mnt/user/.auto/onboard/flash
Download the Software Image from the Support Site
Transfer StarOS Image to /flash on the Chassis
IMPORTANT:
[local]host_name# directory /flash
Saving a Copy of the Current Configuration File
IMPORTANT:
Preparing for a Software Downgrade
Downgrading from Release 12.2 to 12.0
[local]host_name# save configuration /flash/v120_system.cfg
obsolete-encryption
Warning: Use
of weaker encryption significantly reduces the security of the system
Are you sure? [Yes|No]: Yes
[local]host_name(config)# boot system priority
1 image /flash/v120_asr5000.bin
config /flash/v120_system.cfg
Downgrading from Release 15.0 to 14.0
Software Upgrade Methods
On-Line Software Upgrade
CAUTION:
System Requirements to Support the On-line Software Upgrade Method
CLI Verification and System Preparation
Stage 1 - Soft Busy-out
IMPORTANT:
Stage 2 - Stand-alone Operation
IMPORTANT:
Stage 3 - Management Card Upgrade
Stage 4 - Reboot All Packet Processing Cards
IMPORTANT:
Stage 5 - Return System to Normal Operation
directory { /flash | /pcmcia1 | /hd-raid }
The following is
an example of the type of directory information displayed:
-rwxrwxr-x
1 root root 7334 May 5 2012 startconfig.cfg
-rwxrwxr-x
1 root root 399 Jun 7 18:32 system.cfg
-rwxrwxr-x
1 root root 10667 May 14 16:24 testconfig.cfg
-rwxrwxr-x
1 root root 10667 Jun 1 11:21 testconfig_4.cfg
-rwxrwxr-x
1 root root 5926 Apr 7 2012 tworpcontext.cfg
-rwxrwxr-x
1 root root 15534 Aug 4 2012 test_vlan.cfg
-rwxrwxr-x
1 root root 2482 Nov 18 2011 gateway2.cfg
94844 /flash
Filesystem
1k-blocks Used Available Use% Mounted on
/dev/hda1
124778 94828 29950 76% /flash
Note the “Available” blocks
in the last line of the display. After displaying the directory information, it
again returns to the root and the following prompt appears:
[local]host_name#
[local]host_name# show boot
CAUTION:
[local]host_name# copy from_url to_url [-noconfirm]
For information on
using the copy command, please
see the Copying Files and
Directories section.
The following command
example creates a backup copy of a file called general.cfg located
on the /flash device
to a file called general_3652.cfg:
[local]host_name# copy /flash/general.cfg /flash/general_3652.cfg
[local]host_name# filesystem synchronize all
configure
The following prompt
appears:
[local]host_name(config)#
[local]host_name(config)# context context_name
The following prompt
appears:
[context_name]host_name(config-ctx)#
[context_name]host_name(config-ctx)# { pdsn-service | ha-service } service_name
The following prompt
appears:
[context_name]host_name(config-service_type-service)#
[context_name]host_name(config-service_type-service)# policy { overload { redirect ipv4_address [ weight weight_num ] [ ipv4_address2 [ weight weight_num ]...ipv4_address16 [ weight weight_num ] ] | reject [use-reject-code
insufficient-resources] }
For complete information
about the above command, see the Context Configuration Mode
Commands chapter of the Command
Line Interface Reference.
IMPORTANT:
end
The
following prompt appears:
[local]host_name#
CAUTION:
[local]host_name# upgrade online image_url config cfg_url [-noconfirm]
The
SMCs within the system load the new operating system image and the
local file system is synchronized. The system then updates
all standby packet processing cards. Next, it
begins to update each active packet processing card, one
at a time. The system monitors all sessions being processed
by active packet processing cards. When all sessions facilitated
by a specific Session Manager task are either self-terminated
or automatically terminated based on the thresholds configured in
step 8, the system migrates the packet processing cards
in active mode to standby mode. Each new standby packet
processing card is upgraded and rebooted. Once booted, the
card is placed back into service as an active packet processing
card.
For complete information
about the above command, see the Exec Mode Commands chapter
of the Command Line Interface
Reference.
[local]host_name# show upgrade
This
command displays the status of the on-going on-line
software upgrade. Once all SMCs have been upgraded, the
full configuration file is loaded, the NPUs are taken out
of global bypass mode, and the system is returned to normal
operation. When the on-line software upgrade has been
completed, all sessions on the system will be new and all
system statistics will have been reset.Upon completion
of the software upgrade, the system will automatically
begin accepting new sessions, using the pre-existing
configuration that was running. All system statistical counters
will have been reset to zero.Aborting an On-line Software Upgrade
Off-line Software Upgrade
Configure a Newcall Policy
IMPORTANT:
[local]host_name# newcall policy { asngw-service | asnpc-service | sgsn-service } { all | name service_name } reject
[local]host_name# newcall policy cscf-service { all | name service_name } { redirect target_ip_address [ weight weight_num ] [ target_ipaddress2 [ weight weight_num ] ... target_ip_address16 [ weight weight_num ] | reject }
[local]host_name# newcall policy { fa-service | lns-service | mipv6ha-service } { all | name service_name } reject
[local]host_name# newcall policy { ha-service | pdsn-service} { all | name service_name } { redirect target_ip_address [ weight weight_num ] [ target_ipaddress2 [ weight weight_num ] ... target_ip_address16 [ weight weight_num ] |reject}
[local]host_name# newcall policy ggsn-service { apn name apn_name | all | name service_name} reject
[local]host_name# newcall policy hnbgw-service { all | name service_name} reject
[local]host_name# newcall policy { pcc-af-service | pcc-policy-service } {all | name service_name} reject
[local]host_name# newcall policy {pcc-af-service | pcc-policy-service } { all | name service_name } reject
[local]host_name# newcall policy mme-service { all | name
service_name } reject
Configure a Message of the Day Banner
[local]host_name(config)# banner motd “banner_text”
Back up the Current CLI Configuration File
Create a New Boot Stack Entry
[local]host_name(config)# boot system priority number image image_url /flash/filename config cfg_url /flash/filename
IMPORTANT:
[local]host_name# configure
[local]host_name(config)# no boot system priority number
[local]host_name# configure
[local]host_name(config)# boot system priority number image image_url config cfg_url
Reboot the Chassis
Performing Dynamic Software Updates
Managing License Keys
New System License Keys
[local]host_name# show license information
Session Use and Feature Use Licenses
Installing New License Keys
configure
license key license
exit
license is the license
key string. The license can be an alphanumeric string of
1 through 1023 characters that is case sensitive. Copy
the license key as shown in the example below, including
the “\ (double-quote slash). Please
note: this is not a functional license.
"\
VER=1|C1M=000-0000-00|C1S=03290231803|C2M=11-1111-11-1|C2S=\STCB21M82003R80411A4|DOI=0000000000|DOE=00000000|ISS=1|NUM=13459|0000000000000|LSP=000000|LSH=000000|LSG=500000|LSL=500000\|FIS=Y|FR4=Y|FPP=Y|FCS=Y|FTC=Y|FMG=Y|FCR=Y|FSR=Y|FPM=Y|FID=Y|SIG=MCwCF\Esnq6Bs/XdmyfLe7rHcD4sVP2bzAhQ3IeHDoyyd6388jHsHD99sg36SG267gshssja77
end
[local]host_name# show license key
The
new license key should be displayed. If it is not, return
to the Global configuration mode and re-enter the key using
the license key command.
[local]host_name# show license information
All
license keys and the new session capacity or functionality enabled
should be listed. If the functionality or session capacity
enabled by the new key is incorrect, please contact your
service representative.
CAUTION:
IMPORTANT:
"\
VER=1|C1M=000-0000-00|C1S=03290231803|C2M=11-1111-11-1|C2S=\STCB21M82003R80411A4|DOI=0000000000|DOE=00000000|ISS=1|NUM=13459|0000000000000|LSP=000000|LSH=000000|LSG=500000|LSL=500000\|FIS=Y|FR4=Y|FPP=Y|FCS=Y|FTC=Y|FMG=Y|FCR=Y|FSR=Y|FPM=Y|FID=Y|SIG=MCwCF\Esnq6Bs/XdmyfLe7rHcD4sVP2bzAhQ3IeHDoyyd6388jHsHD99sg36SG267gshssja77
end
IMPORTANT:
License Expiration Behavior
Requesting License Keys
Viewing License Information
Deleting a License Key
Management Card Replacement and License Keys
IMPORTANT:
Managing Local-User Administrative Accounts
Configuring Local-User Password Properties
Configuring Local-User Account Management Properties
Local-User Account Lockouts
IMPORTANT:
Changing Local-User Passwords
[local]host_name# password change username name