Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In addition to the browser-based interface accessible via HTTP (port 80) and HTTPS (port 443), NetMRI supports a command line interface accessible via SSH (port 22). The Administrative Shell accepts a variety of commands that are useful for troubleshooting and maintenance.
For security purposes, you must access the Administrative Shell using the Secure Shell (SSH) client application on your workstation. By encrypting all session traffic, the SSH client prevents local network users from monitoring your administrative session.

Anchor
bookmark855
bookmark855
Access Using the Command Line SSH client

Initially connecting to the Administrative Shell using the SSH command line client requires that you supply a username as one of the command line parameters, as shown in this example:

...

where <system> is the hostname or IP address assigned to NetMRI. At that point, you are prompted for the admin account password, which is the same as that used for the browser interface.

Anchor
Administrative Shell Menu
Administrative Shell Menu
Anchor
bookmark856
bookmark856
Administrative Shell Menu

After a successful login, the shell displays a list of commands.

To do this...

Type this at the command prompt...

Display the list of commands

?

Display a description of a command

<command>?

View previously executed commands

UP-ARROW or DOWN-ARROW

Edit a previously executed command

LEFT-ARROW, RIGHT-ARROW, BACKSPACE, DELETE

Anchor
Shell Commands
Shell Commands
Anchor
bookmark857
bookmark857
Anchor
bookmark858
bookmark858
Shell Commands

The administrative shell commands are listed in the following subsections. Many of these commands are self-explanatory and are similar to those provided by other network appliances.

Anchor
ACL command
ACL command
Anchor
bookmark859
bookmark859
Anchor
bookmark860
bookmark860

...

acl command

The acl command enables you to restrict users' access to NetMRI to a list of IP addresses or subnets, thereby reducing the likelihood of unauthorized access. By default, the appliance accepts user connections via HTTP (port 80), HTTPS (port 443), SSH (port 22) and SYSLOG (port 514). If an access control list is defined, any or all of these ports can be restricted to a specific list of IP addresses.

The following sub-commands are supported by the acl command:

...

Use "0.0.0.0/0" CIDR to refer to all IPv4 sources, or "::/0" CIDR for all IPv6 sources. The ACL list must be committed to take effect.

Anchor

...

Archive command

...

Archive command
 
Anchor

...

bookmark887

...

bookmark887

...

archive command

The autoupdate command is used to upgrade NetMRI software via the Internet, CD or upgrade file provided by Infoblox. See the section Manually Updating NetMRI Software for detailsUse the archive command to manually back up the Event Collector index and related system data. The command’s syntax is

autoupdate <filename> [auto | force-major]

Where:

  • auto command-line mode to set AutoUpdate to function automatically without user prompting. This mode does not allow automatic major updating.

Example:

autoupdate auto

  • force-major used in an autoupdate auto command to allow automatic updates in all circumstances, including major updates. Example:

autoupdate auto force-major

...

Configure is essentially the command line equivalent of the Settings icon –> General Settings –> Security page. The command’s syntax is

configure <setting> [show | reset]

where <setting> is

ssh configures SSH client and servers

http configures HTTP and HTTPS servers

snmp configures SNMP servers

auth configures authentication methods

and reset resets all protocols to the factory defaults.

The configure command supports the following sub-commands:

...

auth

...

Define the external authentication service, if any, that NetMRI uses to authenticate user logins.

...

certificates

...

Install an SSL certificate into the NetMRI system for HTTPS sessions.

...

discovery

...

Define the basic device Discovery device expiration period, which is the time period that elapses before NetMRI automatically re-discovers any given device in its database. The default is seven (7) days;

...

http

...

Determines whether the HTTP and HTTPS servers are activated in the NetMRI system. You can also enable or disable individual encryption protocols in the HTTPS suite. By default, NetMRI enables all protocol options. You must restart the services after making any changes, which consists of a full restart of NetMRI.

...

ip

...

Define the NetMRI management IP address, which is the IP used to communicate with the appliance. Should you change this value, the system will require a restart and your current terminal session will lose connectivity. Exercise caution when using this command.

...

server

...

Starts the configuration for standalone NetMRI and Operations Center Controllers and Collectors. During this configuration you specify network name, NetMRI server name, domain name, time server, time zone, NetMRI IP address and subnet mask, and several other basic operating parameters.

...

snmp

...

Enable or disable support for specific SNMP protocol types, define the community string and the SNMP passphrase.

