我有 Cisco Nexus 9k 交换机,以下是我的HSRP配置vPC
interface Vlan100
description *** Public_1 VLAN ***
no shutdown
mtu 9216
no autostate
no ip redirects
ip address 71.201.101.2/23
no ip ospf passive-interface
ip router ospf 100 area 0.0.0.0
hsrp 1
preempt
priority 110
ip 71.201.101.1
现在我想在同一个 VLAN 100 上添加新的公共子网,那么我如何将它们添加到同一个 HSRP 上
以下会起作用吗?
hsrp 2
preempt
priority 110
ip 61.62.63.1
有人知道完整的配置怎么做吗?
编辑
我有一个 LAB 开关,所以我尝试设置相同的场景并在尝试添加辅助 IP 时收到此错误,这会导致任何问题吗?
N9k(config-if)# ip address 2.2.2.1/24 secondary
Disabling IP Redirects on Vlan111 :secondary address configured.