Cisco ASA vPC 配置问题

网络工程 思科 转变 思科 cisco-nexus 虚拟主机
2021-07-20 05:38:45

我有这个场景并尝试配置vPCCisco ASA 5585(主动-备用)

在此处输入图片说明

Nexus vPC 配置:

interface port-channel1
  switchport mode trunk
  switchport trunk allowed vlan 10
  speed 10000
  mtu 9216
  vpc 1

Nexus vPC 输出

# show vpc brief
Legend:
                (*) - local vPC is down, forwarding via vPC peer-link

vPC domain id                     : 1
Peer status                       : peer adjacency formed ok
vPC keep-alive status             : peer is alive
Configuration consistency status  : success
Per-vlan consistency status       : success
Type-2 consistency status         : success
vPC role                          : primary
Number of vPCs configured         : 3
Peer Gateway                      : Enabled
Dual-active excluded VLANs        : -
Graceful Consistency Check        : Enabled
Auto-recovery status              : Enabled, timer is off.(timeout = 240s)
Delay-restore status              : Timer is off.(timeout = 30s)
Delay-restore SVI status          : Timer is off.(timeout = 10s)

vPC Peer-link status
---------------------------------------------------------------------
id   Port   Status Active vlans
--   ----   ------ --------------------------------------------------
1    Po999  up     10,100

vPC status
----------------------------------------------------------------------
id   Port   Status Consistency Reason                     Active vlans
--   ----   ------ ----------- ------                     ------------
1    Po1    up     success     success                    10

思科 ASA 配置:

# sh run int po1
!
interface Port-channel1
 lacp max-bundle 8
 no nameif
 no security-level
 no ip address
!
interface TenGigabitEthernet0/8
 channel-group 1 mode active
 no nameif
 no security-level
 no ip address
!
interface TenGigabitEthernet0/9
 channel-group 1 mode active
 no nameif
 no security-level
 no ip address
!

端口通道摘要

# show port-channel summary
Flags:  D - down        P - bundled in port-channel
        I - stand-alone s - suspended
        H - Hot-standby (LACP only)
        U - in use      N - not in use, no aggregation/nameif
        M - not in use, no aggregation due to minimum links not met
        w - waiting to be aggregated
Number of channel-groups in use: 1
Group  Port-channel  Protocol  Span-cluster  Ports
------+-------------+---------+------------+------------------------------------
1      Po1(N)            LACP          No     Te0/8(P)   Te0/9(P)

问题:

  • 为什么端口通道显示Po1(N) N - not in use, no aggregation/nameif

  • vPC 如何在 Active-Standby 模式下工作?

  • 到目前为止,我还没有看到任何与 ASA 相关的 vPC 文档,那么这个解决方案是否有效,或者我是在浪费时间?

我在这里找到了链接但没有用:https://www.fir3net.com/Switches/Cisco/design-caveats-active-standby-network-devices-connected-via-vpc.html

2个回答

只要您正确配置它们,这应该可以工作。

以下捕获来自Cisco Nexus 7000 系列交换机上 vPC 的最佳实践

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

萨蒂什,

我们有两个 Nexus 7K 交换机的类似设置,我们没有使用 VPC,我们在第二层使用 HSRP 来交叉连接我们的 Nexus 交换机。从那里我们使用中继端口交叉连接我们的分布和接入交换机以实现容错。

如果一个 ASA 正在备份另一个 ASA,您应该研究在 ASA 中创建 HA 选项。您的 ASA 将作为活动和备用模式相互交叉连接,您可能需要 ASA 上的许可证才能在 ASA 上使用此功能