4.3.34.1 ADD SWITCH

Add a new switch to a rack in the Engineered System XML file.

Syntax

ADD SWITCH
WHERE
   { RACKID=rack_id |
     RACKNUMBER=rack_number }
SET ADMINNET NAME=admin_name, IP=admin_ip [ , GATEWAY=gateway, NETMASK=netmask ]
SET DESCRIPTION VALUE=description
[ SET IBPARTITIONMEMBERSHIP VALUE=pkey_membership ]
[ SET ULOC VALUE=ulocation ]
[ SET TIMEZONE VALUE=timezone ]
[ SET DNSSERVERS IP1=dns_ip1, IP2=dns_ip2, IP3=dns_ip3 ]
[ SET NTPSERVERS IP1=ntp_ip1, IP2=ntp_ip2, IP3=ntp_ip3 ]

Arguments

The following arguments are available in the WHERE clause:

  • RACKID: Specifies the rack identifier in the XML configuration file

  • RACKNUMBER: Specifies the rack number in the XML configuration file

You can set the following options for the new rack:

  • ADMINNET: Specifies the details for the administration network.

  • DESCRIPTION: Specifies a description for the switch

  • IBPARTITIONMEMBERSHIP: Specifies the switch pkey membership

  • ULOC: Specifies physical rack location for the switch

  • TIMEZONE: Specifies a valid time zone for the switch

  • DNSSERVERS: Specifies the DNS servers to set in the switch configuration

  • NTPSERVERS: Specifies the NTP servers to set in the switch configuration