Media Flow Controller CLI Commands : interface

interface
Configure network interfaces. See “Configuring Interfaces, Hostname, Domain List, DNS, and Default Gateway” on page 59 for task details.
interface <interface_name>
alias <alias_index> ip address <IP_address> <netmask>
arp {enable | disable}
bond <bonded_interface>
comment <comment>
dhcp [renew]
duplex {half | full | auto}
identify <number>
ip address <IP_address> <netmask>
mtu <mtu_size_in_bytes>
shutdown
speed {<speed> | 10 | 100 | 1000 | 10000 | auto}
zerofconf
Create an interface with a name; use no interface <interface_name> to delete. Notes:
alias— Add or delete (with no) a secondary address to the specified interface. The alias_index creates a pseudo interface; its address appears in the output of show interface under the primary interface's data.
arp—Disable or enable (default) ARP (address resolution protocol) broadcasts on a specified interface. This option is specific to broadcast networks such as Ethernet or packet radio. It enables (or disables) the use of the Address Resolution Protocol (ARP) to detect the physical addresses of hosts attached to the network. Disabling ARP on an interface supports Direct Server Return: using the Server Load Balancer (SLB) to load balance incoming requests to the server farm, and letting the return traffic from the server bypass SLB by being sent directly to the client. See “Media Flow Controller Load Balancing (LB) Direct Server Return (DSR) Guidelines” on page 61 for more information.
bond—Add or delete (with no) the named interface from the specified bonding interface. See bond for more link aggregation details.
comment—Add or delete (with no) a comment for the specified interface.
dhcp—Enable or disable (with no) use of DHCP on the specified interface. This gets the IP address and netmask via DHCP so those settings are ignored. Setting the IP address and netmask disables DHCP implicitly, though it can also be disabled explicitly using the no form of this command or by enabling zerofconf (described below). Use renew to force a restart on the DHCP client for the specified interface. Default is disabled.
duplex—Set or clear (with no) the interface duplex. Default is auto, which also sets interface speed to auto. Setting one of the manual settings, half or full, also sets the speed to a manual setting that is determined by querying the interface to find out its current auto-detected state. Juniper Networks recommends keeping the default (auto). Important! Changing the duplex setting can interfere with auto-configuration operations and should be avoided.
identify—Select an interface and set identify <number> to flash the LED of that interface that number of seconds.
IP_address—Set or clear (with no) this interface’s IP address and netmask. Important! If you change an interface’s IP address, you must run the service restart command for the mod_delivery (progressive download) service on that interface.
mtu—Set the interface MTU. Default is 1500. Juniper Networks recommends keeping the default. Use no interface <interface_name> mtu to reset default.
shutdown—Enable or disable (with no) the specified interface.
speed—Set or clear (with no) the interface speed. Default is auto, which also sets duplex to auto. Setting one of the manual settings (generally 10, 100, or 1000) also sets the interface duplex to a manual setting that is determined by querying the interface to find out its current auto-detected state. Important! Changing the speed setting can interfere with auto-configuration operations and should be avoided.
show interface [<interface_name> [configured] [brief]]
Display information about the specified interface, or all interfaces if one is not named. Includes Admin state (whether or not the interface is enabled; up means it is enabled), Link state (up means there is a cable plugged into that interface and it is “live” – connected to something which is turned on at the other side, i.e. a switch, router, or another computer), and the current TX (transmissions out) and RX (transmissions received) statistics. Detailed information is given by default; use the subcommands to modify that. Notes:
brief—Display abbreviated runtime state, the interface statistics are excluded.
configured—Display configuration of the interface, rather than its runtime state.

Report an Error
Media Flow Controller Administrator's Guide and CLI Command Reference
Copyright © 2010 Juniper Networks, Inc.