...

ssh

...

the following:

archive [ <startDate [ <archiveName ]]

where

<startDate> may be yesterday (default), today or YYYY-MM-DD

<archiveName> names the file

Unlike the command of the same name in the Administrative Shell, this archive command only backs up part of the Event Collector data: at least all data from the start date until the current time. Because data is saved in chunks of about 750MB, an archive may include data from before the start date.

Anchor
AutoUpdate command
AutoUpdate command
Anchor
bookmark861
bookmark861
autoupdate command

The autoupdate command is used to upgrade NetMRI software via the Internet, CD or upgrade file provided by Infoblox. See the section Manually Updating NetMRI Software for details. The command’s syntax is

autoupdate <filename> [auto | force-major]

Where:

  • auto command-line mode to set AutoUpdate to function automatically without user prompting. This mode does not allow automatic major updating.

Example:

autoupdate auto

  • force-major used in an autoupdate auto command to allow automatic updates in all circumstances, including major updates. Example:

autoupdate auto force-major

Anchor
Configure command
Configure command
Anchor
bookmark862
bookmark862
configure command

Configure is essentially the command line equivalent of the Settings icon –> General Settings –> Security page. The command’s syntax is

configure <setting> [show | reset]

where <setting> is

ssh configures SSH client and servers

http configures HTTP and HTTPS servers

snmp configures SNMP servers

auth configures authentication methods

and reset resets all protocols to the factory defaults.

The configure command supports the following sub-commands:

auth

Define the external authentication service, if any, that NetMRI uses to authenticate user logins.

certificates

Install an SSL certificate into the NetMRI system for HTTPS sessions.

discovery

Define the basic device Discovery device expiration period, which is the time period that elapses before NetMRI automatically re-discovers any given device in its database. The default is seven (7) days;

http

Determines whether the HTTP and HTTPS servers are activated in the NetMRI system. You can also enable or disable individual encryption protocols in the HTTPS suite. By default, NetMRI enables all protocol options. You must restart the services after making any changes, which consists of a full restart of NetMRI.

ip

Define the NetMRI management IP address, which is the IP used to communicate with the appliance. Should you change this value, the system will require a restart and your current terminal session will lose connectivity. Exercise caution when using this command.

server

Starts the configuration for standalone NetMRI and Operations Center Controllers and Collectors. During this configuration you specify network name, NetMRI server name, domain name, time server, time zone, NetMRI IP address and subnet mask, and several other basic operating parameters.

snmp

Enable or disable support for specific SNMP protocol types, define the community string and the SNMP passphrase.

ssh

Define basic settings for SSH client and NetMRI SSH server, including enabling or disabling of either communications protocol and the type or types of encryption protocols supported by each. Under most circumstances, the defaults should be retained unless organization policy requires specific settings. You must restart the services after making any changes.

Anchor
Debug command
Debug command
Anchor
bookmark863
bookmark863

...

debug command

Enables debugging logs from NetMRI processes to be displayed and compiled into a text file.

...

Note: Do not run the debug command from your system without instructions from Infoblox Support.

...

Anchor
Deregister command
Deregister command
Anchor
bookmark864
bookmark864

...

deregister command

Allows the deregistration of a Collector instance or appliance from the NetMRI Operations Center.

Example

netmrivm193> deregister

Anchor
Diagnostic command
Diagnostic command
Anchor
bookmark865
bookmark865

...

diagnostic command

Use Diagnostic diagnostic to execute diagnostic scripts provided by Infoblox Technical Support for troubleshooting or customization purposes. If a diagnostic script is required, it is provided by Infoblox as a digitally signed, compressed TAR file to be uploaded to the Administrative Shell directory (placed by the Admin account only in the admin/Backup folder) and executed using the following Admin Shell command:

...

where <filename> is the name of the diagnostic script file.

Anchor
Export cert command
Export cert command
Anchor
bookmark866
bookmark866

...

export cert command

Simple command to export the built-in appliance PKCS certificate to a file titled netmri.crt.

...

Certificate has been exported to netmri.crt

netmrivm193>

Anchor
InstallHelpFiles command
InstallHelpFiles command
Anchor
bookmark867
bookmark867

...

installhelpfiles command

Use InstallHelpFiles the installhelpfiles command to install custom help information to appear on a specified Issue Details page for a custom issue. Should no custom Issues information be found, the command will terminate with a No issue titles found message. Consult the topic Creating Custom Issue Help files for more information.

