Jun 2

In order for VLANs to communicate between them should be needed the services of a router. To this must be set subinterface FastEthernet, encapsulation and corresponding IP address so that each of these belong to a specific vlan.

The following steps set the settings of a FastEthernet subinterface

Router (config) # interface fastethernet slot No. / No. of No. of subinterface interfaz.N
Router (config-subif) encapsulation # [dot1q | ISL] No. vlan
Router (config-subif) # IP + ip address address mask
Router (config-subif) # exit
Router (config) # interface fastethernet slot No. / N ยบ interface
Router (config-if) # no shutdown

For the no shutdown subinterface that must run this command directly from the physical interface.
Example of setting up a trunk on two subinterfaces:

Router (config) # interface fastethernet 0/0.1
Router (config-subif) # encapsulation dot1q 3
Router (config-subif) # ip address 192.168.1.1 255.255.255.0
Router (config-subif) # exit
Router (config) # interface fastethernet 0/0.2
Router (config-subif) # encapsulation dot1q 3
Router (config-subif) # ip address 200.200.10.1 255.255.255.0
Router (config-subif) # exit
Router (config) # interface fastethernet 0 / 0
Router (config-if) # no shutdown




Verification:

show vlan
Displays information about configured VLANs and ports

show vlan brief
Display VLAN summary information

show vtp status
Displays VTP status information

show interface trunk
Displayed with core parameters

show spanning-tree vlan No.
Displays the status of STP configuration

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Designed By :Xperwebbuilder.com  All Right Reserved