Router(config-subif)#encapsulation dot1q 55 native %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.55, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.55, changed state to up Router(config-subif)#encapsulation dot1q 30 %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.30, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.30, changed state to up Router(config-subif)#encapsulation dot1q 20 %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up Router(config-subif)#encapsulation dot1q 10 %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up Sub Interfaces IP address Configure Command: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up Switch(config-if)#switchport trunk allowed vlan 1,10,20,30,55,77 Switch(config-if)#switchport access vlan 30 Switch(config-if)#switchport access vlan 20 Switch(config-if)#switchport access vlan 10 Switch(config-if)#switchport trunk native vlan 55 Switch(config-if)#switchport trunk allowed vlan 1-1005 %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan77, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down Switch(config-if)#switchport access vlan 77 Management Vlan setup and IP address assign for remote access : VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2 End with CNTL/Z.ġ default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Ip address on interface management vlanĮnter configuration commands, one per line.
HOW TO CONFIGURE SWITCH WITH ROUTER ON A STICK HOW TO
I have showed here how to configure Inter vlan router on a stick with all command for switch and router.