Spanning Tree Protocol (STP) in NetScaler Appliance

Spanning Tree Protocol (STP) in NetScaler Appliance

来源 https://support.citrix.com/article/CTX112341

-------------------------------------------------------------------------------------

Information

This contains information about Spanning Tree Protocol (STP) in the NetScaler Appliance.

Spanning Tree Protocol

STP is a link layer network protocol used to avoid Layer 2 loops (bridge loops) which is commonly used on network switches. The best practice is to disable STP on the interfaces that are connected to the NetScaler appliance because STP can interfere with proper operation during 30 to 50 seconds that the ports are in the LISTENING or LEARNING states. For instance, while the switch ports are in Listening/Learning states:

  • The NetScaler appliances that are in a High Availability (HA) setup cannot receive HA heartbeats from their neighbor, which results in both nodes going into the PRIMARY state.
  • The NetScaler appliance might reset its interfaces to resolve an interface problem. It resets the port back to LISTENING state on the switch and this cycle could continue forever.
  • ARPs and GARPs might be lost, interfering with the operation between the primary and secondary appliances.

With L2 mode disabled (the default setting), the appliance does not switch packets between interfaces in the same virtual LAN, a layer 2 loop cannot exist. Therefore, enabling STP on the interfaces connected to the appliance is not necessary. However, if it is a requirement to enable STP on the ports connected to the appliance, configure Rapid Spanning Tree Protocol (RSTP),to resolve the preceding issues.

In cases where L2 mode on the appliance should be enabled, you must consider the following aspects:

  • The NetScaler appliances do not participate in the spanning tree.
  • With mode Bridge BPDUs: OFF (the default mode), or with older NetScaler software releases that did not have the Bridge BPDUs mode as an option, the NetScaler appliance drops all BPDUs received on an interface.
  • With L2 mode enabled, the appliance switches other frames (such as broadcasts) between two interfaces configured in and connected to the same VLAN.

When you consider the preceding aspects, it could lead to a switching loop that spanning tree might not be able to resolve. You must ensure that a loop-free network at layer 2 before enabling L2 mode. Additionally, if L2 mode is a requirement, it is recommended to ensure that the NetScaler software release installed on the appliance includes the Bridge BPDUs mode in the ON state.

-------------------------------------------------------------------------------------

信息

其中包含有关NetScaler Appliance中生成树协议(STP)的信息。

生成树协议

STP是一种链路层网络协议,用于避免在网络交换机上常用的第2层环路(网桥环路)。最佳做法是在连接到NetScaler设备的接口上禁用STP,因为STP可能会在端口处于“收听”或“学习”状态的30到50秒内干扰正常操作。例如,当交换机端口处于侦听/学习状态时:

  • 处于高可用性(HA)设置的NetScaler设备无法从其邻居接收HA心跳,这导致两个节点都进入PRIMARY状态。
  • NetScaler设备可能会重置其接口以解决接口问题。它将端口重置为交换机上的LISTENING状态,此循环可以永久持续。
  • ARP和GARP可能会丢失,从而干扰主设备和辅助设备之间的操作。

禁用L2模式(默认设置)后,设备不会在同一虚拟LAN中的接口之间切换数据包,不能存在第2层环路。因此,无需在连接到设备的接口上启用STP。但是,如果要求在连接到设备的端口上启用STP,请配置快速生成树协议(RSTP)以解决上述问题。

如果应启用设备上的L2模式,则必须考虑以下方面:

  • NetScaler设备不参与生成树。
  • 对于模式桥接BPDU:OFF(默认模式),或者没有选择Bridge BPDU模式的旧NetScaler软件版本,NetScaler设备会丢弃接口上收到的所有BPDU。
  • 启用L2模式后,设备会在配置并连接到同一VLAN的两个接口之间切换其他帧(例如广播)。

当您考虑前面的方面时,它可能会导致生成树可能无法解析的切换循环。在启用L2模式之前,必须确保第2层的无环路网络。此外,如果需要L2模式,建议确保设备上安装的NetScaler软件版本包含处于ON状态的Bridge BPDU模式。

-------------------------------------------------------------------------------------

Citrix的应用交付产品NetScaler中集成了 ZebOS 网络模块,用于支持rip,ospf和bgp协议功能。