Anchor
LicenseGenerateCommand
LicenseGenerateCommand

...

license generate command

Use license generate command to obtain a new NetMRI license or modify an existing license on the physical appliance. To use this command on a NetMRI virtual appliance, contact Infoblox Technical Support at the following URL http://support.infoblox.com to generate a license file or to enable this command, so you can generate a license file on your own. You can modify the installed evaluation license file before rebooting the system.

You can choose to deploy the NetMRI appliance as a standalone appliance or an operations centerthe Operations Center. When you configure a standalone appliance, you can convert it to the Operations Center mode. Once you configure an appliance as an the Operation Center, you cannot revert it to the standalone mode. You can choose to install the following license types: Full NetMRI, ACM (Automation Change Management), SPM2 (Switch Port Manager), or Keep existing. In addition, you can modify the device limit and license expiration date. The device limit indicates the number of devices the appliance is licensed to manage.

...

Note: To use this command on a NetMRI virtual appliance, contact Infoblox Technical Support at the following URL http://support.infoblox.com to generate a license file or to enable this command, so you can generate a license file on your own. You can modify the installed evaluation license file before rebooting the system The NetMRI NT-1400 appliance is licensed as standalone even if the OC license is applied. For information about the NetMRI NT-1400 appliance, see Operations Center Appliances and Requirements.

...

Example 1 Sample output when you continue to use an existing license

netmrivm193> license
Usage: license show|log|generate|<LicenseFile>

...

Maintenance expiration date [2020-03-09]:
No changes in license are made

Example 2 Sample output when you run this command on a NetMRI virtual appliance


SA193> license generate
*** This option is disabled for Virtual Appliances. Please contact Customer Support to enable it or to generate a license file

Example 3 Sample output when you have configured an Operations Center environment


netmrivm193> license generate
Do you want to start license generate now? (y/n) [n]: y
Current License:
License Type: Full NetMRI (Customer)
License Source: N/A
Customer Name: FULLNM
Controller role: OC
Device Limit: 1000
Maintenance Expiration: 2020-02-20
Modules Info:
Full NetMRI: on, Expired: Never
Automation Change Manager: off, Expired: Expired
Switch Port Management: off, Expired: Expired
NetMRI without SPM: off, Expired: Expired
IPAM Insight (Discovery): off, Expired: Expired
Network Automation: off, Expired: Expired
Security Device Controller: off, Expired: Expired

...

Maintenance expiration date [2020-02-20]:
No changes in license are made

Example 4 Sample output when you modify an existing license to SPM2 license


netmrivm193> license generate
Do you want to start license generate now? (y/n) [n]: y
Current License:

...

result of initial stop '/usr/bin/nohup: ignoring input
systemctl stop skipjack.service
systemctl stop httpd.service
'
result of stop kill 'systemctl stop skipjack.service
systemctl stop httpd.service
'
netmrivm193>

License generation FULLNM to SPM

...

Anchor
licenseshowcommand
licenseshowcommand
license show command

The license show command displays your current NetMRI license configuration. You can also view your license features, controller mode, expiration date, and license type information.

netmrivm193> license show
License Type: Full NetMRI (Customer)
License Source: N/A
Customer Name: FULLNM
Controller role: Standalone
Device Limit: 1000
Maintenance Expiration: 2020-03-09
Modules Info:
Full NetMRI: on, Expired: Never
Automation Change Manager: off, Expired: Expired
Switch Port Management: off, Expired: Expired
NetMRI without SPM: off, Expired: Expired
IPAM Insight (Discovery): off, Expired: Expired
Network Automation: off, Expired: Expired
Security Device Controller: off, Expired: Expired


Anchor
LicenseLog
LicenseLog

...

license log command


The license log command displays the license information and timestamps for all your NetMRI license activities. The following example shows sample output from the License Log command:

...

