01-Configuration Preparation
01-Configuration Preparation
Table of contents
Table of Contents
Chapter 1 Configuration Preparation.................................................................................................................................. 1
1.1 Port Number of the Switch................................................................................................................................... 1
1.2 Preparation Before Switch Startup...................................................................................................................... 1
1.3 Acquiring Help..................................................................................................................................................... 2
1.4 Command Modes................................................................................................................................................ 2
1.5 Canceling a Command........................................................................................................................................ 3
1.6 Saving Configuration........................................................................................................................................... 3
-I-
Configuration Preparation
The chapter mainly describes the following preparatory works before you configure the
switch at the first time:
Command mode
Cancelling a command
Saving configuration
The physical port of the switch is numbered in the <type><slot>/<port> form. The
type-to-name table is shown as follows:
The expansion slot number to mark and set ports must be the number 0. Other
expansion slots are numbered from left to right, starting from 1.
The ports in the same expansion slot are numbered according to the order from top to
bottom and the order from left to right, starting from 1. If only one port exists, the port
number is 1.
Note:
Ports in each kind of modulars must be numbered sequently from top to bottom and
from left to right.
(1) Set the switch’s hardware according to the requirements of the manual.
-1-
Configuration Preparation
Use the question mark (?) and the direction mark to help you enter commands:
The command line interfaces for the switch can be classified into several modes. Each
command mode enables you to configure different groupware. The command that can
be used currently is up to the command mode where you are. You can enter the
question mark in different command modes to obtain the available command list.
Common command modes are listed in the following table:
Mode
Pay attention to the changes of the interface prompt and the relative command mode
in the following case:
-2-
Configuration Preparation
Switch> enter
Password: <enter password>
Switch# config
Switch_config# interface f0/1
Switch_config_f0/1# quit
Switch_config# quit
Switch#
To cancel a command or resume its default properties, add the keyword “no” before
most commands. An example is given as follows:
no ip routing
You need to save configuration in case the system is restarted or the power is
suddenly off. Saving configuration can quickly recover the original configuration. You
can run write to save configuration in management mode or office configuration mode.
-3-