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 > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
1.
Configuration step
(1) configure Device A
System-view
[DeviceA] vlan 100
[DeviceA-vlan100] port gigabitethernet 1-0-1
[DeviceA-vlan100] quit
[DeviceA] vlan 200
[DeviceA-vlan100] port gigabitethernet 1-0-2
[DeviceA-vlan100] quit
[DeviceA] interface gigabitethernet 1-0-3
[DeviceA-GigabitEthernet1/0/3] port link-type trunk
[DeviceA-GigabitEthernet1/0/3] port trunk permit vlan 100 200
Configuring deviceB is the same as deviceA
(2) enter display vlan 100and display vlan200 to view the configuration
two
Allocation idea
System-view
[DeviceC] vlan 100
[DeviceC-vlan100] ip-subnet-vlan ip 192.168.5.0 255.255.255.0
[DeviceC-vlan100] quit
[DeviceC] vlan 200
[DeviceC-vlan200] ip-subnet-vlan ip 192.168.50.0 255.255.255.0
[DeviceC-vlan200] quit
[DeviceC] interface ten-gigabitethernet 1-0-11 [DeviceC ·Ten-GigabitEthernet1/0/11] port link-type hybrid
[DeviceC-Ten-G igabitEthernet1/0/11] port hybrid vlan 100 tagged
[DeviceC-Ten-GigabitEthernet1/0/1] quit
[DeviceC] interface ten-gigabitethernet 1-0-12
[DeviceC-Ten-GigabitEthernet1/0/12] port link-type hybrid
[DeviceC-Ten-GigabitEthernet1/012] port hybrid vlan 200 tagged [DeviceC-Ten-GigabitEthernet1/0 / 12] quit
[DeviceC] interface ten-gigabitethernet 1-0-1 [DeviceC-Ten-GigabitEthernet101 port link-type hybrid
[DeviceC-Ten-GigabitEthernet101] port hybrid vlan 100 200 untagged
[DeviceC-Ten-GigabitEthernet10/1] port hybrid ip-subnet-vlan vlan 100
[DeviceC-Ten-GigabitEthernet101 port hybrid ip-subnet-vlan vlan 200
[DeviceC-Ten-GigabitEthernet101 quit
Configure deviceA and deviceB to allow the corresponding vlan to pass through
[DeviceA] interface gigabitethernet 1-0-11
[DeviceA-GigabitEthernet1/0/11] port link-type trunk
[DeviceA-GigabitEthernet1/0/11] port trunk permit vlan 100
[DeviceB] interface gigabitethernet 1-0-2
[DeviceB-GigabitEthernet1/0/12] port link-type trunk
[DeviceB-GigabitEthernet1/0/12] port trunk permit vlan 200
Display and verification
three
Allocation idea
Configure DeviceB
System-view
[DeviceB] vlan 5
[DeviceB-vlan5] private-vlan primary
[DeviceB-vlan5] quit [DeviceB] vlan 10
[DeviceB-vlan10] private-vlan primary
[DeviceB-vlan10] quit
[DeviceB] vlan2 to 3
[DeviceB] vlan 6
[DeviceB-vlan6] quit
[DeviceB] vlan 8
[DeviceB-vlan8] quit
[DeviceB] interface gigabitethernet 1-0-1
[DeviceB- GigabitEthernet1/0/1] port private-vlan 5 10 trunk promiscuous
[D eviceB- Giaabit Ethernet1 / 0/1] quit
[DeviceB] interface gigabitethernet 1-0-2
[DeviceB GigabitEthernet1/0/2] port access vlan 2
[DeviceB- GigabitEthernet1/0/2] port private-vlan host
[DeviceB- GigabitEthernet1/0/2] quit
[DeviceB] interface ten-gigabitethernet 1-0-3
[DeviceB- GigabitEthernet1/0/3] port access vlan 3
[DeviceB GigabitEthernet1/0/3] port private-vlan host [DeviceB- GigabitEthernet1/03] quit
[DeviceB] interface gigabitethernet 1-0-6
[DeviceB- GigabitEthernet1/0/6] port access vlan 6
[DeviceB- GigabitEthernet1/0/6] port private-vlan host
[DeviceB- GigabitEthernet1/0/6] quit
[DeviceB] interface gigabitethernet 1-0-8
[DeviceB- GigabitEthernet1/0/8] port access vlan 8
[DeviceB- GigabitEthernet1/0/8] port private-vlan host
[DeviceB- GigabitEthernet1/0/8] quit
[DeviceB] vlan 10
[DeviceB-vlan10] private-vlan secondary 6 8
[DeviceB-vlan10] quit
Configure DeviceA
[DeviceA] vlan 5
[DeviceA-vlan5] quit
[DeviceA] vlan 10
[DeviceA-vlan10] quit
[DeviceA] interface gigabitethernet 1-0-1
[DeviceA- GigabitEthernet1/0/1] port link-type hybrid
[DeviceA- GigabitEthernet1/0/1] port hybrid vlan 5 10 tagged
[DeviceA- GigabitEthernet1/0/1] quit
View Primary vlan5 configuration on DeviceB
four
Allocation idea
System-view
[Sysname] vlan 10
[Sysname-vlan10] quit
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] ip address 10.0.0.1 255.255.255.0
[Sysname-Vlan-interface10] local-proxy-arp enable
[Sysname-Vlan-interface10] quit
[Sysname] vlan 2
[Sysname-vlan2] port gigabitethernet 1-0-1 gigabitethernet 1-0-2
[Sysname-vlan2] quit
[Sysname] vlan 3
[Sysname-vlan3] port gigabitethernet 1-0-3 gigabitethernet 1-0-4
[Sysname-vlan3] quit
[Sysname] vlan 5
[Sysname-vlan5] port gigabitethernet 1-0-5 gigabitethernet 1-0-6
[Sysname-vlan5] quit
[Sysname] vlan 10
[Sysname-vlan10] supervlan
[Sysname-vlan10] subvlan 235 [Sysname-vlan10] quit
[Sysname] quit
View supvlan configuration
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.