Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 49
53-1002269-02
Loading and saving configuration files
3
If the file contains commands that must be entered in a specific order, the commands must
appear in the file in the required order. For example, if you want to use the file to replace an IP
address on an interface, you must first remove the old address using “no” in front of the ip
address command, then add the new address. Otherwise, the CLI displays an error message
and does not implement the command. Here is an example.
The configuration file contains these commands.
interface ethernet 11
ip address 10.10.10.69/24
The running-config already has a command to add an address to port 11, so the CLI responds
like this.
PowerConnect(config)# interface ethernet 11
PowerConnect(config-if-e10000-11)# ip add 10.10.10.69/24
Error: can only assign one primary ip address per subnet
PowerConnect(config-if-e10000-11)#
To successfully replace the address, enter commands into the file as follows.
interface ethernet 11
no ip address 20.20.20.69/24
ip address 10.10.10.69/24
This time, the CLI accepts the command, and no error message is displayed.
PowerConnect(config)# interface ethernet 11
PowerConnect(config-if-e10000-11)# no ip add 20.20.20.69/24
PowerConnect(config-if-e10000-11)# ip add 10.10.10.69/24
PowerConnect(config-if-e10000-11)
Always use the end command at the end of the file. The end command must appear on the
last line of the file, by itself.
Loading the configuration information into the running-config
To load the file from a TFTP server, use either of the following commands:
copy tftp running-config ip-addr filename
ncopy tftp ip-addr filename running-config
NOTE
If you are loading a configuration file that uses a truncated form of the CLI command access-list, the
software will not go into batch mode.
For example, the following command line will initiate batch mode.
access-list 131 permit host pc1 host pc2
The following command line will not initiate batch mode.
acc 131 permit host pc1 host pc2