<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://pimg.daum-img.net/whsnake/css/atom.css?ver=1.0" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom" version="1.0" >
  <title>정보보안의 최고의 실력자</title>
  <link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj"/>
  <link rel="self" type="application/atom+xml" href="http://blog.daum.net/xml/atom/bleemkmj"/>
  <rights>정보보안전문가</rights>
  <author>
    <name>정보보안전문가</name>
    <uri>http://blog.daum.net/bleemkmj</uri>
  </author>
  <generator uri="http://blog.daum.net" version="1.0">Daum blog (blogmaster@daum.net)</generator>
  <id>tag:blog.daum.net,2009:bleemkmj</id>
  <updated>2007-12-03T18:42:52Z</updated>

  		<entry>
	    <title>process 관련 명령어.. ps 이외의 명령어입니다. [공통]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/872442"/>
		<id>tag:blog.daum.net,2009:bleemkmj.872442</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-03T18:42:52Z</updated>
	    <published>2007-12-03T18:42:52Z</published>
	    <content type="html">
	    	프로세스 상태를 추적, 관리하기 &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;프로세스의 상태를 체크하기 위해 ps 명령어나 proctool, top 등을 써 보았을 것입니다.그런 &lt;BR&gt;데 많은 분들이 유용하게 사용할 수 있는 명령어들을 몰라서 소개해 놓았습니다. &lt;BR&gt;프로세스를 관리하는 명령어들이 /usr/proc/bin에 있으므로 PATH를 추가하면 이후 내용을 &lt;BR&gt;해보기가 쉽겠죠 &lt;BR&gt;본,콘쉘 상태에서 &lt;BR&gt;#PATH=/usr/proc/bin:$PATH;export PATH &lt;BR&gt;&lt;BR&gt;1. ptree :프로세스 트리구조를 보여준다 &lt;BR&gt;# ps -ef |grep netscape 해서 나온 결과가 &lt;BR&gt;dol 669 655 82 18:58:20 ? 65:55 /opt/netscape/netscape &lt;BR&gt;&lt;BR&gt;프로세스 아이디가 669번 이므로 &lt;BR&gt;#ptree 669 &lt;BR&gt;269 /usr/dt/bin/dtlogin -daemon &lt;BR&gt;541 /usr/dt/bin/dtlogin -daemon &lt;BR&gt;561 /bin/ksh /usr/dt/bin/Xsession &lt;BR&gt;613 /usr/dt/bin/sdt_shell -c unset DT; DISPLAY=:0; &lt;BR&gt;/usr/dt/bin/dt &lt;BR&gt;616 -ksh -c unset DT; DISPLAY=:0; &lt;BR&gt;/usr/dt/bin/dtsession_res -merg &lt;BR&gt;655 /usr/dt/bin/dtsession &lt;BR&gt;669 /opt/netscape/netscape &lt;BR&gt;676 (dns helper) &lt;BR&gt;&lt;BR&gt;위의 결과를 보면 269번 dtlogin이 dtlogin을 생성한뒤 dtlogin이 561번을 생성 561번이 613 &lt;BR&gt;을 등등등.... 669번의 netscape 가 676번을 호출한 것을 알 수 있다. &lt;BR&gt;&lt;BR&gt;2. pstop : 프로세스를 정지한다 &lt;BR&gt;#pstop 669 &lt;BR&gt;netscape 을 잠시 정지한다 &lt;BR&gt;&lt;BR&gt;3. prun : 프로세스를 다시 시작한다 &lt;BR&gt;#prun 669 &lt;BR&gt;netscape 을 다시 시작한다 &lt;BR&gt;&lt;BR&gt;4 pcred : 프로세스의 보안정보 표시 &lt;BR&gt;#pcred 669 &lt;BR&gt;669: e/r/suid=101 e/r/sgid=14 &lt;BR&gt;effective,real saved(u/g)id를 표시한다. &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;5. 프로세스의 메모리 맵상의 정보 표시 &lt;BR&gt;#pmap 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;00010000 13124K read/exec /opt/netscape/netscape &lt;BR&gt;00CF0000 988K read/write/exec /opt/netscape/netscape &lt;BR&gt;00DE7000 15816K read/write/exec [ heap ] &lt;BR&gt;EEE60000 8K - [ anon ] &lt;BR&gt;메모리 주소번지와 메모리 세그먼트의 사이즈를 표시한다. &lt;BR&gt;&lt;BR&gt;6. pflags : 프로세스와 플래그 정보, 시그널 핸들링 상태 등을 표시 &lt;BR&gt;#pflags 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;data model = _ILP32 flags = PR_ORPHAN &lt;BR&gt;/1: flags = PR_PCINVAL|PR_ASLEEP [ poll(0xef201a00,0x5,0xa603) ] &lt;BR&gt;sigmask = 0x00002000,0x00000000 lwppend = 0x00002000,0x00000000 &lt;BR&gt;플래그와 시그널 핸들링 상태 등을 표시한다 . &lt;BR&gt;&lt;BR&gt;7. pldd : 다이나믹 라이브러리에 링크된 정보 표시 &lt;BR&gt;#pldd 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;/usr/dt/lib/libXm.so.3 &lt;BR&gt;/usr/openwin/lib/libXt.so.4 &lt;BR&gt;/usr/openwin/lib/libXmu.so.4 &lt;BR&gt;/usr/openwin/lib/libXext.so.0 &lt;BR&gt;/usr/openwin/lib/libX11.so.4 &lt;BR&gt;... &lt;BR&gt;링크된 다이나믹 라이브러리들 표시해준다. &lt;BR&gt;&lt;BR&gt;8. ptime : 수행 시간 표시 &lt;BR&gt;#ptime ls &lt;BR&gt;dtdbcache_:0 ps_data sdtvolcheck677 speckeysd.lock &lt;BR&gt;real 0.166 &lt;BR&gt;user 0.029 &lt;BR&gt;sys 0.057 &lt;BR&gt;실제 수행시간, 유저프로세스시간, 시스템 프로세스 시간을 보여 준다 . &lt;BR&gt;&lt;BR&gt;9. pfiles : open한 파일 표시 &lt;BR&gt;#pfiles 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;Current rlimit: 64 file descriptors &lt;BR&gt;0: S_IFCHR mode:0620 dev:32,24 ino:76843 uid:101 gid:7 rdev:24,2 &lt;BR&gt;O_RDWR|O_LARGEFILE &lt;BR&gt;1: S_IFCHR mode:0666 dev:32,24 ino:76599 uid:0 gid:3 rdev:13,2 &lt;BR&gt;해당 프로세스와 연관된 파일들과 열수 있는 파일갯수를 확인 할 수 있다. &lt;BR&gt;&lt;BR&gt;10. pwdx 프로세스의 현재 디렉토리 표시 &lt;BR&gt;#ps -e |grep cmdtool &lt;BR&gt;#pwdx 669 &lt;BR&gt;669: /w/dol &lt;BR&gt;&lt;BR&gt;11. pwait : 프로세스가 끝날 때까지 기다림 &lt;BR&gt;#ps -e | grep cmdtool &lt;BR&gt;273 console 0:01 cmdtool &lt;BR&gt;281 console 0:01 cmdtool &lt;BR&gt;중간에 281을 kill 한다 &lt;BR&gt;# pwait -v 281 &lt;BR&gt;281: terminated, wait status 0x0000 &lt;BR&gt;&lt;BR&gt;12. psig : 프로세스의 시그널 처리 성향 표시 &lt;BR&gt;#psig 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;HUP caught 0 &lt;BR&gt;HUP,INT,QUIT,ILL,TRAP,ABRT,EMT,FPE,BUS,SEGV,SYS,PIPE,ALRM,TERM,USR1,USR &lt;BR&gt;2,CLD,PWR,WINCH,URG,POLL,TSTP,CONT,TTIN,TTOU,VTALRM,PROF,XCPU,XFSZ,W &lt;BR&gt;AITING,LWP,FREEZE,THAW,CANCEL,LOST,RTMIN .... &lt;BR&gt;시그널 처리 성향을 보여준다. &lt;BR&gt;&lt;BR&gt;13. pstack : 스택의 점유상태 표시 &lt;BR&gt;#pstack 669 &lt;BR&gt;669: /opt/netscape/netscape &lt;BR&gt;ef31437c poll (ef201a00, 5, 29bb) &lt;BR&gt;ef2ce3dc select (ef201a28, ef201c70, ef334ffc, ef201c74, ef335000, 1d) + 298 &lt;BR&gt;Hex값과 심볼릭 값으로 스택에 있는 상태 표시, 만일 문제가 생긴 프로세스이면 어디에서 &lt;BR&gt;프로세스가 정지 했는지 확인 할 수 있다&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>[정보] 파일 생성,삭제 시 이루어시는 프로세스 상태</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/872420"/>
		<id>tag:blog.daum.net,2009:bleemkmj.872420</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-03T18:41:31Z</updated>
	    <published>2007-12-03T18:41:31Z</published>
	    <content type="html">
	    	파일이 생성될때 삭제될때 프로세상에서 바라본 절차입니다.. &lt;BR&gt;모르는 용어(inode, inumber 등)가 있으면, 중급자 강의를 보시기 바랍니다. &lt;BR&gt;&lt;BR&gt;●파일 생성시 &lt;BR&gt;1) 슈퍼 블럭에서 하나의 inode를 할당한다. &lt;BR&gt;2) inode의 내용들을 초기화한다. &lt;BR&gt;3) inumber와 파일시스템을 해당 상위 디렉토리에 기록한다. &lt;BR&gt;4) i-list에 있는 한 엔트리를 할당한다. &lt;BR&gt;5) 사용자 영역의 파일 지시자(descriptor)에 한 엔트리를 할당한다. &lt;BR&gt;6) 파일 지시자를 프로세스에게 반환한다. &lt;BR&gt;&lt;BR&gt;●파일 삭제시 &lt;BR&gt;1) 주어진 경로명을 i-list의 포인터로 바꾼다. &lt;BR&gt;2) 주어진 파일이 마운트되었으면 삭제 못하고 반환한다. &lt;BR&gt;3) 주어진 파일이 공유된 텍스트이고 링크 수가 1이면 반환한다. &lt;BR&gt;4) 파일의 링크 수를 하나 감소 시키고, 상위 디렉토리에서 그 파일의 inumber 를 0으로 설정한다. &lt;BR&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>gzip, gcc 설치하기 [공통 ]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/850018"/>
		<id>tag:blog.daum.net,2009:bleemkmj.850018</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-01T15:40:50Z</updated>
	    <published>2007-12-01T15:40:50Z</published>
	    <content type="html">
	    	&lt;P&gt;1. gzip 설치 &lt;BR&gt;1) 인스톨시 설치 &lt;BR&gt;- Solaris install 시에 install 레벨을 Developer 이상으로 설치하면 자동으로 설치됨 &lt;BR&gt;2) 패키지 설치 &lt;BR&gt;- &lt;A href=&quot;http://www.sunfreeware.com/&quot; target=nlink&gt;&lt;FONT color=#333333 size=2&gt;http://www.sunfreeware.com&lt;/FONT&gt;&lt;/A&gt; 에서 gzip을 다운 받으셔서 아래 명령을 수행 &lt;BR&gt;- 인텔용과 스팍용이 있습니다. 자기시스템에 맞는걸 다운받으세요.. &lt;BR&gt;# pkgadd -d gzip-1.2.4a-sol8-intel-local &lt;BR&gt;&lt;BR&gt;2. gcc 설치 &lt;BR&gt;- gcc는 Solaris 에서는 지원되지 않습니다. &lt;BR&gt;&lt;A href=&quot;http://www.sunfreeware.com/&quot; target=nlink&gt;&lt;FONT color=#333333 size=2&gt;http://www.sunfreeware.com&lt;/FONT&gt;&lt;/A&gt; 에서 다운로드 받으세요.. &lt;BR&gt;# gzip -d gcc-3.0-sol8-intel-local.gz &lt;BR&gt;# pkgadd -d gcc-3.0-sol8-intel-local &lt;BR&gt;# ln -s /usr/local/bin/gzip /usr/bin/gzip &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;3. PATH 설정 &lt;BR&gt;- 위 작업을 수행한 다음 gcc 명령을 내리면 명령이 없다고 나올 겁니다. &lt;BR&gt;명령어의 위치가 설정되어 있지 않은거죠.. 그러면 다음과 같이 경로 에 있는 디렉토리에 링크 파일을 만들어줍니다. &lt;BR&gt;# ln -s /usr/local/bin/gcc /usr/bin/gcc &lt;BR&gt;ln 명령어의 방법은 &lt;BR&gt;ln -s [원본파일] [링크파일] 입니다.. &lt;BR&gt;&lt;/P&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>솔라리스에서 ls 에 색깔을 주자.. [공통]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/850001"/>
		<id>tag:blog.daum.net,2009:bleemkmj.850001</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-01T15:39:58Z</updated>
	    <published>2007-12-01T15:39:58Z</published>
	    <content type="html">
	    	리눅스의 ls는 색깔로 구분해줘서 찾기가 참 쉽습니다. &lt;BR&gt;솔라리스에서도 이렇게 사용할 수 있는데요.. &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;파일 : &lt;A href=&quot;http://www.sunfreeware.com/&quot; target=nlink&gt;&lt;FONT color=#333333 size=2&gt;http://www.sunfreeware.com&lt;/FONT&gt;&lt;/A&gt; &lt;BR&gt;가셔서 우측메뉴에서 환경과 솔라버전에 맞춰서 누른후 하단에 보시면 &lt;BR&gt;fileutils-4.1 이라고 있습니다. &lt;BR&gt;&lt;BR&gt;패키지로 받으셔서 , pkgadd -d fileutils-4.1 하신 후에 /usr/local/bin 이 밑에 깔리니 다음과 같이 입력하시면 됩니다. &lt;BR&gt;&lt;BR&gt;/usr/local/bin/ls --color &lt;BR&gt;&lt;BR&gt;매번 칠때마다 경로와 옵션을 지정해주려면 귀찮으니 쓰고계신 쉘의 환경설정파일에 앨리어싱 설정을 해주신후 사용하면 편리합니다. &lt;BR&gt;&lt;BR&gt;# alias ls='/usr/local/bin/ls --color' &lt;BR&gt;&lt;BR&gt;이렇게 사용해 보세요.. ^^; &lt;BR&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>키보드 접촉 불량시 시스템 Hang 을 막자 [Sparc CPU]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/849985"/>
		<id>tag:blog.daum.net,2009:bleemkmj.849985</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-01T15:38:53Z</updated>
	    <published>2007-12-01T15:38:53Z</published>
	    <content type="html">
	    	sparc 솔라리스의 경우.. &lt;BR&gt;&lt;BR&gt;운영체제가 돌아가고 있는 도중 키보드가 빠져버리면.. 시스템이 정지 해버립니다. &lt;BR&gt;이 때.. 키보드를 다시 �으면 되지만.. 이렇게 키보드가 빠져도 운영체제를 계속 돌리게 하려면 다음과 같은 작업을 해야 합니다. &lt;BR&gt;&lt;BR&gt;/etc/default/kbd 라는 &lt;BR&gt;&lt;BR&gt;KEBOARD_ABORT=disable &lt;BR&gt;이 값이 주석처리 되어 있는데.. &lt;BR&gt;주석 처리 되어 있는 곳을 지우시고 위 값을 활성화 시키시면.. &lt;BR&gt;&lt;BR&gt;키보드의 stop-a 키도 먹지 않고.. &lt;BR&gt;키보드 접촉 불량시에 ... 시스템이 정지 되는 것을 막을 수 있습니다.. &lt;BR&gt;&lt;BR&gt;물론 수정하고 난 다음에 시스템을 리부팅 시켜줘야 겠죠.. &lt;BR&gt;&lt;BR&gt;리부팅 시켜 주시지 않으실려면.. 다음을 수행하시면 됩니다. &lt;BR&gt;&lt;BR&gt;# kbd -i&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>floppy disk ufs filesystem format 하기.... [공통]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/849975"/>
		<id>tag:blog.daum.net,2009:bleemkmj.849975</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-01T15:38:05Z</updated>
	    <published>2007-12-01T15:38:05Z</published>
	    <content type="html">
	    	1. floppy diskette을 drive에 넣고 아래와 같이 fdformat 명령을 실행한다. &lt;BR&gt;&lt;BR&gt;# fdformat -U -b &quot;label-name&quot; &lt;BR&gt;Formatting 1.44 MB in /vol/dev/rdiskette0/no_name &lt;BR&gt;Press return to start formatting floppy. &lt;BR&gt;.................................................................. &lt;BR&gt;# &lt;BR&gt;&lt;BR&gt;위의 명령중 각 option 의 내용은 아래와 같다. &lt;BR&gt;&lt;BR&gt;-U : floppy diskette이 이미 mount 된 경우라도 umount하여 format한다. &lt;BR&gt;-b : diskette의 label 이름을 지정하기 위한 option이다 &lt;BR&gt;&quot;label-name&quot; : diskette에 지정할 label 이름이다. &lt;BR&gt;이 이름은 floopy diskette 을 mount하였을때 생기는 실제 &lt;BR&gt;mount point(/floppy/&quot;label-name&quot;)의 이름이 된다. &lt;BR&gt;&lt;BR&gt;2. format 이 정상적으로 끝나면 &quot;newfs&quot; 명령을 실행하여 filesystem을 만든다. &lt;BR&gt;&lt;BR&gt;# newfs /dev/rdiskette0 &lt;BR&gt;&lt;BR&gt;만약 위의 명령을 실행했을때 아래와 같이 error message가 발생하면 volume manager &lt;BR&gt;daemon인 &quot;vold&quot; 를 종료시킨 후 다시 newfs 명령을 실행한다. &lt;BR&gt;&lt;BR&gt;# newfs /dev/rdiskette0 &lt;BR&gt;/dev/rdiskette0: Device busy &lt;BR&gt;&lt;BR&gt;# ps -ef|grep vold &lt;BR&gt;root 267 1 0 11월 28 ? 0:02 /usr/sbin/vold &lt;BR&gt;^^^^^ &lt;BR&gt;vold process id &lt;BR&gt;# kill 267 &lt;BR&gt;# newfs /dev/rdiskette0 &lt;BR&gt;newfs: construct a new file system /dev/rdiskette0: (y/n)? &lt;BR&gt;&lt;BR&gt;위와 같이 new file system을 만들것인지 물어보면 &quot;y&quot;와 &quot;retunrn&quot; key를 친다. &lt;BR&gt;&lt;BR&gt;3. newfs가 정상적으로 끝나면 &quot;vold&quot; process가 실행중인지 확인한 후, 실행중이 &lt;BR&gt;아니면 vold를 실행한다. &lt;BR&gt;&lt;BR&gt;# ps -ef|grep vold &lt;BR&gt;root 8321 1 1 17:26:20 ? 0:00 /usr/sbin/vold &lt;BR&gt;&lt;BR&gt;위와 같이 결과가 나오지 않으면 아래와 같이 명령을 실행한다. &lt;BR&gt;&lt;BR&gt;# /etc/init.d/volmgt start &lt;BR&gt;volume management starting. &lt;BR&gt;&lt;BR&gt;4. &quot;volcheck&quot; 명령을 실행하여 floppy diskette을 mount한후 &quot;df&quot; 명령으로 mount가 &lt;BR&gt;되었는지 확인한다. &lt;BR&gt;&lt;BR&gt;# volcheck &lt;BR&gt;# df -k &lt;BR&gt;파일시스템 K바이트 사용 가용 용량 설치지점 &lt;BR&gt;/dev/dsk/c0t0d0s0 1813958 696114 1063426 40% / &lt;BR&gt;/proc 0 0 0 0% /proc &lt;BR&gt;fd 0 0 0 0% /dev/fd &lt;BR&gt;/vol/dev/diskette0/&quot;label-name&quot; &lt;BR&gt;1263 9 1128 1% /floppy/&quot;label-name&quot; &lt;BR&gt;&lt;BR&gt;위의 결과중 &quot;label-name&quot;은 diskette을 format 할때(fdformat) 지정한 label &lt;BR&gt;name 이다. &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;출처 : SUN 기술문서&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>파일 확장자 한꺼번에 바꾸기...shell script [공통]</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/849951"/>
		<id>tag:blog.daum.net,2009:bleemkmj.849951</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-12-01T15:36:19Z</updated>
	    <published>2007-12-01T15:36:19Z</published>
	    <content type="html">
	    	유닉스에서 불편한점은 여러개의 확장자가 같은 파일의 확장자를 한꺼번에 이름을 바꾸어주려면 매우 불편합니다. &lt;BR&gt;&lt;BR&gt;예를 들어.. &lt;BR&gt;test.tot 를 test.txt 로 바꿔줘야 한다면.. 간단하죠.. &lt;BR&gt;$ mv test.tot test.txt 이렇게 하면 됩니다. &lt;BR&gt;&lt;BR&gt;하지만 test.tot, test1.tot, test3.tot 등 2개이상의 파일을 한꺼번에 &lt;BR&gt;test.txt, test1.txt, test3.txt로 바꿔줘야 할 때는? &lt;BR&gt;&lt;BR&gt;음... 이거 문제입니다.. ㅡㅡ; &lt;BR&gt;한꺼번에 바꿔주는 명령이 유닉스에서는 존재하지 않습니다. ㅡㅡ; &lt;BR&gt;&lt;BR&gt;이걸 쉘 프로그램으로 해결 했습니다. &lt;BR&gt;그럼..아래의 텍스트를 복사해서 그대로 파일로 만들어 쓰시기 바랍니다. &lt;BR&gt;&lt;BR&gt;복사한 다음에는 반드시 다음과 같은 명령을 내리셔야합니다. &lt;BR&gt;스크립트 이름을 ext.sh 라고 가정한다면.. &lt;BR&gt;&lt;BR&gt;# chmod 755 ./ext.sh -&gt; 실행권한을 주는겁니다. &lt;BR&gt;# ./ext.sh -&gt; 실행합니다. &lt;BR&gt;&lt;BR&gt;그럼.. 다음을 vi 로 작성하시면 됩니다. &lt;BR&gt;&lt;BR&gt;============= 파일 시작 ================== &lt;BR&gt;#!/bin/ksh &lt;BR&gt;# Script Name : ext.sh &lt;BR&gt;# Program Explan : change extention of all files in curent director &lt;BR&gt;# by vivakim &lt;BR&gt;# 2003. 2. 7 &lt;BR&gt;# !! Coution !! &lt;BR&gt;## This Progrm is only in xxx.xxx file used &lt;BR&gt;# The Other files is unusable &lt;BR&gt;##################################################3 &lt;BR&gt;&lt;BR&gt;echo &quot;insert source ext : \c&quot; # source extention input &lt;BR&gt;read X2 &lt;BR&gt;echo &quot;insert result ext : \c&quot; # Result extention input &lt;BR&gt;read R2 &lt;BR&gt;&lt;BR&gt;if [[ &quot;$R2&quot; = &quot;&quot; ]] || [[ &quot;$X2&quot; = &quot;&quot; ]] # argument check &lt;BR&gt;then &lt;BR&gt;echo &quot;insert two args&quot; &lt;BR&gt;exit 1 &lt;BR&gt;fi &lt;BR&gt;&lt;BR&gt;ls *.$X2 &gt; tmpfile 2&gt; /dev/null # save file &lt;BR&gt;&lt;BR&gt;if [[ $? != 0 ]] # extention check &lt;BR&gt;then &lt;BR&gt;echo &quot;$X2 is not found&quot; &lt;BR&gt;exit 2 &lt;BR&gt;fi &lt;BR&gt;&lt;BR&gt;IFS='.' # Field seperator setting in '.' &lt;BR&gt;&lt;BR&gt;while read X1 X2 # X1 is filename X2 is extention &lt;BR&gt;do &lt;BR&gt;EXTS=&quot;$X1.$X2&quot; # EXTS is source entire filename &lt;BR&gt;EXTR=&quot;$X1.$R2&quot; # EXTR is Result entire filename &lt;BR&gt;mv &quot;$EXTS&quot; &quot;$EXTR&quot; &lt;BR&gt;echo &quot;$EXTS to $EXTR change sucess&quot; &lt;BR&gt;if [[ $? != 0 ]] ; then &lt;BR&gt;echo &quot; $EXTS to $EXTR change false &quot; &lt;BR&gt;exit 3 &lt;BR&gt;fi &lt;BR&gt;done &lt; tmpfile &lt;BR&gt;rm tmpfile # tmp file deleted &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;========== 파일 끝 =========== &lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=유닉스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;유닉스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>CCNP - Switching Exam Certification Guide9</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/831501"/>
		<id>tag:blog.daum.net,2009:bleemkmj.831501</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-30T17:02:12Z</updated>
	    <published>2007-11-30T17:02:12Z</published>
	    <content type="html">
	    	Switch Port Aggregation with EtherChannel 151 
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;contiguous on the switch module. Newer switch modules allow the ports to be selected from &lt;BR&gt;anywhere on the module or even across modules. Generally, all bundled ports must first belong &lt;BR&gt;to the same VLAN. If used as a trunk, bundled ports must all be in trunking mode and pass the &lt;BR&gt;same VLANs. As well, each of the ports should have the same speed and duplex settings before &lt;BR&gt;they are bundled. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Distributing Traffic in EtherChannel &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Traffic in an EtherChannel is statistically load-balanced across the individual links bundled &lt;BR&gt;together. However, the load is not necessarily balanced equally across all of the links. Instead, &lt;BR&gt;frames are forwarded on a specific link as a function of the addresses present in the frame. Some &lt;BR&gt;combination of source and destination addresses (either MAC or IP addresses) is used to form &lt;BR&gt;a binary pattern used to select a link number in the bundle. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switches perform an exclusive-OR (XOR) operation on one or more low-order bits of the &lt;BR&gt;addresses to determine what link to use. For example, an EtherChannel consisting of two links &lt;BR&gt;bundled together requires the XOR of the last bit of the addresses in the frame. A four-link &lt;BR&gt;bundle uses the XOR of the last two bits. Likewise, an eight-link bundle uses the XOR of the &lt;BR&gt;last three bits. The outcome of the XOR operation selects the outbound link of the &lt;BR&gt;EtherChannel. Table 5-2 shows the results of an XOR on a two-link bundle. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Table 5-2 Frame Distribution on a Two-Link EtherChannel &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Binary Addresses Two-Link EtherChannel XOR and Link Number &lt;BR&gt;Addr1: ... xxxxxxx0 &lt;BR&gt;Addr2: ... xxxxxxx0 ... xxxxxxx0: Link 0 &lt;BR&gt;Addr1: ... xxxxxxx0 &lt;BR&gt;Addr2: ... xxxxxxx1 ... xxxxxxx1: Link 1 &lt;BR&gt;Addr1: ... xxxxxxx1 &lt;BR&gt;Addr2: ... xxxxxxx0 ... xxxxxxx1: Link 1 &lt;BR&gt;Addr1: ... xxxxxxx1 &lt;BR&gt;Addr2: ... xxxxxxx1 ... xxxxxxx0: Link 0 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The XOR operation is performed independently on each bit position in the address value. If the &lt;BR&gt;two address values have the same bit value, the XOR result is 0. If the two address bits differ, &lt;BR&gt;the XOR result is 1. In this way, frames can be statistically distributed among the links with the &lt;BR&gt;assumption that MAC or IP addresses are statistically distributed throughout the network. In a &lt;BR&gt;four-link EtherChannel, the XOR is performed on the lower two bits of the address values &lt;BR&gt;resulting in a two-bit XOR value (each bit is computed separately) or a link number from 0 to 3. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A conversation between two devices will always be sent through the same EtherChannel link &lt;BR&gt;because the two endpoint addresses stay the same. However, when a device talks to several &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;152 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;other devices, chances are that the destination addresses are equally distributed with zeros and &lt;BR&gt;ones in the last bit (even and odd address values). This causes the frames to be distributed across &lt;BR&gt;the EtherChannel links. Note that a conversation between two end devices to create a load &lt;BR&gt;imbalance is possible using one of the links in a bundle because all traffic between a pair of &lt;BR&gt;stations will use the same link. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switches with an Ethernet Bundling Controller (EBC) are limited to distributing frames based &lt;BR&gt;on source and destination MAC addresses only. For each frame, the source MAC address is &lt;BR&gt;XOR’d with the destination MAC address. Because this is the only choice, no switch &lt;BR&gt;configuration is necessary. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switches such as the IOS-based Catalyst 2900 and 3500XL distribute frames according to a &lt;BR&gt;different criteria. By default, EtherChannel frames are distributed by the low-order bits of their &lt;BR&gt;source MAC addresses. The administrator can select either source or destination addresses as &lt;BR&gt;the distribution method by using the following command (the port group is defined in the next &lt;BR&gt;section): &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch (config-if)# port group group-number [distribution {source | destination}] &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Other switches, such as the Catalyst 6000, offer more flexibility in computing frame &lt;BR&gt;distribution. The XOR operation can be performed on either MAC or IP addresses and can be &lt;BR&gt;based solely on source or destination addresses or both. Use the following command to &lt;BR&gt;configure frame distribution for all EtherChannel switch links: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch&gt; (enable) set port channel all distribution {ip | mac} [source | destination &lt;BR&gt;| both] &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The default configuration is to use IP addresses, both source and destination. Normally, this &lt;BR&gt;action should result in a statistical distribution of frames. However, you should determine if the &lt;BR&gt;EtherChannel is imbalanced according to the traffic patterns present. For example, if a single &lt;BR&gt;server is receiving most of the traffic on an EtherChannel, the source IP addresses of the stations &lt;BR&gt;talking to the server can cause one link to be overused. In the case of a four-link EtherChannel, &lt;BR&gt;perhaps two of the four links are overused. Configuring the use of MAC addresses or only the &lt;BR&gt;source IP addresses might cause the distribution to be more balanced across all the bundled &lt;BR&gt;links. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;In applications involving switches like the Catalyst 6000, some EtherChannel traffic may &lt;BR&gt;consist of protocols other than IP. For example, IPX or SNA frames may be switched along with &lt;BR&gt;IP. Non-IP protocols would need to be distributed according to MAC addresses because IP &lt;BR&gt;addresses are not applicable. Here, the switch should be configured to use MAC addresses &lt;BR&gt;instead of the IP default. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Switch Port Aggregation with EtherChannel 153 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE A special case results when a router is connected to an EtherChannel because the router will &lt;BR&gt;use its own MAC address in all frames that it forwards to many end stations. For the EBC-based &lt;BR&gt;switch, this means that the destination MAC address is always the same for frames destined &lt;BR&gt;through the router. Usually this won’t present a problem because the source MAC addresses are &lt;BR&gt;all different. When two routers are forwarding frames to each other, however, both source and &lt;BR&gt;destination MAC addresses will remain constant and only one link of the EtherChannel will be &lt;BR&gt;used. The flexibility in the Catalyst 6000 switch allows the administrator to select exactly which &lt;BR&gt;criteria frames will be distributed. If the MAC addresses are remaining constant, you should &lt;BR&gt;choose IP addresses instead. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Port Aggregation Protocol (PAgP) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To provide automatic EtherChannel configuration and negotiation between switches, Cisco &lt;BR&gt;developed the Port Aggregation Protocol (PAgP). PAgP packets are exchanged between &lt;BR&gt;switches over EtherChannel-capable ports. The identification of neighbors and port group &lt;BR&gt;capabilities are learned and are compared with local switch capabilities. Ports that have the &lt;BR&gt;same neighbor device ID and port group capability will be bundled together as a bidirectional, &lt;BR&gt;point-to-point EtherChannel link. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;PAgP will form an EtherChannel only on ports that are configured for either identical static &lt;BR&gt;VLANs or trunking. PAgP also dynamically modifies parameters of the EtherChannel if one of &lt;BR&gt;the bundled ports is modified. For example, if the VLAN, speed, or duplex mode of a port in an &lt;BR&gt;established bundle is changed, PAgP will change that parameter for all ports in the bundle. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;When ports are bundled into an EtherChannel, all broadcasts and multicasts are sent over one &lt;BR&gt;port in the bundle only. Broadcasts will not be sent over the remaining ports and will not be &lt;BR&gt;allowed to return over any other port in the bundle. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch ports can be configured for the following modes of PAgP: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. On.The ports will always be bundled as an EtherChannel. No negotiation takes place &lt;BR&gt;because PAgP packets are not sent or processed. &lt;BR&gt;. Off.The ports will never be bundled as an EtherChannel. They will remain as individual &lt;BR&gt;access or trunk links. No PAgP packets are sent. &lt;BR&gt;. Auto.(Default) PAgP packets are sent to negotiate an EtherChannel only if the far end &lt;BR&gt;initiates EtherChannel negotiations. Therefore, auto mode is a passive mode that requires &lt;BR&gt;a neighbor in desirable mode. (Two switches in auto mode will never negotiate an &lt;BR&gt;EtherChannel because each is passively waiting for the other to request an EtherChannel.) &lt;BR&gt;. Desirable.PAgP packets are sent to actively negotiate an EtherChannel. This mode &lt;BR&gt;starts the negotiation process, and will bring up a successful EtherChannel with another &lt;BR&gt;switch in either desirable or auto mode. &lt;BR&gt;&lt;BR&gt;154 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;EtherChannel Configuration &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Before configuring switch ports into an EtherChannel bundle, you should make sure the switch &lt;BR&gt;module supports it. Use the show port capabilities [module/port] command to do this. (This &lt;BR&gt;command is available on Catalyst software versions 4.x and later.) Example 5-1 demonstrates &lt;BR&gt;using the show port capabilities command to ensure the switch module supports EtherChannel &lt;BR&gt;bundling. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Example 5-1 show port capabilities Command Output &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch (enable) show port capabilities 2 &lt;BR&gt;Model WS-X5234 &lt;BR&gt;Port 2/1 &lt;BR&gt;Type 10/100BaseTX &lt;BR&gt;Speed auto,10,100 &lt;BR&gt;Duplex half,full &lt;BR&gt;Trunk encap type ISL,802.1Q &lt;BR&gt;Trunk mode on,off,desirable,auto,nonegotiate &lt;BR&gt;Channel 2/1-2,2/1-4 &lt;BR&gt;Broadcast suppression percentage(0-100) &lt;BR&gt;Flow control receive-(off,on),send-(off,on) &lt;BR&gt;Security yes &lt;BR&gt;Membership static,dynamic &lt;BR&gt;Fast start yes &lt;BR&gt;Rewrite yes &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;On this and other early Ethernet modules, only certain ports can be bundled. Notice that &lt;BR&gt;Example 5-1 shows that only ports 2/1 and 2/2 or 2/1 through 2/4 can be bundled. These &lt;BR&gt;modules use a hardware chip called the Ethernet Bundling Controller (EBC) to manage the &lt;BR&gt;EtherChannel ports. Ports to be bundled must belong to the same EBC, according to the specific &lt;BR&gt;arrangement of ports on the module. For example, a 24-port module offers three groups of eight &lt;BR&gt;ports and a 12-port module offers three groups of four ports. Generally, the EBC requires an &lt;BR&gt;EtherChannel to start with the first port of a group. The output of the show port capabilities &lt;BR&gt;command will show the acceptable port groupings, if they are available. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Newer modules, such as the Catalyst 6000, offer more flexibility with EtherChannel &lt;BR&gt;configuration. Ports located anywhere on an EtherChannel-capable module can be bundled &lt;BR&gt;along with ports from other modules. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE Remember the following guidelines that apply to the switch ports that will be grouped into an &lt;BR&gt;EtherChannel: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. All ports should be assigned to the same VLAN or configured for trunking (an &lt;BR&gt;EtherChannel can be used as a trunk link). &lt;BR&gt;. If the EtherChannel will be a trunk link, all ports should have the same trunk mode and &lt;BR&gt;should carry the same VLANs over the trunk. &lt;BR&gt;&lt;BR&gt;Switch Port Aggregation with EtherChannel 155 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. All ports should be configured for the same speed and duplex mode. &lt;BR&gt;. Do not configure the ports as dynamic VLAN ports. &lt;BR&gt;. All ports should be enabled; a disabled port will be seen as a failed link, forcing its traffic &lt;BR&gt;to be moved to the next available link in the bundle. &lt;BR&gt;EtherChannel Configuration on a CLI-Based Switch &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To configure an EtherChannel on a CLI-based switch, use the following command: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch (enable) set port channel module/port-range mode {on | off | desirable | &lt;BR&gt;auto} &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Ports are grouped into an EtherChannel by specifying them as a range, as in set port channel &lt;BR&gt;2/1-4 mode on. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;EtherChannel Configuration on an IOS-Based Switch &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To configure an EtherChannel on an IOS-based switch, use the following command: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch (config-if)# port group group-number [distribution {source | destination}] &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The port must be assigned to a group number, which represents the EtherChannel as a number &lt;BR&gt;from 1 to 12. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Displaying EtherChannel Configuration &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Information about the current EtherChannel configuration can be displayed using the show &lt;BR&gt;port channel [mod/port] [info | statistics] command on a CLI-based switch and the show port &lt;BR&gt;group [group-number] command on an IOS-based switch. Example 5-2 demonstrates how the &lt;BR&gt;show port channel info command can be used to view the current status of EtherChannel links &lt;BR&gt;on a CLI-based switch. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Example 5-2 show port channel info Command Output &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Switch&gt; (enable) show port channel info &lt;BR&gt;Switch Frame Distribution Method: mac both &lt;BR&gt;Port Status Channel Admin Channel Speed Duplex Vlan &lt;BR&gt;mode group id &lt;BR&gt;----- ---------- -------------------- ----- ------- ----- ------ ----&lt;BR&gt;3/29 connected desirable silent 158 847 a-100 a-full 53 &lt;BR&gt;3/30 connected desirable silent 158 847 a-100 a-full 53 &lt;BR&gt;----- ---------- -------------------- ----- ------- ----- ------ ----&lt;BR&gt;3/31 connected auto silent 159 848 a-100 a-full 101 &lt;BR&gt;3/32 connected auto silent 159 848 a-100 a-full 101 &lt;BR&gt;----- ---------- -------------------- ----- ------- ----- ------ ----&lt;BR&gt;&lt;BR&gt;156 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The first shaded line shows that the switch is using both source and destination MAC addresses &lt;BR&gt;to distribute frames across the bundled links. The next set of shaded lines show that switch ports &lt;BR&gt;3/29 and 3/30 are bundled as EtherChannel ID number 847, are operating at 100 Mbps full-&lt;BR&gt;duplex (autonegotiated), and are assigned to VLAN 53 only. The second EtherChannel is made &lt;BR&gt;up of switch ports 3/31 and 3/32 bundled as EtherChannel ID 848, passing VLAN 101. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Spanning-Tree Protocol &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A robust network design not only includes efficient transfer of packets or frames but also &lt;BR&gt;considers how to recover quickly from faults in the network. In a Layer 3 environment, the &lt;BR&gt;routing protocol(s) in use keeps track of redundant paths to a destination network so that a &lt;BR&gt;secondary path can be quickly utilized if the primary path fails. Layer 3 routing allows many &lt;BR&gt;paths to a destination to remain up and active and allows load sharing across multiple paths. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;In a Layer 2 environment (switching or bridging), however, no routing protocols are used and &lt;BR&gt;redundant paths are not allowed. Instead, some form of bridging provides data transport &lt;BR&gt;between networks or switch ports. The Spanning-Tree Protocol (STP) is used to provide &lt;BR&gt;network link redundancy and load balancing so that a Layer 2 switched network can recover &lt;BR&gt;from failures without intervention in a timely manner. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP is discussed in relation to the problems it solves in the following sections. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Bridging Loops &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Recall that a Layer 2 switch mimics the function of a transparent bridge. A transparent bridge &lt;BR&gt;must offer segmentation between two networks, while remaining transparent to all the end &lt;BR&gt;devices connected to it. For the purpose of this discussion, consider a two-port Ethernet switch &lt;BR&gt;and its similarities to a two-port transparent bridge. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A transparent bridge (and the Ethernet switch) must operate as follows: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. The bridge has no initial knowledge of the location of any end device; therefore, the bridge &lt;BR&gt;must “listen” to frames coming into each of its ports to figure out on which network a &lt;BR&gt;device resides. The source address in an incoming frame is the clue to a device’s &lt;BR&gt;whereabouts.the bridge assumes the source device is located behind the port that the &lt;BR&gt;frame arrived on. As the listening process continues, the bridge builds a table containing &lt;BR&gt;source MAC addresses and the bridge port numbers associated with them. &lt;BR&gt;The bridge has the capability to constantly update its bridging table upon &lt;BR&gt;detecting the presence of a new MAC address or upon detecting a MAC address &lt;BR&gt;that has changed location from one bridge port to another. The bridge is then able &lt;BR&gt;to forward frames by looking at the destination address, looking up the address &lt;BR&gt;in the bridge table, and sending the frame out the port where the destination &lt;BR&gt;device is located. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Spanning-Tree Protocol 157 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. If a frame arrives with the broadcast address as the destination address, the bridge must &lt;BR&gt;forward or flood the frame out all available ports. However, the frame is not forwarded out &lt;BR&gt;the port that initially received the frame. In this way, broadcasts are able to reach all &lt;BR&gt;available networks. A bridge only segments collision domains but does not segment &lt;BR&gt;broadcast domains. &lt;BR&gt;. If a frame arrives with a destination address that is not found in the bridge table, the bridge &lt;BR&gt;is unable to determine which port to forward the frame to for transmission. This type of &lt;BR&gt;frame is known as an unknown unicast. In this case, the bridge treats the frame as if it were &lt;BR&gt;a broadcast and forwards it out all remaining ports. After a reply to that frame is overheard, &lt;BR&gt;the bridge will learn the location of the unknown station and add it to the bridge table for &lt;BR&gt;future use. &lt;BR&gt;. Frames that are forwarded across the bridge cannot be modified. &lt;BR&gt;Bridging or switching in this fashion works well. Any frame received, whether to a known or &lt;BR&gt;unknown destination, will be forwarded out the appropriate port or ports so that it is very likely &lt;BR&gt;to be received successfully at the end device. Figure 5-2 shows a simple two-port switch &lt;BR&gt;functioning as a bridge, forwarding frames between two end devices. However, this network &lt;BR&gt;design offers no additional links or paths for redundancy, should the switch or one of its links &lt;BR&gt;fail. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-2 Transparent Bridging with a Switch &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;PC-4PC-3 &lt;BR&gt;PC-1 PC-2 &lt;BR&gt;1/1 &lt;BR&gt;1/2 &lt;BR&gt;Switch A &lt;BR&gt;Segment A &lt;BR&gt;Segment B &lt;BR&gt;&lt;BR&gt;158 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To add some redundancy, a second switch can be added between the two original network &lt;BR&gt;segments, as shown in Figure 5-3. Now two switches offer the transparent bridging function in &lt;BR&gt;parallel. Consider what will happen when PC-1 sends a frame to PC-4. For now, assume that &lt;BR&gt;both PC-1 and PC-4 are known to the switches and are in their address tables. PC-1 sends the &lt;BR&gt;frame out onto network Segment A. Switch A and Switch B both receive the frame on their 1/1 &lt;BR&gt;ports. Because PC-4 is already known to the switches, the frame is forwarded out ports 2/1 on &lt;BR&gt;each switch onto Segment B. The end result is that PC-4 will receive two copies of the frame &lt;BR&gt;from PC-1. This is not ideal, but is not disastrous either. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-3 Redundant Bridging with Two Switches &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;PC-4PC-3 &lt;BR&gt;PC-1 PC-2 &lt;BR&gt;1/1 &lt;BR&gt;2/1 &lt;BR&gt;Switch A &lt;BR&gt;Segment A &lt;BR&gt;Segment B &lt;BR&gt;1/1 &lt;BR&gt;2/1 &lt;BR&gt;Switch B &lt;BR&gt;Now consider the same process of sending a frame from PC-1 to PC-4. This time, however, &lt;BR&gt;neither switch knows anything about PC-1 or PC-4. PC-1 sends the frame to PC-4 by placing &lt;BR&gt;it on Segment A. The sequence of events is as follows: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1 Both Switch A and Switch B receive the frame on their 1/1 ports. Because PC-1’s MAC &lt;BR&gt;address has not yet been seen or recorded, each switch records PC-1’s MAC address in its &lt;BR&gt;address table along with the receiving port number, 1/1. From this information, both &lt;BR&gt;switches infer that PC-1 must reside on Segment A. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;2 Because PC-4’s location is unknown, both switches forward the frame out all available &lt;BR&gt;ports, or their 2/1 ports, and onto Segment B. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Spanning-Tree Protocol 159 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;3 Each switch places a new frame on its 2/1 port on Segment B. PC-4, located on Segment &lt;BR&gt;B, receives the two frames destined for it. However, Switch A hears the new frame &lt;BR&gt;forwarded by Switch B, and Switch B hears the new frame forwarded by Switch A. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;4 Switch A sees that the “new” frame is from PC-1 to PC-4. From the address table, the &lt;BR&gt;switch had learned that PC-1 was on port 1/1 or Segment A. However, the source address &lt;BR&gt;of PC-1 has just been heard on port 2/1 on Segment B. By definition, the switch must &lt;BR&gt;relearn PC-1’s location, which is now incorrectly assumed to be Segment B. (Switch B &lt;BR&gt;follows the same procedure, based on the “new” frame from Switch A.) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;5 At this point, neither Switch A nor Switch B has learned the location of PC-4 because no &lt;BR&gt;frames have been received with PC-4 as the source address. Therefore, the frame must be &lt;BR&gt;forwarded out all available ports in an attempt to find PC-4. This frame is then sent out &lt;BR&gt;Switch A’s 1/1 port and onto Segment A. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;6 Now both switches relearn PC-1’s location as Segment A, forward the “new” frames back &lt;BR&gt;onto Segment B, and the whole process repeats. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;This process of forwarding a single frame around and around between two switches is known &lt;BR&gt;as a bridging loop. Neither switch is aware of the other, so each just happily forwards the same &lt;BR&gt;frame back and forth between its segments. Also note that because two switches are involved &lt;BR&gt;in the loop, the original frame has been duplicated and now gets sent around in two counter-&lt;BR&gt;rotating loops. What stops the frame from being forwarded in this fashion forever? Nothing. &lt;BR&gt;PC-4 will begin receiving frames addressed to it as fast as the switches can forward them. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Notice how the learned location of the PCs keeps changing as frames get looped. Even a unicast &lt;BR&gt;frame has caused a bridging loop to form, and each switch’s bridge table is repeatedly corrupted &lt;BR&gt;with incorrect data. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;What would happen if PC-1 had sent a broadcast frame instead? The bridging loops (remember &lt;BR&gt;that there are two of them produced by the two parallel switches) will form exactly as before. &lt;BR&gt;The broadcast frames will continue to circulate forever. Now, however, every end-user device &lt;BR&gt;located on both Segments A and B will receive and process each and every broadcast frame. &lt;BR&gt;This type of broadcast storm can easily saturate the network segments and bring every host on &lt;BR&gt;the segments to a halt. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The only way to end the bridging loop is to physically break the loop by disconnecting switch &lt;BR&gt;ports or by shutting a switch down. Rather than break devastating bridging loops, they should &lt;BR&gt;be prevented instead. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Preventing Loops with Spanning-Tree Protocol &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Bridging loops form basically because parallel switches (or bridges) are unaware of each other. &lt;BR&gt;STP was developed to overcome the possibility of bridging loops so that redundant switches &lt;BR&gt;and switch paths could be used for their benefits. In a nutshell, the protocol enables switches to &lt;BR&gt;become aware of each other so that they can negotiate a loop-free path through the network. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;160 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Loops are discovered before they are opened for use, and redundant links are shut down to &lt;BR&gt;prevent the loops from forming. In the case of redundant links, switches can be made aware that &lt;BR&gt;a link shut down for loop prevention should be quickly brought up in case of a link failure. This &lt;BR&gt;is discussed in later sections of this chapter. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP is communicated between all connected switches on a network. Each switch executes the &lt;BR&gt;Spanning-Tree Algorithm (STA) based on information received from other neighboring switches. &lt;BR&gt;The algorithm chooses a reference point in the network and calculates all the redundant paths &lt;BR&gt;to that reference point. When redundant paths are found, STA picks one path to forward frames &lt;BR&gt;with and disables or blocks forwarding on the other redundant paths. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;As its name implies, STP computes a tree structure that spans all switches in a subnet or &lt;BR&gt;network. Redundant paths are placed in a blocking or standby state to prevent frame forwarding. &lt;BR&gt;The switched network is then in a loop-free condition. However, if a forwarding port fails or &lt;BR&gt;becomes disconnected, the STA will run again to recompute the Spanning-Tree topology so that &lt;BR&gt;blocked links can be reactivated. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Spanning-Tree Communication: Bridge Protocol Data Units &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP operates as switches communicate with one another. Data messages are exchanged in the &lt;BR&gt;form of Bridge Protocol Data Units (BPDUs). A switch sends a BPDU frame out a port, using &lt;BR&gt;the unique MAC address of the port itself as a source address. The switch is unaware of the &lt;BR&gt;other switches around it. Therefore, the BPDU frame has a destination address of the well-&lt;BR&gt;known STP multicast address 01-80-c2-00-00-00 to reach all listening switches. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;There are two types of BPDU: the Configuration BPDU, used for Spanning Tree computation; &lt;BR&gt;and the Topology Change Notification (TCN) BPDU, used to announce changes in the network &lt;BR&gt;topology. The Configuration BPDU message contains the fields shown in Table 5-3. The TCN &lt;BR&gt;BPDU is discussed in the “Topology Changes” section later in this chapter. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The exchange of BPDU messages works toward the goal of electing reference points as a &lt;BR&gt;foundation for a stable Spanning-Tree topology. As well, loops will be identified and removed &lt;BR&gt;by placing specific redundant ports in a blocking or standby state. Notice that several key fields &lt;BR&gt;in the BPDU are related to bridge (or switch) identification, path costs, and timer values. These &lt;BR&gt;all work together so that the network of switches will converge upon a common Spanning-Tree &lt;BR&gt;topology and will select the same reference points within the network. These reference points &lt;BR&gt;are defined in the following sections. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;BPDUs are sent out all switch ports every two seconds so that current topology information is &lt;BR&gt;exchanged and loops are identified quickly. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Spanning-Tree Protocol 161 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Table 5-3 Configuration BPDU Message Content &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Field Description Number of Bytes &lt;BR&gt;Protocol ID (always 0) 2 &lt;BR&gt;Version (always 0) 1 &lt;BR&gt;Message Type (Configuration or Topology 1 &lt;BR&gt;Change Notification BPDU) &lt;BR&gt;Flags 1 &lt;BR&gt;Root Bridge ID 8 &lt;BR&gt;Root Path Cost 4 &lt;BR&gt;Sender Bridge ID 8 &lt;BR&gt;Port ID 2 &lt;BR&gt;Message Age (in 256ths of a second) 2 &lt;BR&gt;Maximum Age (in 256ths of a second) 2 &lt;BR&gt;Hello Time (in 256ths of a second) 2 &lt;BR&gt;Forward Delay (in 256ths of a second) 2 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Electing a Root Bridge &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;For all switches in a network to agree on a loop-free topology, a common frame of reference &lt;BR&gt;must exist to use as a guide. This reference point is called the Root Bridge. (The term “bridge” &lt;BR&gt;continues to be used even in a switched environment because STP was developed for use in &lt;BR&gt;bridges. Therefore, when you see “bridge,” think “switch.”) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The Root Bridge is chosen by an election process among all connected switches. Each switch &lt;BR&gt;has a unique Bridge ID that it uses to identify itself to other switches. The Bridge ID is an &lt;BR&gt;8-byte value that is made up of the following fields: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. Bridge Priority (2 bytes).The priority or weight of a switch in relation to all other &lt;BR&gt;switches. The priority field can have a value of 0 to 65,535 and defaults to 32,768 (or &lt;BR&gt;0x8000) on every Catalyst switch. &lt;BR&gt;. MAC Address (6 bytes).The MAC address used by a switch can come from the &lt;BR&gt;Supervisor module, the backplane, or a pool of 1024 addresses that are assigned to every &lt;BR&gt;Supervisor or backplane depending on the switch model. In any event, this address is &lt;BR&gt;hardcoded, unique, and cannot be changed by the user. &lt;BR&gt;When a switch first powers up, it has a narrow view of its surroundings and assumes that it is &lt;BR&gt;the root bridge itself. Obviously, this notion will probably change as other switches check in &lt;BR&gt;and enter the election process. The election process then proceeds as follows: Every switch &lt;BR&gt;begins by sending out BPDUs with a Root Bridge ID equal to its own Bridge ID and a Sender &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;162 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Bridge ID of its own Bridge ID. The Sender Bridge ID simply tells other switches who is the &lt;BR&gt;actual sender of the BPDU message. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Received BPDU messages are analyzed to see if a “better” root bridge is being announced. A &lt;BR&gt;root bridge is considered better if the Root Bridge ID value is lower than another. Again, think &lt;BR&gt;of the Root Bridge ID as being broken up into Bridge Priority and MAC address fields. If two &lt;BR&gt;Bridge Priority values are equal, then the lower MAC address makes the Bridge ID better. When &lt;BR&gt;a switch hears of a better Root Bridge, it replaces its own Root Bridge ID with the Root Bridge &lt;BR&gt;ID announced in the BPDU. The switch is then required to nominate the new Root Bridge ID &lt;BR&gt;in its own BPDU messages although it will still identify itself as the Sender Bridge ID. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Sooner or later, the election will converge and all switches will agree on the notion that one of &lt;BR&gt;them is the Root Bridge. As might be expected, if a new switch with a lower MAC address &lt;BR&gt;powers up, it will begin advertising itself as the Root Bridge. Because the new switch does &lt;BR&gt;indeed have a lower Bridge ID, all the switches will soon reconsider and record it as the new &lt;BR&gt;Root Bridge. Root Bridge election is then an ongoing process, triggered by Root Bridge ID &lt;BR&gt;changes in the BPDUs every two seconds. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;As an example, consider the small network shown in Figure 5-4. For simplicity, assume that &lt;BR&gt;each Catalyst switch has a MAC address of all zeros with the last hex digit equal to the switch &lt;BR&gt;label. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-4 Example of Root Bridge Election &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Catalyst A &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Bridge &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;32768.00-00-00-00-00-0a &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/1 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/2 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;100 Mbps 100 Mbps &lt;BR&gt;Cost = 19 Cost = 19 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/1 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/2 1/2 &lt;BR&gt;Catalyst C &lt;BR&gt;32768.00-00-00-00-00-0c &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/1 100 Mbps &lt;BR&gt;Cost = 19 &lt;BR&gt;Catalyst B &lt;BR&gt;32768.00-00-00-00-00-0b &lt;BR&gt;&lt;BR&gt;Spanning-Tree Protocol 163 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;In this network, each switch has the default Bridge Priority of 32768. The switches are &lt;BR&gt;interconnected with Fast Ethernet links, having a default path cost of 19. All three switches try &lt;BR&gt;to elect themselves as the root but all of them have equal Bridge Priority values. Therefore, the &lt;BR&gt;election is determined by the lowest MAC address.that of Catalyst A. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Electing Root Ports &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Now that a reference point has been nominated and elected for the entire switched network, &lt;BR&gt;each non-root switch must figure out where it is in relation to the Root Bridge. This action can &lt;BR&gt;be performed by selecting only one Root Port on each non-root switch. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP uses the concept of cost to determine many things. Selecting a Root Port involves &lt;BR&gt;eval!!uating the Root Path Cost. This value is the cumulative cost of all the links leading to the &lt;BR&gt;Root Bridge. A particular switch link has a cost associated with it, too, called the Path Cost. To &lt;BR&gt;understand the difference between these values, remember that only the Root Path Cost is &lt;BR&gt;carried along inside the BPDU. As the path cost travels along, other switches can modify its &lt;BR&gt;value to make it cumulative. The Path Cost, however, is not contained in the BPDU. It is known &lt;BR&gt;only to the local switch where the port (or “path” to a neighboring switch) resides. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Path Costs are defined as a one-byte value, with the default values shown in Table 5-4. Generally, &lt;BR&gt;the higher the bandwidth of a link, the lower the cost of transporting data across it. The original &lt;BR&gt;IEEE 802.1D standard defined path cost as 1000 Mbps divided by the link bandwidth in Mbps. &lt;BR&gt;These values are shown in the center column of the table. Modern networks commonly use &lt;BR&gt;Gigabit Ethernet and OC-48 ATM, which are both either too close to or greater than the &lt;BR&gt;maximum scale of 1000 Mbps. The IEEE now uses a non-linear scale for path cost, as shown &lt;BR&gt;in the right column of the table. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Table 5-4 STP Path Cost &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Link Bandwidth Old STP Cost New STP Cost &lt;BR&gt;4 Mbps 250 250 &lt;BR&gt;10 Mbps 100 100 &lt;BR&gt;16 Mbps 63 62 &lt;BR&gt;45 Mbps 22 39 &lt;BR&gt;100 Mbps 10 19 &lt;BR&gt;155 Mbps 6 14 &lt;BR&gt;622 Mbps 2 6 &lt;BR&gt;1 Gbps 1 4 &lt;BR&gt;10 Gbps 0 2 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;164 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE Be aware that not all versions of the Catalyst Supervisor code use the newer non-linear scale by &lt;BR&gt;default. For example, Catalyst 5000 versions 2.4 and lower use the older linear scale. Catalyst &lt;BR&gt;5000 versions 3.1 and higher, Catalyst 4000 (all versions), and Catalyst 6000 (all versions) use &lt;BR&gt;the non-linear scale by default. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The Root Path Cost value is determined in the following manner: &lt;BR&gt;1 The Root Bridge sends out a BPDU with a Root Path Cost value of zero because its ports &lt;BR&gt;sit directly on the Root Bridge. &lt;BR&gt;2 When the next closest neighbor receives the BPDU, it adds the Path Cost of its own port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;where the BPDU arrived. &lt;BR&gt;3 Then the neighbor sends out BPDUs with this new cumulative value as the Root Path Cost. &lt;BR&gt;4 This value is incremented by subsequent switch port Path Costs as the BPDU is received &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;by each switch on down the line. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE Note the emphasis on incrementing the Root Path Cost as BPDUs are received. When &lt;BR&gt;computing the STA manually, remember to compute a new Root Path Cost as BPDUs come in &lt;BR&gt;to a switch port, not as they go out. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;After incrementing the Root Path Cost, a switch also records the value in its memory. When a &lt;BR&gt;BPDU is received on another port and the new Root Path Cost is lower than the previously &lt;BR&gt;recorded value, this lower value becomes the new Root Path Cost. In addition, the lower cost &lt;BR&gt;tells the switch that the Root Bridge must be closer to this port than it was on other ports. The &lt;BR&gt;switch has now determined which of its ports is the closest to the root.the Root Port. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-5 shows the same network from Figure 5-4 in the process of Root Port selection. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Spanning-Tree Protocol 165 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-5 Example of Root Port Selection &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Catalyst A &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Bridge &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;32768.00-00-00-00-00-0a &lt;BR&gt;1/1 1/2 &lt;BR&gt;1/2 1/2 &lt;BR&gt;1/1 1/1100 Mbps &lt;BR&gt;Cost = 19 &lt;BR&gt;100 Mbps100 Mbps &lt;BR&gt;Cost = 19Cost = 19 &lt;BR&gt;Catalyst B &lt;BR&gt;32768.00-00-00-00-00-0b &lt;BR&gt;Root Port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Path Cost = 19 Root Path Cost = 19 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Catalyst C &lt;BR&gt;32768.00-00-00-00-00-0c &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;(Root Path Cost = 19 + 19) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The Root Bridge, Catalyst A, has already been elected. Therefore, every other switch in the &lt;BR&gt;network must choose one port that is closest to the Root Bridge. Catalyst B selects its port 1/1, &lt;BR&gt;with a Root Path Cost of 0+19. Port 1/2 is not chosen because its Root Path Cost is 0 (BPDU &lt;BR&gt;from Catalyst A) plus 19 (Path Cost of A-C link) plus 19 (Path Cost of C-B link), or a total of &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;38. Catalyst C makes a similar choice of port 1/1. &lt;BR&gt;Electing Designated Ports &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;By now, you should begin to see the process unfolding: a starting or reference point has been &lt;BR&gt;identified, and each switch “connects” itself toward the reference point with the closest single &lt;BR&gt;link. A tree structure is beginning to emerge, but links have only been identified at this point. &lt;BR&gt;All links are still connected and could be active, leaving bridging loops. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To remove the possibility of bridging loops, STP makes a final computation to identify one &lt;BR&gt;Designated Port on each network segment. Suppose that two or more switches have ports &lt;BR&gt;connected to a single common network segment. If a frame appears on that segment, all the &lt;BR&gt;bridges will attempt to forward it to its destination. Recall that this behavior!! was the basis of a &lt;BR&gt;bridging loop and should be avoided. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;166 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Instead, only one of the links on a segment should forward traffic to and from that segment. This &lt;BR&gt;location is the Designated Port. Switches choose a Designated Port based on the lowest &lt;BR&gt;cumulative Root Path Cost to the Root Bridge. For instance, a switch always has an idea of its &lt;BR&gt;own Root Path Cost, which it announces in its own BPDUs. If a neighboring switch on a shared &lt;BR&gt;LAN segment sends a BPDU announcing a lower Root Path Cost, the neighbor must have the &lt;BR&gt;Designated Port. If a switch only learns of higher Root Path Costs from other BPDUs received &lt;BR&gt;on a port, however, it then correctly assumes that its receiving port is the Designated Port for &lt;BR&gt;the segment. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Notice that the whole STP determination process has only served to identify bridges and ports. &lt;BR&gt;All ports are still active and bridging loops might still lurk in the network. STP has a set of &lt;BR&gt;progressive states that each port must go through, regardless of the type or identification. These &lt;BR&gt;states will actively prevent loops from forming and are described in the next section. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE In each determination process discussed so far, two or more links to having identical Root Path &lt;BR&gt;Costs is possible. This results in a tie condition, unless other factors are considered. In fact, all &lt;BR&gt;STP decisions are based on the following sequence of four conditions: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1. Lowest Root Bridge ID &lt;BR&gt;2. Lowest Root Path Cost to Root Bridge &lt;BR&gt;3. Lowest Sender Bridge ID &lt;BR&gt;4. Lowest Port ID &lt;BR&gt;Figure 5-6 demonstrates an example of Designated Port selection. This figure is identical to &lt;BR&gt;Figure 5-4 and Figure 5-5, with further Spanning Tree development. The only changes shown &lt;BR&gt;are the choices of Designated Ports, although seeing all STP decisions shown in one network &lt;BR&gt;diagram is handy. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Spanning-Tree Protocol 167 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Figure 5-6 Example of Designated Port Selection &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Designated Designated &lt;BR&gt;Port 32768.00-00-00-00-00-0a Port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Path Cost = 0 Root Path Cost = 0 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/1 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/2 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;100 Mbps 100 Mbps &lt;BR&gt;Cost = 19 Cost = 19 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Port Root Port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Root Path Cost = 19 1/1 100 Mbps 1/1 &lt;BR&gt;Cost = 19 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;X &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;1/2 1/2&lt;BR&gt;Catalyst B Catalyst C&lt;BR&gt;32768.00-00-00-00-00-0b 32768.00-00-00-00-00-0c&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Designated &lt;BR&gt;Port &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Both Root Path Cost = 19 &lt;BR&gt;Catalyst B has lowest Bridge ID &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The three switches have chosen their Designated Ports (DP) for the following reasons: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. Catalyst A.Because this switch is the Root Bridge, all its active ports are Designated &lt;BR&gt;Ports by definition. At the Root Bridge, the Root Path Cost of each port is zero. &lt;BR&gt;. Catalyst B.Catalyst A port 1/1 is the DP for the Segment A-B because it has the lowest &lt;BR&gt;Root Path Cost (0). Catalyst B port 1/2 is the DP for segment B-C. The Root Path Cost for &lt;BR&gt;each end of this segment is 19, determined from the incoming BPDU on port 1/1. Because &lt;BR&gt;the Root Path Cost is equal on both ports of the segment, the DP must be chosen by the &lt;BR&gt;next criteria.the lowest Sender Bridge ID. When Catalyst B sends a BPDU to Catalyst &lt;BR&gt;C, it has the lowest MAC address in the Bridge ID. Catalyst C also sends a BPDU to &lt;BR&gt;Catalyst B, but its Sender Bridge ID is higher. Therefore, Catalyst B port 1/2 is selected &lt;BR&gt;as the DP of the segment. &lt;BR&gt;Catalyst A &lt;BR&gt;Root Path Cost = 19 &lt;BR&gt;Root Bridge &lt;BR&gt;&lt;BR&gt;168 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. Catalyst C.Catalyst A port 1/2 is the DP for Segment A-C because it has the lowest Root &lt;BR&gt;Path Cost (0). Catalyst B port 1/2 is the DP for Segment B-C. Therefore, Catalyst C port &lt;BR&gt;1/2 will be neither a Root Port nor a Designated Port. As discussed in the next section, any &lt;BR&gt;port that is not elected to either position will enter the blocking state. Where blocking &lt;BR&gt;occurs, bridging loops are broken. &lt;BR&gt;STP States &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;To participate in STP, each port of a switch must progress through several states. A port begins &lt;BR&gt;its life in a Disabled state moving through several passive states and finally into an active state &lt;BR&gt;if allowed to forward traffic. The STP port states are as follows: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. Disabled.Ports that are administratively shut down by the network administrator or by &lt;BR&gt;the system due to a fault condition are in the Disabled state. This state is special and is not &lt;BR&gt;part of the normal STP progression for a port. &lt;BR&gt;. Blocking.After a port initializes, it begins in the Blocking state so that no bridging loops &lt;BR&gt;can form. In the Blocking state, a port cannot receive or transmit data and cannot add &lt;BR&gt;MAC addresses to its address table. Instead, a port is only allowed to receive BPDUs so &lt;BR&gt;that the switch can hear from other neighboring switches. In addition, ports that are put &lt;BR&gt;into standby mode to remove a bridging loop enter the Blocking state. &lt;BR&gt;. Listening.The port will be moved from Blocking to Listening if the switch thinks that &lt;BR&gt;the port can be selected as a Root Port or Designated Port. In other words, the port is on &lt;BR&gt;its way to begin forwarding traffic. In the Listening state, the port still cannot send or &lt;BR&gt;receive data frames. However, the port is allowed to receive and send BPDUs so that it can &lt;BR&gt;actively participate in the Spanning-Tree topology process. Here the port is finally allowed &lt;BR&gt;to become a Root Port or Designated Port because the switch can advertise the port by &lt;BR&gt;sending BPDUs to other switches. Should the port lose its Root Port or Designated Port &lt;BR&gt;status, it is returned to the Blocking state. &lt;BR&gt;. Learning.After a period of time called the Forward Delay in the Listening state, the port &lt;BR&gt;is allowed to move into the Learning state. The port still sends and receives BPDUs as &lt;BR&gt;before. In addition, the switch can now learn new MAC addresses to add into its address &lt;BR&gt;table. This gives the port an extra period of silent participation and allows the switch to &lt;BR&gt;assemble at least some address table information. &lt;BR&gt;. Forwarding.After another Forward Delay period of time in the Learning state, the port &lt;BR&gt;is allowed to move into the Forwarding state. The port can now send and receive data &lt;BR&gt;frames, collect MAC addresses into its address table, and send and receive BPDUs. The &lt;BR&gt;port is now a fully functioning switch port within the Spanning-Tree topology. &lt;BR&gt;&lt;BR&gt;Spanning-Tree Protocol 169 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE Remember that a switch port is only allowed into the Forwarding state if there are no redundant &lt;BR&gt;links (or loops) and if the port has the best path to the root bridge as the Root Port or Designated &lt;BR&gt;Port. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Example 5-3 shows the output of a switch as one of its ports progresses through the STP port &lt;BR&gt;states. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Example 5-3 A Port Progressing Through the STP Port States &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Console&gt; (enable) set port disable 4/10 &lt;BR&gt;This command may disconnect your telnet session. &lt;BR&gt;Do you want to continue (y/n) [n]?y &lt;BR&gt;Port 4/10 disabled. &lt;BR&gt;Console&gt; (enable) set port enable 4/10 &lt;BR&gt;Port 4/10 enabled. &lt;BR&gt;Console&gt; (enable) show spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 listening 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 listening 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 listening 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 learning 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 learning 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 learning 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 learning 10 32 disabled &lt;BR&gt;Console&gt; (enable) sh spant 4/10 &lt;BR&gt;Port Vlan Port-State Cost Priority Fast-Start &lt;BR&gt;4/10 1 forwarding 10 32 disabled &lt;BR&gt;Console&gt; (enable) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;170 Chapter 5: Redundant Switch Links &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;The example begins as the port is administratively disabled from the command line. When the &lt;BR&gt;port is enabled, successive show spantree module/port commands display the Port-State as &lt;BR&gt;Listening, Learning, and then Forwarding. Because this port was eligible as a Root Port, the &lt;BR&gt;show command was never able to execute fast enough to show the port in the Blocking state. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP Timers &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP operates as switches send BPDUs to each other in an effort to form a loop-free topology. &lt;BR&gt;The BPDUs take a finite amount of time to travel from switch to switch. In addition, news of a &lt;BR&gt;topology change (such as a link or Root Bridge failure) can suffer from propagation delays as &lt;BR&gt;the announcement travels from one side of a network to the other. Because of the possibility of &lt;BR&gt;these delays, keeping the Spanning-Tree topology from settling out or converging until all &lt;BR&gt;switches have had time to receive accurate information is import!!ant. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;STP uses three timers to make sure that a network converges properly before a bridging loop &lt;BR&gt;can incorrectly form. The timers and their default values are as follows: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;. Hello Time.The time interval between Configuration BPDUs sent by the Root Bridge. &lt;BR&gt;The Hello Time value configured in the Root Bridge switch will determine the Hello Time &lt;BR&gt;for all non-root switches because they just relay the Configuration BPDUs as they are &lt;BR&gt;received from the root. However, all switches have a locally configured Hello Time that is &lt;BR&gt;used to time TCN BPDUs when they are retransmitted. The IEEE 802.1D standard &lt;BR&gt;specifies a default Hello Time value of two seconds. &lt;BR&gt;. Forward Delay.The time interval that a switch port spends in both the Listening and &lt;BR&gt;Learning states. The default value is 15 seconds. &lt;BR&gt;. Maximum (max) Age.The time interval that a switch stores a BPDU before discarding &lt;BR&gt;it. While executing the STP, each switch port keeps a copy of the “best” BPDU that it has &lt;BR&gt;heard. If the source of the BPDU loses contact with the switch port, the switch will notice &lt;BR&gt;that a topology change has occurred after the Max Age time elapses and the BPDU is aged &lt;BR&gt;out. The default Max Age value is 20 seconds. &lt;BR&gt;The STP timers can be configured or adjusted from the switch command line. However, the &lt;BR&gt;timer values should never be changed from the defaults without careful consideration. Then, the &lt;BR&gt;values should only be changed on the Root Bridge switch. Recall that the timer values are &lt;BR&gt;advertised in fields within the BPDU. The Root Bridge will make sure that the timer values are &lt;BR&gt;propagated to all other switches. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;NOTE The default STP timer values are based on some assumptions about the size of the network and &lt;BR&gt;the length of the Hello Time. A reference model of a network having a diameter of seven &lt;BR&gt;switches is used to derive these values. The diameter is measured from the Root Bridge switch &lt;BR&gt;outward, including the Root Bridge. A Hello Time of two seconds is used in this computation.&lt;/P&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>Test King, 350-018 CCIE.350-018.Security.v3.1.pctools5</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/811016"/>
		<id>tag:blog.daum.net,2009:bleemkmj.811016</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-29T17:30:00Z</updated>
	    <published>2007-11-29T17:30:00Z</published>
	    <content type="html">
	    	&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: #000000; LINE-HEIGHT: 21px; FONT-FAMILY: '한컴바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;- 41 -&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: #000000; LINE-HEIGHT: 21px; FONT-FAMILY: '한컴바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;FONT-SIZE: 10pt; COLOR: #000000; LINE-HEIGHT: 21px; FONT-FAMILY: '한컴바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Sun Solaris &lt;BR&gt;Solaris 2.5.1 or 2.6 &lt;BR&gt;HP OpenView 4.1, 5.01, or 6.0 &lt;BR&gt;Web browser (for NSDB and help file) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 76 &lt;BR&gt;In the IPSec protocol suite, transport mode &amp; tunnel mode describe:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. AH header and datagram layouts. &lt;BR&gt;B. Diffie-Hellman keying. &lt;BR&gt;C. SHA security algorithm. &lt;BR&gt;D. ESP header and datagram layouts. &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: OK I dont get this question ESP or AH can be used in tunnel or transport mode. - CCIE &lt;BR&gt;PRofessional Development Network Security Pratices and Principles by Saadit Malik pg 313-316 In Transport &lt;BR&gt;Mode ESP, the ESP header is inserted into the IP datagram immediately prior to the transport-layer protocol &lt;BR&gt;header (such as TCP, UDP, or ICMP). In Tunnel Mode ESP, the original IP datagram is placed in the encrypted &lt;BR&gt;portion of the ESP and that entire ESP frame is placed within a datagram having unencrypted IP headers. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 77 &lt;BR&gt;What well known port is commonly used for TFTP?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. TCP 23 &lt;BR&gt;B. UDP 23 &lt;BR&gt;C. UDP 161 &lt;BR&gt;D. UDP 69 &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: Abbreviation of Trivial File Transfer Protocol, a simple form of the File Transfer Protocol (FTP). &lt;BR&gt;TFTP uses the User Datagram Protocol (UDP)and provides no security features. It is often used by servers to &lt;BR&gt;boot diskless workstations, X-terminals, and routers. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 78 &lt;BR&gt;What is RPF? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 42 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Reverse Path Forwarding &lt;BR&gt;B. Reverse Path Flooding &lt;BR&gt;C. Router Protocol Filter &lt;BR&gt;D. Routing Protocol File &lt;BR&gt;E. None of the above. &lt;BR&gt;Answer: A &lt;BR&gt;Explanation: This chapter describes Unicast Reverse Path Forwarding (Unicast RPF) commands. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 79 &lt;BR&gt;IKE Phase 1 policy does not include negotiation of the:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Encryption algorithm &lt;BR&gt;B. Authentication method. &lt;BR&gt;C. Diffie-Hellman group. &lt;BR&gt;D. Lifetime &lt;BR&gt;E. Crypto-map access-list &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: &quot;Ike Phase 1 Policy Parameters - Encryption, Hash, Authentication method, Key exchange, Ike &lt;BR&gt;SA lifetimes&quot; Cisco Secure PIX Firewall Advanced 2.0 14-14 &quot;IKE's responsiblities in the IPSEC protocol &lt;BR&gt;include Negotiating protocol parameters, Exchaning public keys, authenticating both sides, managing keys &lt;BR&gt;after the exchange...In Phase 1 exchange, peers negotiate a secure, authenticated channel with which to &lt;BR&gt;communicate.&quot; CCIE PRofessional Development Network Security Pratices and Principles by Saadit Malik pg &lt;BR&gt;276, 278 &quot;The first two messages in IKE main mode negotiation are used to negotiate the various values, hash &lt;BR&gt;mechanismes, and encryption mechanisms to use for the later half of the IKE negotiations.” CCIE PRofessional &lt;BR&gt;Development Network Security Pratices and Principles by Saadit Malik pg 280 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 80 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 43 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;In a move to support standards-based routing, the decision is made to use the OSPF routing protocol &lt;BR&gt;throughout the entire network. The areas are shown as in the exhibit, and the subnets are:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Ethernet on Router A: 108.3.1.0 &lt;BR&gt;Serial line between Router A and Router B: 108.3.100.0 &lt;BR&gt;Token ring on Router B: 108.3.2.0 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;How should OSPF be configured on Router B? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. router ospf&lt;BR&gt;network 108.3.0.0 &lt;BR&gt;B. router ospf 1&lt;BR&gt;network 108.3.100.0 0.0.0.255 area 6 &lt;BR&gt;network 108.3.2.0 0.0.0.255 area 6 &lt;BR&gt;C. router ospf 1&lt;BR&gt;network 108.3.100.0 0.0.0.255 area 6 &lt;BR&gt;network 108.3.2.0 0.0.0.255 area 0 &lt;BR&gt;D. router ospf 1&lt;BR&gt;network 108.3.100.0 255.255.255.0 area 6 &lt;BR&gt;network 108.3.2.0 255.255.255.0 area 6 &lt;BR&gt;E. router ospf 1&lt;BR&gt;network 108.3.1.0 0.0.0.255 area 6 &lt;BR&gt;network 108.3.100.0 0.0.0.255 area 6 &lt;BR&gt;network 108.3.2.0 0.0.0.255 area 6 &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: Networks 108.3.100.0 and 108.3.2.0 using a /24 need to be put into the ospf statement. both are &lt;BR&gt;configured in area 6. the ethernet network on router A will be given to router B by rotuer A so there is no need &lt;BR&gt;to insert the network statement for it. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 44 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 81 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;/etc/hosts.equiv:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;2.2.2.2 &lt;BR&gt;/etc/passwd:&lt;BR&gt;user_B:x:1003:1:User B:/export/home/user_B:/bin/kshuser_C:x:1004:1:User C:/export/home/user_C:/bin/kshwith host_B having the ip 2.2.2.2 &amp; host C having the ip 3.3.3.3 &lt;BR&gt;What policy would be enforced given the files shown? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Allow user_B on Host_B to access host_A via rlogin, rsh, rcp, &amp; rcmd without a password. &lt;BR&gt;B. Allow user_B to access host_A via rlogin, rsh, rcp, &amp; rcmd with a password but to prevent access from &lt;BR&gt;unlisted hosts including host_C &lt;BR&gt;C. Allow users to telnet from host_B to host_A but prevent users from telnetting from unlisted hosts &lt;BR&gt;including host_C &lt;BR&gt;D. Allow users on host_A to telnet to host_B but not to unlisted hosts including host_C &lt;BR&gt;Answer: B &lt;BR&gt;Explanation: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 82 &lt;BR&gt;Given: &lt;BR&gt;Two routers have their SA lifetime configured for 86399 seconds and 2 million kilobytes. After 24 hours &lt;BR&gt;have passed and 500 KB of traffic have been tunneled, what happens?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. If pre-shared keys are being used, traffic will stop until new keys are manually obtained and inputted. &lt;BR&gt;B. The SA will be renegotiated. &lt;BR&gt;C. The SA will not be renegotiated until 2 MB of traffic have been tunneled. &lt;BR&gt;D. Traffic will be sent unencrypted. &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: more or less 86399 seconds is 23.9 hours however 86400 is 24 hours so the SA need to be &lt;BR&gt;renegotiated &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 83 &lt;BR&gt;Why is authentication NOT used with TFTP?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 45 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. TFTP protocol has no hook for a username/password. &lt;BR&gt;B. TFTP uses UDP as a transport method. &lt;BR&gt;C. TFTP is initiated by a server. &lt;BR&gt;D. TFTP is already secure. &lt;BR&gt;E. All of the above. &lt;BR&gt;Answer: A &lt;BR&gt;Explanation: FTP requires a username and password. TFTP does not.&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 84 &lt;BR&gt;If a network manager believes security has been compromised on a router or PC client, and he/she wishes &lt;BR&gt;to have the CA certificate revoked, the manager would: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Contact the CA administrator and be prepared to provide the challenge password chosen upon &lt;BR&gt;installation. &lt;BR&gt;B. If a router is involved, type: &lt;BR&gt;configure terminal crypto ca revoke &lt;NAME&gt;&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;C. Uninstall the IPSec software on the PC, erase the router configuration and reconfigure the router, and &lt;BR&gt;request the certificate in the same way as the initial installation (Issuance of the new certificate will &lt;BR&gt;revoke the old one automatically). &lt;BR&gt;D. Send e-mail to &lt;A href=&quot;mailto:‘sysadmin@icsa.net’&quot;&gt;&lt;FONT color=#333333&gt;‘sysadmin@icsa.net’&lt;/FONT&gt;&lt;/A&gt; with the hostname and IP of the compromised device requesting &lt;BR&gt;certificate revocation. &lt;BR&gt;Answer: A &lt;BR&gt;Explanation: If you lose the password, the CA administrator may still be able to revoke the PIX Firewall's &lt;BR&gt;certificate, but will require further manual authentication of the PIX Firewall administrator identity. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 85 &lt;BR&gt;Scanning tools may report a root Trojan Horse compromise when run against an IOS component. &lt;BR&gt;Why does this happen?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. The port scanning package mis-parses the IOS error messages. &lt;BR&gt;B. IOS is based on BSD UNIX and is subject to a Root Trojan Horse compromise. &lt;BR&gt;C. The scanning software is detecting the hard-coded backdoor password in IOS. &lt;BR&gt;D. Some IOS versions can be crashed with the telnet option vulnerability. &lt;BR&gt;E. IOS will not respond to vulnerability scans. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 46 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Answer: A &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 86 &lt;BR&gt;Which statement regarding the RADIUS authentication protocol are true? Multiple answer)&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. UDP 1812 is specified in RFC 2138. &lt;BR&gt;B. UDP 1645 is commonly used by many vendors. &lt;BR&gt;C. UDP 1647 is specified in RFC 2139. &lt;BR&gt;D. UDP 48 is commonly used by many vendors. &lt;BR&gt;Answer: A, B &lt;BR&gt;Explanation: Exactly one RADIUS packet is encapsulated in the UDP Data field [2], where the UDP &lt;BR&gt;Destination Port field indicates 1812 (decimal). When a reply is generated, the source and destination ports are &lt;BR&gt;reversed. This memo documents the RADIUS protocol. There has been some confusion in the assignment of &lt;BR&gt;port numbers for this protocol. The early deployment of RADIUS was done using the erroneously chosen port &lt;BR&gt;number 1645, which conflicts with the &quot;datametrics&quot; service. The officially assigned port number for RADIUS &lt;BR&gt;is 1812. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 87 &lt;BR&gt;A Security Manager needs to configure an IPSec connection using ISAKMP with routers from mixed &lt;BR&gt;vendors. &lt;BR&gt;What information is NOT needed to configure the local security device to communicate with the remote &lt;BR&gt;machine? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Remote peer address. &lt;BR&gt;B. Main mode attributes. &lt;BR&gt;C. Quick mode attributes. &lt;BR&gt;D. Addresses that need to be encrypted. &lt;BR&gt;E. Peer gateway subnet. &lt;BR&gt;F. Encryption authentication method. &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: The peers gateway subnet is not needed. The address is needed.&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 88 &lt;BR&gt;An ISAKMP NOTIFY message is used between IPSec endpoints for what purpose?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 47 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. To let the other side know that a failure has occurred. &lt;BR&gt;B. To let the other side know the status of an attempted IPSec transaction. &lt;BR&gt;C. To let the other side know when a physical link with an applied SA has been torn down. &lt;BR&gt;D. To let the other side know that an SA has been bought up on an unstable physical connection; potential &lt;BR&gt;circuit flapping can cause problems for SPI continuity. &lt;BR&gt;Answer: C &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 89 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;If Host 1 cannot ping Host 2 and Host 2 cannot ping Host 1, what is most likely the cause? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Split horizon issue. &lt;BR&gt;B. Default gateway on hosts. &lt;BR&gt;C. Routing problem with RIP. &lt;BR&gt;D. All of the above. &lt;BR&gt;Answer: D &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 90 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 48 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;When building a non-passive FTP data connection, the FTP client: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Indicates the port number to be used for sending data over the command channel via the PORT &lt;BR&gt;command. &lt;BR&gt;B. Receives all data on port 20, the same port the FTP server daemon sends data from. &lt;BR&gt;C. Uses port 20 for establishing the command channel and port 21 for the data channel. &lt;BR&gt;D. Initiates the connection from an ephemeral port to the RFC specified port of the server. &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: Standard mode FTP uses two channels for communications. When a client starts an FTP &lt;BR&gt;connection, it opens a standard TCP channel from one of its higher-order ports to port 21 on the server. This is &lt;BR&gt;referred to as the command channel. Cisco Secure PIX firewall Advanced 2.0 10-5 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 91 &lt;BR&gt;The RADIUS attribute represented by the value 26 is used for:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Specifying accounting data specific to a particular vendor service. &lt;BR&gt;B. Specifying the vendor name of the NAS. &lt;BR&gt;C. Allowing vendors to define out-of-band RADIUS timeouts. &lt;BR&gt;D. Transmitting vendor-specific attributes. &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: Vendor-specific . allows vendors to support their own extended attributes that are unsuitable for &lt;BR&gt;general use. Cisco RADIUS implementation supports one vendor-specific option using the format &lt;BR&gt;recommended in the specification. Network Security Principles and Practices, Saadat Malik p 524 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 92 &lt;BR&gt;A Hash (such as MD5) differs from an Encryption (such as DES) in what manner?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. A hash is easier to break. &lt;BR&gt;B. Encryption cannot be broken. &lt;BR&gt;C. A hash is reversible. &lt;BR&gt;D. A hash, such as MD5, has a final fixed length. &lt;BR&gt;E. Encryption has a final fixed length. &lt;BR&gt;Answer: D &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 49 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Explanation: The MD5 algorithm takes as input a message of arbitrary length and produces as output a 128-bit &lt;BR&gt;&quot;fingerprint&quot; or &quot;message digest&quot; of the input. It is conjectured that it is computationally infeasible to produce &lt;BR&gt;two messages having the same message digest, or to produce any message having a given prespecified target &lt;BR&gt;message digest. The MD5 algorithm is intended for digital signature applications, where a large file must be &lt;BR&gt;&quot;compressed&quot; in a secure manner before being encrypted with a private (secret) key under a public-key &lt;BR&gt;cryptosystem such as RSA. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;'Message hashing is an encryption technique that can be used to ensure that &lt;BR&gt;a message has not been altered. The MD5 algorithm takes as input a &lt;BR&gt;cleartext message of arbitrary length...The MD5 algorithm is run on the &lt;BR&gt;input, which produces as output a fixed-length,128-bit &quot;message digest&quot; or &lt;BR&gt;&quot;hash&quot; of the input.' &lt;BR&gt;&quot;It is considered computationally infeasible to reverse the hash process or &lt;BR&gt;to produce two message having the same message digest&quot; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Managging Cisco Network Security by Michael Wenstrom pg 464 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 93 &lt;BR&gt;Which statement about the Diffie-Hellman key exchange is false?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. The two routers involved in the key swap generate large random integers (i), which are exchanged in &lt;BR&gt;private. &lt;BR&gt;B. The local secret key is combined with known prime numbers n and g in each router to generate a Public &lt;BR&gt;key. &lt;BR&gt;C. Each router combined the private key received from the opposite router with its own public key to create &lt;BR&gt;a shared secret key. &lt;BR&gt;D. Each router uses the received random integer to generate a local secret (private) crypto key. &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: more or less XvA=G^A mod P Network Security Principles and Practices, Saadat Malik p 284285 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 94 &lt;BR&gt;Exhibit: &lt;BR&gt;Configuration of Router A: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;crypto map tag 1 ipsec-isakmpset security-association lifetime seconds 240set security-association lifetime kilobytes 10000 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;- 50 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Configuration of Peer Host Router B:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;crypto map tag 1 ipsec-isakmpset security-association lifetime seconds 120set security-association lifetime kilobytes 20000 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;Router A is configured as shown. Predict and explain what will happen after 110 seconds and 1500 &lt;BR&gt;kilobytes of traffic: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Router A will not talk to Router B because the security association lifetimes were misconfigured; they &lt;BR&gt;should be the same. &lt;BR&gt;B. The security association will not be renegotiated until 20000 kilobytes have traversed the link, because &lt;BR&gt;the interval will be the greater of 2 parameters . time and kilobytes. &lt;BR&gt;C. Security association renegotiation will have started. &lt;BR&gt;D. Assuming the same traffic pattern and rate, the present security associations will continue until almost &lt;BR&gt;240 seconds have elapsed. &lt;BR&gt;Answer: A &lt;BR&gt;Explanation: I have heard different answers to this question. 1 is that the lesser of the values will be used. But &lt;BR&gt;the SA need to match which these dont. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 95 &lt;BR&gt;What encryption algorithm is used for Microsoft Point-to-Point Encryption?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. DES CBC &lt;BR&gt;B. RSA RC4 &lt;BR&gt;C. RSA CBC &lt;BR&gt;D. DES RC4 &lt;BR&gt;Answer: B &lt;BR&gt;Explanation: MPPE uses the RSA RC4 [3] algorithm to provide data confidentiality.&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 96 &lt;BR&gt;The TFTP protocol: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #000000; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '한컴바탕'; TEXT-ALIGN: justify&quot;&gt;A. Uses the UDP transport layer and requires user authentication. &lt;BR&gt;B. Uses the TCP transport layer and does not require user authentication. &lt;BR&gt;C. Uses the UDP transport layer and does not require user authentication. &lt;BR&gt;D. Used TCP port 69. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;&lt;/SPAN&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=CCNA&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;CCNA&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>Test King, 350-018 CCIE.350-018.Security.v3.1.pctools4</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/810972"/>
		<id>tag:blog.daum.net,2009:bleemkmj.810972</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-29T17:28:10Z</updated>
	    <published>2007-11-29T17:28:10Z</published>
	    <content type="html">
	    	&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #800080; LINE-HEIGHT: 21px; FONT-FAMILY: '바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;- 31 -&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #800080; LINE-HEIGHT: 21px; FONT-FAMILY: '바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style=&quot;FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #800080; LINE-HEIGHT: 21px; FONT-FAMILY: '바탕'; LETTER-SPACING: 0px; TEXT-ALIGN: justify&quot;&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 54 &lt;BR&gt;Describe the correct authentication sequence for the IOS Firewall Authentication Proxy:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. The user authenticates by FTP, and route maps are downloaded from the proxy server. &lt;BR&gt;B. The user authenticates locally to the router. &lt;BR&gt;C. The user authenticates by Telnet, and access lists are downloaded from the AAA server. &lt;BR&gt;D. The user authenticates by HTTP, or Telnet, and access lists are downloaded from the AAA server. &lt;BR&gt;E. The user authenticates by HTTP, and access lists are downloaded from the AAA server. &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: When a user initiates an HTTP session through the firewall, the authentication proxy is triggered &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 55 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Host A is attempting to send a packet through Router B to Host D. There are not routing protocols &lt;BR&gt;configured nor are there any static routes for router B or C. However, Router B does have a default-&lt;BR&gt;gateway configured to the IP address of Router C using the configuration ip default-gateway 10.1.2.2. &lt;BR&gt;Will Host A’s packet reach Host D? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. This will work of the routers are configured to bridge. &lt;BR&gt;B. This will work because Router B will forward the packets destined to 10.1.3.0/24 to Router C through &lt;BR&gt;its IP default-gateway configuration. &lt;BR&gt;C. The packets will reach Host D, but Host D will not be able to communicate back to Host A, so the &lt;BR&gt;session will fail. &lt;BR&gt;D. This will work if CDP is enabled on the routers. &lt;BR&gt;E. Routers only route packets to routes in the routing table, not their IP default-gateway so Host A’s &lt;BR&gt;packets will never reach Router C or Host D. &lt;BR&gt;Answer: B &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 32 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Explanation: This is a tricky question becouse it does not say that C has ip default-gateway. SO it wont be &lt;BR&gt;able to send the packet back but the packet will reach D. PIck your option The ip default-gateway command &lt;BR&gt;differs from the other two commands in that it should only be used when ip routing is disabled on the Cisco &lt;BR&gt;router &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 56 &lt;BR&gt;The purpose of Administrative Distance, as used by Cisco routers, is:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. To choose between routes from different routing protocols when receiving updates for the same&lt;BR&gt;network. &lt;BR&gt;B. To identify which routing protocol forwarded the update. &lt;BR&gt;C. To define the distance to the destination used in deciding the best path. &lt;BR&gt;D. To be used only for administrative purposes. &lt;BR&gt;Answer: A &lt;BR&gt;Explanation: Administrative distance is the feature used by routers to select the best path when there are two or &lt;BR&gt;more different routes to the same destination from two different routing protocols. Administrative distance &lt;BR&gt;defines the reliability of a routing protocol. Each routing protocol is prioritized in order of most to least reliable &lt;BR&gt;(believable) using an administrative distance value. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 57 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-User_A and User_B are both members of the global group “DOMAIN USERS”. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-Global group “DOMAIN USERS” is included in local group “USERS”. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-All users and groups are in the domain “CORP”. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-The directory D:\data has the share permission for local group “USERS” set to “Read”. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-The Microsoft Word document D:\data\word.doc has file permissions for local group “USERS” set &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;to “Full Control”. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;-The Microsoft Word document D:\data\word.doc is owned by User_B. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Given this scenario on a Windows NT 4.0 network, what is the expected behavior!! when User_A attempts &lt;BR&gt;to edit D:\data\word.doc? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. User_A has full control and can edit the document successfully. &lt;BR&gt;B. There is not enough information. &lt;BR&gt;Permissions for Microsoft Word are set within the application and are not subject to file and share level &lt;BR&gt;permissions. &lt;BR&gt;C. Access would be denied. &lt;BR&gt;Only the owner of a file can edit a document. &lt;BR&gt;D. Global groups can not be placed into local groups. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 33 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;The situation could not exist. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;E. Edit access would be denied. &lt;BR&gt;The “Read” permission is least permissive so it would apply in this situation. &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: Based on the name of each group, you might think that you'd add local groups to global groups. &lt;BR&gt;This isn't the case. You assign users or global groups to local groups to give access to local resources &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 58 &lt;BR&gt;A network manager issues an RCP (Remote Copy) when copying a configuration from a router to a Unix&lt;BR&gt;system. &lt;BR&gt;What file on the Unix system would need to be modified to allow the copying to occur?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. rcmd &lt;BR&gt;B. rcmd.allow &lt;BR&gt;C. allow.rcmd &lt;BR&gt;D. hosts.allow &lt;BR&gt;E. .rhosts &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: NOT SURE OF THIS ANSWER I AM SAYING .RHOSTS The $HOME/.rhosts file defines &lt;BR&gt;which remote hosts (computers on a network) can invoke certain commands on the local host without supplying &lt;BR&gt;a password. This file is a hidden file in the local user's home directory and must be owned by the local user &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 59 &lt;BR&gt;In the context of intrusion detection, what is the definition of exploit signatures?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Policies that prevent hackers from your network. &lt;BR&gt;B. Security weak points in your network that can be exploited by intruders. &lt;BR&gt;C. Identifiable patterns of attack detected on your network. &lt;BR&gt;D. Digital graffiti from malicious users. &lt;BR&gt;E. Certificates that authenticate authorized users. &lt;BR&gt;Answer: C &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 34 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 60 &lt;BR&gt;The network administrator has forgotten the enable password of the router. Luckily, no one is currently &lt;BR&gt;logged into the router, but all passwords on the router are encrypted. &lt;BR&gt;What should the administrator do to recover the enable secret password?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Call the Cisco Technical Assistance Center (TAC) for a specific code that will erase the existing &lt;BR&gt;password. &lt;BR&gt;B. Reboot the router, press the BREAK key during boot up, boot the router into ROM Monitor mode to &lt;BR&gt;either erase or replace the existing password, and reboot the router as usual. &lt;BR&gt;C. Reboot the router, press the BREAK key during boot up, and boot the router into ROM Monitor mode to &lt;BR&gt;erase the configuration, and re-install the entire configuration as it was saved on a TFTP server. &lt;BR&gt;D. Erase the configuration, boot the router into ROM Monitor mode, press the BREAK key, and overwrite &lt;BR&gt;the previous enable password with a new one. &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: The other possible answer is not correct in my view as you still need to put the config back onto &lt;BR&gt;the router after rommon mode (normally in nvram but TFTP is a valid storage place as well) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 61 &lt;BR&gt;According to RFC 1700, what well-known ports are used for DNS?&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. TCP and UDP 23. &lt;BR&gt;B. UDP 53 only. &lt;BR&gt;C. TCP and UDP 53. &lt;BR&gt;D. UDP and TCP 69. &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: Type Application layer name space translation protocol. Port 53 (TCP, UDP) &lt;BR&gt;server.&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 62 &lt;BR&gt;The purpose of Lock &amp; Key is:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. To secure the console port of the router so that even users with physical access to the router cannot gain &lt;BR&gt;access without entering the proper sequence. &lt;BR&gt;B. To allow a user to Telnet to the router and have temporary access lists applied after issuance of the &lt;BR&gt;access-enable command. &lt;BR&gt;C. To require additional authentication for traffic travelling through the PIX for TTAP compliance. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 35 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;D. To prevent users from getting into enable mode. &lt;BR&gt;Answer: B &lt;BR&gt;Explanation: Lock-and-key access allows you to set up dynamic access lists that grant access per user to a &lt;BR&gt;specific source/destination host through a user authentication process. You can allow user access through a &lt;BR&gt;firewall dynamically, without compromising security restrictions. The following process describes the lock-andkey &lt;BR&gt;access operation A user opens a Telnet session to a border router configured for lock-and-key access. The &lt;BR&gt;Cisco IOS software receives the Telnet packet and performs a user authentication process. The user must pass &lt;BR&gt;authentication before access is allowed. The authentication process can be done by the router or a central access &lt;BR&gt;server such as a TACACS+ or RADIUS server. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 63 &lt;BR&gt;In addition to Kerberos port traffic, what additional service is used by the router and the Kerberos &lt;BR&gt;server in implementing Kerberos authentication on the router? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. TCP &lt;BR&gt;B. DNS &lt;BR&gt;C. FTP &lt;BR&gt;D. ICMP &lt;BR&gt;E. Telnet &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: The following network services are supported by the Kerberos authentication capabilities in &lt;BR&gt;Cisco IOS software Telnet, rlogin, rsh, rcp &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 64 &lt;BR&gt;Identify the default port(s) used for web-based SSL (Secure Socket Layer) Communication:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. TCP and UDP 1025. &lt;BR&gt;B. TCP 80. &lt;BR&gt;C. TCP and UDP 443. &lt;BR&gt;D. TCP and UDP 1353. &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: Secure Sockets Layer (SSL) is an application-level protocol that enables secure transactions of &lt;BR&gt;data through privacy, authentication, and data integrity. It relies upon certificates, public keys, and private keys. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 36 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Use 443 (generally used for SSL transactions) as the SSL TCP service port and 443 as the clear text port. &lt;BR&gt;Configure the server to not use SSL and to monitor port 443. TCP service port 80 requests are serviced &lt;BR&gt;normally. Use 443 as the SSL TCP service port and 81 (or another unused port) for the clear text port. &lt;BR&gt;Configure the server to monitor port 81. TCP service port 80 requests are serviced normally. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 65 &lt;BR&gt;In the TACACS+ protocol, the sequence number is: (Multiple answer)&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. An identical number contained in every packet. &lt;BR&gt;B. A number that must start with 1 (for the fist packet in the session) and increment each time a request or &lt;BR&gt;response is sent. &lt;BR&gt;C. Always on odd number when sent by the client. &lt;BR&gt;D. Always an even number when sent by the client and odd when sent by the daemon. &lt;BR&gt;Answer: B, C &lt;BR&gt;Explanation: Seq_no - The sequence number of the current packet for the current session. The first TACACS+ &lt;BR&gt;packet is a session must have the sequence number 1, and each subsequent packet increments the sequence &lt;BR&gt;number by 1. Thus, clients (such as the NAS) send only packets containing odd sequence numbers, and &lt;BR&gt;TACACS+ daemons send only packets containing even sequence numbers. The sequence number mst never &lt;BR&gt;wrap. In other words, if the sequence number 2^8-1 is ever reached, that session must terminate and be restarted &lt;BR&gt;with a sequence number of 1. CCIE Professional Development Network Security Principles and Pratices by &lt;BR&gt;Saadat Malik pg 496 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 66 &lt;BR&gt;A network administrator is troubleshooting a problem with FTP services. If a device blocks the data &lt;BR&gt;connection, the administrator should expect to see: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. Very slow connect times. &lt;BR&gt;B. Incomplete execution, when issuing commands like “pwd” or “cd”. &lt;BR&gt;C. No problems at all. &lt;BR&gt;D. User login problems. &lt;BR&gt;E. Failure when listing a directory. &lt;BR&gt;Answer: E &lt;BR&gt;Explanation: Below is a capation from a cert advisory about FTP. FTP can have problems when the data &lt;BR&gt;channel is blocked. In FTP PASV mode, the client makes a control connection to the FTP server (typically port &lt;BR&gt;21/tcp) and requests a PASV data connection. The server responds by listening for client connections on a &lt;BR&gt;specified port number, which is supplied to the client via the control connection An active open is done by the &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 37 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;server, from its port 20 to the same port on the client machine as was used for the control connection. The client &lt;BR&gt;does a passive open. For better or worse, most current FTP clients do not behave that way. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 67 &lt;BR&gt;A Denial of Service (DoS) attack works on the following principle:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. MS-DOS and PC-DOS operating systems utilize a weak security protocol. &lt;BR&gt;B. All CLIENT systems have TCP/IP stack implementation weaknesses that can be compromised and &lt;BR&gt;permit them to launch an attack easily. &lt;BR&gt;C. Overloaded buffer systems can easily address error conditions and respond appropriately. &lt;BR&gt;D. Host systems cannot respond to real traffic, if they have an overwhelming number of incomplete &lt;BR&gt;connections (SYN/RCVD State). &lt;BR&gt;E. A server stops accepting connections from certain networks, once those networks become flooded. &lt;BR&gt;Answer: B &lt;BR&gt;Explanation: Some of these answers are true examples of types of dos but in itself does not define a dos &lt;BR&gt;Denial-of-service (DOS) attacks might attempt o starve a host of reasources needed to function correctly. &lt;BR&gt;Network Intrusion Detection third edition by Stephen Northcutt and Judy Novak pg 93 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 68 &lt;BR&gt;Global deployment of RFC 2827 (ingress and egress filtering) would help mitigate what classification of &lt;BR&gt;attack? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. Sniffing attack &lt;BR&gt;B. Denial of service attack &lt;BR&gt;C. Spoofing attack &lt;BR&gt;D. Reconnaissance attack &lt;BR&gt;E. Port Scan attack &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: Network Ingress Filtering- Defeating Denial of Service Attacks which employ IP Source Address &lt;BR&gt;Spoofing &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 69 &lt;BR&gt;Which security programs can effectively protect your network against password sniffer programs? &lt;BR&gt;(Multiple answer)&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 38 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. IPSec, because it encrypts data. &lt;BR&gt;B. One time passwords, because the passwords always change. &lt;BR&gt;C. RLOGIN, because it does not send passwords. &lt;BR&gt;D. Kerberos, because it encrypts passwords. &lt;BR&gt;E. Use of POP e-mail, because it is better than using SMTP. &lt;BR&gt;Answer: A, B &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 70 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Host 1 and Host 2 are on Ethernet LANs in different building. A serial line is installed between two Cisco &lt;BR&gt;routers using Cisco HDLC serial line encapsulation. Routers A and B are configured to route IP traffic.&lt;BR&gt;Host 1 sends a packet to Host 2. A line hit on the serial line causes an error in the packet. &lt;BR&gt;When this is detected, the retransmission is sent by:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Host 1 &lt;BR&gt;B. Host 2 &lt;BR&gt;C. Router A &lt;BR&gt;D. Router B &lt;BR&gt;E. Protocol analyzer &lt;BR&gt;Answer: C &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;QUESTION NO: 71 &lt;BR&gt;The Diffie-Hellman key exchange allows two parties to establish a shared secret key: (Multiple answer)&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. Over an insurance medium. &lt;BR&gt;B. After a secure session has been terminated. &lt;BR&gt;C. Before a secure session has been initiated. &lt;BR&gt;D. After a session has been fully secured. &lt;BR&gt;E. During a secure session over a secure medium. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 39 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Answer: A, C &lt;BR&gt;Explanation: DH is used over a insecure medium &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 72 &lt;BR&gt;Exhibit: &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;aaa new-model &lt;BR&gt;aaa authentication login default localaaa authentication exec default local &lt;BR&gt;username abc privilege 5 password xyzprivilege exec level 3 debug ip icmp &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;If a router is configured as shown, what will happen when user ABC Telnets to the router and tries to &lt;BR&gt;debug ICMP? (Multiple answer) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. The user will be locked out because the aaa new-model command is enabled and no TACACS server is &lt;BR&gt;defined. &lt;BR&gt;B. The user can gain entry with the local username/password, but will not be able to use any debug &lt;BR&gt;commands because command authorization will fail. &lt;BR&gt;C. The user can gain entry with the local username/password at Level 5, but cannot use any commands &lt;BR&gt;because none are assigned at Level 5. &lt;BR&gt;D. The user can gain entry with a local username/password at Level 5 and run debug ip icmp&lt;BR&gt;unchallenged. &lt;BR&gt;Answer: D &lt;BR&gt;Explanation: To understand this example, it is necessary to understand privilege levels. By default, there are &lt;BR&gt;three command levels on the router. privilege level 0 . includes the disable, enable, exit, help, and logout &lt;BR&gt;commands privilege level 1 . normal level on Telnet; includes all user-level commands at the router&gt; prompt &lt;BR&gt;privilege level 15 . includes all enable-level commands at the router# prompt username john privilege 9 &lt;BR&gt;password 0 doe - He can configure snmp-server community because configure terminal is at level 8 (at or below &lt;BR&gt;level 9), and snmp-server community is level-8 command. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 73 &lt;BR&gt;When the Cisco Secure Intrusion Detection System sensor detects unauthorized activity:&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;A. It sends e-mail to the network administrator. &lt;BR&gt;B. It sends an alarm to Cisco Secure Intrusion Detection System Director. &lt;BR&gt;C. It shuts down the interface where the traffic arrived, if device management is configured. &lt;BR&gt;D. It performs a traceroute to the attacking device. &lt;BR&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;- 40 -&lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;350 - 018 &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;&lt;BR&gt;Answer: B &lt;BR&gt;Explanation: CSIDS does a lot of these things, but the sensor is more specified. It sends the alarm to the full &lt;BR&gt;CSIDS director &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 74 &lt;BR&gt;Every time a typing mistake is made at the exec prompt of a router, the message from the router &lt;BR&gt;indicates a lookup is being performed. Also, there is a waiting period of several seconds before the next &lt;BR&gt;command can be typed. &lt;BR&gt;Can this behavior!! be changed? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. No, this is built in feature of Cisco IOS software. &lt;BR&gt;B. Yes, use the no ip domain-lookup command. &lt;BR&gt;C. Yes, use the no ip helper-address command. &lt;BR&gt;D. Yes, use the no ip multicast helper-map command. &lt;BR&gt;E. Yes, use the no exec lookup command. &lt;BR&gt;Answer: B &lt;BR&gt;Explanation: You can disable IP domain lookup using the no ip domain-lookup command under the router's &lt;BR&gt;global configuration mode. This will stop the IP domain lookup and speed up the show command output. &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;QUESTION NO: 75 &lt;BR&gt;What network management software must be installed prior to the Cisco Secure Intrusion Detection &lt;BR&gt;System Director software? &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;A. CiscoWorks 2000 on Unix. &lt;BR&gt;B. SunNetManager on Solaris. &lt;BR&gt;C. HP OpenView on HPUX or Solaris. &lt;BR&gt;D. Microsoft Internet Information Server on Windows NT. &lt;BR&gt;E. NetSonar on Linux. &lt;BR&gt;Answer: C &lt;BR&gt;Explanation: The following software must be installed on your workstation: &lt;BR&gt;HP-UX &lt;BR&gt;HP-UX 10.20 &lt;BR&gt;HP OpenView 4.1, 5.01, or 6.0 &lt;BR&gt;Web browser (for NSDB and help file) &lt;/P&gt;
