본문 바로가기

Ryu's Tech

CCNA VTP Simlet







Q1 : What interface did Sw-AC3 associate with source MAC address 0010.5a0c.ffba ?


#show mac-address-table 명령어는 인터페이스에 연결된 mac 주소들을 보여준다. 이를 통해 0010.5a0c.ffba는 Fa0/8 인터페이스에 연결 되어 있다는 것을 알 수 있다.




Q2 : What ports on Sw-AC3 are operating has trunks (choose three)?



#show interface trunk 명령어를 통해 Trunking status 와 Vlan status를 확인할 수 있다.

Q3 : What kind of router is VLAN-R1?


VLAN-R1 라우터는 Sw-AC3에 직접적으로 연결되어 있다. 그러므로 우리는 #show cdp neighbors 명령어를 통해 인접 기기의 정보를 볼 수 있다.

#show cdp neighbors 명령어는 아래와 같은 내용을 출력한다.
1. Neighbor Device ID : 근처 장비의 hostname
2. Local Interface : 정보를 받는 인터페이스
3. Capability: 장비의 능력(기능)을 알 수 있다. R-Router S-Switch H-Host
4. Platform: 장비의 종류 파악
5. Port ID: The interface of the remote neighbor you receive CDP information
6. Holdtime: Decremental hold time in seconds

Q4 : Which switch is the root bridge for VLAN 1?


VLAN 1 의 root bridge를 찾는 문제이므로
#show spanning-tree vlan 1을 통해 vlan1의 정보를 확인한다.
여기에서 Fa0/12가 Root port인 것을 알 수 있고, Cost 를 통해 100Mbps Ethernet Link인 것을 알 수 있다.

여기서 Cost 는 Path Cost인데 이는 1000/bandwidth = STP Cost 이다.
  4Mbps - 250 
 10Mbps - 100
 16Mbps - 62
 45Mbps - 39
100Mbps - 19
155Mbps - 14
622Mbps - 6
  1Gbps - 4
 10Gbps - 2

Root port는 가장 Root bridge가 아닌 bridge에서 root bridge에 가장 가까운 포트를 말한다. 또한 Root Bridge는 Root ID를 가지고 있지 않다.






If you see there is at least one Root port in the interface roles then you can confirm Sw-Ac3 is not the root bridge because root bridge does not have root port. In this case, we notice that the root port on Sw-Ac3 switch is FastEthernet0/12, so we have to figure out which switch is associated with this port -> it is the root bridge. You can verify it with the show cdp neighbors command:


그 다음 #show cdp neighbors 명령어를 통해서 Fa0/12에 연결된 장비의 이름이 Sw-DS1이라는 것을 알 수 있다.




Q5 : What address should be configured as the default-gateway for the host connected to interface fa 0/4 of SW-Ac3?



#show vlan 커맨드를 통해서 fa0/4가 속하는 vlan을 확인 할 수 있다.

지문에서 Fa0/0.44 - 192.168.44.254/24 VLAN 44 라고 표기되어 있으므로 답은 192.168.44.254가 된다.


Q6 : From which switch did Sw-Ac3 receive VLAN information ?



Sw-Ac3가 어디에서 VLAN 정보를 받느냐는 문제인데
#show vtp status 명령어를 통해 163.5.8.3 을 통해 마지막 수정되었다는 정보를 알수 있다.
그렇다면 이 IP를 찾기 위해서
#show cdp neighbor detail 명령어를 치게 되면 중간즘에서 IP에 대응되는 Device ID를 찾을 수 있다.



Q7 : Refer to the exibit, SwX was taken out of the production network for maintenance. It will be reconnected to the Fa 0/16 port of Sw-Ac3. What happens to the network when it is reconnected and a trunk exists between the two switches?



#show vtp status 명령어를 통해 VTP configuration을 확인한다. 중요한 부분은
revision 이 5이고 domain name 이 home-office 이다.


vlan 정보를 보면 revision은 6이고 home-office 도메인임을 알 수 있다.
그러므로 같은 vtp안에 속해 있다고 볼 수 있다.
#show vlan을 통해서 vlan 정보를 확인하면


위와 같이 나오는데 그러므로
The VLANs servers, management, production and no-where will be removed from existing switches 임을 알 수있다.

만약 SwX의 revision number가 Sw-Ac3보다 낮다면 C - The VLANs Servers, management, Production and no-where will replace the VLANs on SwX가 될것이다.

VTP를 공부했다면 알겠지만 revision number가 높은 것이 더 최근의 정보이기 대문이라고 생각하면 된다.




Q8 : Out of which ports will a frame be forwarded that has source mac-address 0010.5a0c.fd86 and destination mac-address 000a.8a47.e612? (Choose three)


#show mac-address-table 명령어를 통해서



어떤 포트로 frame이 forwarding되느냐를 묻는 문제인데...
mac table을 통해서 0010.5a0c.fd86이 vlan33의 리스트에 있는 것을 알 수 있다. 하지만 ...e612의 mac address는 여기서 찾을 수 없다.
그러므로 데이터는 vlan 33과 trunk port로 데이터가 포워딩 될 것이다.
여기서는 Fa0/1,3,6,12 포트중에서 6번 포트의 경우 데이터를 수신한 포트이므로 제외한다.



위에서 찾은 도메인을 통해서 management(vlan 33) 에서 추가로 fa0/2,5,7 포트로 데이터가 나가는것을 알 수 있다.


마지막으로 Fa0/9 또한 트렁크 포트 이므로 데이터가 포워딩 될것이다.
1,2,3,5,6,7,9,12 가 정답이 될것인데
지문에는 8,3,1,12 를 물어봤으므로 3,1,12가 정답이다.


Q9 : If one of the host connected to Sw-AC3 wants to send something for the ip 190.0.2.5 (or any ip that is not on the same subnet) what will be the destination MAC address

목적지 IP가 Sw-AC3 의 IP 대역과는 다른 서브넷에 포함되어 잇으므로
이는 default-gateway로 데이터를 보낼 것이다. 그러므로
#show running-config를 통해 default-gateway를 확인한다.


default-gateway가 192.168.1.254인 것을 알 수 있다
#show cdp neighbors detail 명령어를 통해 이에 대한 정보를 알아보면...


VLAN-R1이라는 Device이고 Fa0/3 포트를 통해 연결된 것을 알 수 있다.
그러므로 연결된 mac address를 보기위해
#show mac-address-table을 입력하면...


Fa0/3와 연결된 mac address는 000a.b7e9.8360 인 것을 알 수 있다.






막쓴거임.

출처는 9tut.com