How To Configure Subinterface In Cisco Router?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Log into the router and enter global configuration mode by typing “configure terminal” in privileged mode.
2. Enter the interface configuration mode for the primary physical interface by typing “interface x/y” where x is the router number and y is the port number.
3. Configure the sub interface by typing “interface x/y.z” where x is the router number, y is the port number and z is the sub–interface number.
4. configure the appropriate IP address and subnet mask for each subinterface using the command “ip address a.b.c.d /mask” to define the IP address and the subnet mask in dotted decimal notation.
5. Configure each subinterface to operate with one specific protocol or both IPv4 and IPv6 using the appropriate commands.
6. Define the VLANs that will be used with each interface using the “switchport access vlan vlan–id” command, followed by the command “switchport trunk allowed vlan all” for a trunk link if needed.
7. Enable the interface by typing the “no shutdown” command, followed by the command “exit” to save the changes. The interface is now ready to use.