{"id":78,"date":"2009-12-08T09:31:58","date_gmt":"2009-12-08T01:31:58","guid":{"rendered":"http:\/\/ipcpu.sa.cy.com\/?p=78"},"modified":"2009-12-08T09:31:58","modified_gmt":"2009-12-08T01:31:58","slug":"privilege-level-on-ios","status":"publish","type":"post","link":"https:\/\/c.ipcpu.com\/2009\/12\/privilege-level-on-ios\/","title":{"rendered":"Cisco IOS\u6743\u9650\u7b49\u7ea7"},"content":{"rendered":"

Cisco<\/span><\/strong><\/span>\u00a0<\/span>IOS<\/span><\/strong><\/span>\u7684\u6743\u9650\u7b49\u7ea7\u6709\u4e09\u4e2alevel0\u3001level1\u3001level15
\n\u5176\u4e2dlevel0\u67095\u6761\u547d\u4ee4\uff0clevel1\u6709\u5927\u698240\u6761\u547d\u4ee4,\u5176\u4f59\u7684\u90fd\u5728level15\u4e2d\u3002
\n\u9ad8\u7b49\u7ea7\u53ef\u4ee5\u8c03\u7528\u4f4e\u7b49\u7ea7\u7684\u547d\u4ee4\u3002<\/p>\n

\u7528\u6237<\/span><\/strong><\/a><\/span>EXEC\u6a21\u5f0f-\u6743\u9650\u7b49\u7ea71\u00a0\u00a0 \u7279\u6743EXEC\u6a21\u5f0f-\u6743\u9650\u7b49\u7ea715<\/p>\n

\u6211\u4eec\u5148\u770blevel0\u7684\u547d\u4ee4\uff1a
\nRouter#enable 0
\nRouter>?
\nExec commands:
\ndisable\u00a0 Turn off privileged commands
\nenable\u00a0\u00a0 Turn on privileged commands
\nexit\u00a0\u00a0\u00a0\u00a0 Exit from the EXEC
\nhelp\u00a0\u00a0\u00a0\u00a0 Description of the interactive help system
\nlogout\u00a0\u00a0 Exit from the EXEC
\nRouter>enable 1
\n% No password set
\nRouter><\/span>
\n<\/strong><\/span>\u4ecelevel0\u8fdb\u5165level1\u63d0\u793a\u5bc6\u7801\u6ca1\u6709\u8bbe\u7f6e\u3002
\n\u7ed9level1\u8bbe\u7f6e\u5bc6\u7801\uff1a
\nRouter(config)#enable password level 1 0 ipcpu
\n% Converting to a secret.\u00a0 Please use \u201cenable secret\u201d in the future.
\n<\/strong><\/span>!\u8fd9\u91cc\u9762\u76840\u8868\u793a\u660e\u6587\u663e\u793a\uff0c\u4f46\u662fIOS<\/span><\/strong><\/span>\u81ea\u52a8\u628apassword\u8f6c\u4e3asecret\u3002<\/p>\n

Router#enable 0
\nRouter>en
\nRouter>enable 1
\nPassword:
\nRouter>
\n<\/strong><\/span>\u547d\u4ee4\u5982\u4e0b\uff1a
\nRouter>?
\nExec commands:
\naccess-enable\u00a0\u00a0\u00a0 Create a temporary Access-List entry
\naccess-profile\u00a0\u00a0 Apply user-profile to interface
\nclear\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Reset functions
\nconnect\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open a terminal connection
\ndisable\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Turn off privileged commands
\ndisconnect\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Disconnect an existing network connection
\nenable\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Turn on privileged commands
\nexit\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Exit from the EXEC
\nhelp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Description of the interactive help system
\nlock\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Lock the terminal
\nlogin\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Log in as a particular user
\nlogout\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Exit from the EXEC
\nmrinfo\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Request neighbor and version information from a multicast
\nrouter
\nmstat\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show statistics after multiple multicast traceroutes
\nmtrace\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Trace reverse multicast path from destination to source
\nname-connection\u00a0 Name an existing network connection
\npad\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open a X.29 PAD connection
\nping\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Send echo messages
\nppp\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Start IETF Point-to-Point Protocol (PPP)
\nresume\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Resume an active network connection
\nrlogin\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open an rlogin connection
\nshow\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Show running system information
\nslip\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Start Serial-line IP (SLIP)
\nsystat\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Display information about terminal lines
\ntelnet\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open a telnet connection
\nterminal\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set terminal line parameters
\ntraceroute\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Trace route to destination
\ntunnel\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open a tunnel connection
\nudptn\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Open an udptn connection
\nwhere\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 List active connections
\nx28\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Become an X.28 PAD
\nx3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Set X.3 parameters on PAD<\/strong><\/span><\/p>\n

Router><\/strong><\/span><\/p>\n

\u5176\u5b9elevel1\u7ea7\u522b\u5c31\u662f\u4ececonsole\u767b\u5f55\u5230\u8def\u7531router> \u7684\u6700\u521d\u7ea7\u522b<\/p>\n

\u63a5\u4e0b\u6765\u6211\u4eec\u8bbe\u7f6e\u51e0\u4e2a\u7528\u6237<\/span><\/strong><\/a><\/span>\uff0c\u5c0615\u7ea7\u7684\u547d\u4ee4clear line\u653e\u52301\u7ea7\uff1a<\/p>\n

Router(config)#username wss privilege 1 password wss
\n\u767b\u9646\u540e
\nRouter>clear ?
\n% Unrecognized command
\nRouter>en
\nPassword:
\nRouter#conf t
\nRouter(config)#privilege exec level 1 clear line
\n\u518d\u6b21\u7528wss\u767b\u9646
\nRouter>clear line ?
\n<0-70>\u00a0\u00a0 Line number
\naux\u00a0\u00a0\u00a0\u00a0\u00a0 Auxiliary line
\nconsole\u00a0 Primary terminal line
\ntty\u00a0\u00a0\u00a0\u00a0\u00a0 Terminal controller
\nvty\u00a0\u00a0\u00a0\u00a0\u00a0 Virtual terminal<\/strong><\/span><\/p>\n

Router>clear line<\/strong><\/span><\/p>\n

IOS<\/span><\/strong><\/span>\u53ef\u4ee5\u4f7f\u7528privilege\u547d\u4ee4\u5c061\u6216\u800515\u7684\u547d\u4ee4\u62a0\u51fa\u6765\uff0c\u653e\u5230\u5176\u4e2d\u7684\u51e0\u4e2a\u7ea7\u522b\u3002<\/p>\n

\u6211\u4eec\u5e73\u65f6\u4f7f\u7528\u7684enable\u5b9e\u9645\u5c31\u662fenable 15\u7684\u7b80\u5199
\nRouter(config)#enable secret level 15 0 ncist<\/strong><\/span><\/p>\n

\u518d\u6b21\u767b\u9646\u9a8c\u8bc1\uff01
\nH3C\u8bbe\u5907\u7684\u547d\u4ee4\u7ea7\u522b\u52064\u4e2a\uff1a \u8bbf\u95ee\u7ea70\u7ea7\u3001\u76d1\u63a7\u7ea71\u7ea7\u3001\u7cfb\u7edf\u7ea72\u7ea7\u3001\u7ba1\u7406\u7ea73\u7ea7\u3002<\/p>\n

\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1aIPCPU-\u7f51\u7edc\u4e4b\u8def<\/a> » Cisco IOS\u6743\u9650\u7b49\u7ea7<\/a><\/p>","protected":false},"excerpt":{"rendered":"

Cisco\u00a0IOS\u7684\u6743\u9650\u7b49\u7ea7\u6709\u4e09\u4e2alevel0\u3001level1\u3001level15 \u5176\u4e2dlevel0\u67095\u6761\u547d\u4ee4\uff0clevel1\u6709\u5927\u698240\u6761\u547d\u4ee4,\u5176\u4f59\u7684\u90fd\u5728level15\u4e2d\u3002 \u9ad8\u7b49\u7ea7\u53ef\u4ee5\u8c03\u7528\u4f4e\u7b49\u7ea7\u7684\u547d\u4ee4\u3002 \u7528\u6237EXEC\u6a21\u5f0f-\u6743\u9650\u7b49\u7ea71\u00a0\u00a0 \u7279\u6743EXEC\u6a21\u5f0f-\u6743\u9650\u7b49\u7ea715 \u6211\u4eec\u5148\u770blevel0\u7684\u547d\u4ee4\uff1a Router#enable 0 Router>? Exec commands: disable\u00a0 Turn off privileged commands enable\u00a0\u00a0 Turn on privileged commands exit\u00a0\u00a0\u00a0\u00a0 Exit from the EXEC help\u00a0\u00a0\u00a0\u00a0 Description of the interactive help system logout\u00a0\u00a0 Exit from the EXEC Router>enable 1 % No password set Router> \u4ecelevel0\u8fdb\u5165level1\u63d0\u793a\u5bc6\u7801\u6ca1\u6709\u8bbe\u7f6e\u3002 \u7ed9level1\u8bbe\u7f6e\u5bc6\u7801\uff1a Router(config)#enable password level 1 0 ipcpu % Converting […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/78"}],"collection":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":0,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"wp:attachment":[{"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/c.ipcpu.com\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}