&lt;P style=&quot;FONT-SIZE: 10pt; MARGIN: 0px; COLOR: #800080; TEXT-INDENT: 0px; LINE-HEIGHT: 160%; FONT-FAMILY: '바탕'; TEXT-ALIGN: justify&quot;&gt;Leading the way in IT testing and certification tools, &lt;A href=&quot;http://www.testking.com/&quot; target=&quot;_blank&quot;&gt;&lt;FONT color=#333333&gt;www.testking.com&lt;/FONT&gt;&lt;/A&gt; &lt;/P&gt;&lt;/SPAN&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=CCNA&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;CCNA&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>8.22 Terminfo 능력,8.22.1 논리 능력</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/810924"/>
		<id>tag:blog.daum.net,2009:bleemkmj.810924</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-29T17:26:31Z</updated>
	    <published>2007-11-29T17:26:31Z</published>
	    <content type="html">
	    	&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;B&gt;Variable&lt;/B&gt; 
&lt;TD&gt;&lt;B&gt;Cap.&lt;/B&gt; 
&lt;TD&gt;&lt;B&gt;Int.&lt;/B&gt; 
&lt;TD&gt;&lt;B&gt;Description&lt;/B&gt; 
&lt;TR&gt;
&lt;TD&gt;
&lt;TD&gt;&lt;B&gt;Name&lt;/B&gt; 
&lt;TD&gt;&lt;B&gt;Code&lt;/B&gt; 
&lt;TD&gt;
&lt;TR&gt;
&lt;TD&gt;auto_left_margin 
&lt;TD&gt;bw 
&lt;TD&gt;bw 
&lt;TD&gt;cub1이 컬럼 0부터 마지막 컬럼까지 포함한다(wrap) 
&lt;TR&gt;
&lt;TD&gt;auto_right_margin 
&lt;TD&gt;am 
&lt;TD&gt;am 
&lt;TD&gt;단말기가 자동적으로 여백을 갖는다. 
&lt;TR&gt;
&lt;TD&gt;back_color_erase 
&lt;TD&gt;bce 
&lt;TD&gt;ut 
&lt;TD&gt;화면은 백그라운드 색상으로 지원진다. 
&lt;TR&gt;
&lt;TD&gt;can_change 
&lt;TD&gt;ccc 
&lt;TD&gt;cc 
&lt;TD&gt;단말기는 존재하는 색상들로 재정의될 수 있다. 
&lt;TR&gt;
&lt;TD&gt;ceol_standout_glitch 
&lt;TD&gt;xhp 
&lt;TD&gt;xs 
&lt;TD&gt;표준출력은 overwritong에 의해 지워지지 않는다.(hp) 
&lt;TR&gt;
&lt;TD&gt;col_addr_glitch 
&lt;TD&gt;xhpa 
&lt;TD&gt;YA 
&lt;TD&gt;오직 hpa/mhpa 능력을 위한 적극적인 움직임 
&lt;TR&gt;
&lt;TD&gt;cpi_changes_res 
&lt;TD&gt;cpix 
&lt;TD&gt;YF 
&lt;TD&gt;문자 pitch의 변화는 해상도를 변화시킨다. 
&lt;TR&gt;
&lt;TD&gt;cr_cancels_micro_mode 
&lt;TD&gt;crxm 
&lt;TD&gt;YB 
&lt;TD&gt;cr를 사용하여 매크로 모드를 off로 전환한다. 
&lt;TR&gt;
&lt;TD&gt;eat_newline_glitch 
&lt;TD&gt;xenl 
&lt;TD&gt;xn 
&lt;TD&gt;newline은 80cols 이후에는 무시된다. 
&lt;TR&gt;
&lt;TD&gt;erase_overstrike 
&lt;TD&gt;eo 
&lt;TD&gt;eo 
&lt;TD&gt;공백을 가지고 overstrikes를 지울 수 있다. 
&lt;TR&gt;
&lt;TD&gt;generic_type 
&lt;TD&gt;gn 
&lt;TD&gt;gn 
&lt;TD&gt;일반적인 줄(line) 타입 (e.g.,, dialup, switch) 
&lt;TR&gt;
&lt;TD&gt;hard_copy 
&lt;TD&gt;hc 
&lt;TD&gt;hc 
&lt;TD&gt;단말기를 하드카피한다. 
&lt;TR&gt;
&lt;TD&gt;hard_cursor 
&lt;TD&gt;chts 
&lt;TD&gt;HC 
&lt;TD&gt;커서를 보기 어렵다. 
&lt;TR&gt;
&lt;TD&gt;has_meta_key 
&lt;TD&gt;km 
&lt;TD&gt;km 
&lt;TD&gt;메타 키를 갖는다 (패리티 비트가 지정된 shift) 
&lt;TR&gt;
&lt;TD&gt;has_print_wheel 
&lt;TD&gt;daisy 
&lt;TD&gt;YC 
&lt;TD&gt;프린터는 문자 집합을 바꾸기위한 연산자(operator)가 필요하다 
&lt;TR&gt;
&lt;TD&gt;has_status_line 
&lt;TD&gt;hs 
&lt;TD&gt;hs 
&lt;TD&gt;여분의 &quot;상태 줄&quot;을 갖는다 
&lt;TR&gt;
&lt;TD&gt;hue_lightness_saturation 
&lt;TD&gt;hls 
&lt;TD&gt;hl 
&lt;TD&gt;단말기는 오직 HLS 색상 표기법만을 사용한다(Tektronix) 
&lt;TR&gt;
&lt;TD&gt;insert_null_glitch 
&lt;TD&gt;in 
&lt;TD&gt;in 
&lt;TD&gt;삽입 모드는 널(null)을 구분한다. 
&lt;TR&gt;
&lt;TD&gt;lpi_changes_res 
&lt;TD&gt;lpix 
&lt;TD&gt;YG 
&lt;TD&gt;줄(line) pitch의 변경은 해상도를 바꾼다. 
&lt;TR&gt;
&lt;TD&gt;memory_above 
&lt;TD&gt;da 
&lt;TD&gt;da 
&lt;TD&gt;Display는 화면 위에 계속 유지되어진다. 
&lt;TR&gt;
&lt;TD&gt;memory_below 
&lt;TD&gt;db 
&lt;TD&gt;db 
&lt;TD&gt;Display는 화면 아래에 계속 유지되어진다. 
&lt;TR&gt;
&lt;TD&gt;move_insert_mode 
&lt;TD&gt;mit 
&lt;TD&gt;mi 
&lt;TD&gt;삽입 모드 안에서의 이동은 안전하다. 
&lt;TR&gt;
&lt;TD&gt;move_standout_mode 
&lt;TD&gt;msgr 
&lt;TD&gt;ms 
&lt;TD&gt;표준출력 모드안에서의 이동은 안전하다. 
&lt;TR&gt;
&lt;TD&gt;needs_xon_xoff 
&lt;TD&gt;nxon 
&lt;TD&gt;nx 
&lt;TD&gt;padding은 작업하지 않을 것이고 xon/xoff가 요구된다. 
&lt;TR&gt;
&lt;TD&gt;no_esc_ctl_c 
&lt;TD&gt;xsb 
&lt;TD&gt;xb 
&lt;TD&gt;붐비는 장소 (f1=escape, f2=ctrl+c) 
&lt;TR&gt;
&lt;TD&gt;non_rev_rmcup 
&lt;TD&gt;nrrmc 
&lt;TD&gt;NR 
&lt;TD&gt;smcup는 rmcup를 반대로 하지 않는다. 
&lt;TR&gt;
&lt;TD&gt;no_pad_char 
&lt;TD&gt;npc 
&lt;TD&gt;NP 
&lt;TD&gt;pad 문자는 존재하지 않는다. 
&lt;TR&gt;
&lt;TD&gt;non_dest_scroll_region 
&lt;TD&gt;ndscr 
&lt;TD&gt;ND 
&lt;TD&gt;스크롤링 지역은 파괴적이지 않다. 
&lt;TR&gt;
&lt;TD&gt;over_strike 
&lt;TD&gt;os 
&lt;TD&gt;os 
&lt;TD&gt;단말기 overstrikes 
&lt;TR&gt;
&lt;TD&gt;prtr_silent 
&lt;TD&gt;mc5i 
&lt;TD&gt;5i 
&lt;TD&gt;프린터는 화면에 반향(echo)하지 않는다. 
&lt;TR&gt;
&lt;TD&gt;row_addr_glitch 
&lt;TD&gt;xvpa 
&lt;TD&gt;YD 
&lt;TD&gt;vhp/mvpa 능력(caps)를 위한 오직 양의(positive) 움직임 
&lt;TR&gt;
&lt;TD&gt;semi_auto_right_margin 
&lt;TD&gt;sam 
&lt;TD&gt;YE 
&lt;TD&gt;마지막 컬럼의 인쇄는 cr를 야기시킨다. 
&lt;TR&gt;
&lt;TD&gt;status_line_esc_ok 
&lt;TD&gt;eslok 
&lt;TD&gt;es 
&lt;TD&gt;Escape은 상태줄 상에서 사용되어질 수 있다. 
&lt;TR&gt;
&lt;TD&gt;dest_tabs_magic_smso 
&lt;TD&gt;xt 
&lt;TD&gt;xt 
&lt;TD&gt;Tabs ruin, magic so char (Teleray 1061) 
&lt;TR&gt;
&lt;TD&gt;tilde_glitch 
&lt;TD&gt;hz 
&lt;TD&gt;hz 
&lt;TD&gt;Hazel-tine; 's를 인쇄할 수 없다. 
&lt;TR&gt;
&lt;TD&gt;transparent_underline 
&lt;TD&gt;ul 
&lt;TD&gt;ul 
&lt;TD&gt;밑줄 문자 overstrikes 
&lt;TR&gt;
&lt;TD&gt;xon_xoff 
&lt;TD&gt;xon 
&lt;TD&gt;xo 
&lt;TD&gt;단말기는 xon/xoff handshaking을 사용한다.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=리눅스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;리눅스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>정보보안/IT-C++ const 용법정리</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/810890"/>
		<id>tag:blog.daum.net,2009:bleemkmj.810890</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-29T17:25:04Z</updated>
	    <published>2007-11-29T17:25:04Z</published>
	    <content type="html">
	    	const에 대해 정리해봤습니다. 약간 불명확한 부분이 있을수도 있겠네요.&lt;BR&gt;&lt;BR&gt;const는 변수, 포인터형, 참조형, 함수, 클레스 등에 붙을수 있음.&lt;BR&gt;&lt;BR&gt;1. 변수&lt;BR&gt;예)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;const i = 100; &lt;BR&gt;i 값 변경불가&lt;BR&gt;&lt;BR&gt;2. 포인터형 : 기본적으로 2가지 형태가 있을 수 있음. 그외 여려형태가 가능&lt;BR&gt;예1) 값은 변경 불가능하지만 주소는 변경가능한 형태&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int temp = 100, temp2 = 200;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;const int *ipConst = &amp;temp;&amp;nbsp;&amp;nbsp;// *ipConst 값 변경 불가, ipConst(주소)값은 변경가능&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// int const *ipConst = &amp;temp;&amp;nbsp;&amp;nbsp;// 이런형태로 써도 위와 같은 의미&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// *ipConst = 300;&amp;nbsp;&amp;nbsp; // 불가능한 형태&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ipConst = &amp;temp2;&amp;nbsp;&amp;nbsp;// 가능한 형태&lt;BR&gt;&lt;BR&gt;예2) 주소는 변경 불가능하지만 값은 변경가능한 형태&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int temp = 100, temp2 = 200;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int * const iConstp = &amp;temp;&amp;nbsp;&amp;nbsp;// *iConstp 값 변경 가능, iConstp(주소)값은 변경불가&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*iConstp = 300;&amp;nbsp;&amp;nbsp; // 가능한 형태&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//iConstp = &amp;temp2;&amp;nbsp;&amp;nbsp;// 불가능한 형태&lt;BR&gt;&lt;BR&gt;주의 : const가 결합되는 위치가 값인지 주소인지에 유의 &lt;BR&gt;&lt;BR&gt;&lt;BR&gt;3. 참조형&lt;BR&gt;예1) 직접적으로 값과 주소 모두 변경 불가능하지만 참조 원본을 통한 값변경은 가능한 경우&lt;BR&gt;&amp;nbsp;&amp;nbsp; int temp3 = 100, temp5 = 200;&lt;BR&gt;&amp;nbsp;&amp;nbsp; int const &amp;ircVal = temp3;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &lt;BR&gt;&amp;nbsp;&amp;nbsp; //ircVal = 2000; // 컴파일 에러 발생 (const 참조는 값 변경불가)&lt;BR&gt;&amp;nbsp;&amp;nbsp; //ircVal = temp5;&amp;nbsp;&amp;nbsp;// 주소도&amp;nbsp;&amp;nbsp;변경불가 &lt;BR&gt;&amp;nbsp;&amp;nbsp; temp3 = 9000;&amp;nbsp;&amp;nbsp;// 참조 원본은 변경가능, 결과적으로 ircVal의 값도 변하게됨&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&lt;BR&gt;예2) 직접적으로 값과 주소 모두 변경 가능하지만 참조가 가르키는 값은 변화가 없는경우 &lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int temp4 = 300, temp5 = 500;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int &amp; const icrVal = temp4;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;icrVal = 6000;&amp;nbsp;&amp;nbsp;// 값변경 가능, 하지만 값에 변경이 안됨&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout &lt;&lt; &quot; icrVal &quot; &lt;&lt; icrVal &lt;&lt; endl;&amp;nbsp;&amp;nbsp;// 여전히 300이 찍힘&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;icrVal = temp5; // 주소도 변경가능 역시 값에 변경이 안됨&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cout &lt;&lt; &quot; icrVal &quot; &lt;&lt; icrVal &lt;&lt; endl;&amp;nbsp;&amp;nbsp;// 여전히 300이 찍힘 &lt;BR&gt;&lt;BR&gt;4. 함수 : class의 멤버함수인 경우만 const 함수 사용가능. 해당 class의 멤버변수를 변경할수 없음.&lt;BR&gt;예)&lt;BR&gt;class ConstTest&lt;BR&gt;{&lt;BR&gt;public:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int m_iA;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ConstTest()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;m_iA = 1;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int const_func1( int &amp;a_iA,&amp;nbsp;&amp;nbsp;int &amp;a_iB) const&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int a = 1;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int b = 2;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;int c = 0;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c = a + b;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;a_iA += 100;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// m_iA += 100; // 에러발생. 멤버변수는 변경 불가&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return m_iA;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;};&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&lt;BR&gt;5. 클레스&lt;BR&gt;예)&lt;BR&gt;&amp;nbsp;&amp;nbsp;const CMyConstClass CC;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;nbsp;&amp;nbsp;// 내부 멤버변수 전체를 변경불가능한 클레스,(생성자 함수만은 예외)&lt;BR&gt;&amp;nbsp;&amp;nbsp;// 모든 내부 멤버 함수는 기본적으로 const 함수가 되야만함.&lt;BR&gt;&amp;nbsp;&amp;nbsp;// 내부 함수의 지역 변수및 인자로 받은 변수는 변경가능.&lt;BR&gt;&lt;BR&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=C언어&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;C언어&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=C++&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;C++&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=IT뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;IT뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>리눅스/8.21 디버그 함수 (Debug Function)</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/780567"/>
		<id>tag:blog.daum.net,2009:bleemkmj.780567</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-28T19:31:13Z</updated>
	    <published>2007-11-28T19:31:13Z</published>
	    <content type="html">
	    	&lt;LI&gt;void _init_trace() 
