发布网友 发布时间:2022-04-22 05:53
共2个回答
热心网友 时间:2023-07-01 15:47
交换A
vlan bath 10 20 30 40
interface vlan 10
ip add 192.168.10.253 24 实际地址
vrrp vrid 10 virtual-ip 192.168.10.1 虚拟网关
vrrp vrid 10 priority 105 默认100,提高优先级
interface vlan 20
ip add 192.168.20.253 24 实际地址
vrrp vrid 20 virtual-ip 192.168.20.1 虚拟网关
vrrp vrid 20 priority 105
intterface vlan 30
ip add 192.168.30.253 24
vrrp vrid 30 vritual-ip 192.168.30.1
int vlan 40
ip add 192.168.40.253 24
vrrp vrid 40 vritual-ip 192.168.40.1
交换B
vlan bath 10 20 30 40
int vlan 10
ip add 192.168.10.254 24
vrrp vrid 10 vritual-ip 192.168.10.1
int vlan 20
ip add 192.168.20.254 24
vrrp vrid 20 vritual-ip 192.168.20.1
int vlan 30
ip add 192.168.30.254 24
vrrp vrid 30 vritual-ip 192.168.30.1
vrrp vrid 30 priority 105
int vlan 40
ip add 192.168.40.254 24
vrrp vrid 40 vritual-ip 192.168.40.1
vrrp vrid 40 priotity 105
实现VLAN10、VLAN20 通过三层交换
机-A 转发数据,VLAN30、VLAN40 通过三层交换机-B 转发数据
热心网友 时间:2023-07-01 15:48
spanning-tree
spanning-tree mst configuration
instance 0 vlan 1-9, 21-29, 41-4094
instance 10 vlan 10-20
instance 20 vlan 30-40
spanning-tree mst 20 priority 4096