First practise multiple VLANs amongst name, assign multiple ports to them thence practise ISL body link betwixt the 2 switches to let communication betwixt VLANs.
To practise a VLAN, start larn inwards global configuration manner to run the next commands.
Configuration to practise VLAN 2 as well as three on switch A
SwitchA(config)#configure final (enter inwards global configuration mode)
SwitchA(config)#vlan 2 (defining the vlan 2)
SwitchA(config)#vlan 2 advert marketing (assigning the advert marketing to vlan 2)
SwitchA(config)#vlan 3 (defining the vlan 3)
SwitchA(config)#vlan three advert management (assigning the advert administration to vlan 3)
SwitchA(config)#exit (exit from vlan 3)
Now assigning the ports 2 as well as three to VLAN 2, it must move done from the interface mode. Enter the next commands to add together port 2 as well as three to VLAN 2.
SwitchA(config)#configure terminal (enter inwards global configuration mode)
SwitchA(config)#interface fastethernet 0/2 (select the Ethernet 0 of port 2)
SwitchA(config-if)#switchport access vlan 2 (allot the membership of vlan 2)
SwitchA(config-if)#exit (exit from interface 2)
SwitchA(config)#interface fastethernet 0/3 (select the Ethernet 0 of port 3)
SwitchA(config-if)#switchport access vlan 2 (allot the membership of vlan 2)
SwitchA(config-if)#exit (exit from interface 3)
Now assigning the ports iv as well as v to VLAN 3, larn inwards the next commands to add together port iv as well as v to VLAN 3.
SwitchA(config)#configure terminal (enter inwards global configuration mode)
SwitchA(config)#interface fastethernet 0/4 (select the Ethernet 0 of port 4)
SwitchA(config-if)#switchport access vlan 3 (allot the membership of vlan 3)
SwitchA(config-if)#exit (exit from interface 4)
SwitchA(config)#interface fastethernet 0/5 (select the Ethernet 0 of port 5)
SwitchA(config-if)#switchport access vlan 3 (allot the membership of vlan 3)
SwitchA(config-if)#exit (exit from interface 5)
Configuration to practise VLAN 2 on switch B
SwitchB(config)#configure final (enter inwards global configuration mode)
SwitchB(config)#vlan 2 (defining the vlan 2)
SwitchB(config)#vlan 2 advert marketing (assigning the advert marketing to vlan 2)
SwitchB(config)#vlan 3 (defining the vlan 3)
SwitchB(config)#vlan three advert management (assigning the advert administration to vlan 3)
SwitchB(config)#exit (exit from vlan 3)
Now assigning the ports 2 as well as three to VLAN 2, it must move done from the interface mode. Enter the next commands to add together port 2 as well as three to VLAN 2.
SwitchB(config)#configure terminal (enter inwards global configuration mode)
SwitchB(config)#interface fastethernet 0/2 (select the Ethernet 0 of port 2)
SwitchB(config-if)#switchport access vlan 2 (allot the membership of vlan 2)
SwitchB(config-if)#exit (exit from interface 2)
SwitchB(config)#interface fastethernet 0/3 (select the Ethernet 0 of port 3)
SwitchB(config-if)#switchport access vlan 2 (allot the membership of vlan 2)
SwitchB(config-if)#exit (exit from interface 3)
Now assigning the ports iv as well as v to VLAN 3, larn inwards the next commands to add together port iv as well as v to VLAN 3.
SwitchB(config)#configure terminal (enter inwards global configuration mode)
SwitchB(config)#interface fastethernet 0/4 (select the Ethernet 0 of port 4)
SwitchB(config-if)#switchport access vlan 3 (allot the membership of vlan 3)
SwitchB(config-if)#exit (exit from interface 4)
SwitchB(config)#interface fastethernet 0/5 (select the Ethernet 0 of port 5)
SwitchB(config-if)#switchport access vlan 3 (allot the membership of vlan 3)
SwitchB(config-if)#exit (exit from interface 5)
Trunking amongst ISL
Now practise ISL body link betwixt the 2 switches to let communication betwixt VLANs.
On both switches, SwitchA as well as SwitchB type the next ascendency amongst ISL at the fastethernet 0/1 interface.
SwitchA(config)#configure terminal (enter inwards global configuration mode)
SwitchA(config)#interface fastethernet 0/1 (select the Ethernet 0 of port 1)
SwitchA(config-if)#switchport manner trunk (set port 1 every bit body port)
SwitchA(config-if)#switchport body encapsulation isl
SwitchA(config-if)#end (exit from interface 1)
SwitchB(config)#interface fastethernet 0/1 (select the Ethernet 0 of port 1)
SwitchB(config-if)#switchport manner trunk (set port 1 every bit body port)
SwitchB(config-if)#switchport body encapsulation isl
SwitchB(config-if)#end (exit from interface 1)
To verify that fastethernet 0/1 has been established every bit body port, type the show interface fastethernet 0/1 switchport at the privileged EXEC mode.

No comments:
Post a Comment