先进行子网划分:
由图可知,内网中,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