4.3.34.2 ALTER SWITCH

This command alters attributes of an individual switch.

Syntax

ALTER SWITCH
   { DNSSERVERS='dns_servers' | 
     NTPSERVERS='ntp_servers' |
     TIMEZONE=time_zone | 
     DESCRIPTION=description | 
     ULOC=ulocation | 
     IBPARTITIONMEMBERSHIP=pkey_membership } ... 
WHERE 
   { ID=switch_id | 
     HOSTNAME=switch_name }

Arguments

You can modify the following attributes for a switch:

  • DNSSERVERS: Specifies a comma-separated list of DNS servers that is enclosed in single quotes

  • NTPSERVERS: Specifies a comma-separated list of NTP servers that is enclosed in single quotes

  • TIMEZONE: Specifies a valid time zone for the switch

  • DESCRIPTION: Specifies a description for the switch

  • ULOC: Specifies physical rack location for the switch

  • IBPARTITIONMEMBERSHIP: Specifies the switch pkey membership

The following arguments are available in the WHERE clause:

  • ID: Specifies the switch identifier in the XML configuration file

  • HOSTNAME: Specifies the host name of the switch