<?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>enable</title>
	<atom:link href="https://www.aitaocui.cn/tag/230031/feed" rel="self" type="application/rss+xml" />
	<link>https://www.aitaocui.cn</link>
	<description>翡翠玉石爱好者聚集地</description>
	<lastBuildDate>Sat, 26 Nov 2022 22:28:40 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://www.aitaocui.cn/wp-content/uploads/2022/11/taocui.png</url>
	<title>enable</title>
	<link>https://www.aitaocui.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>enable(编程用语及概念)</title>
		<link>https://www.aitaocui.cn/article/341792.html</link>
					<comments>https://www.aitaocui.cn/article/341792.html#respond</comments>
		
		<dc:creator><![CDATA[萨尔那加]]></dc:creator>
		<pubDate>Sat, 26 Nov 2022 22:28:40 +0000</pubDate>
				<category><![CDATA[知识]]></category>
		<category><![CDATA[enable]]></category>
		<guid isPermaLink="false">https://www.aitaocui.cn/?p=341792</guid>

					<description><![CDATA[enable英音：[in&#x27;eibl]美音：[in&#x27;ebl] vt. ， 使能够，使(成为)可能，使可行，使容易，使有效，使实现。enable是cisco路由和交...]]></description>
										<content:encoded><![CDATA[</p>
<article>
<p>enable英音：[in&#x27;eibl]美音：[in&#x27;ebl] vt. ， 使能够，使(成为)可能，使可行，使容易，使有效，使实现。enable是cisco路由和交换设备的一个常用命令，用于将设备从当前的用户模式切换至特权模式(用户模式只能查看设备初始化信息，特权模式查看所有信息、调试、保存配置信息)。由于enable能够进入设备的特权模式，修改设备全部配置信息，为保证命令安全性，CISCO系统设置了enable密码，只有经过密码验证才能成功进入特权模式，否则退回用户模式。</p>
</article>
<article>
<h1>函数名</h1>
<p>功 能: 开放硬件中断</p>
<p>用 法: void enable(void);</p>
<p>程序例:</p>
<p>/* ** NOTE:</p>
<p>This is an interrupt service routine. You can NOT compile this program</p>
<p>with Test Stack Overflow turned on and get an executable file which will</p>
<p>operate correctly.</p>
<p>*/</p>
<p>#include </p>
<p>#include </p>
<p>#include </p>
<p>/* The clock tick interrupt */</p>
<p>#define INTR 0X1C</p>
<p>void interrupt ( *oldhandler)(void);</p>
<p>int count=0;</p>
<p>void interrupt handler(void)</p>
<p>{</p>
<p>/*</p>
<p>disable interrupts during the handling of the interrupt</p>
<p>*/</p>
<p>disable();</p>
<p>/* increase the global counter */</p>
<p>count++;</p>
<p>/*</p>
<p>re enable interrupts at the end of the handler</p>
<p>*/</p>
<p>enable();</p>
<p>/* call the old routine */</p>
<p>oldhandler();</p>
<p>}</p>
<p>int main(void)</p>
<p>{</p>
<p>/* save the old interrupt vector */</p>
<p>oldhandler = getvect(INTR);</p>
<p>/* install the new interrupt handler */</p>
<p>setvect(INTR, handler);</p>
<p>/* loop until the counter exceeds 20 */</p>
<p>while (count &lt; 20)</p>
<p>printf(&quot;count is %d//n&quot;,count);</p>
<p>/* reset the old interrupt handler */</p>
<p>setvect(INTR, oldhandler);</p>
<p>return 0;</p>
<p>}</p>
<h1>系统命令</h1>
<p>enable是cisco路由和交换设备的一个常用命令，用于将设备从当前的用户模式切换至特权模式(用户模式只能查看设备初始化信息，特权模式查看所有信息、调试、保存配置信息)。</p>
<p>用户模式只能查看设备信息，使用PING命令。特权模式则进入配置模式，可以修改设备配置信息。</p>
<h2 id="a-641516de">命令用法</h2>
<p>假如当前设备名是Switch，进入设备后首先处于用户模式(符号为&quot; &gt; &quot;)。</p>
<p>输入enable命令后，设备将从用户模式(符号为&quot;&gt;&quot;)升级至特权模式(符号为&quot;#&quot;)，</p>
<p>示例:</p>
<p>Switch &gt; (当前为用户模式)</p>
<p>Switch &gt; enable (输入enable命令)</p>
<p>Switch # (切换至特权模式)</p>
<h2 id="a-8ba84b72">命令安全性</h2>
<p>由于enable能够进入设备的特权模式，修改设备全部配置信息，为保证命令安全性，CISCO系统设置了enable密码，只有经过密码验证才能成功进入特权模式，否则退回用户模式。</p>
<p>建议首次启用 cisco 设备后，建立enable安全性配置，保证设备系统的访问安全。</p>
<p>设置enable密码主要有 enable password **** 和 enable secret **** 两个命令。****为设置的密码。以上两个命令均要在设备的全局模式(conf)下配置。</p>
<p>1、enable password **** ，设置普通密码，以明文方式保存在配置文件中，可以在show running-configure看到，普通级别的加密。</p>
<p>示例:</p>
<p>switch &gt; enable (进入特权模式)</p>
<p>switch # configure terminal (进入全局配置模式)</p>
<p>switch(conf) # enable password aaaa (设置普通密码aaaa)</p>
<p>通过 show running-configure 可以查看设备配置的明文密码，如下:</p>
<p>Switch#sh run</p>
<p>Building configuration&#8230;</p>
<p>Current configuration : 970 bytes</p>
<p>!</p>
<p>version 12.1</p>
<p>no service timestamps log datetime msec</p>
<p>no service timestamps debug datetime msec</p>
<p>no service password-encryption</p>
<p>!</p>
<p>hostname Switch</p>
<p>!</p>
<p>enable password aaaa (明文密码显示)</p>
<p>!</p>
<p>!</p>
<p>2、enable secret **** ，设置高级密码，以密文方式保存在配置文件中，无法在show running-configure看到，使用的是MD5算法加密。</p>
<p>注:secret 的级别高于password，如果两个密码同时设置，则secret 的密码生效，password的密码不生效。</p>
<p>示例:</p>
<p>switch &gt; enable (进入特权模式)</p>
<p>switch # configure terminal (进入全局配置模式)</p>
<p>switch(conf) # enable secret aaaa (设置高级密码aaaa)</p>
<p>通过 show running-configure 无法查看设备配置的明文密码，如下:</p>
<p>Switch#sh run</p>
<p>Building configuration&#8230;</p>
<p>Current configuration : 970 bytes</p>
<p>!</p>
<p>version 12.1</p>
<p>no service timestamps log datetime msec</p>
<p>no service timestamps debug datetime msec</p>
<p>no service password-encryption</p>
<p>!</p>
<p>hostname Switch</p>
<p>!</p>
<p>enable secret 5 $1$mERr$hy8E2yMknG1VFOpEO7zOL1 (密码以MD5加密后的乱码显示，无法查看到明文)</p>
<p>!</p>
<p>!</p>
<h1>编程语言</h1>
<h2 id="a-1a473159">用途</h2>
<p>获取或设置一个值，该值指示是否启用应用程序域。</p>
<p>命名空间:System.Web.Configuration</p>
<p>程序集:System.Web(在 system.web.dll 中)</p>
<h2 id="a-cebf6d94">语法</h2>
<p>Visual Basic(声明)</p>
<p>Public Property Enable As Boolean</p>
<p>Visual Basic(用法)</p>
<p>Dim instance As HttpRuntimeSection</p>
<p>Dim value As Boolean</p>
<p>value = instance.Enable</p>
<p>instance.Enable = value</p>
</article>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aitaocui.cn/article/341792.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
