In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1. The role of Trunk in the ccess link, a port can only belong to one VLAN. If we need to communicate with multiple VLAN, in the case of limited switch ports, the access link obviously can not meet our requirements. At this time, we only need one port to belong to all VLAN at the same time, so that different VLAN can communicate with VLAN in other switches through shared link. This technology is Trunk technology, and Trunk link is also known as "relay link". The ports that are interconnected between switches are called trunk ports. Trunk is a technology based on OSI layer 2 data Link layer (DataLinkLayer). Second, divide and use two modes of switching port: access and trunk. The connection terminal is set in access mode, and the device-level connection (connection between switches) is in trunk mode. 3. Trunk configuration 1, static configuration (1) Trunk encapsulation protocol interface f0handle 24 switchport trunk encapsulation dot1q / / default encapsulation used by statically designated ports, this command can be omitted However, it is recommended to type this command. (2) the mode of statically designated port is Trunk interface f0Unix 24 switchport mode trunk 2. Dynamic configuration essence: rely on DTP (dynamic trunk protocol) protocol. Send a message on the link for port encapsulation protocol and mode coordination (1) specify or negotiate the "Trunk encapsulation protocol interface f0and24 switchport trunk encapsulation dot1q (2) used by the port." Designated port mode interface f0amp 24 switchport mode dynamic auto/desirable / / there are two modes to choose after dynamic Auto: only passively receive DTP messages desirable: actively send DTP messages And expect to be trunk, so the following different link-state combinations appear between the two switches: switch2 switch3 link-state trunk trunk Trunk trunk auto trunk trunk desirable trunk desirable Desirable trunk auto desirable trunk auto auto access only When the port mode of both switches is set to auto The state of the entire link is in access mode and in other cases it is trunk. 4. Verify the command switch#show interface trunk / / View the trunk link port switch#show interface f0ram 24 switchport / / View f0lap 24 port information Welcome to exchange and discuss QQ905058582
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.