IP CLI Commands
2/1553-ZAT 759 94 Uen B – December 2005
327
12.62
ip interface list secondaryipaddresses
12.62.1 Syntax
ip interface {<name>|<number>} list secondaryipaddresses
12.62.2 Description
This command lists the secondary IP addresses (and netmasks if applicable)
that have been added to an existing IP interface using the
ip interface
add secondaryipaddress
command.
12.62.3 Options
The following table gives the range of values for each option which can be
specified with this command and a default value (if applicable).
Option Description
Default
value
name
A name that identifies an existing IP
interface. To display interface names,
use the
ip list interfaces
command.
N/A
number
A number that identifies an existing IP
interface. To display interface
numbers, use the
ip list
interfaces
command. The number
appears in the first column under the
heading ID.
N/A
12.62.4 Example
-->
ip interface ip1 list secondaryipaddresses
Secondary IP addresses for interface: ip1
ID | IP Address | Netmask
-----|------------------|-----------------
1 | 192.168.104.6 | 255.255.255.0
2 | 192.168.103.4 | 0.0.0.0
3 | 192.168.103.2 | 0.0.0.0
------------------------------------------