ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • system switch fibre-channel add

    Add a back-end fibre-channel switch for monitoring

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

    Description

    The system switch fibre-channel add command enables you to add fibre-channel (FC) switches for SNMP monitoring in a MetroCluster configuration. Front end switches should not be added for monitoring and will result in a Monitor Status Error condition.

    Parameters

    -address <IP Address> - FC Switch Management IP Address

    This parameter specifies the IP address of the back-end FC switch that is added for monitoring.

    [-snmp-version {SNMPv1|SNMPv2c|SNMPv3}] - Supported SNMP Version

    This parameter specifies the SNMP version that ONTAP uses to communicate with the back-end FC switch that is added for monitoring. The default SNMP version is SNMPv2c.

    [-snmp-community-or-username <text>] - SNMPv2c Community or SNMPv3 Username

    This parameter specifies the SNMPv2c community set or SNMPv3 username on the switch that is added for monitoring.

    [-veto-backend-fabric-check {true|false}] - Veto Back-end Fabric Check?

    If specified, the system switch fibre-channel add command will not check if the switch is present in the MetroCluster’s back-end fabric. By default, it does not let you add switches that are not present.

    [-blades <integer>,…​] - Cisco Director Class Switch Blades to Monitor

    This parameter specifies the blades to monitor on the back-end switch that is added for monitoring. It is only applicable to director-class switches.

    Examples

    The following command adds a back-end switch with IP Address 10.226.197.34 for monitoring:

    cluster1::> system switch fibre-channel add -address 10.226.197.34 -snmp-community-or-username public
    cluster1::> system switch fibre-channel show
                    Symbolic                                     Is        Monitor
        Switch      Name     Vendor  Model      Switch WWN       Monitored Status
        ----------- -------- ------- ---------- ---------------- --------- -------
        Cisco_10.226.197.34
                    mcc-cisco-8Gb-fab-4
                             Cisco   DS-C9148-16P-K9
                                                2000547fee78f088 true      ok
        mcc-cisco-8Gb-fab-1
                    mcc-cisco-8Gb-fab-1
                             Cisco   -          -                false     -
        mcc-cisco-8Gb-fab-2
                    mcc-cisco-8Gb-fab-2
                             Cisco   -          -                false     -
        mcc-cisco-8Gb-fab-3
                    mcc-cisco-8Gb-fab-3
                             Cisco   -          -                false     -
        4 entries were displayed.
    cluster1::>

    The following command adds a Cisco Director Class switch for monitoring. ONTAP uses SNMPv3 and 'snmpuser1' username to communicate with this switch.

    cluster1::> system switch fibre-channel add -address 10.228.56.208 -snmp-version SNMPv3 -snmp-community-or-username snmpuser1 -blades 3,4
    Top of Page