使用的配置文件:2u-2960-24.text
一、交换机配置线连接,从Console口连接到电脑
Step 1 2 3 4
Action
Connect the RS-232 cable to the Switch's Comm Port and the computer's serial port. 使用配置线从RS232接口连到交换机Console口;
Click Start > Programs > Accessories > Communications > HyperTerminal. 启动超级终端软件;win7以后系统不带,需要自己准备;
From the Connect To dialog, select the serial port being used by the computer and click OK.任意选择并连接,注意COM接口要选正确的那个 From the Properties page configure the following Port Settings: o Bits per second: 9600 o Data Bits: 8 o Parity: NONE o Stop bits: 1
o Flow control: Xon/Xoff
5
Click OK. Power up the switch and go to the next procedure.
二、Configure switch options交换机选项配置
Step 1
文中省略了。
Would you like to enter the initial configuration dialog? [yes/no]: yWould you like to enter basic management setup? [yes/no]: y Enter host name [Switch]: Switch1…… Enter enable secret: password Enter enable password: password1
Enter virtual terminal password: password1 Configure SNMP Network Management? [no]: N Enter interface name used to connect to the
management network from the above interface summary: vlan1 Configuring interface Vlan1:
Configure IP on this interface? [yes/no]: N
Would you like to enable as a cluster command switch? [yes/no]: N The following configuration command script was created: [0] Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. Enter your selection [2]: 2 Building configuration... [OK]
Use the enabled mode 'configure' command to modify this configuration.
Action
当看到下面提示时,请按照黑色字体文字操作;中间过程会出现很多信息,在本
1 / 2
三、Setup switch IP addressing, SNMP traps and NTP time service
Step
Action
Use the enable command and the enable secret you previously established: 1
Press RETURN to get started! Switch1(config)#int vlan1 Switch1(config-if)#ip address 10.1.1.223 255.255.0.0 Switch1(config-if)#exit Switch1(config)#exit Switch1# *Mar 1 00:06:03: %SYS-5-CONFIG_I: Configured from console by console 四、Perform an Xmodem file transfer Step 1 appear in bold. Switch1#copy xmodem: system:running-config Destination filename [running-config]? 2 Initiate the transfer in Hyperterm and choose the appropriate switch configuration file: o From the Hyperterm menu bar, select Transfer >Send File. o Select Browse and navigate to the Switch Configuration folder in the following location: Disk Drive:\\FTE_Driver o Select the correct switch configuration file for your particular system and click OPEN. o Select Xmodem under Protocol. o Click Send to start the file transfer. 注:这一步一定要快,一般在4个C左右就开始Send。不能等10个C都出来再传送文件。Begin the Xmodem or Xmodem-1K transfer now… CCCC The following displays when the transfer is complete. 完成提示信息 3 16256 bytes copied in 46.396 secs (353 bytes/sec) Switch1#write Switch1#sho run Building configuration... …… Switch1# Switch1#exit END This is the end of the switch configuration. Action Initiate the transfer in the switch using the copy command. Type all values that 2 / 2 因篇幅问题不能全部显示,请点此查看更多更全内容