2017-08-02 22:17:38 [info] License Type: Full NetMRI (Customer)
2017-08-02 22:17:38 [info] License Source: N/A
2017-08-02 22:17:38 [info] Customer Name: FULLNM
2017-08-02 22:17:38 [info] Controller role: Standalone
2017-08-02 22:17:38 [info] Device Limit: 1000
2017-08-02 22:17:38 [info] Maintenance Expiration: 2020-07-20
2017-08-02 22:17:38 [info] Modules Info:
2017-08-02 22:17:38 [info] Full NetMRI: on, Expired: Never
2017-08-02 22:17:38 [info] Automation Change Manager: off, Expired: Expired
2017-08-02 22:17:38 [info] Switch Port Management: off, Expired: Expired
2017-08-02 22:17:38 [info] NetMRI without SPM: off, Expired: Expired
2017-08-02 22:17:38 [info] IPAM Insight (Discovery): off, Expired: Expired
2017-08-02 22:17:38 [info] Network Automation: off, Expired: Expired
2017-08-02 22:17:38 [info] Security Device Controller: off, Expired: Expired

Anchor
Maintenance command
Maintenance command
Anchor
bookmark869
bookmark869

...

maintenance command

...

Note Do not run the maintenance command from your system without instructions from Infoblox Support.

...

Use Maintenance the maintenance command to manually execute the NetMRI database maintenance process. Normally, database maintenance is performed weekly to archive the network database and fix any problems in the database.

Anchor
Provisiondisk command
Provisiondisk command
Anchor
bookmark869
bookmark869

...

provisiondisk command

Initialize and provision a new hard disk as an extension to the NetMRI system /var partition, to provide more space for key NetMRI support files including the database, automation scripts, SNMP MIBs and other system elements residing in the /var partition. This command cannot be used in disks for the NetMRI operating system or for any disks already used by the system, and no other partition besides /var can be provisioned. Attach the new disk drive to the system and enter provisiondisk in the Admin Shell. The operating system will detect the new disk and step through the process of disk initialization and setup.

Anchor
Recalculate-spm Command
Recalculate-spm Command
Anchor
bookmark870
bookmark870

...

recalculate-spm

...

command

A command to allow re-population of all Switch Port Manager data tables with information from one day to 30 days in the past. The function is similar to selecting a date for re-populating a single SPM table from the calendar selector in the top left corner of the UI, but the recalculate-spm command repopulates the entire set of SPM tables.

...

Enter time period in days for SPM generation ( should be between 1 and 30 ): 1

corp100_west>

Anchor
Refreshgroups command
Refreshgroups command
Anchor
bookmark871
bookmark871

...

refreshgroups command

...

Note: Do not run the refreshgroups command from your system without instructions from Infoblox Support.

...

Depending on the size of the network, it may take a few minutes for the results to be reflected in the user interface. On an OC, it will take an extra minute or so as the calculations are done on the collectors and transferred up to the OC.

Anchor
Rdtclient command
Rdtclient command
Anchor
bookmark872
bookmark872

...

rdtclient command

...

Note: Do not run the rdtclient command in your system before obtaining instructions from Infoblox Support.

...

(None enabled until after registration)

Anchor
Removedsb command
Removedsb command
Anchor
bookmark873
bookmark873

...

removedsb command

...

Note: Avoid running the removedsb command in your system before obtaining instructions from Infoblox Support.

...

Use removedsb to delete database archive files from the default directory /var/local/netmri/dsb in the local NetMRI appliance. This is generally a housekeeping command, but exercise caution when deleting database files.

Anchor
RemoteCopy command
RemoteCopy command
Anchor
bookmark874
bookmark874

...

remoteCopy command

Use remoteCopy to send files to another host system from the local NetMRI appliance.

Example

netmrivm193> remoteCopy

Enter filename: netmri122.dat

...

ALL UNAUTHORIZED ACCESS TO THIS SYSTEM WILL BE PROSECUTED TO THE MAXIMUM EXTENT ALLOWED BY APPLICABLE LAWS.
rgrace@10.120.32.193's password: ********
netmri122.dat                                               100%       704               221.7KB/s            00:00

Anchor
Removemib command
Removemib command
Anchor
bookmark875
bookmark875

...

removemib command

Use removemib to delete vendor SNMP MIB files from the MIB library in NetMRI. The removemib command automatically points to a location in the system, that contains all MIBs installed by admins into NetMRI. (For a list of installed MIBs, you can go to Settings icon –> Setup –> MIB Management.) Removemib is limited to MIBs that are installed by admins of the system; MIBs that are bundled with NetMRI cannot be deleted using this command. You should also know the file name for the MIB before deleting it. Files of this type are placed into the /var/local/netmri/dsb/mibmanager/source directory. If no MIB files are located in this folder, you will not be able to remove any other MIB files.

...

netmrivm193> removemib A3Com-products-rev2-MIB

