当前位置:网站首页>VLAN aggregation
VLAN aggregation
2022-07-20 06:34:00 【williuLI】
In a typical layer 3 switch , Usually a vlan Corresponding to one vlanif Interface to realize the communication between broadcast domains , But it also leads to ip Waste of address .
This makes vlan Production of polymerization ,vlan Aggregation is to set up a large vlan, We call it supervlan, All of the layers will be accessed vlan All row to this big vlan Inside , Then only give this big vlan One vlanif Address of the interface , Equivalent to all vlan Use one vlanif Interface .
Pictured , Our layer 3 switch has a large vlan100, The following access layer switch is set 3 individual vlan:10 20 30.
Three layers of core sw1 To configure :
[SW1] vlan batch 10 20 30 100
[SW1] interface GigabitEthernet0/0/1
[SW1-GigabitEthernet0/0/1] port link-type trunk
[SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 10
[SW1] interface GigabitEthernet0/0/2
[SW1-GigabitEthernet0/0/1] port link-type trunk
[SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 20
[SW1] interface GigabitEthernet0/0/3
[SW1-GigabitEthernet0/0/1] port link-type trunk
[SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 30
[SW1] vlan 100 # establish Super-VLAN
[SW1-vlan100] aggregate-vlan
[SW1-vlan100] access-vlan 10 20 30 # take VLAN10,20,30 As VLAN100 Of Sub-VLAN
[SW1] interface vlanif 100
[SW1-vlanif100] ip address 192.168.1.254 24
[SW1-vlanif100] arp-proxy inter-sub-vlan-proxy enable # Can make Sub-VLAN Between the Proxy ARP function
Access layer sw2、sw3、sw4 To configure :
[SW2] vlan 10
[SW2] interface GigabitEthernet0/0/1
[SW2-GigabitEthernet0/0/1] port link-type trunk
[SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan 10
[SW2] interface GigabitEthernet0/0/2
[SW2-GigabitEthernet0/0/2] port link-type access
[SW2-GigabitEthernet0/0/2] port default vlan 10
[SW2]interface Eth0/0/1
[SW2-Ethernet0/0/1] port link-type access
[SW2-Ethernet0/0/1] port default vlan 10
[SW3] vlan 20
[SW3] interface GigabitEthernet0/0/1
[SW3-GigabitEthernet0/0/1] port link-type trunk
[SW3-GigabitEthernet0/0/1] port trunk allow-pass vlan20
[SW3] interface GigabitEthernet0/0/2
[SW3-GigabitEthernet0/0/2] port link-type access
[SW3-GigabitEthernet0/0/2] port default vlan20
[SW4] vlan30
[SW4] interface GigabitEthernet0/0/1
[SW4-GigabitEthernet0/0/1] port link-type trunk
[SW4-GigabitEthernet0/0/1] port trunk allow-pass vlan30
[SW4] interface GigabitEthernet0/0/2
[SW4-GigabitEthernet0/0/2] port link-type access
[SW4-GigabitEthernet0/0/2] port default vlan30
Then configure a core layer 3 switch DHCP:
[sw1]dhcp enable
[sw1]ip pool 1
[sw1-ip-pool-HW-1]network 192.168.1.0 mask 24
[sw1-ip-pool-HW-1]gateway-list 192.168.1.254
[sw1-ip-pool-HW-1]quit
[sw1]interface vlanif 100
[sw1-Vlanif100]dhcp select global
[sw1-Vlanif100]quit
test :
PC3:
PC4:
PC3 PING PC4:
Different vlan They can communicate with each other .
边栏推荐
- 企业内容管理(ECM)与文档管理的区别及其优势
- 自定义MVC增删改查
- STM32状态机编程实例——全自动洗衣机(上)
- Prepare for the attack and defense drill. Here is a security deployment map of Tencent!
- 启牛送的银河证券账户安全吗?
- EN 1504-3 concrete structure products - CE certification
- The LAAS protocol elephant of defi 2.0 is the key to revitalizing the development of defi track
- [surveying] leveling
- J9数字货币平台科普:Sui网络的双共识是如何工作的?
- FAST-LIO,FAST-LIO2与FASTER-LIO
猜你喜欢
There are two key skills for high availability of microservices, which you must use!
rman备份压缩比例?5倍左右
MySQL string operation (substr interception, locate instr position child parent string judgment)
[jailhouse article] specific electronic platform to test the influence of hypervisors on the performance
DeFi 2.0的LaaS协议Elephant,重振DeFi赛道发展的关键
Tutoriel de requête SQL pour la science des données avec mon serveur SQL
Arthas下载与启动
Hello World rounding up
解压文件遇到:gzip: stdin: invalid compressed data--format violated
INE Penetration Testing Basics 黑盒渗透测试过程
随机推荐
【微信小程序】常用组件及基本使用详解
【C 练习】箭形图案
Unzip file encountered: gzip: stdin: invalid compressed data--format breached
Leetcode-394-string decoding
The most basic naming standard is also the basic quality that can best reflect whether a programmer is a good programmer
靶机无法获得IP地址, 该怎么办?
Erreur de modification du mot de passe MySQL 1064 (42000):
微服务高可用的2个关键技巧,你一定用得上!
【深度】新派LaaS协议Elephant:重振DeFi赛道发展的关键
广发证券怎么样?网上开户安全吗?
Award winning research | what does the perfect ar development platform look like to make virtual reality?
Zabbix5.0 configuring enterprise wechat alarm
C语言extern和static关键字详解
(2) Fastai 2019 part2 key refining
FAST-LIO2代码解析(一)
高度警惕!战场上智能手机位置数据的武器化
有奖调研 | 让虚拟照入现实的完美AR开发平台长什么样?
【翻译】安全。SBOMs的价值
【翻译】用于Kubernetes的类似于云的内部负载平衡器?
【开发教程2】开源蓝牙心率防水运动手环-套件检测教程