CLI Guide
– server–<n>: where n=1–16
– server–<nx>: where n=1–8; x=a–d (lower case)
– switch–<n>: where n=1–6
• -v — VLAN settings has following legal values: no arguments imply remove VLAN tag, not compatible with
server–nx (for example "server–4b") notation <vlan_id>=between 1 and 4000, 4021 and 4094, inclusive
<vlan_priority>=between 0 and 7, inclusive.
• -p — Disables IPv4(default) or IPv6 protocol.
• -k — Option has following legal values: no arguments imply autonegotiate <speed>=10, 100 <duplex> =half,
full.
NOTE:
• -o, -k, -p: These options can be specied for chassis only
• -6: Sets static IPv6 addresses (with -soption). Enables autocong for IPv6 (with-d option) disables IPv6
(with
-p option) can be specied for chassis or servers.
• -v: When performing on a switch, release and renew any DHCP lease on that port for changes to take
eect.
Example
• Conguration of Speed= 100 Mbps and duplex= full duplex.
racadm setniccfg -k 100 full
• Conguration of Speed and Duplex to Autonegotiate.
racadm setniccfg -k
• Conguration of VLAN id and priority of a slot or all blades in a sleeve.
racadm setniccfg -i 5 -v 1000 7
• Conguration of CMC to a static IPv6 address.
racadm setniccfg -m chassis -s -6 2001:DB8::2 64 2001:DB8::1
• Conguration of server to use stateless autoconguration address.
racadm setniccfg -m server-1 -d -6
• Conguration of VLAN id and priority for a switch.
racadm setniccfg -m switch-1 -v 1000 7
• Removal of VLAN conguration from a switch.
racadm setniccfg -m switch-1 -v
• Conguration of redundant mode
racadm setniccfg -r 1
setractime
Table 113. Details of setractime attribute
Description Sets the date and time on the CMC.
To run this subcommand, you must have the Administrator privilege.
Synopsis
• racadm setractime -d <YYYYMMDDhhmmss.mmmmmmsoff>
• racadm setractime -l <YYYYMMDDhhmmss>
• racadm setractime -z ?|<timezone>|<timezone-prefix>*
Input
• -d — Sets the time in the string YYYYMMDDhhmmss.mmmmmmsoff, where:
– YYYY is the four digit year
– MM is the month
– DD is the day
80 RACADM Subcommand Details