Dell PowerEdge FX2 Dell PowerEdge FX2 and FX2s Enclosure Owners Manual - Page 76

setractime, IPv4Address, netmask, gateway, IPv6 Prefix Length

Page 76 highlights

Input Example setractime Description Synopsis Input • racadm setniccfg -s • racadm setniccfg -s6 • racadm setniccfg -o • -d - Enables DHCP for the NIC (default is "DHCP disabled".) • -d6 - Enables AutoConfig for the NIC. It is enabled by default. • -s - Enables static IP settings. The IPv4 address, netmask, and gateway can be specified. Otherwise, the existing static settings are used. < IPv4Address >, < netmask >, and < gateway > must be typed as dotseparated strings. racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1 • -s6 - Enables static IPv6 settings. The IPv6 address, Prefix Length, and the IPv6 gateway can be specified. • -o - Enable or disable NIC. • -m - Must be one of the following values: - chassis: Default state if - m is not specified. - server-n: where n=1-4 - server-nx: where n=1-4; x=a-d (lower case) - switch-n: where n=1-2 • racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1 • racadm setniccfg -d • racadm setniccfg -d6 Sets the date and time on the CMC. To use this subcommand, you must have the Administrator privilege. • racadm setractime -d • racadm setractime -l YYYYMMDDhhmmss • racadm setractime -z {?|timezone|timezone-prefix*} • -d - Sets the time in the string yyyymmddhhmmss.mmmmmmsoff where: - yyyy is the year - mm is the month - dd is the day - hh is the hour - mm is the minutes - ss is the seconds 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142

racadm setniccfg -s <
IPv4Address
> <
netmask
> <
IPv4
gateway
>
racadm setniccfg -s6 <
IPv6 Address
> <
IPv6 Prefix Length
>
<IPv6 Gateway>
racadm setniccfg -o
Input
-d — Enables DHCP for the NIC (default is “DHCP disabled”.)
-d6 — Enables AutoConfig for the NIC. It is enabled by default.
-s — Enables static IP settings. The IPv4 address, netmask, and gateway
can be specified. Otherwise, the existing static settings are used. <
IPv4Address
>, <
netmask
>, and <
gateway
> must be typed as dot-
separated strings.
racadm setniccfg -s 192.168.0.120 255.255.255.0 192.168.0.1
-s6 — Enables static IPv6 settings. The IPv6 address, Prefix Length, and
the IPv6 gateway can be specified.
-o — Enable or disable NIC.
-m<module> — Must be one of the following values:
chassis
: Default state if - m is not specified.
server-n
: where n=1–4
server-nx
: where n=1–4; x=a-d (lower case)
switch-n
: where n=1–2
Example
racadm setniccfg -s 192.168.0.120 255.255.255.0
192.168.0.1
racadm setniccfg -d
racadm setniccfg -d6
setractime
Description
Sets the date and time on the CMC.
To use 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 year
— mm is the month
— dd is the day
— hh is the hour
— mm is the minutes
— ss is the seconds
76