ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • network options port-health-monitor modify

    Modify port health monitors configuration

    Availability: This command is available to cluster administrators at the advanced privilege level.

    Description

    This command modifies the enabled port health monitors for the given IPspaces in the cluster.

    Parameters

    -ipspace <IPspace> - IPspace Name

    The name of the IPspace for which enabled port health monitors are modified.

    [-health-monitors {l2-reachability|link-flapping|crc-errors|vswitch-link}] - List of Enabled Port Health Monitors

    All of the port health monitors that you want to enable. This command enables any port health monitors in this list that are currently disabled, and it disables any currently enabled monitors that are not in this list. Upon enabling the l2_reachability health monitor, it runs in an "unpromoted" state. While in this state, the monitor does not mark any ports as unhealthy due to the l2_reachability health check. The monitor is promoted in the "Cluster" IPspace when the "Cluster" broadcast domain is found to have passed the l2_reachability health check. An EMS event called "vifmgr.hm.promoted" event is generated when the health monitor is promoted for the IPspace.

    Examples

    The following example modifies the port health monitor configuration of the "Default" IPspace such that only the "link_flapping" port health monitor is enabled. enabled for all IPspaces in the cluster.

    Only the specified monitor is enabled after the modify command is issued.
    cluster1::*> network options port-health-monitor show
    
    IPspace         Enabled Port Health Monitors
    -------------   ----------------------------
    Cluster         l2_reachability,
                    link_flapping
    Default         l2_reachability,
                    link_flapping
    2 entries were displayed.
    
    cluster1::*> network options port-health-monitor modify -ipspace Default -health-monitors link_flapping
    
    cluster1::*> network options port-health-monitor show
    
    IPspace         Enabled Port Health Monitors
    -------------   ----------------------------
    Cluster         l2_reachability,
                    link_flapping
    Default         link_flapping
    2 entries were displayed.
    Top of Page