Cisco Cisco Packet Data Gateway (PDG) 管理员指南
Software Management Operations
▀ Configuring the Boot Stack
▄ Cisco ASR 5000 System Administration Guide
124
Example 1 – StarOS releases prior to 16.1:
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
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
Example 2 – StarOS release 16.1 onwards:
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
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
The example below shows the output for a combination network booting and local booting configuration. Notice in this
example that the first two boot stack entries (Priorities 18 and 19) load the image file (operating system software) from
an external network server using the Trivial File Transfer Protocol (TFTP), while all configuration files are located on
the /flash device.
example that the first two boot stack entries (Priorities 18 and 19) load the image file (operating system software) from
an external network server using the Trivial File Transfer Protocol (TFTP), while all configuration files are located on
the /flash device.
Also notice the boot network interface and boot network configuration commands located at the top of the boot stack.
These commands define what SPIO management LAN interface(s) to use and information about communicating with
the external network server that hosts the operating system software image file.
These commands define what SPIO management LAN interface(s) to use and information about communicating with
the external network server that hosts the operating system software image file.
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
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
To identify the boot image priority that was loaded at the initial boot time enter:
show boot initial-config