-------------------------------------------------------------------------------------

F5的应用交付产品BIG-IP中集成了 ZebOS 网络模块,用于支持rip,ospf和bgp协议功能。

F5通过动态路由协议可以和相邻的路由器交换路由表,免除了在f5的network route上面添加静态路由的麻烦。F5在配置了virtual server之后也可以当作路由器使用。

Tmm和nsm的关系
在配置文件中增加的interface不会添加到tmm里面去
在配置文件中增加的route可以传播给tmm,但是没有在web界面上显示
在tmm上添加的interface和route可以传播给nsm。

-------------------------------------------------------------------------------------

ZebOS 7.8.1 support Protocol Daemons
ZebOS套件中支持的每个路由和交换协议都运行在一个独立的守护进程中,该守护进程是从单个源文件构建的。代码更新、补丁和增强是在不中断其他正在运行的协议的情况下逐模块应用的。下表列出了ZebOS支持的操作系统(OS)的守护程序文件名。否表示操作系统不支持协议。

 

ZebOS Protocol Module

Linux Daemon

NetBSD Daemon

VxWorks Daemon

802.1ab LLDP (Link Layer Discovery Protocol)

onmd

No

No

802.1ag CFM (Connectivity Fault Management)

onmd

No

No

802.1ak MRP (Multicast Routing Protocol)

nsm

No

No

802.1X Port Authentication

authd

No

zAUTH

802.1ah EFM (Ethernet to the First Mile)

onmd

No

No

BGP-4 (Border Gateway Protocol - IPv4)

bgpd

bgpd

zBGP

BGP-4+ (Border Gateway Protocol - IPv6)

bgpd

bgpd

zBGP

DVMRP (Distance Vector Multicast Routing Protocol)

dvmrpd

dvmrpd

zDVMRPD

Ethernet Local Management Interface (E-LMI)

elmid

No

No

GARP (Generalized <something> Multicast Protocol)

nsm

No

No

GMRP (GARP Multicast Routing Protocol)

nsm

No

zNSM

GVRP (GARP VLAN Routing Protocol)

nsm

nsm

zNSM

IGMPv1, 2, 3 (Internet Group Multicast Routing Protocol)

nsm

nsm

zNSM

IGMPv1, 2, 3 Snooping

nsm

No

zNSM

IMI (Integrated Management Interface)

imi

imi

zIMI

IS-IS (Intermediate System-to-Intermediate System Protocol)

isisd

isisd

No

IS-IS IPv6 (IS-IS for IPv6)

isisd

idisd

No

LACP (Link Aggregation Control Protocol)

lacpd

No

zLACP

LDP (Label Discovery Protocol)

ldpd

ldpd

zLDPD

LMP (Link Management Protocol)

lmpd

No

No

MLDv1, 2 (Multicast Listener Discover)

nsm

nsm

zNSM

MLDv1, 2 Snooping

nsm

No

zNSM

MSTP (Multiple Spanning Tree Protocol)

mstpd

No

zMSTP

OSPFv2 (Open Shortest Path First Protocol, Version 2)

ospfd

ospfd

zOSPFD

OSPFv3

ospf6d

ospf6d

zOSPF6D

PIM-DM (Protocol Independent Multicast - Dense Mode)

pimd

pimd

zPIMD

PIM-DM IPv6

pim6d

pim6d

zPIM6D

PIM-SM (Protocol Independent Multicast - Sparse Mode)

pimd

pimd

zPIMD

PIM-SM IPv6

pim6d

pim6d

zPIM6D

RIPng (Routing Independent Protocol - Next Generation)

ripngd

ripngd

zRIPNGD

RIPv1, 2

ripd

ripd

zRIP

RMON MIB (Remote Monitoring)

rmond

No

zRMON

RSTP (Rapid Spanning Tree Protocol)

mstpd

No

zMSTP

RSVP-TE (Resource Reservation Protocol -Traffic Engineering)

rsvpd

rsvpd

zRSVPD

STP (Spanning Tree Protocol)

mstpd

No

zMSTPD

VRRP (Virtual Routing Redundancy Protocol)

nsm

No

No

 

=========================== End

 

posted @ 2018-11-21 15:48  lsgxeva  阅读(753)  评论(0编辑  收藏  举报