Shelf manager CLI commands
Using the shelf manager CLI
FortiGate-5140B Chassis Guide
46
01-500-156415-20151104
getlanconfig
clia getlanconfig <channel> [[<parameter_name>
[<additional_parameters>]] | [<parameter_number>
[<additional_parameters>]]
This command displays the LAN configuration parameters on the specified
<channel>
.
You can enter a
<parameter_name>
or the corresponding
<parameter_number>
number to display information for a configuration parameter.
lists some
commonly used
<parameter_names>
and
<parameter_numbers>
.
Displaying all configuration parameters for a channel
If you do not include a
<parameter_name>
or
<parameter_number>
all configuration
parameters for the specified channel are displayed. See
“Changing the shelf manager IP
address and default gateway” on page 40
for an example of using this command to
display the shelf manager LAN configuration.
Displaying specific parameters for a channel
Enter the following command to display the IP address associated with channel 1:
# clia getlanconfig 1 ip
Pigeon Point Shelf Manager Command Line Interpreter
IP Address: 192.168.0.2
The following command also displays the IP address associated with channel 1:
# clia getlanconfig 1 3
Pigeon Point Shelf Manager Command Line Interpreter
IP Address: 192.168.0.2
The following command displays the subnet mask associated with channel 1:
# clia getlanconfig 1 subnet_mask
Pigeon Point Shelf Manager Command Line Interpreter
Table 10: Commonly used getlanconfig parameter name and parameter numbers
<parameter_name>
<parameter_number>
Description
ip
3
A string value that contains the IP
address assigned to the LAN channel
in dotted decimal notation. For
example, 192.168.0.2.
subnet_mask
6
A string value that contains the
subnet mask assigned to the LAN
channel in dotted decimal notation.
For example, 255.255.255.0.
dft_gw_mac
13
A string value that contains the MAC
address of the default gateway as 6
hexadecimal byte values delimited by
‘:’ symbols. For example,
00 : 1A :
a0 : 2F : BC : C6
.