You are on page 1of 1

Inter-VLAN Routing

Inter-VLAN Routing Configuration at Router

Command
Step 1 en
Step 2 config t
Step 3 int interface_number
Step 4 no shut

Step 5 int interface_number.VLAN_ID

Step 6 encapsulation dot1Q VLAN_ID

Step 7 ip add default_gateway subnet_mask

Step 8 end

Example
Router > en
Router # config t
Router (config)# int f0/0
Router (config-if)# no shut
Router (config-if)# int f0/0.10
Router (config-if)# encapsulation dot1Q 10
Router (config-if)# ip add 192.168.1.1 255.255.255.0
Router (config-vlan)#end
Router #

You might also like