<?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>baalchina &#187; 笔记</title>
	<atom:link href="http://www.baalchina.net/tag/%e7%ac%94%e8%ae%b0/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.baalchina.net</link>
	<description>baalchina技术日志</description>
	<lastBuildDate>Tue, 27 Sep 2011 07:12:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>如何使用路由器模拟Frame-Relay交换机</title>
		<link>http://www.baalchina.net/2008/09/router-to-fr-switch/</link>
		<comments>http://www.baalchina.net/2008/09/router-to-fr-switch/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 12:51:38 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[ccie]]></category>
		<category><![CDATA[frame-relay]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[笔记]]></category>

		<guid isPermaLink="false">http://baalchina.nau.edu.cn/?p=155</guid>
		<description><![CDATA[如何将一个路由器模拟成Frame-Relay交换机。
frame-relay switching
interface Serial1/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 102 interface Serial1/2 201
frame-relay route 103 interface Serial1/3 301
!
interface Serial1/2
no ip address
encapsulation frame-relay
shutdown
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 201 interface Serial1/1 102
frame-relay route 203 interface Serial1/3 302
!
interface Serial1/3
no ip address
encapsulation frame-relay
shutdown
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 301 interface [...]]]></description>
			<content:encoded><![CDATA[<p>如何将一个路由器模拟成Frame-Relay交换机。</p>
<blockquote><p><strong>frame-relay switching</strong></p>
<p>interface Serial1/1<br />
no ip address<br />
<strong>encapsulation frame-relay<br />
serial restart-delay 0<br />
clock rate 64000<br />
frame-relay intf-type dce<br />
frame-relay route 102 interface Serial1/2 201<br />
frame-relay route 103 interface Serial1/3 301</strong><br />
!<br />
interface Serial1/2<br />
no ip address<br />
encapsulation frame-relay<br />
shutdown<br />
serial restart-delay 0<br />
clock rate 64000<br />
frame-relay intf-type dce<br />
frame-relay route 201 interface Serial1/1 102<br />
frame-relay route 203 interface Serial1/3 302<br />
!<br />
interface Serial1/3<br />
no ip address<br />
encapsulation frame-relay<br />
shutdown<br />
serial restart-delay 0<br />
clock rate 64000<br />
frame-relay intf-type dce<br />
frame-relay route 301 interface Serial1/1 103<br />
frame-relay route 302 interface Serial1/2 203</p></blockquote>
<p>首先是frame-relay switching.</p>
<p>接下来，在接口中配置。</p>
<blockquote><p>interface Serial1/1<br />
no ip address<br />
encapsulation frame-relay #<em>封装</em><br />
serial restart-delay 0<br />
clock rate 64000 #<em>速率</em><br />
frame-relay intf-type dce #<em>要设置成DCE</em><br />
frame-relay route 102 interface Serial1/2 201 <em>#注意这里，前面是出的，后面是进入的。</em><br />
frame-relay route 103 interface Serial1/3 301 #<em>比如103是1->3的DLCI，从s1/1出去，进入s1/3，其中对于s1/3的DLCI是301.</em><br />
!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2008/09/router-to-fr-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>登录到一台设备后首先需要做的</title>
		<link>http://www.baalchina.net/2008/09/first-todo-logging/</link>
		<comments>http://www.baalchina.net/2008/09/first-todo-logging/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 12:41:26 +0000</pubDate>
		<dc:creator>baalchina</dc:creator>
				<category><![CDATA[ccie]]></category>
		<category><![CDATA[路由交换]]></category>
		<category><![CDATA[笔记]]></category>
		<category><![CDATA[配置]]></category>

		<guid isPermaLink="false">http://baalchina.nau.edu.cn/?p=152</guid>
		<description><![CDATA[当我们登录到一台路由器/交换机之后（无论真实设备还是模拟器），首先需要做的是：
Router(config)#hostname R1
R1(config)#no ip domain lookup
R1(config)#line console 0
R1(config-line)#logging synchronous
R1(config-line)#no exec-timeout
作用分别是：

指定Hostname
关闭域名查找，避免打错命令浪费时间
logging synchronous的作用就是会让提示出来之后，依旧保存用户之前输入的命令
使得终端不会超时

 
看一下使用synchronous之前的提示：

Router(config)#int e0/0
Router(config-if)#no shut
Router(config-if)# ip add 192.
*Mar  1 00:34:04.370: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Mar  1 00:34:05.372: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up168.1.1 255.255.255.0
Router(config-if)#

之后

Router(config)#int e0/0
Router(config-if)#no sh
Router(config-if)#ip add 192.16
*Mar  1 00:35:37.294: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Mar  1 [...]]]></description>
			<content:encoded><![CDATA[<p>当我们登录到一台路由器/交换机之后（无论真实设备还是模拟器），首先需要做的是：</p>
<blockquote><p>Router(config)#hostname R1<br />
R1(config)#no ip domain lookup<br />
R1(config)#line console 0<br />
R1(config-line)#logging synchronous<br />
R1(config-line)#no exec-timeout</p></blockquote>
<p>作用分别是：</p>
<ol>
<li>指定Hostname</li>
<li>关闭域名查找，避免打错命令浪费时间</li>
<li>logging synchronous的作用就是会让提示出来之后，依旧保存用户之前输入的命令</li>
<li>使得终端不会超时</li>
</ol>
<p> </p>
<p>看一下使用synchronous之前的提示：</p>
<blockquote><p>
Router(config)#int e0/0<br />
Router(config-if)#no shut<br />
Router(config-if)# ip add 192.<br />
*Mar  1 00:34:04.370: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up<br />
*Mar  1 00:34:05.372: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up168.1.1 255.255.255.0<br />
Router(config-if)#
</p></blockquote>
<p>之后</p>
<blockquote><p>
Router(config)#int e0/0<br />
Router(config-if)#no sh<br />
Router(config-if)#ip add 192.16<br />
*Mar  1 00:35:37.294: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up<br />
*Mar  1 00:35:38.296: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up<br />
Router(config-if)#ip add 192.168.1.1 255.255.255.0<br />
Router(config-if)#
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.baalchina.net/2008/09/first-todo-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

