Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
CTP151 Platform Hardware Documentation
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring the First Boot Script for the CTP151 Device

date_range 16-May-23

For the first-time boot process, there is a series of login prompts that require the following settings:

  • You must provide a password for the root account. The ctp and ctp_cmd accounts have default passwords. The default password for the ctp user account is "ctp", and the default password for the ctp_cmd user account is "ctp_cmd". You can change the default passwords later.
  • Supported protocol or protocols—(0) IPv4 only, (1) IPv6 only, or (2) IPv4 and IPv6. Enter the appropriate number value.
  • Default interface—From the list of available devices, such as eth0 and eth1 (or more), enter the name of the interface that you want to set as the default.
  • Hostname of the device.
  • IP address of the interface—Enter the IP address of the selected interface, or accept the loopback address (127.0.0.1) as the default.
  • Netmask of the IP address—Enter the netmask (such as 255.255.255.128), or accept 255.255.255.0 as the default.
  • Gateway IP address—Enter the IP address of the gateway, or accept the local address (127.0.0.1) as the default.
  • Maximum transmission unit (MTU)—Enter the MTU in bytes, or accept 1500 bytes as the default.
  • Static routes added to the default interface, if any.
  • Date and time GMT (more precisely, UTC)—Enter these separately in digits for the month, day, hour, and minutes in Coordinated Universal Time (UTC), or accept the internal settings.

    The device goes into startup mode.

For example:

content_copy zoom_out_map
***** First boot of this flash. Setting up basic system configuration. *****
*********** Setting up the root password ************
Changing root's password!
Changing password for user root.
New password: 
Retype new password: 
BAD PASSWORD: it is too short
passwd: all authentication tokens updated successfully.
Backing up /etc to nonvolatile storage..
************** Setting up the network ***************
Configure supported protocols: 
0)  IPv4 Only
1)  IPv6 Only
2)  IPv4 & IPv6

Please select your option (rtn for 0): 

There are 2 ethernet devices available for use. The default device
is the device through which the default gateway can be accessed.
Ctp circuits can run over any ethernet device, default or not.
A default device must be configured, other devices may be configured
and enabled, or disabled. Here is a list to the available devices
and their descriptions:

       eth0: 10/100/1000 Copper (labeled 0 on processor card)
       eth1: 10/100/1000 Copper (labeled 1 on processor card)
       eth2: 10/100/1000 Copper (labeled 2 on processor card)
       eth3: 10/100/1000 Copper (labeled 3 on processor card)
       eth4: 10/100/1000 Copper (labeled MGMT on processor card)

What device would you like to make the IPV4 default device? (rtn for eth0): 
OK, eth0 (10/100/1000 Copper (labeled 0 on processor card)) will be configured as IPV4 default device.


Please input the hostname (return for (none)): ctp150bot

===== Configuration for eth0 (default device):
Please input the ip (return for 127.0.0.1): 10.3.206.10
Please input the netmask (return for 255.255.255.0): 255.255.0.0
Please input the gateway (return for 127.0.0.1): 10.3.0.1
Please input the mtu in bytes (return for 1500): 

Add route to interface eth0 [n] 



======================================
=== OS Security level set to LOW ===
======================================

Backing up /etc to nonvolatile storage..
Backing up /usr/local to nonvolatile storage..
************** Setting up date/time *****************
Setting the date (GMT). Please input the year [2008-2020] (return for 2010):

Setting the date (GMT). Please input the month [1-12] (return for 11):

Setting the date (GMT). Please input the day [1-31] (return for 14):

Setting the date (GMT). Please input the hour [0-23] (return for 16):

Setting the date (GMT). Please input the minute [0-59] (return for 41):

INIT: Entering runlevel: 3
Entering non-interactive startup
footer-navigation