In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "how to self-make VTP experiment". In daily operation, I believe many people have doubts about how to make self-made VTP experiment. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the doubts about "how to self-make VTP experiment"! Next, please follow the editor to study!
(packet tracer Simulator)
6.1) Lab Topology
/ / Green: pass; orange: impassable
/ / sw0 is the root bridge: all-pass
Pc0:ip 192.168.1.1 Pc1: ip 192.168.1.2 Pc2:ip 192.168.1.1 Pc3: ip 192.168.1.2
S0:s0==s1 interface number: 21 s0==s2 22 s0==s2 interface number: 23 million 24
S1:s1==s0 interface number: 21 s1==s2 22 s1==s2 interface number: 23 million 24
S2:s2==s0 interface number: 21 s2==s1 22 s2==s1 interface number: 23 million 24
6.2) Experimental requirements
Using trunk-link, VTP and VLAN to guarantee PC0 and PC2 Communication PC1 and PC3 Communication
6.3) Experimental steps
Step1: device configuration
S0:
Switch > enable
Switch#conf t
Switch (config) # hostname S0
S1:
Switch > enable
Switch#conf t
Switch (config) # hostname S1
S2:
Switch > enable
Switch#conf t
Switch (config) # hostname S2
Step2:trunk-link
S0:
S0#conf t
S0 (config) # int rang f0swap 21-24 / / full name interface range fastethernet0/21-24
S0 (config-if-range) # switchport mode trunk / / exit exit end ends in privileged mode
S1:
S1#conf t
S1 (config) # int rang f0lap 21-24
S1 (config-if-range) # switchport mode trunk
S2:
S2#conf t
S2 (config) # int rang f0lap 21-24
S2 (config-if-range) # switchport mode trunk
Step3:VTP
S2:
S2#vlan database / / is not a configuration, it just enters the database
S2 (vlan) # vtp se
S2 (vlan) # vtp server
S2 (vlan) # vtp domain a / / must!
S2 (vlan) # vtp password a
S0:
S0#vlan database
S0 (vlan) # vtp client
S0 (vlan) # vtp domain a / / must!
S0 (vlan) # vtp password a
S1:
S1#vlan database
S1 (vlan) # vtp client
S1 (vlan) # vtp domain a / / must!
S1 (vlan) # vtp password a
Step4:vlan configuration
S2:
S2#vlan database
S2 (vlan) # vlan 10 name CHINA
S2 (vlan) # vlan 20 name USA
S2 (vlan) # exit / / Save and exit to the next level?
Step5: API into vlan (s0mems1)
S0:
S0#conf t
S0 (config) # int f0swap 1
S0 (config-if) # switchport mode access / / can not have this command because the interface defaults
S0 (config-if) # switchport access vlan10 / / API enters vlan10
S0 (config-if) # int f0lap 2
S0 (config-if) # switchport mode access
S0 (config-if) # switchport access vlan 20
S0 (config-if) # exit
S1:
S1# conf t
S1 (config) # int f0swap 1
S1 (config-if) # switchport mode access
S1 (config-if) # switchport access vlan 10
S1 (config-if) # int f0swap 2
S1 (config-if) # switchport mode access
S1 (config-if) # sw acc vlan 20
S1 (config-if) # exit
Point of error:
1) check whether the connection between the switches is dashed (cross line)
2) check whether the connection between the switch and the pc is a straight line (straight line)
3) trunk-link should be set on the interface between the switch and the switch.
4) VTP S2 is server S1 Magi S0 is client s0 Magazine S2 must have the same vtp domain name (the same domain name indicates that the device is on the same network before synchronization)
5) only set vlan in S2, and interface S1 S0 enters vlan!
6) 4 hosts must be on the same network segment!
At this point, the study of "how to self-make VTP experiment" is over. I hope I can solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.