ifconfig -T system:mm[x] (-eth0 | -eth1) <enabled | disabled> <-c static> <-g gateway-address> <-i static-ip-address> <-s subnet-mask>
Command supported by JUNOS Release 9.1 and later.
(JCS management module CLI) Configure or display the JCS management module Ethernet interface.
-T system:mm[x]—Specify a JCS management module as the command target. Replace x with the primary management module number (1 or 2). The JCS management module is the only valid target available for this command.
-eth0 | -eth1—Specify Ethernet channel 0 or Ethernet channel 1.
enabled | disabled—(Optional) Enable or disable the Ethernet interface on the JCS management module.
-c static—(Optional) Specify static IP configuration.
-g gateway-address—(Optional) Gateway IP address of the Ethernet interface on the JCS management module.
-i static-ip-address—(Optional) Static IP address of the Ethernet interface on the JCS management module.
-s subnet-mask—(Optional) Subnet mask of the Ethernet interface on the JCS management module.
operator (display)
supervisor (display or configure)
Table 10 lists the output fields for the ifconfig command. Output fields are listed in the approximate order in which they appear.
Table 10: ifconfig Output Fields
system> ifconfig -T system:mm[1] -eth0
Enabled -i 192.168.171.96 -g 192.168.171.254 —s 255.255.252.0 -c static
system> ifconfig -T system:mm[1] —eth0
-c static —i 157.210.171.96 -g 157.210.171.254 —s 255.255.252.0
OK