Configure Device SNMP Use-VRF

An SNMP Use-vrf is a group of VRFs for SNMP listening service.

About this task

Follow this procedure to configure device SNMP Use-VRF.

For information about commands and supported parameters, see ExtremeCloud Orchestrator Command Reference, 3.5.0 .

Table 1. Drift Reconcile & Idempotency support for Device SNMP Use-VRF
Identify Drift Reconcile configuration Idempotency
Yes Yes No

Procedure

  1. To configure an SNMP use-vrf, run the efa inventory device snmp use-vrf create command.
    The following example creates a use-vrf on specified devices:
    efa inventory device snmp use-vrf create --name vrf1 --ip 10.139.44.159-160 --shutdown
    +---------------+---------+----------+---------+--------+
    |  IP Address   | Use VRF | Shutdown | Status  | Reason |
    +---------------+---------+----------+---------+--------+
    | 10.139.44.159 | vrf1    | true     | Success |        |
    +---------------+---------+----------+---------+--------+
    | 10.139.44.160 | vrf1    | true     | Success |        |
    +---------------+---------+----------+---------+--------+
    Snmp use-vrf details
  2. To delete an SNMP Use-vrf, run the efa inventory device snmp use-vrf delete command.

    The following example deletes a use-vrf on specified devices:

    efa inventory device snmp use-vrf delete --name vrf1 --ip 10.139.44.159-160 
    +---------------+-----------+---------+--------+
    |  IP Address   | User Name | Status  | Reason |
    +---------------+-----------+---------+--------+
    | 10.139.44.160 | vrf1      | Success |        |
    +---------------+-----------+---------+--------+
    | 10.139.44.159 | vrf1      | Success |        |
    +---------------+-----------+---------+--------+
    Snmp user details
  3. To list an SNMP Use-vrfs on device, run the efa inventory device snmp use-vrf list command.

    The following example shows the SNMP use-vrfs for the specified devices:

    efa inventory device snmp use-vrf list --ip 10.139.44.159-160
    +---------------+-------------+----------+-----------------+
    |  IP Address   |   Use VRF   | Shutdown |    AppState     |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.159 | default-vrf | false    | cfg-not-managed |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.159 | mgmt-vrf    | false    | cfg-not-managed |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.159 | vrf1        | true     | cfg-in-sync     |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.160 | default-vrf | false    | cfg-not-managed |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.160 | mgmt-vrf    | false    | cfg-not-managed |
    +---------------+-------------+----------+-----------------+
    | 10.139.44.160 | vrf1        | true     | cfg-in-sync     |
    +---------------+-------------+----------+-----------------+
    Snmp use-vrf details