Tuesday, 2 February 2016

Router Subinterface Native VLAN

Native VLAN carries untagged traffic or traffic that does
not belong to a specific VLAN.Any VLAN can be made
as the Native VLAN.On Switches the native VLAN
defaults to VLAN 1 which is the default VLAN.

Native VLAN is changed on Trunk Ports between
switches and between a Switch and a Router.

On a connection between Switches the Native VLAN 
Is usually changed on Trunk Ports  at both ends and must 
be done on all Switches interconnected.


In an InterVLAN setup:
On the Router the Native VLAN is assigned to a subinterface 

 on a Router in an inter-VLAN set-up.Note the native VLAN 
should be also changed on the switch trunk port.

InterVLAN on Router:
Router(config)#int g0/0.1
Router(config-subif)#encapsulation ?
  dot1Q  IEEE 802.1Q Virtual LAN
Router(config-subif)#encapsulation dot1q ?
  <1-1005>  IEEE 802.1Q VLAN ID
Router(config-subif)#encapsulation dot1q 10 ?
  
native  Make this as native vlan
  <cr>
Router(config-subif)#encapsulation dot1q 10 native 

ON the switch: 
Switch(config-if)#switchport native vlan 10

This is in an intervlan setup and the switch interface
is connected to the Router.

No comments:

Post a Comment