CLI Guide

Table Of Contents
lancfgparams
Table 303. lancfgparams
Option Sub-option Valid Arguments Description
lancfgparams or
lcp
Configures and displays LAN configuration
parameters. This option can be replicated.
--ipaddrsrc static, dhcp
Sets the IP address source for the LAN
channel. This sub-option can be replicated.
--ipaddress <ipaddress>
Sets the IP address for the LAN channel. This
sub-option cannot be replicated.
--subnetmask <subnetmask>
Sets the subnet mask for the LAN channel.
This sub-option can be replicated.
--gateway <gateway>
Sets the gateway for the LAN channel. This
sub-option can be replicated.
--commstring <string>
Sets the community string (maximum of 16
printable ASCII characters) used in a platform
event trap (PET). This sub-option can be
replicated.
--destipaddr <ipaddress>
Sets the destination IP address or Fully
Qualified Domain Name (FQDN) for the alert
destination specified with the alertdest
sub-option.
The destipaddr sub-option is dependent
on the alertdest sub-option. If the
alertdest sub-option is not specified on
the command line, the first alert destination
(alertdest=1) is set with this IP address or
FQDN. This sub-option can be replicated.
NOTE: FQDN is applicable only for
destipaddr option and is supported only
on PowerEdge 12G systems.
Example 1 (to set the destination IP address):
A:>syscfg lcp --alertdest=1 --
destipaddr=192.168.100.15
Example 2 (to set the destination IP address
as FQDN):
A:>syscfg lcp --alertdest=1 --
destipaddr=xxx.yyy.com
--alertdest 1, 2, 3, 4
Sets the destination for the LAN alert. This
sub-option can be replicated.
--vlantag enable,
disable
Enables or disables VLAN tagging. This sub-
option can be replicated.
--vlanid <string>
Sets the 12-bit VLAN ID. This sub-option can
be replicated.
--vlanpriority 07
Sets the VLAN priority value. This sub-option
can be replicated.
--macaddress
NA Displays the BMC MAC address. This sub-
option cannot be replicated.
SYSCFG 145