Sie sind auf Seite 1von 4

8/8/2019 KlasOS Initial Configuration

Home (/s/)

KlasOS Initial Configuration

May 5, 2019 • Knowledge Base

Content
Background
This article provides instructions for initial configuration using the KlasOS command line interface (CLI). Operations such as
adding IP address to an interface, configuring a hostname and configuring SSH for remote access are covered.
 
 

Adding an IP Address to an Interface


To configure an interface with an IP address using the KlasOS CLI, follow these steps:
 

1. Press Return or Enter once you see the Press RETURN to get started message. The following prompt is displayed:

KlasOS>

2. Use the enable command to get to Privileged mode.

KlasOS> enable

KlasOS#

3. Enter configuration mode using the following commands.

KlasOS#configure terminal

4. Enter interface configuration mode using the following commands.

KlasOS(config)# interface Ethernet 0/0

5. Add a static IP address and exit interface configuration mode using the following commands.

https://helpdesk.klastelecomgov.com/s/article/klasos-initial-configuration1 1/4
8/8/2019 KlasOS Initial Configuration

KlasOS(config-if)# ip address 192.168.1.1 255.255.255.0

KlasOS(config-if)# exit

6. Check if the configuration has been applied by using the show ip interface brief command.

KlasOS# show ip interface brief

Interface IP-Address Status Protocol

Dot11Radio0 Device not found N/A

Ethernet 0/0 192.168.1.1/24 up up

Ethernet 0/1 unassigned up up

Ethernet 0/2 unassigned up up

Ethernet 0/3 unassigned up up

Ethernet 1/0 unassigned up up

Ethernet 1/1 unassigned up up

Ethernet 2/0 unassigned down down

Ethernet 2/1 unassigned down down

Ethernet 2/2 unassigned down down

Ethernet 2/3 unassigned down down

Tether 0 pending down down

KlasOS#

Configuring a Hostname
To configure a Hostname in KlasOS, follow this procedure:

NOTE: If no device hostname is configured, KlasOS uses the factory-assigned default hostname which is the product name
(e.g. "TRX-R6") or else "KlasOS"
 
1. Enter configuration mode using the following commands.

KlasOS# configure terminal

2. Assign or modify the hostname of the device using the following commands.

Router(config)# hostname MyDevice

3. (Optional) Return to privileged mode.

KlasOS(config)# end

https://helpdesk.klastelecomgov.com/s/article/klasos-initial-configuration1 2/4
8/8/2019 KlasOS Initial Configuration

Configuring SSH For Remote Access


 
To configure SSH v2 using the KlasOS CLI, follow these steps:
 
1. Enter configuration mode using the following commands.

KlasOS# configure terminal

2. Configure the DNS domain of the router.

KlasOS(config)# ip domain-name mydomain.com (http://mydomain.com)

3. Add a local username and password using the following command.

KlasOS(config)# username klas secret klas

4. Generate the SSH key to be used using the following commands.

KlasOS(config)# crypto key generate rsa general-keys modulus 2048

% The key modulus size is 2048 bits

% Generating 2048 bit RSA keys, keys will be non-exportable...[OK]

KlasOS(config)#

5. Add the aaa new-model command which causes the local username and password on the router to be used.

KlasOS(config)# aaa new-model

6. Add the aaa authentication login command to enable AAA authentication and use local username and password,
as shown.

KlasOS(config)# aaa authentication login default local

7. (Optional) Return to privileged mode.

KlasOS(config)# end

KlasOS#

8. Use the show ip ssh command to display the status of SSH server.

KlasOS# show ip ssh

SSH Enabled - version 2

Authentication timeout: 60s secs; Authentication retries: 3

NOTE: Telnet is disabled and only SSH is supported.


 
 

https://helpdesk.klastelecomgov.com/s/article/klasos-initial-configuration1 3/4
8/8/2019 KlasOS Initial Configuration

Was this article helpful? 0 0

Files (0)

Contact Us

Contact Support

Government
Support Phone: 
+1 703 881 3156 
Toll-Free: 844-411-KLAS (5527) 
Email Support (mailto:support@klastelecomgov.com)

Transportation
Support Phone: 
U.S. +1 202 754 8732 
EMEA: +353 1 685 5734 
Email Support (mailto:trxsupport@klastelecom.com)

https://helpdesk.klastelecomgov.com/s/article/klasos-initial-configuration1 4/4

Das könnte Ihnen auch gefallen