標籤:telnet及預設路由實驗
一:TELNET及預設路由實驗
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M02/58/C3/wKiom1S7sBLTwB3kAAHu-5eEosA228.jpg" title="clipboard.png" alt="wKiom1S7sBLTwB3kAAHu-5eEosA228.jpg" />
650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />
以AR5路由器配置為例:
(華為的裝置有時配置local-user的privilege許可權為1時,設定super密碼才會生效,此情況依版本而定)
華為交換器特權密碼怎麼設定?
問:
交換器 用其中一個使用者名稱telnet進入裝置後 輸入使用者名稱密碼後用
sys 可以直接進入 根本不用特權密碼 其他的使用者都需要
假如我要用使用者名稱密碼的話應該怎麼設定呀
用了這條命令後super password cipher 還是一樣可以直接進入
答:
很簡單 在設定local-user時,可以將使用者權限層級設定為1級
比如: local-user wgzx level 1
不同的華為交換器是不一樣的
有一種是先打AAA,然後進去後配置的,
也有先用 local-user建立使用者,進入使用者模式後,
再配置許可權、層級、密碼的。。
也有直接用 local-user配置許可權、層級、密碼的
但意思 是一樣的
650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />
650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/C0/wKioL1S7sTCwDkexAAOhoABLGDU946.jpg" title="捕獲2222222.PNG" alt="wKioL1S7sTCwDkexAAOhoABLGDU946.jpg" />
650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />
650) this.width=650;" src="/e/u261/themes/default/images/spacer.gif" style="background:url("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd;" alt="spacer.gif" />
指令檔
(實際配置時注意改變介面 IP地址 sys 狀態)
sys
aaa
local-user wgzx password cipher wgzx.cisco
local-user wgzx service-type telnet
local-user wgzx privilege level 1
local-user wgzx idle-timeout 5
quit
user-interface vty 0 4
history-command max-size 50
authentication-mode aaa
idle-timeout 5
quit
super password cipher sbcc.sb
quit
interface g0/0/0
ip add 172.30.30.2 255.255.255.0
quit
ip route-static 192.168.1.0 255.255.255.0 172.30.30.2
quit
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/58/C3/wKiom1S7sMXDOOerAAW3jV54yvQ855.jpg" style="float:none;" title="捕獲333333333333333.PNG" alt="wKiom1S7sMXDOOerAAW3jV54yvQ855.jpg" />
650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/58/C0/wKioL1S7sZaBH0K6AAHE6KGofD4245.jpg" style="float:none;" title="捕44444444444444444.PNG" alt="wKioL1S7sZaBH0K6AAHE6KGofD4245.jpg" />
TELNET及預設路由實驗