Examples

Example 1: Call to FKXESCMD to Issue OSNMP SET

This is an example of a call to FKXESCMD to issue an OSNMP SET of MIB variable SysContact.0 to a value of Cinderella for IP host nmpipl10.raleigh.ibm.com from NetView® operator OPER4:

NVSNMP -st NMPIPL10 -osnmp -h nmpipl10.raleigh.ibm.com
            SET SysContact.0 cinderella
(results in the following FKXESCMD invocation)
FKXESCMD NMPIPL10 OSNMP -c Master -h nmpipl10.raleigh.ibm.com
            SET SysContact.0 Cinderella
Using the following command authorization table definitions, all tasks are protected from issuing requests to all stacks (a) with the exception of OPER4 who can use LOCAL stack (b). Not all tasks can issue SNMP SET (c). In this case, the request fails because OPER4 is attempting to use NMPIPL10 and is also attempting to issue a SET.
(a) Protect *.*.FKXESCMD.STACK.*
(b) Protect *.*.FKXESCMD.STACK.LOCAL
(c) Permit OPER4 *.*.FKXESCMD.STACK.LOCAL
(d) Protect *.*.FKXESCMD.SET.*

Example 2: Call to FKXESCMD to Issue OSNMP GET

This is an example of a call to FKXESCMD to issue an OSNMP GET of MIB variable SysContact.0 for IP host 146.84.158.78 from NetView operator OPER4 using the LOCAL TCP/IP Stack:

NETVASIS NVSNMP -st LOCAL -osnmp -h 146.84.158.78 GET SysContact.0
(results in the following FKXESCMD invocation)
FKXESCMD LOCAL OSNMP -h 146.84.158.78
         GET SysContact.0
Using the following command authorization table definitions, all tasks are prevented from issuing requests to all stacks (a) with the exception of OPER4 who can use LOCAL stack (b). Not all tasks can issue any SNMP GET (c) with the exception of OPER4. Not all tasks can issue requests for any device in subnet 146.84.158, except OPER4. In this case, OPER4 can issue a GET SysContact.0.
(a) Protect *.*.FKXESCMD.STACK.*
(b) Protect *.*.FKXESCMD.STACK.LOCAL
(c) Permit OPER4 *.*.FKXESCMD.STACK.LOCAL
(d) Protect *.*.FKXESCMD.GET.*
(e) Permit OPER4 *.*.FKXESCMD.GET.*
(f) Protect *.*.FKXESCMD._h.146/84/158/*
(g) Permit OPER4 *.*.FKXESCMD._h.146/84/158/*