CCNA (200-120) 문제풀이 NO. 27

QUESTION 27

Refer to the exhibit.


A technician has installed SwitchB and needs to configure it for remote access from the management workstation connected to SwitchA.
Which set of commands is required to accomplish this task?

A. SwitchB(config)# ip default-gateway 192.168.8.254
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown

B. SwitchB(config)# ip default-network 192.168.8,254
SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown

C. SwitchB(config)# interface vlan 1
SwitchB(config-if)# ip address 192.168.8.252 255.255.255.0
SwitchB(config-if )# ip default-gateway 192.168.8.254 255.255.255.0
SwitchB(config-if)# no shutdown

D. SwitchB(config)# ip router 192.168.8.254 255.255.255.0
SwitchB(config-if)# interface FastEthernet 0/1
SwitchB(config-if )# ip default-gateway 192.168.8.254 255.255.255.0
SwitchB(config-if)# no shutdown

E. SwitchB(config-if)# interface FastEthernet 0/1
SwitchB(config-if )# ip default-gateway 192.168.8.252 255.255.255.0
SwitchB(config-if)# no shutdown.

Explanation
문제 : 기술자는 스위치 B를 설치했으며, 스위치 A에 연결된 관리 워크스테이션에서 원격 엑세스 하도록 구성해야 합니다이 작업을 수행하는데 필요한 명령 집합은 무엇입니까?

스위치는 별도의 설정을 하지 않아도 전원을 연결하고 포트에 LAN 선만 꼽으면 잘 동작하지만, 텔넷이나 SSH를 이용한 원격 접속 이나 SNMP(Simple Network Management Protocol)을 이용한 관리를 하려면 IP주소를 설정해야 합니다. IP주소를 설정할 때 PC와 마찬가지로 IP주소, 서브넷 마스크, 디폴트 게이트워이를 설정 해 줘야 합니다.
IP주소는 기본VLANVLAN1 가상 인터페이스에 설정을 해야 하며, 디폴트 게이트웨이는 전역 설정모드에서 설정합니다.

1) 전역 설정 모드에서 'ip default-gateway ip' 명령어로 디폴트 게이트웨이 주소를 설정.
2) 전역 설정 모드에서 'interface vlan 1' 명령어로 VLAN 1 설정 모드로 진입.
3) 'ip address ip mask' 명령어로 IP 주소와 서브넷 마스크 설정.
4) 'no shutdown' 명령어로 VLAN 1 가상 인터페이스 활성화.

정답은 A입니다.
Powered by Blogger.