Assigning Multiple Instances to a VLAN Simultaneously
The objective of this lab exercise is to understand how to configure many interfaces that share the same common configuration at the same time without having to do them one at a time
Configuring multiple interfaces on a switch at the same time is a fundamental skill. Some high end Cisco Catalyst switches can have in excess of 500 interfaces that may need to be configured almost identically. In such situations, configuring a single interface at a time would not be acceptable. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure multiple switch interfaces at the same time using user defined macros.
This lab is suitable CCNA certification exam preparation
This lab has a difficulty rating of 10/10
When you are ready for your certification exam, you should complete this lab in no more than 10 minutes
You can use any standalone (single) switch to complete this lab. This lab is strictly about configuration syntax.
Configure a hostname of your liking on your lab switch, which should have at least 24 ports.
Note: because this lab is to practise macro configuration, do NOT use the interface range command.
Configure VLAN 10 named SALES on the switch and VLAN 20 named TECH on the switch.
To simplify configuration tasks, you should create a macro called VLAN_10_Macro for configuring ports FastEthernet0/1 – FastEthernet0/12 that will be in VLAN 10 and a macro called VLAN_20_Macro for configuring ports FastEthernet0/13 – FastEthernet0/24 that will be in VLAN 2
Configure interfaces FastEthernet0/1 – 12 and FastEthernet0/12 - 24 in VLAN 10 and VLAN 20, respectively, using the macro. These ports should be configured as Access ports.
Verify your configuration using the appropriate commands in Cisco IOS.