[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Reviewing and Changing Operating Properties for NIC with the SRC CLI

Before you configure a NIC configuration scenario, review the default operating properties and change values as needed. Operating properties are configured for a slot.

Reviewing the Default NIC Operating Properties

To review the default NIC operating properties:

  1. From configuration mode, access the configuration statement that specifies the configuration for the NIC on a slot.
  2. [edit]
    
    user@host# edit slot number nic
    
    
    

For example:

[edit]
user@host# edit slot 0 nic

  1. Run the show command.
  2. [edit slot 0 nic]
    
    user@host# show 
    
    base-dn o=umc;
    
    java-runtime-environment ../jre/bin/java;
    
    java-heap-size 128m;
    
    snmp-agent;
    
    hostname DemoHost;
    
    initial { 
    
      dynamic-dn "ou=dynamicConfiguration, ou=Configuration, 
    o=Management,<base>";
    
      directory-connection { 
    
        url ldap://127.0.0.1:389/;
    
        backup-urls ;
    
        principal cn=nic,ou=Components,o=Operators,<base>;
    
        credentials ********;
    
        timeout 10;
    
        check-interval 60;
    
      }
    
      directory-eventing { 
    
        eventing;
    
        signature-dn <base>;
    
        polling-interval 15;
    
        event-base-dn <base>;
    
        dispatcher-pool-size 1;
    
      }
    
      static-dn "l=OnePop,l=NIC, ou=staticConfiguration, ou=Configuration, 
    o=Manage
    
    ment,<base>";
    
    }
    
    
    

Changing NIC Operating Properties

In most cases you can use the default NIC operating properties. Change the default properties if needed for your environment.

To change NIC operating properties:

  1. From configuration mode, access the configuration statement that specifies the configuration for the NIC on a slot.
  2. [edit]
    
    user@host# edit slot number nic
    
    
    

For example:

[edit]
user@host# edit slot 0 nic

  1. (Optional) If you store data in the directory in a location other than the default, o=umc, change this value.
  2. [edit slot 0 nic]
    
    user@host# set base-dn base-dn 
    
    
    
  3. (Optional) If you determine that additional memory is needed, change the maximum memory size available to the (Java Runtime Environment) JRE.
  4. [edit slot 0 nic]
    
    user@host# set java-heap-size java-heap-size 
    
    
    

By default, the JRE can allocate 128 MB. Set to a value lower than the available physical memory to avoid low performance because of disk swapping.

If you use an SAE plug-in agent, we recommend that you increase the JVM max heap to a value in the range 400-500 MB.

If you need help to determine the amount of memory needed, contact Juniper Networks Customer Services and Support.

  1. (Optional) Enable viewing of SNMP counters through an SNMP browser.
  2. [edit slot 0 nic]
    
    user@host# set snmp-agent 
    
    
    
  3. (Optional) Change the name of the NIC host. Use the default name of the NIC host configured for a NIC scenario. In most cases, the NIC host name is DemoHost.
  4. [edit slot 0 nic]
    
    user@host# set hostname hostname
    
    
    
  5. (Optional) Change the initial properties.

See SRC-PE Getting Started Guide, Chapter 30, Configuring Local Properties with the SRC CLI.

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]