2.0 CCNA - Network Access
2.1 Configure and verify VLANs (normal range) spanning multiple switches
To configure and verify VLANs spanning multiple switches, you can follow these steps:
1. Create VLANs on each switch:
Enter global configuration mode using the "configure terminal" command.
Create the VLAN using the "vlan [vlan-id]" command.
Assign a name to the VLAN using the "name [vlan-name]" command.
Repeat these steps for each VLAN you want to create.
2. Assign switch ports to the VLAN:
Enter interface configuration mode for the desired port using the "interface [port]" command.
Assign the port to a VLAN using the "switchport access vlan [vlan-id]" command.
Repeat these steps for each port you want to assign to the VLAN.
3. Configure trunking to allow VLANs to span multiple switches
Enter interface configuration mode for the port that will be used for trunking using the "interface [port]" command.
Configure the port as a trunk using the "switchport mode trunk" command.
Specify the VLANs allowed on the trunk using the "switchport trunk allowed vlan [vlan-id]" command.
4. Verify the VLAN configuration
Use the "show vlan" command to display a list of VLANs and their configuration information.
Use the "show interfaces [port] switchport" command to display the VLAN configuration for a specific port.