Anchor
Repair command
Repair command
Anchor
bookmark876
bookmark876

...

repair command

Use Repair to fix tables in the database that were corrupted by an improper shutdown. The repair command runs automatically during startup, but is provided here for troubleshooting purposes.

Anchor
Reset command
Reset command
Anchor
bookmark877
bookmark877

...

reset command

Use the reset command with due caution; changes imposed by resetting parts of the NetMRI system may result in loss of data that you do not intend to lose. Read this entire topic before proceeding.
The reset command has the following sub-commands:

...

reset all_licenses

Resets the current NetMRI instance's installed licenses. Reset all_licenses does not reset the NetMRI database, which allows portability of data from one product to another (from a virtual appliance to a physical appliance, for example).

reset cli

Resets the assigned CLI credentials to every discovered device, forcing NetMRI to re-guess CLI credentials.


reset database


Resets the NetMRI instance's database to zero, removing all collected device information and device license entitlements. Retains user-defined configurations and settings. Purges all previously discovered network devices found in user-configured Discovery Ranges, and all associated data for those devices. A reset database command forces all devices and previously collected device data to be discovered again from scratch.

reset snmp

Resets the assigned SNMP credentials to every discovered device, forcing NetMRI to reguess SNMP credentials.

reset system

Resets the NetMRI system in its entirety to factory defaults. Should you previously have run the configure server command, its settings will hold through a reset system command to ensure that the user retains network connectivity to the device.

reset tae

Resets all Automation Change Manager registration settings for the current NetMRI instance.

reset tunclient

Clears any existing tunnel client configuration in an Operations Center collector system. This command is present in all NetMRI standalone appliances but can be ignored if the appliance is not acting as a collector. This process is included in a reset system, but can be run manually if a new key pair is needed for the tunnel client, or if the tunnel client must be re-registered with another Operations Center Controller.

reset tunserver

(Only available on Operations Center servers) Clears all VPN tunnel configuration information, including all keying material and client configurations. When run, any existing client configuration is invalidated. You must then run configure tunserver again, then re-register all tunnel clients to re-enable connectivity using the register command on each client. This process is included in a reset system, but can be run manually to reconfigure only the tunnel system, such as a CA key pair strength or expiration, server key pair, etc.

version

Displays the software version of the current NetMRI instance;

virtual

Displays statistics about virtual memory usage, including operating system memory, interrupts, paging and disk I/O.

Anchor
Restore command
Restore command
Anchor
bookmark878
bookmark878

...

restore command

The restore command restores a sequence of archive files in the order given. The command’s syntax is:

...

Note: Restoring archives overwrites current data. Example: on December 15 you restore archives through December 1. Data for December 2 through 14 would be lost.

...

Anchor
Rm command
Rm command
Anchor
bookmark879
bookmark879

...

rm command

Use rm to delete files and file directories on the NetMRI file system. As with any command involving modification of files, exercise caution when using the rm command.

Anchor
Sandbox command
Sandbox command
Anchor
bookmark880
bookmark880

...

sandbox command

For more information, see Using the NetMRI Sandbox .

Anchor
Set temp_license command
Set temp_license command
Anchor
bookmark881
bookmark881

...

set temp_license command

You can set up and install a single 60-day evaluation license for any of the following NetMRI product licenses:

  • Automation Change Manager
  • Full NetMRI
  • Add Switch Port Manager
  • Add Security Device Controller

...

Automation Change Manager may be licensed without the use of full NetMRI.

Example

LosAngeles> set temp_license

...

Are you sure you want to do this? (y or n):

Anchor
Show command
Show command
Anchor
bookmark883
bookmark883

...

show command

The show command displays information about specified NetMRI components.

...

acl

