嘿,这里是目录!
- ⭐ H3C模拟器资源链接
- 1. 实验示意图
- 2. 要求和考核目标
- 3. 当前配置
- 3.1 PC1、PC2、PC3、PC4和PC5配置
- 3.2 SW配置
- 3.2.1 SW2配置
- 3.2.2 SW3配置
- 3.2.3 SW4配置
- 3.2.4 SW1配置
- 3.2. R配置
- 3.2.1 R1配置
- 3.2.2 R2配置
⭐ H3C模拟器资源链接
H3C网络设备模拟器官方免费下载
1. 实验示意图
2. 要求和考核目标
- 要求:
- 两台路由器之间使用VRRP,虚拟地址为10.208.1.0/24,交换机与路由器之间使用静态路由
- 根据图上ip地址自行规划核心交换机的vlan和地址,SW1为核心交换机,SW1与SW2之间使用端口链路聚合,SW1为主根,SW2为备用根
- 每台交换机配置管理地址如图,SW2交换机使用MVRP配置,学习SW1上的vlan信息
- 测试SW1和SW3线路断开后PC1和PC3网络状态
- 考核目标:
- 断开备用设备或者链路,所有PC之间互通
- 所有交换机可以telnet登录
3. 当前配置
3.1 PC1、PC2、PC3、PC4和PC5配置
- 配置PC1、PC2、PC3、PC4和PC5的ip地址、子网掩码和网关(在模拟器中,右键PC图标,选择“启动”,然后右键PC图标,选择“配置”)
3.2 SW配置
3.2.1 SW2配置
sys
sysname SW2
int vlan 100
ip add 10.208.253.2 24
quit
ip route-static 0.0.0.0 0 10.208.253.1
stp global enable
stp mode stp
stp instance 0 priority 8192
mvrp global enable
int bridge-aggregation 1
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/1
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
mvrp enable
quit
int 1/0/2
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
mvrp enable
quit
int 1/0/3
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/4
port access vlan 2
quit
telnet server enable
local-user oprator1
password-control length 8
password simple ABCD@12345678
service-type telnet
authorization-attribute user-role network-operator
quit
line vty 0 4
authentication-mode scheme
user-role network-operator
quit
3.2.2 SW3配置
sys
sysname SW3
int vlan 100
ip add 10.208.253.3 24
quit
ip route-static 0.0.0.0 0 10.208.253.1
stp global enable
stp mode stp
mvrp global enable
int 1/0/1
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/2
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/3
port access vlan 3
quit
telnet的相关配置同上
3.2.3 SW4配置
sys
sysname SW4
int vlan 100
ip add 10.208.253.4 24
quit
ip route-static 0.0.0.0 0 10.208.253.1
stp global enable
stp mode stp
mvrp global enable
int 1/0/1
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/2
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/3
port access vlan 4
quit
telnet的相关配置同上
3.2.4 SW1配置
sys
sysname SW1
vlan 2
quit
vlan 3
quit
vlan 4
quit
vlan 5
quit
vlan 100
quit
int vlan 2
ip add 10.208.2.1 24
quit
int vlan 3
ip add 10.208.3.1 24
quit
int vlan 4
ip add 10.208.4.1 24
quit
int vlan 5
ip add 10.208.1.4 24
quit
int vlan 100
ip add 10.208.253.1 24
quit
ip route-static 10.214.2.0 10.208.1.1
ip route-static 10.215.2.0 10.208.1.1
stp global enable
stp mode stp
stp instance 0 priority 4096
mvrp global enable
int bridge-aggregation 1
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/1
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
mvrp enable
quit
int 1/0/2
port link-type trunk
port trunk permit vlan all
port link-aggregation group 1
mvrp enable
quit
int 1/0/3
port link-type trunk
port trunk permit vlan all
mvrp enable
quit
int 1/0/4
port access vlan 5
quit
int 1/0/5
port access vlan 5
quit
telnet的相关配置同上
3.2. R配置
3.2.1 R1配置
sys
sysname R1
ospf 1
import-route static
import-route direct
area 0.0.0.0
network 1.1.1.0 0.0.0.3
network 10.208.1.0 0.0.0.255(不需要这条命令)
network 10.214.2.0 0.0.0.255(不需要这条命令)
ip route-static 10.208.2.0 24 10.208.1.4
ip route-static 10.208.3.0 24 10.208.1.4
ip route-static 10.208.4.0 24 10.208.1.4
ip route-static 10.208.253.0 24 10.208.1.4
int 0/0/0
ip add 10.214.2.1 24
quit
int 0/0/1
ip add 1.1.1.1 30
quit
int 0/0/2
ip add 10.208.1.2 24
vrrp vrid 2 virtual-ip 10.208.1.1
vrrp vrid 2 priority 120
vrrp vrid 2 preempt-mode delay 120
quit
3.2.2 R2配置
sys
sysname R2
ospf 1
import-route static
import-route direct
area 0.0.0.0
network 1.1.1.0 0.0.0.3
network 10.208.1.0 0.0.0.255(不需要这条命令)
network 10.215.2.0 0.0.0.255(不需要这条命令)
ip route-static 10.208.2.0 24 10.208.1.4
ip route-static 10.208.3.0 24 10.208.1.4
ip route-static 10.208.4.0 24 10.208.1.4
ip route-static 10.208.253.0 24 10.208.1.4
int 0/0/0
ip add 10.215.2.1 24
quit
int 0/0/1
ip add 1.1.1.2 30
quit
int 0/0/2
ip add 10.208.1.3 24
vrrp vrid 2 virtual-ip 10.208.1.1
quit