(config-if)#interface e 0/2
(config-if)#vlan-membership static 3
(config-if)#interface e 0/3
(config-if)#vlan-membership static 4
(config-if)#exit
(config)#exit
#sh vlan
VLAN Name Status Ports
--------------------------------------
1 default Enabled 4-12, AUI, A, B
2 user_1 Enabled 1
3 user_2 Enabled 2
4 user_3 Enabled 3
1002 fddi-default Suspended
1003 token-ring-defau Suspended
1004 fddinet-default Suspended
1005 trnet-default Suspended
--------------------------------------
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
---------------------------------------------------------------------------
1 Ethernet 100001 1500 0 0 0 Unkn 1002 1003
2 Ethernet 100002 1500 0 1 1 Unkn 0 0
3 Ethernet 100003 1500 0 1 1 Unkn 0 0
4 Ethernet 100004 1500 0 1 1 Unkn 0 0
1002 FDDI 101002 1500 0 0 0 Unkn 1 1003
1003 Token-Ring 101003 1500 1005 1 0 Unkn 1 1002
1004 FDDI-Net 101004 1500 0 0 1 IEEE 0 0
1005 Token-Ring-Net 101005 1500 0 0 1 IEEE 0 0
#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
(config)#vtp domain Drob_1
(config)#vtp server
Device mode already VTP SERVER.
(config)#vtp pruning enable
(config)#exit
#sh vtp
VTP version: 1
Configuration revision: 0
Maximum VLANs supported locally: 1005
Number of existing VLANs: 8
VTP domain name : Drob_1
VTP Password :
VTP operating mode : Server
VTP pruning mode : Enabled
VTP traps generation : Disabled
Configuration last modified by: 0.0.0.0 at 00-00-0000 00:00:00
Настройки второго коммутатора(2950):
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa 0/2
Switch(config-if)#switchport mode trunk
Switch(config-if)#int fa0/3
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#sh int trunk
Port Mode Encapsulation Status Native vlan
Fa0/2 on 802.1q not-trunking 1
Port Mode Encapsulation Status Native vlan
Fa0/3 on 802.1q not-trunking 1
Switch#
Switch#vlan database
Switch(vlan)#vlan 2 name user_1
VLAN 2 added:
Name:user_1
Switch(vlan)#vlan 3 name user_2
VLAN 3 added:
Name:user_2
Switch(vlan)#vlan 5 name user_4
VLAN 5 added:
Name:user_4
Switch(vlan)#apply
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int fa0/3
Switch(config-if)#switchport mode trunk
Switch(config-if)#int fa0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch(config)#exit
Switch#sh vtp status
VTP Version : 2
Configuration Revision : 2
Maximum VLANs supported locally : 64
Number of existing VLANs : 8
VTP Operating Mode : Server
VTP Domain Name : bigdomain
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xEE 0xB3 0xDC 0x9F 0xE2 0xE0 0x25 0xDF
Configuration last modified by 0.0.0.0 at 3-1-93 04:55:57
Local updater ID is 0.0.0.0 (no valid interface found)
Switch#vlan database
Switch(vlan)#vtp domain Drob_2
Changing VTP domain from NULL to drob_2
Switch(vlan)#vtp password s_e_c_r_e_t
Switch(vlan)#vtp server
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#sh vtp status
VTP Version : 2
Configuration Revision : 2
Maximum VLANs supported locally : 64
Number of existing VLANs : 8
VTP Operating Mode : Server
VTP Domain Name : drob_2
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xEE 0xB3 0xDC 0x9F 0xE2 0xE0 0x25 0xDF
Configuration last modified by 0.0.0.0 at 3-1-93 04:55:57
Local updater ID is 0.0.0.0 (no valid interface found)
Вывод: произвели базовую настройку коммутатора, настроили работу протакола STP и фирменных протоколов Cisco для поддержки резервных связей, настроили магистральные каналы коммутаторов.
Уважаемый посетитель!
Чтобы распечатать файл, скачайте его (в формате Word).
Ссылка на скачивание - внизу страницы.