(config-subif)# encapsulation dot1q VLAN_ID – sets the subinterface to trunk and associates it with a specific VLAN.(config)# interface TYPE NUMBER.SUBINTERFACE – creates the subinterface and enters the subinterface command mode.To configure trunking on a router, the following commands are used: For example, the command interface Gi0/0.1 creates a subinterface. The subinterface number begins with the period and it is usually the same as the VLAN the subinterface will be in. The physical interface is divided into logical interfaces (also known as subinterfaces), one for each VLAN.Ī subinterface is created with the interface TYPE NUMBER.SUBINTERFACE command. This scenario is called router on a stick (ROAS) and allows all VLANs to communicate through a single physical interface. To enable inter-VLAN communication, you can divide a single physical interface on a router into logical interfaces that will be configured as trunk interfaces.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |