Name
[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm netdevice - network device operations
[Linux Manager]
/opt/FJSVrcvmr/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|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.
When the network devices to register are NS appliances, and if there are not enough NS option licenses registered in the ROR manager for the number of NS appliances to register, the message 62596 is output, and registration fails.
Register the necessary number of NS option licenses with the ROR manager, and register the devices again.
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. For virtual appliances, the type is displayed with "(virtual)" added. |
STATUS | Network device operation status One of the following is displayed:
|
MAINTENANCE | Maintenance mode setting status for the network device One of the following is displayed:
|
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 |
PresettingInfo | Details of pre-configuration of network devices
|
Location | The location of the device is displayed. |
Status | Network device operation status One of the following is displayed:
|
StatusCause | If the operational status of the network device is one other than "normal" One of the following is displayed:
If the operational status is normal, "-" is displayed. |
NetdeviceTypes | Network device type When there is more than one, they are displayed separated by commas. For virtual appliances, the type is displayed with "(virtual)" added. |
Maintenance | Maintenance mode setting status for the network device One of the following is displayed:
|
AutoConfiguration | Target status of automatic configuration Displays whether the network device can be selected as the target of auto-configuration. One of the following is displayed:
|
FabricId | Fabric ID This is displayed only when the type of network device is "Fabric". |
PortProfile | Use of the AMPP function during automatic configuration for an Ethernet fabric One of the following is displayed:
This is displayed only when the type of network device is "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 One of the following is displayed:
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". |
Port[num][Type] | Port type For Ethernet fabric, one of the following is displayed:
In num, the index number of a port element is displayed. The number is an integer starting from "0". This is displayed only when the type of network device is "Fabric". |
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". |
AllocatedResources[Firewall] | Firewall name assigned by auto-configuration When there is more than one, they are displayed separated by commas. |
AllocatedResources[SLB] | Server load balancer name assigned by auto-configuration When there is more than one, they are displayed separated by commas. |
AllocatedResources[Network] | Network resource name assigned by auto-configuration When there is more than one, they are displayed separated by commas. |
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 One of the following is displayed:
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 One of the following is displayed:
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 One of the following is displayed:
In num, the index number of an account element is displayed. The number is an integer starting from "0". |
Ruleset[num] | Ruleset name In num, the index number of a ruleset element is displayed. The number is an integer starting from "0". |
Ruleset[num][Info] | Description of a ruleset In num, the index number of a ruleset element is displayed. The number is an integer starting from "0". |
SnmpCommunityName | SNMP community name |
FaultMonitoringMethod | Method of fault monitoring One of the following is displayed:
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. |
VFAB[num][name] | VFAB name This is displayed only when the type of network device is "Fabric". In num, the VFAB index number is displayed. The number is an integer starting from "0". |
VFAB[num][id] | VFAB ID This is displayed only when the type of network device is "Fabric". In num, the VFAB index number is displayed. The number is an integer starting from "0". |
VFAB[num][mode] | VFAB operation mode This is displayed only when the type of network device is "Fabric". One of the following is displayed:
In num, the VFAB index number is displayed. The number is an integer starting from "0". |
VFAB[num1][Tenant][num2] | Name of a tenant using VFAB This is displayed only when the type of network device is "Fabric". Default VFAB information is not displayed. In num1, the VFAB index number is displayed. The number is an integer starting from "0". In num2, the tenant index number is displayed. The number is an integer starting from "0". |
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 which 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 | The name of the L-Platform on which automatic configuration was performed 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 | L-Platform 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 "15.6.1 Creation".
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 10.9 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.
Update the port information of the network device specified in name.
When the number of ports of the network device have increased or decreased due to deletion of L2 switches in the Ethernet fabric, modifying the Ethernet Fabric ID, the domain ID, the switch ID or the port type, it is necessary to specify this option to update the port information.
Examples
To display a list of network device information:
>rcxadm netdevice list <RETURN>
NAME IPADDRESS NETDEVICE_TYPES STATUS MAINTENANCE
---- --------- -------- ------ -----------
cat4503.network.com 192.168.5.17 L2-Switch normal OFF
Firewall1 192.168.5.1 Firewall normal OFF
Firewall2 192.168.5.2 Firewall(virtual) normal OFF
NSappliance1 192.168.5.3 Firewall(virtual) normal OFF
SLB1 192.168.5.4 SLB normal OFF
SLB2 192.168.5.5 SLB normal OFF
ipcomex1 192.168.5.10 Firewall,SLB normal OFF
ipcomex2 192.168.5.11 Firewall,SLB normal OFF
fabric1 192.168.5.100 Fabric normal OFF |
To display the detailed information for a network device (firewall):
>rcxadm netdevice show -name Firewall1 <RETURN>
Name: Firewall1
SystemName: Firewall1
IPAddress: 192.168.5.1
ProductName: IPCOMEXSC
ModelName: IPCOM EX2000 SC
VendorName: Fujitsu
Firmware: E20L10
Location: NUMAZU_B1
Status: error
StatusCause:auto configuration failed
NetdeviceTypes: Firewall
Maintenance: ON
AutoConfiguration: true
Redundancy: 1
Redundancy[GroupDevice]: Firewall1,Firewall2
Port[0]: LAN0.0
Port[0][Link]: up
Port[0][PhysicalState]: 1000M / F
Vlan[0]: 1
Vlan[0][UntaggedPort]: LAN0.1,LAN0.2
Vlan[0][TaggedPort]: LAN0.3
Link[0][NeighborResourceName]: Firewall2
Link[0][NeighborPort]: LAN0.0
AllocatedResources[Firewall]: fw1
AllocatedResources[SLB]:
AllocatedResources[Network]: network1,network2
LoginInfo[0][User]: admin
LoginInfo[0][IPAddress]: 192.168.5.1
LoginInfo[0][Port]: 8080
LoginInfo[0][Protocol]: remote_login
LoginInfo[0][Authority]: administrator
LoginInfo[0][Tenant]: TenantA
LoginInfo[0][AuthType]: local password
LoginInfo[0][LoginCheck]: Successful
Ruleset[0]: Rule1
Ruleset[0][info]: Firewall rule
SnmpCommunityName: public
FaultMonitoringMethod: SNMP
FaultMonitoringInterval(s): 300
FaultMonitoringRetry: 3
FaultMonitoringTimeout(s): 10
RestoreHistory[Env][RestoreFileDate]: 2012/08/02 14:23:05
RestoreHistory[Env][RestoreExecDate]: 2012/08/02 14:43:15
RestoreHistory[Config][GenerationNumber]:1
RestoreHistory[Config][RestoreFileDate]: 2012/08/05 15:16:15
RestoreHistory[Config][RestoreExecDate]: 2012/08/05 15:36:20 |
To display the detailed information for a network device (server load balancer):
>rcxadm netdevice show -name SLB1 <RETURN>
Name: SLB1
SystemName: SLB1
IPAddress: 192.168.5.4
ProductName: IPCOMEXIN
ModelName: IPCOM EX2000 IN
VendorName: Fujitsu
Firmware: E20L10
Location: NUMAZU_B1
Status: normal
NetdeviceTypes: SLB
Maintenance: OFF
AutoConfiguration: true
Redundancy: 2
Redundancy[GroupDevice]: SLB1,SLB2
Port[0]: LAN0.0
Port[0][Link]: up
Port[0][PhysicalState]: 1000M / F
Vlan[0]: 1
Vlan[0][UntaggedPort]: LAN0.1,LAN0.2
Vlan[0][TaggedPort]: LAN0.3
Link[0][NeighborResourceName]: SLB2
Link[0][NeighborPort]: LAN0.0
AllocatedResources[Firewall]:
AllocatedResources[SLB]: slb1
AllocatedResources[Network]: network1,network2
LoginInfo[0][User]: admin
LoginInfo[0][IPAddress]: 192.168.5.4
LoginInfo[0][Port]: 8080
LoginInfo[0][Protocol]: remote_login
LoginInfo[0][Authority]: administrator
LoginInfo[0][Tenant]: TenantA
LoginInfo[0][AuthType]: local password
LoginInfo[0][LoginCheck]: Successful
Ruleset[0]: Rule1
Ruleset[0][info]: SLB rule
SnmpCommunityName: public
FaultMonitoringMethod: SNMP
FaultMonitoringInterval(s): 300
FaultMonitoringRetry: 3
FaultMonitoringTimeout(s): 10
RestoreHistory[Env][RestoreFileDate]: 2012/08/02 3:43:15 PM
RestoreHistory[Env][RestoreExecDate]: 2012/08/02 3:54:15 PM
RestoreHistory[Config][GenerationNumber]:1
RestoreHistory[Config][RestoreFileDate]: 2012/08/05 3:20:07 PM
RestoreHistory[Config][RestoreExecDate]: 2012/08/05 3:31:24 PM |
To display the detailed information for a network device (Ethernet fabric switch):
>rcxadm netdevice show -name fabric1 <RETURN>
Name: fabric1
SystemName: fabric_1
IPAddress: 192.168.5.100
ProductName: Converged Fabric
ModelName: Converged Fabric
VendorName: Fujitsu
Firmware:V01.00
Location: NUMAZU_B1
Status: normal
StatusCause: -
NetdeviceTypes: Fabric
Maintenance: OFF
AutoConfiguration: true
FabricId: 1
PortProfile: enable
Redundancy:
Redundancy[GroupDevice]:
Port[0]: 1/1/0/1
Port[0][Link]: up
Port[0][PhysicalState]: 10G / F
Port[0][Type]: CIR
Link[0][NeighborResourceName]: ipcomex2500in-1
Link[0][NeighborPort]: LAN0.1
AllocatedResources[Firewall]:
AllocatedResources[SLB]:
AllocatedResources[Network]: network1,network2
LoginInfo[0][User]: user1
LoginInfo[0][IPAddress]: 192.168.5.100
LoginInfo[0][Port]: 22
LoginInfo[0][Protocol]: ssh
LoginInfo[0][Authority]: user
LoginInfo[0][Tenant]:
LoginInfo[0][AuthType]: Local password
LoginInfo[0][AccessCheck]: OK
Ruleset[0]:
Ruleset[0][info]:
SnmpCommunityName: public
FaultMonitoringMethod: SNMP
FaultMonitoringInterval(s): 300
FaultMonitoringRetry: 3
FaultMonitoringTimeout(s): 10
RestoreHistory[Env][RestoreFileDate]:
RestoreHistory[Env][RestoreExecDate]:
RestoreHistory[Config][GenerationNumber]:
RestoreHistory[Config][RestoreFileDate]:
RestoreHistory[Config][RestoreExecDate]:
VFAB[0][name]: defaultVFAB
VFAB[0][id]: default
VFAB[0][mode]: network
VFAB[1][name]: VFAB1
VFAB[1][id]: 1
VFAB[1][mode]: host
VFAB[1][Tenant][0]: tenantG
VFAB[1][Tenant][1]: tenantH |
To display the list of network device files:
>rcxadm netdevice cflist -name Firewall1 <RETURN>
NUMBER BACKUPDATE TRIGGER L-PLATFORM/NETWORK TENANT OPERATION COMMENT
---------- ------------------- ------- -------------------------------- -------------------------------- ---------- -------
0 2012/09/02 13:07:52 create - - - -
1 2012/09/02 14:55:10 auto Platform-A Tenant-A create test1
- 2012/09/02 15:55:20 auto Platform-A Tenant-A delete test2
2 2012/09/02 15:56:15 command - - - -
env 2012/09/02 14:23:05 - - - - - |