Displays the internal ACL filter list automatically generated by the NetMRI appliance (this is a security measure to protect the NetMRI system;

certificate

Displays the currently installed NetMRI HTTPS certificate

date

Shows the current system date and time;

dbprocs

Shows the complete lists of system tasks tied to database management in the system, Process ID, User, database being modified, and other information;

diagnosticlog

Executes a diagnostic script in NetMRI to perform a check on the system;

discovery

Lists the complete table of the discovery database for the current NetMRI system;

disk

Shows the complete disk partition configuration for the current NetMRI appliance;

ethernet

Shows the complete Ethernet port configuration for the current NetMRI appliance;

id

Lists the current appliance's serial number;

idmethods

Show the system settings for device identification methods during Discovery, including Vendor (1), Model (2), OS Version (3) or Device Type (4). entering a number from 1-4 displays a table of a category of network device identity properties currently defined in NetMRI;

interfaces

Displays the complete list of physical and virtual interfaces built into or bound to the current NetMRI instance;

io

Displays a quick assessment of the current system load and throughput. May be useful in troubleshooting;

license

Shows the current licensing status for the NetMRI instance; also displays the current Platform Device Limit, License Device Limit and Effective Device Limit for all licenses installed in the system. Warning alerts also appear if any license limits are overridden for any cause.

memory

Provides a listing of memory usage for the current NetMRI instance;

process

Lists all the computing processes running in the current NetMRI instance;

route

Displays the routing table for the current appliance (see the Sandbox command topic for more information);

servers

Separately lists the server processes running in NetMRI, the amount of CPU cycles and memory each occupies and other information;

settings

Lists the key configuration settings for the current NetMRI instance, including the management and scan port IPs and assigned names

stats

Displays basic system statistics including the current date, average CPU usage, average level of free memory and the disk usage by the current system;

tech

Displays a broad overview of information about the current NetMRI instance for use by technical support, including the system timestamp, discovery settings, network connections, port configuration and other elements;

tunclient

Displays Collector VPN settings and connection status to the Operations Center Controller;

tunserver

Displays Operations Center Controller's VPN settings and lists attached Controllers (applies only to OC Controllers);

updatehistory

Lists the brief version of the update history for the current NetMRI instance;

updatelog

Lists the verbose information about the current NetMRI instance's history of system software updates;

version

Displays NetMRI version, serial number, network name and server name;

virtual

Displays information about the appliance's virtual memory usage (swap file partitions, etc.) including memory, processes, interrupts, paging and block I/O. Similar to the Unix vmstat command.

You can use the show route command to display the routing table for the current appliance:

rgrace64-212.inca.infoblox.com> show route
Kernel IP routing table

...

Destination

...

Gateway

...

Genmask

...

Flags

...

MSS

...

Window

...

irtt

...

Iface

...

0.0.0.0

...

10.120.25.1

...

0.0.0.0

...

UG

...

0

...

0

...

0

...

eth0

...

10.0.0.0

...

10.120.25.1

...

255.0.0.0

...

UG

...

0

...

0

...

0

...

Anchor

...

showlicensecommand
showlicensecommand
show license command

The show license command displays your current NetMRI license configuration. You can also view your license features, license type, expiration date, and license ID information.

netmrivm193> show license

License Information:
--------------------------------
Serial Number: VM-94AD-61B27
License ID: VM-94AD-61B27-20170308-0124361
License Expires: Never
License Type: Customer
Mode: standalone
Maintenance Expires: 2020-03-09
Licensed Device Limit: 1,000

License Features:
Switch Port Manager Support: off
Switch Port Manager Expiration: N/A
Automation Change Manager Support: off
Automation Change Manager Expiration: N/A
NetMRI Support: on
NetMRI Expiration: Never
Security Device Controller Support: off
Security Device Controller Expiration: N/A

Anchor
Show Route command
Show Route command
Anchor
bookmark884
bookmark884
show route command

You can use the show route command to display the routing table for the current appliance:

rgrace64-212.inca.infoblox.com> show route
Kernel IP routing table

Destination

Gateway

Genmask


Flags


MSS


Window


irtt

Iface

0.0.0.0

10.120.25.01

0.0.0.0

255.255.255.0

U


UG


0


0


0

eth0

10.0.0.0

10.120.25.1

255.0.0.0


UG


0


0


0

eth0

10.120.25.0

0.0.0.0

255.255.255.0


U


0


0


0

eth0

169.254.0.0

0.0.0.0

255.255.0.0


U


0


0


0

eth0

169.254.1.0

0.0.0.0

255.255.255.0


U


0


0


0

eth0

Kernel IPv6 routing table










Destination


Next Hop

Flags


Metric


Ref


Use


Iface

::1/128


::

U


256


0


0


lo

fe80::/64


::

U


256


0


0


eth0

::1/128


::

U


0


68


1


lo

fe80::250:56ff:fe94:98/128

::

U


0


0


1


lo

ff00::/8


::

U


256


0


0


eth0

Anchor
SNMPWALK command
SNMPWALK command
Anchor
bookmark885
bookmark885

...

snmpwalk command

Obtain a tree of information from a network device, using automatic SNMP GETNEXT commands. In NetMRI’s administrative shell version of the snmpwalk command, you can specify the SNMP version, the community string, and the desired Root Object ID (OID). The command’s syntax is:

...

# StartTime: Wed Apr 20 15:02:16 EDT 2011

#######################################################################

2011-04-20 15:02:33 [warn] snmpwalk: No response from remote host '220.10.10.5'

#######################################################################

# EndTime: Wed Apr 20 15:02:33 EDT 2011

#######################################################################

+++ Results stored in snmpwalk-220-10-10-5.txt

Use SCP to connect to the NetMRI appliance to obtain the file.

...

ssh-key create

ssh-key delete

ssh-key export

NetMRI provides support for outside SCP applications to use SSH keys in lieu of passwords. You can manage SSH keys through a series of admin shell commands (ssh-keycreate, ssh-keyexport, and ssh-keydelete). You create SSH keys with a variety of key types and bit sizes using the ssh-keycreate command:

rgrace-dev> ssh-key create

Specify the type of key to create. The possible values are 'dsa' or 'rsa' for protocol version 2.

1. dsa

2. rsa

Enter choice [2]:

Specify the number of bits in the key to create. For RSA keys, the minimum size is 768 bits and the default is 2048 bits. Generally, 2048 bits is considered sufficient. DSA keys must be exactly 1024 bits as specified by FIPS 186-2.

1. 768

2. 1024

3. 2048

4. 4096

Enter choice [3]:

Selected Options:

Key Type    : rsa

Bits        : 2048

Create SSH keys using these options? (y or n):y

Successfully created SSH keys.

After creating SSH keys, you can enable the Use SSH Keys option in the Archive Database, Scheduled Archive and Remote Config Archive feature pages (available under Settings icon –> Database Settings).

When enabled, the SSH public key needs to be installed on the remote SCP servers for operations to be successful. To do so, you export the SSH public key from NetMRI in a variety of formats using the admin shell command ssh-key export. In an OC environment, SSH keys are created only on the Operations Center Controller; in that case, operations that use SSH keys only run on the Controller and not on the Collectors.

...

Use the archive command to manually back up the Event Collector index and related system data. The command’s syntax is the following:

archive [ <startDate [ <archiveName ]]

where

<startDate> may be yesterday (default), today or YYYY-MM-DD

<archiveName> names the file

...

:16 EDT 2011

#######################################################################

2011-04-20 15:02:33 [warn] snmpwalk: No response from remote host '220.10.10.5'

#######################################################################

# EndTime: Wed Apr 20 15:02:33 EDT 2011

#######################################################################

+++ Results stored in snmpwalk-220-10-10-5.txt

Use SCP to connect to the NetMRI appliance to obtain the file.

Anchor
SSH-key Commands
SSH-key Commands
Anchor
bookmark886
bookmark886
ssh-key commands

ssh-key create

ssh-key delete

ssh-key export

NetMRI provides support for outside SCP applications to use SSH keys in lieu of passwords. You can manage SSH keys through a series of admin shell commands (ssh-keycreate, ssh-keyexport, and ssh-keydelete). You create SSH keys with a variety of key types and bit sizes using the ssh-keycreate command:

rgrace-dev> ssh-key create


Specify the type of key to create. The possible values are 'dsa' or 'rsa' for protocol version 2.

1. dsa

2. rsa

Enter choice [2]:

Specify the number of bits in the key to create. For RSA keys, the minimum size is 768 bits and the default is 2048 bits. Generally, 2048 bits is considered sufficient. DSA keys must be exactly 1024 bits as specified by FIPS 186-2.

1. 768

2. 1024

3. 2048

4. 4096

Enter choice [3]:

Selected Options:

Key Type    : rsa

Bits        : 2048

Create SSH keys using these options? (y or n):y

Successfully created SSH keys.

After creating SSH keys, you can enable the Use SSH Keys option in the Archive Database, Scheduled Archive and Remote Config Archive feature pages (available under Settings icon –> Database Settings).

When enabled, the SSH public key needs to be installed on the remote SCP servers for operations to be successful. To do so, you export the SSH public key from NetMRI in a variety of formats using the admin shell command ssh-key export. In an OC environment, SSH keys are created only on the Operations Center Controller; in that case, operations that use SSH keys only run on the Controller and not on the Collectors.