Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    ifconfig (JCS Management Module)

    Syntax

    ifconfig -T system:mm[x] (-eth0 | -eth1) <enabled | disabled> <-c static> <-g gateway-address> <-i static-ip-address> <-s subnet-mask>

    Release Information

    Command supported by Junos OS Release 9.1 and later.

    Description

    (JCS management module CLI) Configure or display the JCS management module Ethernet interface.

    Options

    -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.

    Required Privilege Level

    operator (display)

    supervisor (display or configure)

    List of Sample Output

    ifconfig (Display)
    ifconfig (Configure)

    Output Fields

    Table 1 lists the output fields for the ifconfig command. Output fields are listed in the approximate order in which they appear.

    Table 1: ifconfig Output Fields

    Field Name

    Field Description

    -i

    IP address of the Ethernet interface on the JCS management module.

    -g

    Gateway IP address of the Ethernet interface on the JCS management module.

    -s

    Subnet mask of the Ethernet interface on the JCS management module.

    -c

    Configuration method (static) for the Ethernet interface on the JCS management module.

    Sample Output

    ifconfig (Display)

    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

    ifconfig (Configure)

    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

    Published: 2013-07-16