&lt;LI&gt;void _tracef(char *, ...) 
&lt;LI&gt;char *_traceattr(mode) 
&lt;LI&gt;void traceon() 
&lt;LI&gt;void traceoff() &lt;/LI&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=리눅스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;리눅스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=it뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;it뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>리눅스/8.20 Terminfo 함수들(Functions)</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/780556"/>
		<id>tag:blog.daum.net,2009:bleemkmj.780556</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-28T19:30:15Z</updated>
	    <published>2007-11-28T19:30:15Z</published>
	    <content type="html">
	    	&lt;UL type=DISK&gt;
&lt;LI&gt;int setupterm(char *term, int fildes, int *errret) 
&lt;LI&gt;int setterm(char *term) 
&lt;LI&gt;int set_curterm(TERMINAL *nterm) 
&lt;LI&gt;int del_curterm(TERMINAL *oterm) 
&lt;LI&gt;int restartterm(char *term, int fildes, int *errret)&lt;BR&gt;(&lt;B&gt;Note:&lt;/B&gt; 아직 구현되지 않음.) 
&lt;LI&gt;char *tparm(char *str, p1, p2, p3, p4, p5, p6, p7, p8, p9)&lt;BR&gt;p1 - p9 long int. 
&lt;LI&gt;int tputs(char *str, int affcnt, int (*putc)(char)) 
&lt;LI&gt;int putp(char *str) 
&lt;LI&gt;int vidputs(chtype attr, int (*putc)(char)) 
&lt;LI&gt;int vidattr(chtype attr) 
&lt;LI&gt;int mvcur(int oldrow, int oldcol, int newrow, int newcol) 
&lt;LI&gt;int tigetflag(char *capname) 
&lt;LI&gt;int tigetnum(char *capname) 
&lt;LI&gt;int tigetstr(char *capname) &lt;/LI&gt;&lt;/UL&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=리눅스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;리눅스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=it뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;it뱅크&lt;/a&gt;
	    </content>
	    	</entry>
    	<entry>
	    <title>리눅스/8.19 Termcap Emulation</title>
		<link rel="alternate" type="text/html" href="http://blog.daum.net/bleemkmj/780544"/>
		<id>tag:blog.daum.net,2009:bleemkmj.780544</id>
	    <author>
		    <name>정보보안전문가</name>
	    </author>
	    <updated>2007-11-28T19:29:09Z</updated>
	    <published>2007-11-28T19:29:09Z</published>
	    <content type="html">
	    	&lt;LI&gt;int tgetent(char *bp, char *name) 
&lt;LI&gt;int tgetflag(char id[2]) 
&lt;LI&gt;int tgetnum(char id[2]) 
&lt;LI&gt;char *tgetstr(char id[2], char **area) 
&lt;LI&gt;char *tgoto(char *cap, int col, int row) 
&lt;LI&gt;int tputs(char *str, int affcnt, int (*putc)()) &lt;/LI&gt;&lt;br&gt;&lt;br&gt;tag : &lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=리눅스&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;리눅스&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=정보보안학원&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;정보보안학원&lt;/a&gt;,&amp;nbsp;&lt;a href=&quot;/_blog/tagArticleList.do?BLOGID=0I1P6&amp;amp;tagName=it뱅크&quot; rel=&quot;tag&quot; target=&quot;_blank&quot;&gt;it뱅크&lt;/a&gt;
	    </content>
	    	</entry>
      </feed>
