Configuring a VPRN through snmp on 7750

Post Reply
framirez
Member
Posts: 1
Joined: 15 Apr 2013 17:01

Configuring a VPRN through snmp on 7750

Post by framirez »

Hello.

I'm traying to configure a VPRN through snmp.

Code: Select all

[root@~]# snmpset -v 2c -c mycomunity my-switch TIMETRA-SERV-MIB::svcRowStatus.8887 i 4 TIMETRA-SERV-MIB::svcType.8887 i 4 TIMETRA-SERV-MIB::svcCustId.8887 u 1 TIMETRA-SERV-MIB::svcVRouterId.8887 i 14 TIMETRA-SERV-MIB::svcDescription.8887 s "IMASD"

Code: Select all

TIMETRA-SERV-MIB::svcRowStatus.8887 = INTEGER: createAndGo(4)
TIMETRA-SERV-MIB::svcType.8887 = INTEGER: vprn(4)
TIMETRA-SERV-MIB::svcCustId.8887 = Gauge32: 1
TIMETRA-SERV-MIB::svcVRouterId.8887 = INTEGER: 14
TIMETRA-SERV-MIB::svcDescription.8887 = STRING: "IMASD"
This process successfully completed.

Configuration on switch:

Code: Select all

*A:lab-1>config>service>vprn# info 
----------------------------------------------
            description "IMASD"
            autonomous-system 6500
            route-distinguisher 65000:8887
            vrf-target target:65000:8887
            no shutdown
----------------------------------------------
router Identifier for this service vprn (8887) is 14

Code: Select all

TIMETRA-SERV-MIB::svcVRouterId.8887 = INTEGER: 14
then router interfaces:

Code: Select all

[root@~]# snmpset -v2c -c mycomunity my-switch TIMETRA-VRTR-MIB::vRtrIfRowStatus.14 i 4 TIMETRA-VRTR-MIB::vRtrIfType.14 i 5 TIMETRA-VRTR-MIB::vRtrIfName.14 s "IMASD_INTERFAZ_1"
Error in packet.
Reason: noCreation (That table does not support row creation or that object can not ever be created)
Failed object: TIMETRA-VRTR-MIB::vRtrIfRowStatus.14
information in the mib:

Code: Select all

vRtrIfRowStatus  OBJECT-TYPE
    SYNTAX      RowStatus
    MAX-ACCESS  read-create
    STATUS      current
    DESCRIPTION
        "The row status.  The creation or deletion of a router interface entry
         causes creation or deletion of corresponding entries in other Tmnx MIB
         tables with the same vRtrID and vRtrIfIndex values, such as the
         vRtrIpAddrTable.  The router interface is associated to a physical port
         interface through the vRtrIfPortID and vRtrIfEncapValue variables. [b]The
         RowStatus cannot be SET to 'active' unless vRtrIfName has been
         initialized."[/b]
    ::= { vRtrIfEntry 2 }


Why that table does not support row creation?, Have I missed something (a mandatory column)?
Post Reply

Return to “SNMP Configuration”