Nortel Networks BSGX4e Network Router User Manual


 
Interface commands 3 Configuration commands
52 NN47928-107
interface ip
Use this command to configure the IP settings of the BSGX4e interfaces.
The interface ip command also configures the Ethernet settings (speed and
mode) for the Ethernet interfaces.
Syntax config interface ip [eth0|eth1] ip <ip address/mask> mtu
<bytes> dhcpclient [no|yes] status [up|down] speed
[Auto|10Half|10Full|100Half|100Full]
Parameters if eth0|eth1 Specify the interface type.
ip ip address/mask
Specify the IP address and mask of the
interface. Specify an address only if DHCP is
disabled. The address/mask can be specified
with dotted-decimal or CIDR notation (for
example, 192.168.15.33/255.255.255.0 or
192.168.15.33/24). The default is 0.0.0.0/
0.0.0.0.
dhcpclient no|yes Enable/disable DHCP for this interface. The
default is yes for the WAN and no for the LAN.
status up|down Enable/disable the interface. The default is up.
speed Auto|10Half|10Full|100Half|100Full
Configure the speed and duplex mode for eth0.
For auto-negotiation, specify auto; otherwise,
specify 10 or 100 Mbps and half or full
duplex.
Example The following example enables DHCP service for the eth0 interface.
> config interface ip eth0 dhcp
Example The following example configures a static IP address for the WAN interface
and disables DHCP service.
> config interface ip eth0 ip 172.29.19.10/16 dhcp off
Related
commands
display interface ip
del interface ip
display interface ip
show interface ip
stats interface ip