CDRouter SNMP Test Summaries (Full)

Test Case Descriptions

  • Modules: 5
  • Test Cases: 81

Below is a full description of the testcases in each module


snmp.tcl

SNMP related test cases from the LAN side of the device

Test Name Synopsis
Verify SNMP agent supports MIB walk snmp_100 Verify SNMP agent supports MIB walk


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest snmp_101 Verify SNMP agent supports GetRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetNextRequest snmp_102 Verify SNMP agent supports GetNextRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetNextRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetNextRequest
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp_103 Verify SNMP agent supports GetRequest for multiple OIDs


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for OIDs
            SNMPv2-MIB::sysDescr, SNMPv2-MIB::sysObjectID and
            SNMPv2-MIB::sysUpTimeInstance
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp_104 Verify SNMP agent supports fragmented GetRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Send a large GetRequest PDU to the SNMP agent for the first
            100 OIDs returned in step 2; this GetRequest should be large
            enough to span multiple packets
    step 4. Verify that the SNMP agent responds to the fragmented
            GetRequest sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp_105 Verify SNMP agent does not allow SetRequest on read-only OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-only
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent does not change the value of the
            specified OID


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp_106 Verify SNMP agent returns ’no such instance’ to GetRequest for non-existent OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            non-existent OID .1.3.6.1.2.1.1.1.0.0
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager with a 'no such instance' error


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp_200 Verify SNMP agent supports IF-MIB:: walk


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB by sending consecutive GetNextRequest
            PDUs for the IF-MIB::ifIndex, IF-MIB::ifDescr, and
            IF-MIB::ifType OIDs
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp_201 Verify WAN packet counters in IF-MIB::ifTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB table by sending a GetBulkRequest PDU
            for the IF-MIB::ifTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequests
            sent by the SNMP manager
    step 4. Find the DUT's WAN interface in the IF-MIB::ifTable output
            and record the current unicast outbound packet counter value
    step 5. Send 10 UDP echo packets from LAN to WAN
    step 6. Repeat steps 2 through 4
    step 7. Wait snmpUpdateDelay seconds
    step 8. Verify that the WAN unicast outbound packet counter has
            incremented by at least 10 in IF-MIB::ifTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp_202 Verify system uptime using SNMPv2-MIB::sysUpTime


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the DUT's
            system uptime by sending a GetRequest PDU for the
            SNMPv2-MIB::sysUpTime.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager and record the current system uptime
    step 4. Wait 10 seconds
    step 5. Repeat steps 2 and 3
    step 6. Verify that the system uptime has increased by at least 10
            seconds


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp_203 Verify IPv4 forwarding mode using IP-MIB::ipForwarding


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the SNMP
            agent's IPv4 forwarding mode by sending a GetRequest PDU for
            the IP-MIB::ipForwarding.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Verify that the reported value of the IP-MIB::ipForwarding.0
            OID is consistent with the value of the forwardingMode
            testvar in the configuration file; if the testvar
            forwardingMode is set to 'route', this OID must return 1,
            otherwise if the testvar forwardingMode is set to 'bridge'
            this OID must return 2


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp_204 Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP address table by sending a GetBulkRequest PDU
            for the IP-MIB::ipAddrTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's LAN and WAN IP addresses are reported
            properly in the IP-MIB::ipAddrTable output
    step 5. Verify that the SNMP manager is able to walk the SNMP
            agent's interface table by sending a GetBulkRequest PDU for
            the IP-MIB::ipAddrTable OID
    step 6. Verify that the DUT's LAN and WAN MAC addresses are reported
            properly in IP-MIB::ipAddrTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp_205 Verify default route in IP-MIB::ipRouteTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP route table by sending a GetBulkRequest PDU for
            the IP-MIB::ipRouteTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's default route is reported properly in
            the IP-MIB::ipRouteTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp_300 Verify SNMP agent supports MIB walk for all configured users


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp_301 Verify SNMP agent ignores SNMP v1/2c users with invalid community string


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v1/2c user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB when a valid community string is specified
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid community string is specified
    step 4. Repeat steps 1 and 2 for all configured SNMP v1/2c users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp_302 Verify SNMP agent ignores SNMP v3 users with invalid credentials


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication username is
            specified
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication password is
            specified
    step 4. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy password is specified
    step 5. Repeat steps 1 through 4 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp_303 Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication protocol is used
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy protocol is used
    step 4. Repeat steps 1 through 3 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp_304 Verify SNMP agent supports MIB walk using GetBulkRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetBulkRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp_305 Verify SNMP agent supports GetBulkRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Send an GetBulkRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp_400 Verify SNMP agent allows SetRequest on read-write OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to for sysName.0 to learn initial value
    step 3. Send a SetRequest PDU to the SNMP agent for read-write
            SNMPv2-MIB::sysName.0 OID with new value
    step 4. Verify that the SNMP agent changes the value of sysName.0 by
            performing a SNMP GetResponse on the OID.
    step 5. Send a SetRequest PDU to the SNMP agent for read-write
            SNMPv2-MIB::sysName.0 OID with original value

    NOTE: If the snmpAccess for the default SNMP user is read-only, do
    not consider this test a failure if the SNMP SetRequest fails.


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410

snmp-wan.tcl

SNMP related test cases from the WAN side of the device

Test Name Synopsis
Verify SNMP agent supports MIB walk snmp_wan_100 Verify SNMP agent supports MIB walk


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest snmp_wan_101 Verify SNMP agent supports GetRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetNextRequest snmp_wan_102 Verify SNMP agent supports GetNextRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetNextRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetNextRequest
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp_wan_103 Verify SNMP agent supports GetRequest for multiple OIDs


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for OIDs
            SNMPv2-MIB::sysDescr, SNMPv2-MIB::sysObjectID and
            SNMPv2-MIB::sysUpTimeInstance
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp_wan_104 Verify SNMP agent supports fragmented GetRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Send a large GetRequest PDU to the SNMP agent for the first
            100 OIDs returned in step 2; this GetRequest should be large
            enough to span multiple packets
    step 4. Verify that the SNMP agent responds to the fragmented
            GetRequest sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp_wan_105 Verify SNMP agent does not allow SetRequest on read-only OID


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-only
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent does not change the value of the
            specified OID


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp_wan_106 Verify SNMP agent returns ’no such instance’ to GetRequest for non-existent OID


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            non-existent OID .1.3.6.1.2.1.1.1.0.0
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager with a 'no such instance' error


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp_wan_200 Verify SNMP agent supports IF-MIB:: walk


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB by sending consecutive GetNextRequest
            PDUs for the IF-MIB::ifIndex, IF-MIB::ifDescr, and
            IF-MIB::ifType OIDs
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp_wan_201 Verify WAN packet counters in IF-MIB::ifTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB table by sending a GetBulkRequest PDU
            for the IF-MIB::ifTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequests
            sent by the SNMP manager
    step 4. Find the DUT's WAN interface in the IF-MIB::ifTable output
            and record the current unicast outbound packet counter value
    step 5. Send 10 UDP echo packets from LAN to WAN
    step 6. Repeat steps 2 through 4
    step 7. Wait snmpUpdateDelay seconds
    step 8. Verify that the WAN unicast outbound packet counter has
            incremented by at least 10 in IF-MIB::ifTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp_wan_202 Verify system uptime using SNMPv2-MIB::sysUpTime


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the DUT's
            system uptime by sending a GetRequest PDU for the
            SNMPv2-MIB::sysUpTime.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager and record the current system uptime
    step 4. Wait 10 seconds
    step 5. Repeat steps 2 and 3
    step 6. Verify that the system uptime has increased by at least 10
            seconds


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp_wan_203 Verify IPv4 forwarding mode using IP-MIB::ipForwarding


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the SNMP
            agent's IPv4 forwarding mode by sending a GetRequest PDU for
            the IP-MIB::ipForwarding.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Verify that the reported value of the IP-MIB::ipForwarding.0
            OID is consistent with the value of the forwardingMode
            testvar in the configuration file; if the testvar
            forwardingMode is set to 'route', this OID must return 1,
            otherwise if the testvar forwardingMode is set to 'bridge'
            this OID must return 2


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp_wan_204 Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP address table by sending a GetBulkRequest PDU
            for the IP-MIB::ipAddrTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's LAN and WAN IP addresses are reported
            properly in the IP-MIB::ipAddrTable output
    step 5. Verify that the SNMP manager is able to walk the SNMP
            agent's interface table by sending a GetBulkRequest PDU for
            the IP-MIB::ipAddrTable OID
    step 6. Verify that the DUT's LAN and WAN MAC addresses are reported
            properly in IP-MIB::ipAddrTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp_wan_205 Verify default route in IP-MIB::ipRouteTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP route table by sending a GetBulkRequest PDU for
            the IP-MIB::ipRouteTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's default route is reported properly in
            the IP-MIB::ipRouteTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp_wan_300 Verify SNMP agent supports MIB walk for all configured users


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp_wan_301 Verify SNMP agent ignores SNMP v1/2c users with invalid community string


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v1/2c user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid community string is specified
    step 3. Repeat steps 1 and 2 for all configured SNMP v1/2c users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp_wan_302 Verify SNMP agent ignores SNMP v3 users with invalid credentials


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication username is
            specified
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication password is
            specified
    step 4. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy password is specified
    step 5. Repeat steps 1 through 4 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp_wan_303 Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication protocol is used
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy protocol is used
    step 4. Repeat steps 1 through 3 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp_wan_304 Verify SNMP agent supports MIB walk using GetBulkRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetBulkRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp_wan_305 Verify SNMP agent supports GetBulkRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Send an GetBulkRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp_wan_400 Verify SNMP agent allows SetRequest on read-write OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-write
            SNMPv2-MIB::sysName.0 OID
    step 3. Verify that the SNMP agent changes the value of sysName.0 by
            performing a SNMP GetResponse on the OID.

    NOTE: If the snmpAccess for the default SNMP user is read-only, do
    not consider this test a failure if the SNMP SetRequest fails.


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410

