Subinterface

Answered Question
Jul 20th, 2010
User Badges:

Hi

Can someone tell me  what documentation could i go to that will tell me how to create a subinterface

Correct Answer by Ganesh Hariharan about 6 years 10 months ago

Hi

Can someone tell me  what documentation could i go to that will tell me how to create a subinterface

Hi,


From interface configuration mode, you can enter subinterface configuration mode. Subinterface configuration mode is a submode of interface configuration mode. In subinterface configuration mode you can configure multiple virtual interfaces (called subinterfaces) on a single physical interface.


In the following example, a subinterface is configured for serial line 2, which is configured for Frame Relay encapsulation. The subinterface is identified as "2.1" to indicate that it is subinterface 1 of serial interface 2. The new prompt hostname(config-subif)# indicates subinterface configuration mode. The subinterface can be configured to support one or more Frame Relay PVCs.


Router(config)# interface serial 2
Router(config-if)# encapsulation frame-relay
Router(config-if)# interface serial 2.1
Router(config-subif)#


To exit subinterface configuration mode and return to interface configuration mode, use the exit command. To end your configuration session and return to privileged EXEC mode, press Ctrl-Z or enter the end command.


Hope to help !!


Ganesh.H

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (3 ratings)
Loading.
Nagaraja Thanthry Tue, 07/20/2010 - 14:17
User Badges:
  • Cisco Employee,

Hello,


There are various documents explaining the sub-interfaces configuration depending upon the network scenario. Here are few links:


Using subinterfaces on an Ethernet port for intervlan routing:


https://www.cisco.com/en/US/docs/security/asa/asa81/config/guide/intrface.pdf


Frame-relay subinterfaces:


http://www.cisco.com/warp/public/125/16.pdf


Hope this helps.


Regards,


NT

Correct Answer
Ganesh Hariharan Tue, 07/20/2010 - 23:52
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

Hi

Can someone tell me  what documentation could i go to that will tell me how to create a subinterface

Hi,


From interface configuration mode, you can enter subinterface configuration mode. Subinterface configuration mode is a submode of interface configuration mode. In subinterface configuration mode you can configure multiple virtual interfaces (called subinterfaces) on a single physical interface.


In the following example, a subinterface is configured for serial line 2, which is configured for Frame Relay encapsulation. The subinterface is identified as "2.1" to indicate that it is subinterface 1 of serial interface 2. The new prompt hostname(config-subif)# indicates subinterface configuration mode. The subinterface can be configured to support one or more Frame Relay PVCs.


Router(config)# interface serial 2
Router(config-if)# encapsulation frame-relay
Router(config-if)# interface serial 2.1
Router(config-subif)#


To exit subinterface configuration mode and return to interface configuration mode, use the exit command. To end your configuration session and return to privileged EXEC mode, press Ctrl-Z or enter the end command.


Hope to help !!


Ganesh.H

vinod.agrahari Mon, 08/09/2010 - 02:58
User Badges:

Please read Router on Stick concept from the Cisco documentation.


It will provide you the effective idea to create subinterface of any interface.


Regards


Vinod Agrahari

Actions

This Discussion