arrow-left

All pages
gitbookPowered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Copying Configuration from Switch

To copy files from the remote server, use the following command:

hashtag
Reference

Command

copy scp {running-config | startup-config} <server_url> [timeout <interval> ]

Description

hashtag
CLI Example

Copy the ISCLI config file from the Switch to a remote server

Parameters

server_url username@ipaddress:filepathandname

timeout timeout

interval Specifies the maximum time (in seconds) to wait for the server to reply to the connection request. The timeout interval is from 1 to 100 seconds running-config Copies the running configuration startup-config Copies the startup configuration

Mode

EXEC

//copying running-config from remote server
pbnoscli# copy running-config scp <user>@<IP>:/<file.cfg>

//Example - copy running-config scp aviz@10.2.2.10:/rsw.cfg
//copying startup-config from remote server
pbnoscli# copy startup-config scp <user>@<IP>:/<file.cfg>

//Example - copy startup-config scp aviz@10.2.2.10:/ssw.cfg

Copying Running and Startup Configuration

Copy startup configuration to running configuration and vice-versa

You can copy running and startup configuration using the copy command

hashtag
Reference

Command

copy { running-config | startup-config } { running-config | startup-config }

hashtag
CLI Example

Saving Configuration

You can save running configuration using the below command:

Configuration Management

OPBNOS supports copying running and startup configuration file to and from the switch over the network.

The following topics provide you with more information on configuration management:

Copying Running and Startup Configurationchevron-right
Saving Configurationchevron-right
Display Configurationchevron-right
Clearing Startup configurationchevron-right
Configuring Hostnamechevron-right

Description

Change the running-config and startup-config on the switch and vice-versa

Parameters

running-config Copies to the running configuration

startup-config Copies to the startup configuration

Mode

EXEC

//to copy startup config to running config
pbnoscli# copy startup-config running-config
pbnoscli# 
 
//to copy running config to startup config 
pbnoscli# copy running-config startup-config 
pbnoscli# 
pbnoscli# save
Saving Configuration
pbnoscli# 

Display Configuration

You can display running and start configuration using below command:

//to show running config
pbnoscli# show running-config 
show running-config
configure terminal
<..>
pbnoscli#
//to show startup config
pbnoscli# show startup-config 
show running-config
configure terminal
port-group 1 ports Ethernet8
<..>
pbnoscli#

Clearing Startup configuration

To remove/clear startup-config use below command:

circle-exclamation

clearing startup-config will trigger a system reboot.

pbnoscli# clear startup-config 

This command requires a system reboot. Do you wish to continue [y/n]: y