Customizing Sun RPC Applications (CLI Procedure)

All Sun RPC applications can be customized by using a predefined application set.

For example, an application can be customized to open the control session only and not allow any data sessions:

application-set junos-sun-rpc {application junos-sun-rpc-tcp; application junos-sun-rpc-udp; }

In the following example, the predefined application set allows data sessions only. It will not work without the control session:

application-set junos-sun-rpc-portmap { application junos-sun-rpc-portmap-tcp;application junos-sun-rpc-portmap-udp; }

To customize all Sun RPC applications with predefined application sets, use both application sets in the policy:

application-set [junos-sun-rpc junos-sun-rpc-portmap]

Note: MS RPC applications are customized in the same way as SUN RPC applications.

Related Topics