Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm netdevice - network device operations
Format
rcxadm netdevice create -file file.xml [-nowait] rcxadm netdevice delete -name name [-nowait] rcxadm netdevice list rcxadm netdevice modify -name name -file file.xml [-nowait] rcxadm netdevice set -name name -attr {mode={active [-with_va]|maintenance}|auto_conf={true|false}} [-nowait] rcxadm netdevice show -name name rcxadm netdevice refresh -name name [-recreate] [-nowait] rcxadm netdevice cfbackup -name name [-type type] [-comment comment] [-redundancy] [-nowait] rcxadm netdevice cfmodify -name name [-type config] -number number -comment comment [-nowait] rcxadm netdevice cfmodify -name name -type environment -comment comment [-nowait] rcxadm netdevice cfrestore -name name [-type type] [-nowait] rcxadm netdevice cflist -name name rcxadm netdevice cfexport -name name [-type config] -number number [-dir dir] rcxadm netdevice cfexport -name name -type environment [-dir dir] rcxadm netdevice cfclearerr -name name
Description
rcxadm netdevice is the command used to operate network devices.
Subcommands
Creates a network device.
Information
If two or more pieces of network device information are defined in the network configuration information definition file, the resource creation process is terminated and device registration fails.
When registering two or more network devices for resources in one operation, use the rcxadm netconfig command.
Deletes a network device.
Displays a list of network devices.
The following detailed information is displayed:
Item Name | Description |
---|---|
NAME | Network device name |
IPADDRESS | Admin IP address for the network device |
NETDEVICE_TYPES | Network device type When there is more than one, they are displayed separated by commas. |
STATUS | Network device operation status Displays one of the following:
|
MAINTENANCE | Maintenance mode setting status for the network device Displays either of the following:
|
Modifies a network device.
For a network device, switch the maintenance mode setting or the auto-configuration target.
Displays the detailed information for a network device.
The following information is displayed:
Item Name | Description |
---|---|
Name | Network device name |
SystemName | System name |
IPAddress | Admin IP address |
ProductName | Device name (product name) |
ModelName | Model Name |
VendorName | Vendor Name |
Firmware | Firmware version |
Location | The location of the device is displayed. |
Status | Network device operation status Displays one of the following:
|
StatusCause | If the operational status of the network device is one other than "normal" Displays one of the following:
If the operational status is normal, "-" is displayed. |
NetdeviceTypes | Network device type When there is more than one, they are displayed separated by commas. |
Maintenance | Maintenance mode setting status for the network device Displays either of the following:
|
FabricId | Fabric ID This is only displayed when the network device type is "Fabric" and the fabric type is "C-Fabric". |
Redundancy | Group ID |
Redundancy[GroupDevice] | Group device name When there is more than one, they are displayed separated by commas. |
Port[num] | Port name In num, the index number of a port element is displayed. The number is an integer starting from "0". |
Port[num][Link] | Port link status Displays one of the following:
In num, the index number of a port element is displayed. The number is an integer starting from "0". |
Port[num][PhysicalState] | Port communication status This is displayed in the format of line speed/communication mode. The unit of line speed is in Mbps.
In num, the index number of a port element is displayed. The number is an integer starting from "0". |
Vlan[num] | VLAN ID In num, the index number of a VLAN element is displayed. The number is an integer starting from "0". |
Vlan[num][UntaggedPort] | Name of the port belonging to an Untagged port of VLAN ID In num, the index number of a VLAN element is displayed. The number is an integer starting from "0". |
Vlan[num][TaggedPort] | Name of the port belonging to a Tagged port of VLAN ID In num, the index number of a VLAN element is displayed. The number is an integer starting from "0". |
Link[num][NeighborResourceName] | Name of the resource linked to the port number [num] In num, the index number of a port element is displayed. The number is an integer starting from "0". |
Link[num][NeighborPort] | Name of the port of the resource linked to the port number [num] In num, the index number of a port element is displayed. The number is an integer starting from "0". |
LoginInfo[num][User] | User name of the account In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][IPAddress] | Destination IP address of the account In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][Port] | Destination port number of the account In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][Protocol] | Protocol name used by the account In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][Authority] | Account privileges Displays either of the following:
In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][Tenant] | Tenant name of the account The tenant name is displayed only when the type is "Firewall" or "SLB" and the tenant name has been configured. |
LoginInfo[num][AuthType] | Management method of account authentication information Displays either of the following:
In num, the index number of an account element is displayed. The number is an integer starting from "0". |
LoginInfo[num][LoginCheck] | Check results of account availability Displays one of the following:
In num, the index number of an account element is displayed. The number is an integer starting from "0". |
SnmpCommunityName | SNMP community name |
FaultMonitoringMethod | Method of fault monitoring Displays one of the following:
When there are multiple monitoring methods employed, they are displayed separated by commas. |
FaultMonitoringInterval(s) | Fault monitoring interval (unit: seconds) |
FaultMonitoringRetry | Fault monitoring retry count |
FaultMonitoringTimeout(s) | Fault monitoring timeout (unit: seconds) |
RestoreHistory[Env][RestoreFileDate] | Time when the network device environment file was backed up If restoration has not been performed or the target file has been already deleted, "-" is displayed. |
RestoreHistory[Env][RestoreExecDate] | Date when the network device environment file was backed up If restoration has not been performed, "-" is displayed. |
RestoreHistory[Config][GenerationNumber] | Generation number of the network device configuration file If restoration has not been performed or the target file has been already deleted, "-" is displayed. |
RestoreHistory[Config][RestoreFileDate] | Time when the restore network device configuration file to restore was backed up If restoration has not been performed, "-" is displayed. |
RestoreHistory[Config][RestoreExecDate] | Date when the network device configuration file was backed up If restoration has not been performed, "-" is displayed. |
Updates the configuration information of the network device.
Backs up network device files.
Modifies the comments displayed in COMMENT of the cflist command.
Restores network device files.
Displays the list of network device files that have already been backed up.
The following detailed information is displayed:
Item Name | Description |
---|---|
NUMBER | Generation number of the network device configuration file In the lines where backup failed, "-" is displayed (*). |
BACKUPDATE | Date when the network device file was backed up |
TRIGGER | Trigger for performing network device file backup One of the following is displayed:
|
L-PLATFORM/NETWORK | If the type is "L2-Switch", the name of the network resource is displayed. |
TENANT | The name of the tenant of the L-Platform on which automatic configuration was performed This information is only displayed when TRIGGER is "auto". |
OPERATION | One of the following is displayed:
This information is only displayed when TRIGGER is "auto". |
COMMENT | Specified comment |
* Note: Error lines disappear at one of the following timings:
- When the next generation of the network device configuration file is deleted due to the maximum number of generations being exceeded
- When the rcxadm netdevice cfclearerr command is executed
Exports network device files.
Deletes the error history of backup operations of network device configuration files.
Options
For a network device, switch the maintenance mode settings or the auto-configuration target.
Checks the status of the device. If the device is in the normal state, this option will change the operational status to "normal" and release maintenance mode.
If an error is detected during the status check of the device, failure to release maintenance mode is notified as the command execution result. In this case, it is necessary to take corrective action according to the message that is output, and perform release of maintenance mode again.
Places into maintenance mode.
Use this option to select the network device as a target of auto-configuration.
Use this option not to select the network device as a target of auto-configuration.
In file.xml, specify the XML file that defines the network resource for creation.
For details on the XML file definition, refer to "A.6 Network Configuration Information XML File".
In name, specify the name of a network device.
If an unregistered network device name is specified for name, an error will occur.
Use this option to return directly to the command prompt without waiting for the operation of the network device specified in the subcommand to complete its execution.
In type, specify the file type.
Specify when network device configuration file operations are performed.
Specify when network device environment file operations are performed.
When omitted, "config" is specified.
For the handling of the file names corresponding to each model, refer to "Table: Network Devices that are Supported by Device Configuration File Management" in "10.2.1 Mechanism of Backup and Restoration" in the "Operation Guide CE".
Specify when operating a network device of the same redundant configuration group as the one that the network device specified for name belongs to.
Specify the generation number when a network device configuration file is to be operated.
The generation number can be checked using the cflist subcommand.
Specify the directory to which the file specified for export will be output.
Network device configuration files are output in the following format.
Backup_date_and_time-Network_device_configuration_file_name |
Example
20120921104043-running-config
If the file is an environment file, the file will be output using the filename of the target network device.
Specify the comment for the network device configuration file.
Specify a character string of up to 256 alphanumeric characters or symbols.
Examples
To display a list of network device information.
>rcxadm netdevice list <RETURN> |