<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IPCPU——网络之路 &#187; 角色</title>
	<atom:link href="http://www.ipcpu.com/tag/%e8%a7%92%e8%89%b2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ipcpu.com</link>
	<description></description>
	<lastBuildDate>Fri, 10 Feb 2012 15:05:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Cisco IOS基于角色的CLI视图</title>
		<link>http://www.ipcpu.com/2010/05/role-based-cli/</link>
		<comments>http://www.ipcpu.com/2010/05/role-based-cli/#comments</comments>
		<pubDate>Fri, 07 May 2010 10:00:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[网络技术]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[视图]]></category>
		<category><![CDATA[角色]]></category>

		<guid isPermaLink="false">http://www.ipcpu.com/?p=501</guid>
		<description><![CDATA[Role-Based CLI Access Packet Tracer 5.3可以做，较旧的IOS版本做不了。 要使用基于角色的CLI视图,需满足： 1。启用AAA 2。设置enable密码（pass、secret均可） 使用方法 进入管理模式 Router#enable view root Password: Router#%PARSER-6-VIEW_SWITCH: successfully set to view &#8216;root&#8217;. Router#conf  t Enter configuration commands, one per line.  End with CNTL/Z. Router(config)#parser view test !创建新视图test Router(config-view)#%PARSER-6-VIEW_CREATED: view &#8216;test&#8217; successfully created. Router(config-view)#secret 0 ipcpu Router(config-view)#? View commands:   commands  Configure commands for a view //设置可以执行的命令 [...]]]></description>
			<content:encoded><![CDATA[<p>Role-Based CLI Access</p>
<p>Packet Tracer 5.3可以做，较旧的IOS版本做不了。</p>
<p>要使用基于角色的CLI视图,需满足：</p>
<p>1。启用AAA<br />
2。设置enable密码（pass、secret均可）</p>
<p><strong>使用方法</strong></p>
<p>进入管理模式<br />
<span style="color: #008000;">Router#enable view root<br />
Password:<br />
Router#%PARSER-6-VIEW_SWITCH: successfully set to view &#8216;root&#8217;.</span></p>
<p><span style="color: #008000;">Router#conf  t<br />
Enter configuration commands, one per line.  End with CNTL/Z.<br />
Router(config)#parser view test<br />
!创建新视图test<br />
Router(config-view)#%PARSER-6-VIEW_CREATED: view &#8216;test&#8217; successfully created.</span></p>
<p><span style="color: #008000;">Router(config-view)#secret 0 ipcpu<br />
Router(config-view)#?<br />
View commands:<br />
  commands  Configure commands for a view //设置可以执行的命令<br />
  default   Set a command to its defaults<br />
  exit      Exit from view configuration mode<br />
  no        Negate a command or set its defaults<br />
  secret    Set a secret for the current view<br />
Router(config-view)#<span id="more-501"></span></span></p>
<p><strong>测试</strong>，默认没有几个命令<br />
Router#enable view test<br />
Password:<br />
Router#%PARSER-6-VIEW_SWITCH: successfully set to view &#8216;test&#8217;.</p>
<p>Router#?<br />
Exec commands:<br />
  disable     Turn off privileged commands<br />
  enable      Turn on privileged commands<br />
  exit        Exit from the EXEC<br />
  logout      Exit from the EXEC<br />
Router#</p>
<p>官网有几个角色命令的例子，相关命令等级的划分可参考官网</p>
<p>官网链接：<br />
<a href="http://www.cisco.com/en/US/products/sw/secursw/ps5318/products_configuration_example09186a0080993ff0.shtml" target="_blank">Cisco IOS Role-Based Access Control with SDM</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ipcpu.com/2010/05/role-based-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

