1. 程式人生 > >銳捷交換機配置手冊完整

銳捷交換機配置手冊完整

新出廠的交換機沒有配置檔案,或者你刪除了交換機的配置檔案,在用控制檯登入時,可以進行一些基礎配置,你可以在此處配置一些基本引數。(注:有些裝置沒有setup配置模式,它在沒有配置檔案時會自動按照預設值啟動。)

把控制檯連線到交換機上,開啟超級終端,如果交換機中沒有配置檔案,就會進入setup配置模式:

--- System Configuration Dialog ---

At any point you may enter a question mark '?' for help.

Use ctrl-c to abort configuration dialog at any prompt.

Default settings are in square brackets '[]'.

Continue with configuration dialog? [yes/no]: y

Enter IP address: 192.168.1.5

Enter IP netmask: 255.255.255.0

Enter host name [Switch]:

The enable secret is a one-way cryptographic secret use

instead of the enable password when it exists.

Enter enable secret: 123

Would you like to configure a Telnet password? [yes/no]: y

Enter Telnet password: 456

Would you like to disable web service? [yes/no]: y

The following configuration command script was created:

interface VLAN 1

ip address 192.168.1.5 255.255.255.0

!

enable secret 5 $xH.Y*T7xC,tz[V/xD+S(\W&xG1X)sv'

!

end

Use this configuration? [yes/no]: y

Building configuration...

OK

在上面的配置中,依次配置了管理IP、子網掩碼、交換機名、特權密碼、遠端登入密碼等,並且關閉了Web服務。最後一步選擇“yes”,則交換機把生成的配置檔案應用於交換機。