设置机箱集群control-link-vlan enable
说明:
[SRX]如何在机箱集群控制端口上启用或禁用VLAN标记



概要:

本文提供有关如何在机箱群集控制端口上启用和禁用VLAN标记的信息。

问题还是目标:

  • 一个节点从Junos OS 10.2R2之前或之前的版本升级到10.4或更高版本。

  • 默认情况下,控制端口上的VLAN标记将处于启用状态。

  • 已替换RE的节点已从Junos OS 10.2R2之后的版本降级/升级到与其他节点相同的版本,并且未加入集群并陷入分裂。也就是说,节点之间不会看到对方。


NODE-0上的样本输出:

{primary:node0}
[email protected]> show chassis cluster information detail
node0:
--------------------------------------------------------------------------
Redundancy mode:
Configured mode: active-active
Operational mode: active-active

Redundancy group: 0, Threshold: 255, Monitoring failures: none
Events:
Aug 5 16:51:18.773 : hold->secondary, reason: Hold timer expired
Aug 5 16:51:34.789 : secondary->primary, reason: Only node present
Control link statistics:
Control link 0:
Heartbeat packets sent: 63115
Heartbeat packets received: 0
Heartbeat packet errors: 0
Duplicate heartbeat packets received: 0
Control recovery packet count: 0
Sequence number of last heartbeat packet sent: 63114
Sequence number of last heartbeat packet received: 0
Fabric link statistics:
Probes sent: 63114
Probes received: 0
Probe errors: 0
Probes not processed: 0
Probes dropped due to control link down: 0
Probes dropped due to fabric link down: 0
Sequence number of last probe sent: 63114
Sequence number of last probe received: 0
Chassis cluster LED information:
Current LED color: Red
Last LED change reason: Peer node: node1 is not present
Control port tagging:
Enabled



{primary:node0}
root> show chassis cluster status
Cluster ID: 1
Node Priority Status Preempt Manual failover
Redundancy group: 0,Failover count: 1
node0 1 primary no no
node1 0 lost n/a n/a

NODE-1上的样本输出:

{primary:node1}
root> show chassis cluster information detail
node1:
--------------------------------------------------------------------------
Redundancy mode:
Configured mode: active-active
Operational mode: active-active

Redundancy group: 0, Threshold: 255, Monitoring failures: none
Events:
Aug 5 16:50:52.904 : hold->secondary, reason: Hold timer expired
Aug 5 16:56:38.711 : secondary->primary, reason: Remote yield (1/0)
Control link statistics:
Control link 0:
Heartbeat packets sent: 64212
Heartbeat packets received: 337
Heartbeat packet errors: 0
Duplicate heartbeat packets received: 0
Control recovery packet count: 0
Sequence number of last heartbeat packet sent: 64210
Sequence number of last heartbeat packet received: 361
Fabric link statistics:
Probes sent: 64210
Probes received: 0
Probe errors: 0
Probes not processed: 0
Probes dropped due to control link down: 0
Probes dropped due to fabric link down: 0
Sequence number of last probe sent: 64210
Sequence number of last probe received: 0
Chassis cluster LED information:
Current LED color: Red
Last LED change reason: Peer node: node0 is not present
Control port tagging:
Disabled


{primary:node1}
root> show chassis cluster status
Cluster ID: 1
Node Priority Status Preempt Manual failover

Redundancy group: 0 , Failover count: 1
node0 0 lost n/a n/a
node1 1 primary no no



原因:

一台设备正在发送带标记的心跳,而另一台设备正在发送未标记的心跳,因为在一个节点上启用了VLAN标记,而在另一节点上禁用了VLAN标记。

解:

在Junos OS 10.2R3之前的版本中,在机箱群集中,默认情况下在控制端口上启用了VLAN标记。从Junos OS 从10.2R3开始,默认情况下,控制端口上未启用VLAN标记。
要检查控制端口标记状态,请执行 show chassis cluster information detail 命令并寻找 Control port tagging:
[email protected]> show chassis cluster information detail
.
Control port tagging:
Disabled
在一个节点上,它被启用,而在另一个节点上,它被禁用。
通过从两个节点获取控制端口的数据包捕获,也可以进行检查。在一个节点中 数据包将被标记为 vlan-id 4096 另一个数据包将没有任何标签。可以使用以下命令启用或禁用控制端口上的VLAN标记:
[email protected]> 设置机箱集群control-link-vlan enable/disable
注意control-link-vlan 是SRX平台上的隐藏命令。用户必须手动配置此命令。

在高于Junos OS 10.2R2的版本中,由于在控制端口上禁用了VLAN标记,因此建议在两个节点上都禁用标记。

目的:

组态
实作
安装
故障排除

相关链接: 

通过 约翰

发表评论