小型网络搭建实验

先进行子网划分:由图可知,内网中,LSW1下有VLAN2和VLAN3两个广播域,LSW1下有VLAN2和VLAN3两个广播域,加上AR1和AR2之间的骨干链路,一共有五个广播域,基于192.168.1.0/24进行合理划分:192.168.1.0/24192.168.1. 000 00000/27 --- 192.168.1.0/27192.168.1. 00100000/27 --- 192.168.1.32/27192.168.1. 010 00000/27 --- 19...
摘要由CSDN通过智能技术生成

先进行子网划分:

由图可知,内网中,LSW1下有VLAN2和VLAN3两个广播域,LSW1下有VLAN2和VLAN3两个广播域,加上AR1和AR2之间的骨干链路,一共有五个广播域,基于192.168.1.0/24进行合理划分:

192.168.1.0/24

192.168.1. 000 00000/27 --- 192.168.1.0/27

192.168.1. 001 00000/27 --- 192.168.1.32/27

192.168.1. 010 00000/27 --- 192.168.1.64/27

192.168.1. 011 00000/27 --- 192.168.1.96/27

192.168.1. 100 00000/27 --- 192.168.1.128/27

(以下三个备用)

192.168.1. 101 00000/27

192.168.1. 110 00000/27

192.168.1. 111 00000/27

先配置SW1:

先创建vlan:

[SW1]vlan 2
[SW1-vlan2]q
[SW1]vlan 3
[SW1-vlan3]q
[SW1]
Dec 30 2021 21:16:07-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 6, the c
hange loop count is 0, and the maximum number of records is 4095.

划分接口:


[SW1]po	
[SW1]port-g	
[SW1]port-group g	
[SW1]port-group group-member G	
[SW1]port-group group-member GigabitEthernet 0/0/2 to G	
[SW1]port-group group-member GigabitEthernet 0/0/2 to GigabitEthernet 0/0/3
[SW1-port-group]
Dec 30 2021 21:18:17-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 7, the c
hange loop count is 0, and the maximum number of records is 4095.
[SW1-port-group]p l a
[SW1-GigabitEthernet0/0/2]p l a
[SW1-GigabitEthernet0/0/3]p l a
[SW1-port-group]p d 
Dec 30 2021 21:18:47-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 9, the c
hange loop count is 0, and the maximum number of records is 4095.
                ^
Error:Ambiguous command found at '^' position.
[SW1-port-group]p d v 2
[SW1-GigabitEthernet0/0/2]p d v 2
[SW1-GigabitEthernet0/0/3]p d v 2
[SW1-port-group]
Dec 30 2021 21:19:07-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 11, the 
change loop count is 0, and the maximum number of records is 4095.q
[SW1]int g 0/0/4
[SW1-GigabitEthernet0/0/4]p l a
[SW1-GigabitEthernet0/0/4]p d v 3
[SW1-GigabitEthernet0/0/4]
Dec 30 2021 21:19:57-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 13, the 
change loop count is 0, and the maximum number of records is 4095.q
[SW1]int g 0/0/1
[SW1-GigabitEthernet0/0/1]p	
[SW1-GigabitEthernet0/0/1]port li	
[SW1-GigabitEthernet0/0/1]port link-t	
[SW1-GigabitEthernet0/0/1]port link-type t	
[SW1-GigabitEthernet0/0/1]port link-type trunk 
[SW1-GigabitEthernet0/0/1]
Dec 30 2021 21:20:47-08:00 SW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 14, the 
change loop count is 0, and the maximum number of records is 4095.p
Erro
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值