︿
Top

前言

本篇實作內容為記錄 3Com 4500G Switch 相關的基礎設定部份。




文章目錄

1、Console 連線設定
2、查看 Config
3、進入系統模式
4、設定 Hostname
5、設定時間/時區
6、帳號管理
7、Console 登入密碼設定
8、Telnet 登入密碼設定
9、儲存設定



1、Console 連線設定

透過電腦的 RS-232 Port 用原廠附的 Console 線與 3Com 4500G 的 Console Port 對接,超級終端機設定值如下:

  • 傳輸位元 (Bits Per Second): 19200
  • 資料位元 (Data Bits): 8
  • 同位檢查 (Parity): 無 
  • 停止位元 (Stop Bits): 1
  • 流量控制 (Flow Control):



2、查看 Config

<3com> display current-configuration                  //查看目前系統設定



3、進入系統模式

<3com> system-view                                   //進入特權模式
System View: return to User View with Ctrl + Z        //系統提示如何離開特權模式
[3com]                                                //可發現符號從 <3com> 變成 [3com] 表示進入特權模式




4、設定 Hostname

[3com] sysname 3Com_4500                               //設定 Hostname
[3Com_4500]




5、設定時間/時區

<3Com_4500> display clock                              //查看目前系統時間
<3Com_4500> clock datetime 12:00 2010/3/22           //設定系統時間
<3Com_4500> system-view                                //進入特權模式
[3Com_4500] clock timezone zone-time add 8           //設定時間為 GMT+8 也就是 CST




6、帳號管理

[3Com_4500] local-user weithenn                        //建立名為 weithenn 的帳號
[3Com_4500-luser-admin] password simple 12345          //設定密碼為 12345
[3Com_4500-luser-admin] service-type terminal telnet   //設定此帳號可 telnet 登入
[3Com_4500-luser-admin] level 3




7、Console 登入密碼設定

[3Com_4500] user-interface aux 0                       //進入 console 介面
[3Com_4500-aux0] authentication-mode scheme            //啟用驗證模式,以後 console 也需要帳號密碼




8、Telnet 登入密碼設定

[3Com_4500] telnet server enable                       //啟用 Telnet Server
[3Com_4500] user-interface vty 0                       //進入 telnet 介面
[3Com_4500-vty0] authentication-mode scheme            //啟用驗證模式,以後 telnet 也需要帳號密碼




9、儲存設定

[3Com_4500] save                                       //儲存設定
 The current configuration will be written to the device. Are you sure? [Y/N]: y  //輸入 y
 Please input the file name(*.cfg)[flash:/startup.cfg]
 (To leave the existing filename unchanged, press the enter key):
 flash:/startup.cfg exists, overwrite? [Y/N]: y        //輸入 y
 Validating file. Please wait...
 Now saving current configuration to the device.
 Saving configuration flash:/startup.cfg. Please wait...
 ..................
 Saved the current configuration to mainboard device successfully.
 .
 Saved the current configuration to slaveboard device successfully.
 Configuration is saved to device successfully.        //儲存設定完畢
文章標籤: