Using the cli to implement configuration changes – SMC Networks SMC TigerStack II SMC6624M User Manual

Page 343

Advertising
background image

C-3

Switch Memory and Configuration

Using the CLI To Implement Configuration Changes

S

w

itch M

e

m

o

ry an

d

Co
nf

ig

u

rat

io

n

The above command disables port 5 in the running-config file, but not in the
startup-config file. Port 5 remains disabled only until the switch reboots. If
you want port 5 to remain disabled through the next reboot, use

write memory

to save the current running-config file to the startup-config file in flash
memory.

SMC TigerSwitch 10/100(config)# write memory

Storing and Retrieving Configuration Files.

You can store or retrieve a

backup copy of the startup-config file on another device. For more informa-
tion, see appendix A, “Transferring an Operating System or Startup-Config
File.”

Using the CLI To Implement
Configuration Changes

The CLI offers these capabilities:

Access to the full set of switch configuration features

The option of testing configuration changes before making them perma-
nent

How To Use the CLI To View the Current Configuration Files.

Use

show

commands to view the configuration for individual features, such as port

status or Spanning Tree Protocol. However, to view either the entire startup-
config file or the entire running-config file, use the following commands:

show startup-config

: Displays the current startup-config file.

write terminal

: Displays the current running-config file.

N o t e

The

show startup-config

and

write terminal

commands display the configuration

settings that differ from the switch’s factory-default configuration.

How To Use the CLI To Reconfigure Switch Features.

Use this proce-

dure to permanently change the switch configuration (that is, to enter a change
in the startup-config file).

1.

Use the appropriate CLI commands to reconfigure the desired switch
parameters. This updates the selected parameters in the running-config
file.

Advertising