User guide

168 Chapter 5. Command Line Interface Reference
Note: This command requires a save and reboot before it takes effect.
port# Ethernet interface (0 for a single-port router; 0 or 1 for a dual-port router).
logical# New logical interface number. It cannot be 0 because logical interface 0 always exists.
Example: eth add 0:1
ETH DELETE
Deletes a logical interface from an Ethernet port. For more information, see Multiple IP Subnets, on page 76
When you delete a logical interface, all information defined for that interface, such as routes and filters, is deleted
automatically.
To list all currently defined logical interfaces, use the eth list command (page 181).
Note: Logical interface 0 cannot be deleted.
Note: This command takes effect immediately; however, if the change is not saved before the next reboot, the
deletion is lost and the deleted interface reappears after the reboot.
port# Ethernet interface (0 for a single-port router; 0 or 1 for a dual-port router).
logical# Logical interface number. (It cannot be 0.)
Example: eth delete 0:1
ETH IP ADDR
Defines the IP address and subnet mask for an Ethernet port or logical interface.
ipaddr Ethernet LAN IP address (4 decimals separated by periods.)
ipnetmask IP network mask (4 decimals separated by periods.)
interface Ethernet interface. This parameter may be omitted if the router has only one Ethernet interface.
If the router has two physical Ethernet interfaces (an Ethernet hub router), the port number (0 or
1) must be specified.
To specify a logical interface other than logical interface 0, specify both the port number and the
logical interface number (<port #>:<logical #>, for example, 0:1).
Examples:
eth add <port#>:<logical#>
eth delete <port#>:<logical#>
eth ip addr <ipaddr> <ipnetmask> [<interface>]