Pergunta de entrevista da empresa Amazon

how do you configure a vlan on a Cisco switch?

Resposta da entrevista

Sigiloso

14 de jun. de 2021

In Cisco IOS system VLANs can be configured in two configuration modes: 1) Config-vlan mode 2) VLAN database mode (Now days most of the new switches doesn't support VLAN database mode) Configuring vlan using Config-vlan mode: Configuration Steps: 1) Issue the "configure terminal" command in order to enter the global configuration mode. 2) Create vlan using "vlan " command and can assign name to vlan for description. 2) Issue the "interface [type] mod/port>" command in order to enter the interface configuration mode. 3) Issue the "switchport mode access" command in order to configure the port mode. 4) Issue the "switchport access " command in order to enter the VLAN membership mode for the port. 5) Issue the "show vlan" command in order to verify the VLAN configuration. Configuration Example: SW1(config)#vlan 11 SW1(config-vlan)#name Accounting SW1(config-vlan)#exit SW1(config)#int fa1/0 SW1(config-if)#switchport mode access SW1(config-if)#switchport access vlan 11 SW1(config-if)#end