實例講解華為交換機配置基礎:設定用戶特權級
實例講解華為交換機配置基礎:設定用戶特權級,一個朋友托我給他解決一下華為交換機配置基礎中關于設定用戶特權級的問題,問詢了好多人,都沒有詳細的答復。下面是在網上找到的一篇華為交換機配置基礎的解答。
華為交換機配置基礎核實Catalyst交換機上CGMP的配置情況:
catalystla1>(enable) show config
set prompt catalystla1>
set interface sc0 192.168.1.1 255.255.255.0
set cgmp enable
華為交換機配置基礎CGMP離開的設置:
Dallas_SW(enable) set cgmp leave
華為交換機配置基礎在設備上修改控制端口密碼:
R1(config)# line console 0
R1(config-line)# login
R1(config-line)# password Lisbon
R1(config)# enable password Lilbao
R1(config)# login local
R1(config)# username student password cisco
華為交換機配置基礎在設備上設置控制臺及vty端口的會話超時:
R1(config)# line console 0
R1(config-line)# exec-timeout 5 10
R1(config)# line vty 0 4
R1(config-line)# exec-timeout 5 2
華為交換機配置基礎在設備上設定特權級:
R1(config)# privilege configure level 3 username
R1(config)# privilege configure level 3 copy run start
R1(config)# privilege configure level 3 ping
R1(config)# privilege configure level 3 show run
R1(config)# enable secret level 3 cisco
華為交換機配置基礎使用命令privilege 可定義在該特權級下使用的命令:
router(config)# privilege mode level level command
華為交換機配置基礎設定用戶特權級:
router(config)# enable secret level 3 dallas
router(config)# enable secret san-fran
router(config)# username student password cisco