snmp-v6.tcl

IPv6 SNMP related test cases from the LAN side of the device

Test Name Synopsis
Verify SNMP agent supports MIB walk ipv6_snmp_100 Verify SNMP agent supports MIB walk


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest ipv6_snmp_101 Verify SNMP agent supports GetRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetNextRequest ipv6_snmp_102 Verify SNMP agent supports GetNextRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetNextRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetNextRequest
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs ipv6_snmp_103 Verify SNMP agent supports GetRequest for multiple OIDs


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for OIDs
            SNMPv2-MIB::sysDescr, SNMPv2-MIB::sysObjectID and
            SNMPv2-MIB::sysUpTimeInstance
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports fragmented GetRequest ipv6_snmp_104 Verify SNMP agent supports fragmented GetRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Send a large GetRequest PDU to the SNMP agent for the first
            100 OIDs returned in step 2; this GetRequest should be large
            enough to span multiple packets
    step 4. Verify that the SNMP agent responds to the fragmented
            GetRequest sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID ipv6_snmp_105 Verify SNMP agent does not allow SetRequest on read-only OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-only
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent does not change the value of the
            specified OID


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID ipv6_snmp_106 Verify SNMP agent returns ’no such instance’ to GetRequest for non-existent OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            non-existent OID .1.3.6.1.2.1.1.1.0.0
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager with a 'no such instance' error


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports IF-MIB:: walk ipv6_snmp_200 Verify SNMP agent supports IF-MIB:: walk


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB by sending consecutive GetNextRequest
            PDUs for the IF-MIB::ifIndex, IF-MIB::ifDescr, and
            IF-MIB::ifType OIDs
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable ipv6_snmp_201 Verify WAN packet counters in IF-MIB::ifTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB table by sending a GetBulkRequest PDU
            for the IF-MIB::ifTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequests
            sent by the SNMP manager
    step 4. Find the DUT's WAN interface in the IF-MIB::ifTable output
            and record the current unicast outbound packet counter value
    step 5. Send 10 UDP echo packets from LAN to WAN
    step 6. Repeat steps 2 through 4
    step 7. Wait snmpUpdateDelay seconds
    step 8. Verify that the WAN unicast outbound packet counter has
            incremented by at least 10 in IF-MIB::ifTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime ipv6_snmp_202 Verify system uptime using SNMPv2-MIB::sysUpTime


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the DUT's
            system uptime by sending a GetRequest PDU for the
            SNMPv2-MIB::sysUpTime.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager and record the current system uptime
    step 4. Wait 10 seconds
    step 5. Repeat steps 2 and 3 
    step 6. Verify that the system uptime has increased by at least 10
            seconds


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding ipv6_snmp_203 Verify IPv4 forwarding mode using IP-MIB::ipForwarding
 

    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the SNMP
            agent's IPv4 forwarding mode by sending a GetRequest PDU for
            the IP-MIB::ipForwarding.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Verify that the reported value of the IP-MIB::ipForwarding.0
            OID is consistent with the value of the forwardingMode
            testvar in the configuration file; if the testvar
            forwardingMode is set to 'route', this OID must return 1,
            otherwise if the testvar forwardingMode is set to 'bridge'
            this OID must return 2


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable ipv6_snmp_204 Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP address table by sending a GetBulkRequest PDU
            for the IP-MIB::ipAddrTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's LAN and WAN IP addresses are reported
            properly in the IP-MIB::ipAddrTable output
    step 5. Verify that the SNMP manager is able to walk the SNMP
            agent's interface table by sending a GetBulkRequest PDU for
            the IP-MIB::ipAddrTable OID
    step 6. Verify that the DUT's LAN and WAN MAC addresses are reported
            properly in IP-MIB::ipAddrTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify default route in IP-MIB::ipRouteTable ipv6_snmp_205 Verify default route in IP-MIB::ipRouteTable


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP route table by sending a GetBulkRequest PDU for
            the IP-MIB::ipRouteTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's default route is reported properly in
            the IP-MIB::ipRouteTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk for all configured users ipv6_snmp_300 Verify SNMP agent supports MIB walk for all configured users


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string ipv6_snmp_301 Verify SNMP agent ignores SNMP v1/2c users with invalid community string


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v1/2c user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid community string is specified
    step 3. Repeat steps 1 and 2 for all configured SNMP v1/2c users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials ipv6_snmp_302 Verify SNMP agent ignores SNMP v3 users with invalid credentials


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication username is
            specified
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication password is
            specified
    step 4. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy password is specified
    step 5. Repeat steps 1 through 4 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols ipv6_snmp_303 Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication protocol is used
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy protocol is used
    step 4. Repeat steps 1 through 3 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest ipv6_snmp_304 Verify SNMP agent supports MIB walk using GetBulkRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetBulkRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetBulkRequest ipv6_snmp_305 Verify SNMP agent supports GetBulkRequest


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Send an GetBulkRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID ipv6_snmp_400 Verify SNMP agent allows SetRequest on read-write OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-write
            SNMPv2-MIB::sysName.0 OID
    step 3. Verify that the SNMP agent changes the value of sysName.0 by
            performing a SNMP GetResponse on the OID.

    NOTE: If the snmpAccess for the default SNMP user is read-only, do
    not consider this test a failure if the SNMP SetRequest fails.


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410

snmp-wan-v6.tcl

IPv6 SNMP related test cases from the WAN side of the device

Test Name Synopsis
Verify SNMP agent supports MIB walk ipv6_snmp_wan_100 Verify SNMP agent supports MIB walk


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest ipv6_snmp_wan_101 Verify SNMP agent supports GetRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetNextRequest ipv6_snmp_wan_102 Verify SNMP agent supports GetNextRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetNextRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr OID
    step 3. Verify that the SNMP agent responds to the GetNextRequest
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs ipv6_snmp_wan_103 Verify SNMP agent supports GetRequest for multiple OIDs


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for OIDs
            SNMPv2-MIB::sysDescr, SNMPv2-MIB::sysObjectID and
            SNMPv2-MIB::sysUpTimeInstance
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports fragmented GetRequest ipv6_snmp_wan_104 Verify SNMP agent supports fragmented GetRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Send a large GetRequest PDU to the SNMP agent for the first
            100 OIDs returned in step 2; this GetRequest should be large
            enough to span multiple packets
    step 4. Verify that the SNMP agent responds to the fragmented
            GetRequest sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID ipv6_snmp_wan_105 Verify SNMP agent does not allow SetRequest on read-only OID


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-only
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent does not change the value of the
            specified OID


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID ipv6_snmp_wan_106 Verify SNMP agent returns ’no such instance’ to GetRequest for non-existent OID


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Send a GetRequest PDU to the SNMP agent for the
            non-existent OID .1.3.6.1.2.1.1.1.0.0
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager with a 'no such instance' error


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports IF-MIB:: walk ipv6_snmp_wan_200 Verify SNMP agent supports IF-MIB:: walk


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB by sending consecutive GetNextRequest
            PDUs for the IF-MIB::ifIndex, IF-MIB::ifDescr, and
            IF-MIB::ifType OIDs
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable ipv6_snmp_wan_201 Verify WAN packet counters in IF-MIB::ifTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's interface MIB table by sending a GetBulkRequest PDU
            for the IF-MIB::ifTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequests
            sent by the SNMP manager
    step 4. Find the DUT's WAN interface in the IF-MIB::ifTable output
            and record the current unicast outbound packet counter value
    step 5. Send 10 UDP echo packets from LAN to WAN
    step 6. Repeat steps 2 through 4
    step 7. Wait snmpUpdateDelay seconds
    step 8. Verify that the WAN unicast outbound packet counter has
            incremented by at least 10 in IF-MIB::ifTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime ipv6_snmp_wan_202 Verify system uptime using SNMPv2-MIB::sysUpTime


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the DUT's
            system uptime by sending a GetRequest PDU for the
            SNMPv2-MIB::sysUpTime.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager and record the current system uptime
    step 4. Wait 10 seconds
    step 5. Repeat steps 2 and 3 
    step 6. Verify that the system uptime has increased by at least 10
            seconds


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding ipv6_snmp_wan_203 Verify IPv4 forwarding mode using IP-MIB::ipForwarding


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to query the SNMP
            agent's IPv4 forwarding mode by sending a GetRequest PDU for
            the IP-MIB::ipForwarding.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Verify that the reported value of the IP-MIB::ipForwarding.0
            OID is consistent with the value of the forwardingMode
            testvar in the configuration file; if the testvar
            forwardingMode is set to 'route', this OID must return 1,
            otherwise if the testvar forwardingMode is set to 'bridge'
            this OID must return 2


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable ipv6_snmp_wan_204 Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP address table by sending a GetBulkRequest PDU
            for the IP-MIB::ipAddrTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's LAN and WAN IP addresses are reported
            properly in the IP-MIB::ipAddrTable output
    step 5. Verify that the SNMP manager is able to walk the SNMP
            agent's interface table by sending a GetBulkRequest PDU for
            the IP-MIB::ipAddrTable OID
    step 6. Verify that the DUT's LAN and WAN MAC addresses are reported
            properly in IP-MIB::ipAddrTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify default route in IP-MIB::ipRouteTable ipv6_snmp_wan_205 Verify default route in IP-MIB::ipRouteTable


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the default SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's IP route table by sending a GetBulkRequest PDU for
            the IP-MIB::ipRouteTable OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Verify that the DUT's default route is reported properly in
            the IP-MIB::ipRouteTable output


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk for all configured users ipv6_snmp_wan_300 Verify SNMP agent supports MIB walk for all configured users


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetNextRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetNextRequests
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string ipv6_snmp_wan_301 Verify SNMP agent ignores SNMP v1/2c users with invalid community string


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v1/2c user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid community string is specified
    step 3. Repeat steps 1 and 2 for all configured SNMP v1/2c users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials ipv6_snmp_wan_302 Verify SNMP agent ignores SNMP v3 users with invalid credentials


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication username is
            specified
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication password is
            specified
    step 4. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy password is specified
    step 5. Repeat steps 1 through 4 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols ipv6_snmp_wan_303 Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v3 user
    step 2. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid authentication protocol is used
    step 3. Verify that the SNMP manager is unable to walk the SNMP
            agent's MIB when an invalid privacy protocol is used
    step 4. Repeat steps 1 through 3 for all configured SNMP v3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest ipv6_snmp_wan_304 Verify SNMP agent supports MIB walk using GetBulkRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Verify that the SNMP manager is able to walk the SNMP
            agent's MIB by sending consecutive GetBulkRequest PDUs
            starting with the SNMPv2-SMI::internet OID
    step 3. Verify that the SNMP agent responds to the GetBulkRequest
            sent by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent supports GetBulkRequest ipv6_snmp_wan_305 Verify SNMP agent supports GetBulkRequest


    step 1. Start the SNMP manager on the WAN using the settings and
            options defined for the first SNMP v2c/3 user
    step 2. Send an GetBulkRequest PDU to the SNMP agent for the
            SNMPv2-MIB::sysDescr.0 OID
    step 3. Verify that the SNMP agent responds to the GetRequest sent
            by the SNMP manager
    step 4. Repeat steps 1 through 3 for all configured SNMP v2c/3 users


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410
Test Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID ipv6_snmp_wan_400 Verify SNMP agent allows SetRequest on read-write OID


    step 1. Start the SNMP manager on the LAN using the settings and
            options defined for the default SNMP user
    step 2. Send a SetRequest PDU to the SNMP agent for read-write
            SNMPv2-MIB::sysName.0 OID
    step 3. Verify that the SNMP agent changes the value of sysName.0 by
            performing a SNMP GetResponse on the OID.

    NOTE: If the snmpAccess for the default SNMP user is read-only, do
    not consider this test a failure if the SNMP SetRequest fails.


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410

snmp_scenarios.tcl

General SNMP configuration testing for user defined SNMP scenarios

Test Name Synopsis
Execute all defined scenarios or single scenario snmp_scenario_1 Execute all defined scenarios or single scenario


    step 1. Find the list of all defined SNMP scenarios
    step 2. If the testvar snmpScenarioSingleMode is set to yes, run the next scenario.
            Otherwise, run all the scenarios.

    NOTE: For more help on SNMP scenarios, please visit the CDRouter SNMP
    user guide section on SNMP scenarios.


    References:

    IETF RFC 1157 "A Simple Network Management Protocol (SNMP)"

    https://tools.ietf.org/html/rfc1157

    IETF RFC 1901 "Introduction to Community-based SNMPv2"

    https://tools.ietf.org/html/rfc1901

    IETF RFC 3410 "Introduction and Applicability Statements for Internet Standard Management Framework"

    https://tools.ietf.org/html/rfc3410