Computer Networks » Cisco Lan Switches
___________ command is used to enter privileged mode in a switch.

A. Enable
B. Configure terminal
C. Hostname
D. Wr

Explanation: “enable” command is used to enter a privileged mode in a switch. The privileged mode allows verification, reloading and erasing of the configuration. “configure terminal” is used to enter the global configuration mode, “hostname” is used to change the device name and “wr” is used to save the running configuration.

Which command is used to configure telnet for remote access?

A. Enable
B. Login
C. Line vty 0 4
D. Interface fastethernet 0/1

Explanation: “line vty 0 4” is used to configure telnet for remote access, “0 4” specifies the number of simultaneous users in this case 5. “login” command is used to specify when the password is to be asked, “enable” is used to access privileged mode and “interface fastEthernet 0/1” is used to access the interface for ethernet port 0/1.

How to create a VLAN in a switch?

A. VLAN
B. Name hr
C. Interface VLAN
D. No VLAN

Explanation: “vlan” is the command used to create a VLAN. “name HR” is used to assign a name to a VLAN, “interface vlan” is used to access the interface of a VLAN and “no vlan” command is used to delete a VLAN.

Which command is used to check whether the trunking is configured or not?

A. Switchport mode trunk
B. Switchport mode access
C. Show interface trunk
D. Show running configuration

Explanation: “show interface trunk” is used to check whether the trunking is configured or not and on which port it is configured. “switchport mode trunk” and “switchport mode access” is to configure trunk and access mode on a switch port, respectively. “show running configuration” is used to check the current running configuration of a switch.

Switch CLI is used to configure routing protocols.

A. True
B. False
C.
D.

Explanation: Router CLI is used to configure routing protocols. Switch CLI is only used for management purposes and to configure VLANs and ssh.

How to enable different ports to access a VLAN?

A. Switchport access VLAN
B. Switchport mode access
C. Interface VLAN
D. Switchport mode trunk

Explanation: “switchport access vlan” is used to give different ports access to a VLAN. “switchport mode trunk” and “switchport mode access” is to configure trunk and access mode on a switch port, respectively. “interface vlan” is used to access the interface of a VLAN.

The switch requires an IP address for each port in use.

A. True
B. False
C.
D.

Explanation: No, it is not required for each port in use to have an IP address. An IP address is assigned only for management, which is otherwise not required.

Which command is used to reboot a switch?

A. Shutdown
B. Copy run start
C. Exit
D. Reload

Explanation: “reload” command is used to reboot a switch. “exit” command is used to exit a interface, “shutdown” command is used to change the interface status of a port or VLAN to “DOWN”, and “copy run start” is used to copy the running configuration over the start-up configuration.