How To Configure Subinterfaces On Cisco Router?

Carry out the steps below on how to configure Subinterfaces on cisco router.

Configuring a Sub-interface is the process of dividing a single physical interface into multiple logical interfaces. This interface is used when the inter-VLAN routing option is enabled on your router, and the Virtual Local Area Network is developed at the network side. The configuration process of the sub interface process is quite similar to the physical interface. The configuration process is filled with running a set of commands. So, make sure not to make any mistake while entering the commands. In the Cisco router, the parent or root physical interface will be used for sending and receiving data between the interfaces. To know how to configure sub interface on your cisco router, read and proceed with the guided commands given below.

How To Configure Subinterfaces On Cisco Router?
  • First, identify the number range that can be used to create a sub interface on your Cisco router.
  • To identify it, launch the Terminal window on your computer.
  • Type the following commands as it is: omnisecu.com.R1(config)#interface fastEthernet 0/0.?<0-4294967295> FastEthernet interface number
  • Once you have found the range, change the physical interface from the Administrative down state to up.
  • To do so, first, run the no shutdown command by entering the below commands:
  • omnisecu.com.R1>enable
  • omnisecu.com.R1#configure terminal
  • Enter configuration commands, one per line. End with CNTL/Z.
  • omnisecu.com.R1(config)#interface fastethernet 0/0
  • omnisecu.com.R1(config-if)#no shutdown
  • // make sure to type the above command correctly
  • omnisecu.com.R1(config-if)#exit
  • omnisecu.com.R1(config)#exit
  • omnisecu.com.R1#
  • The no shutdown option is enabled successfully.

Now, configure sub interface on your Cisco router by running these commands:

  • omnisecu.com.R1>enable
  • omnisecu.com.R1#configure terminal
  • Enter configuration commands, one per line. End with CNTL/Z.
  • omnisecu.com.R1(config)#interface fastethernet 0/0.100
  • omnisecu.com.R1(config-subif)#encapsulation dot1Q 100
  • omnisecu.com.R1(config-subif)#ip address 172.16.100.1 255.255.255.0
  • omnisecu.com.R1(config-subif)#exit
  • omnisecu.com.R1(config)#exit
  • omnisecu.com.R1#
  • Ensure to run the commands as it is to avoid the errors occurring in the configuration process.

To get remote assistance on how to configure subinterfaces on cisco router, click the Call button available on this screen.

Related Articles

Top