Specifications
Chapter 8. Command Reference 229
ETH (Target Router Ethernet LAN Bridging and Routing)
The following commands allow you to configure the Ethernet interfaces in your router. You can:
¥ Set the Ethernet LAN IP address
¥ Define logical interfaces to provide service to multiple IP subnets
¥ Manage the contents of the default routing table and any virtual routing tables
¥ Enable and disable IP routing
¥ List the current configuration settings
Note: In general, these commands require a save and reboot before they take effect. However, changes made to
IP filters and to virtual routing tables take effect immediately; the changes are lost, though, if they are not saved
before the next reboot.
ETH ?
Lists the supported keywords.
Example:
# eth ?
Ethernet commands:
? add delete
br ip ipx
list mtu
# eth ip ?
eth ip sub-commands
? addr ripmulticast
options enable disable
firewall directedBcast addroute
delroute defgateway bindRoute
unbindRoute filter
ETH ADD
Adds a logical interface onto an Ethernet port so that the router can provide service to multiple IP subnets. The eth
add command defines the port number and logical interface number. You should then use an eth ip addr
command to define the IP subnet that uses the logical interface. For more information, see Multiple IP Subnets, on
page 77.
A logical interface 0 always exists for Ethernet port 0 (and for port 1 in a dual-port router); logical interface 0
cannot be deleted.
Once defined, routes and filters can be created for the new logical interface using the other eth commands in this
section. To list the currently defined logical interfaces, use the eth list command (page 248). To remove a logical
interface, use an eth delete command (page 230).
eth ?