COMPUTER NETWORKING

NETWORK LAYER

INTRODUCTION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How do you configure the default gateway of a switch?
A
ip default gateway
B
ip route 0.0.0.0 0.0.0.0 <interface>
C
ip default-gateway
D
default ip-gateway
Explanation: 

Detailed explanation-1: -To configure the default gateway for the switch, use the ip default-gateway command. Enter the IP address of the default gateway. The default gateway is the IP address of the router interface to which the switch connects. Use the following command to backup the configuration: copy running-config startup-config.

Detailed explanation-2: -The ip default-gateway command designates the default gateway that communicates with systems not on the local subnet. The default gateway must be on the same subnet as the IP address defined with the ip address command.

Detailed explanation-3: -enter the VLAN 1 configuration mode with the interface vlan 1 global configuration command. assign an IP address with the ip address IP ADDRESS SUBNET MASK interface subcommand. enable the VLAN 1 interface with the no shutdown interface subcommand. More items

There is 1 question to complete.