If you have multiple interfaces that need to be configured with the same settings, you can use the interface range command to specify a range of interfaces to which the subsequent commands will be applied.
For example, let’s say that interfaces Fa0/4, Fa0/5, Fa0/6, Fa0/7, and Fa0/8 need to have the same description. We don’t need to enter the subinterface mode of each interface separately to configure the description – we can use the interface range Fa0/4 – 8 command and then execute the description command:
SW1(config)#interface range Fa0/4 - 8 SW1(config-if-range)#description END_HOSTS
The description parameter will be applied to all interfaces in the specified range:
SW1#show running-config Building configuration... ... Current configuration : 1157 bytes interface FastEthernet0/3 ! interface FastEthernet0/4 description END_HOSTS ! interface FastEthernet0/5 description END_HOSTS ! interface FastEthernet0/6 description END_HOSTS ! interface FastEthernet0/7 description END_HOSTS ! interface FastEthernet0/8 description END_HOSTS ! interface FastEthernet0/9 ! ....
Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.
We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: