CDRouter Support

CDRouter SNMP Test Summaries (Full)

test-summary version 13.3

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 Module Name Synopsis
Verify SNMP agent supports MIB walk snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetNextRequest snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp.tcl 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 Module Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp.tcl 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 Module Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp.tcl 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 Module Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp.tcl 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 Module Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp.tcl 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 Module Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp.tcl 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 Module Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp.tcl 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 Module Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp.tcl 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 Module Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetNextRequest snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp-wan.tcl 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 Module Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp-wan.tcl 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 Module Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp-wan.tcl 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 Module Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp-wan.tcl 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 Module Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp-wan.tcl 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 Module Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp-wan.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetNextRequest snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp-v6.tcl 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 Module Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp-v6.tcl 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 Module Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp-v6.tcl 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 Module Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp-v6.tcl 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 Module Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp-v6.tcl 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 Module Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetNextRequest snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetRequest for multiple OIDs snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports fragmented GetRequest snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent does not allow SetRequest on read-only OID snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent returns 'no such instance' to GetRequest for non-existent OID snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports IF-MIB:: walk snmp-wan-v6.tcl 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 Module Name Synopsis
Verify WAN packet counters in IF-MIB::ifTable snmp-wan-v6.tcl 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 Module Name Synopsis
Verify system uptime using SNMPv2-MIB::sysUpTime snmp-wan-v6.tcl 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 Module Name Synopsis
Verify IPv4 forwarding mode using IP-MIB::ipForwarding snmp-wan-v6.tcl 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 Module Name Synopsis
Verify LAN and WAN IP addresses in IP-MIB::ipAddrTable snmp-wan-v6.tcl 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 Module Name Synopsis
Verify default route in IP-MIB::ipRouteTable snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk for all configured users snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v1/2c users with invalid community string snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with invalid credentials snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent ignores SNMP v3 users with incorrect authentication and privacy protocols snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports MIB walk using GetBulkRequest snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent supports GetBulkRequest snmp-wan-v6.tcl 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 Module Name Synopsis
Verify SNMP agent allows SetRequest on read-write OID snmp-wan-v6.tcl 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 Module Name Synopsis
Execute all defined scenarios or single scenario snmp_scenarios.tcl 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

Contents

×

About CDRouter

QA Cafe CDRouter is a comprehensive and powerful test automation solution focused on feature, security, and performance testing for broadband and enterprise edge gateways, Wi-Fi and mesh systems, and other CPE.

Get in touch via our Contact page or by following us on your favorite service: