TRUNK MODE......






from email.policy import default
from multiprocessing.dummy import connection


Trunk Mode = Trunk port bind the multipal communication path into single path.

switch 1 is connect to switch 2 via fa0/1 on both side.
vlan 2 has 32 pc and vlan 3 has 10 pc.
23 connection from switch 1 and 9 connection from switch 2.

------configration on switch 1

Switch>en
Switch#sh vtp status
VTP Version                     : 2
Configuration Revision          : 0
Maximum VLANs supported locally : 255
Number of existing VLANs        : 5
VTP Operating Mode              : Server    -----------server by default
VTP Domain Name                 :
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
Local updater ID is 0.0.0.0 (no valid interface found)

-----------------------
Switch(config)#vtp domain name.com
Changing VTP domain name from NULL to name.com
Switch(config)#int fa0/1
Switch(config-if)#switch mode trunk

-----------------------

Switch(vlan)#vlan 2 name IT
VLAN 2 added:
    Name: IT
Switch(vlan)#vlan 3 name Admin
VLAN 3 added:
    Name: Admin

Switch(config)#int range fa0/2-24
Switch(config-if-range)#switchport access vlan 2

----------------------
configration on switch 2

Switch(config)#vtp mode client
Setting device to VTP CLIENT mode.
Switch(config)#^Z
Switch#
%SYS-5-CONFIG_I: Configured from console by console
sh vtp status
VTP Version                     : 2
Configuration Revision          : 2
Maximum VLANs supported locally : 255
Number of existing VLANs        : 7
VTP Operating Mode              : Client
VTP Domain Name                 : name.com
VTP Pruning Mode                : Disabled
VTP V2 Mode                     : Disabled
VTP Traps Generation            : Disabled
MD5 digest                      : 0xD1 0x16 0x9D 0xC8 0x21 0xC2 0xC5 0x71
Configuration last modified by 0.0.0.0 at 3-1-93 00:12:31
Switch#sh vlan

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/2, Fa0/3, Fa0/4, Fa0/5
                                                Fa0/6, Fa0/7, Fa0/8, Fa0/9
                                                Fa0/10, Fa0/11, Fa0/12, Fa0/13
                                                Fa0/14, Fa0/15, Fa0/16, Fa0/17
                                                Fa0/18, Fa0/19, Fa0/20, Fa0/21
                                                Fa0/22, Fa0/23, Fa0/24, Gig0/1
                                                Gig0/2
2    IT                               active    
3    Admin                            active    
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup


--------------------
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int range fa0/2-10
Switch(config-if-range)#switchport access vlan 2
Switch(config-if-range)#int range fa0/11-20
Switch(config-if-range)#switchport access vlan 3
Switch(config-if-range)#^Z

-------------------------

Done, Try to ping.....


No comments:

Post a Comment