Cisco 6509交換機配置ssh小記

2021-05-28 08:24:26 字數 1151 閱讀 4503

硬體 環境:13臺6509交換機

ios  版本:s72033-rp-ipservicesk9_wan-m     version 12.2(18)sxf

其         它:採用acs 做aaa認證

步驟:1、檢視ios版本

switch#show version

2、配置hostname和ip domain name

switch#configure terminal

switch(config)#hostname shenyang_sw6509_it5

shenyang_sw6509_it5(config)#ip domain name cisco.com

3、利用現有的acs做aaa登入認證

shenyang_sw6509_it5(config)#aaa new-model

shenyang_sw6509_it5(config)#aaa authentication login ssh group radius local

4、配置ssh服務

shenyang_sw6509_it5(config)#crypto key generate rsa general-keys modulus 1024

5、設定ssh引數

shenyang_sw6509_it5(config)#ip ssh time_out  120

shenyang_sw6509_it5(config)#ip ssh authentication_retries 3

6、配置vty鏈路

shenyang_sw6509_it5(config)#line vty 0 4

shenyang_sw6509_it5(config-line)#login authentication ssh

shenyang_sw6509_it5(config-line)#transport input ssh

shenyang_sw6509_it5(config-line)#end

7、儲存配置

shenyang_sw6509_it5()#write

8、檢視ssh是否起動

shenyang_sw6509_it5()#show ip ssh

9、利用putty做ssh登入測試

-----------end------------

cisco交換機配置

cisco交換機配置的幾個常用命令 switch enable 進入特權模式 switch conf t 進入配置模式 switch config int fa0 0 進入fa0 0介面 switch config if swichport mode trunk trunk介面配置 switch c...

Cisco交換機 配置zone

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 配置zone switch conf t switch config zone name zonename1 vsan 10 建立zone switch config zone member inte ce...

Cisco 交換機基本配置命令

交換機基本狀態 switch rom狀態,路由器是 rommon hostname 使用者模式 hostname 特權模式 hostname config 全域性配置模式 hostname config if 介面狀態 交換機口令設定 switch enable 進入特權模式 switch conf...