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)06/02 Report--
one。 Divide the advantages of VLAN
1. Control broadcast
two。 Enhance network security
3. Simplify network management
II. Basic configuration of VLAN
1. Commands to create vlan in global configuration mode
Step command purpose first step configure terminal enter configuration state second step vlan vlan-id enter a VLAN number, enter VLAN configuration state third step (optional) name vlan-name enter a VLAN name fourth exit or end exit
two。 Commands for assigning ports to vlan
Step command purpose first step configure enters configuration mode second step interface interface-id enters the port to be configured third step switchport mode access defines layer 2 port mode fourth step switchport access vlan vlan-id assigns the port to a vlan step 5 eixt or end exit
Three. The experimental environment is as follows
1. Configure the PC1 ip address of 192.168.10.10 to 24
two。 Configure the PC2 ip address as 192.168.10.20 Candle 24
3. Configure the PC ip address as 192.168.10.30DB 24
4. The previous three pc are interoperable without VLAN configuration.
.
5 configure switch port f1amp0 to be VLAN10
Check to see if f1swap 0 is set to vlan10
6. Configure switch ports f1amp 1 and f1max 2 to be vlan20
Check to see if f1Acer 1 and f1Accord 2 are set to vlan20
four。 Set up and test with the ping command
It can be seen that there is no communication between PC1 and PC2,PC3. The communication between PC2 and PC3 is normal.
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.