Chapter 5 Interfaces
5.2.1 Basic Interface Properties and IP Address Commands
This table lists basic properties and IP address commands.
Table 13 interface Commands: Basic Properties and IP Address Assignment
COMMAND
show interface {ethernet | vlan | bridge | ppp
| auxiliary} status
show interface {interface_name | ethernet |
vlan | bridge | ppp | virtual ethernet |
virtual vlan | virtual bridge | auxiliary |
all}
show interface summary all
show interface summary all status
[no] interface interface_name
[no] shutdown
[no] description description
[no] ip address dhcp
[no] ip address ip subnet_mask
[no] ip gateway ip
ip gateway ip metric <0..15>
5.2.1.1 Basic Interface Properties Command Examples
The following commands make Ethernet interface ge1 a DHCP client.
Router# configure terminal
Router(config)# interface ge1
Router(config-if)# ip address dhcp
Router(config-if)# exit
50
DESCRIPTION
Displays the connection status of the specified type
of interfaces.
Displays information about the specified interface,
specified type of interfaces, or all interfaces.
Displays basic information about the interfaces.
Displays the connection status of the interfaces.
Creates the specified interface if necessary and
enters sub-command mode. The
deletes the specified interface.
Deactivates the specified interface. The
command activates it.
Specifies the description for the specified interface.
The
no
command clears the description.
description: You can use alphanumeric and
characters, and it can be up
()+/:=?!*#@$_%-
to 60 characters long.
Makes the specified interface a DHCP client; the
DHCP server gives the specified interface its IP
address, subnet mask, and gateway. The
command makes the IP address static IP address
for the specified interface. (See the next command
to set this IP address.)
Assigns the specified IP address and subnet mask
to the specified interface. The
the IP address and the subnet mask.
Adds the specified gateway using the specified
interface. The
command removes the gateway.
no
Sets the priority (relative to every gateway on every
interface) for the specified gateway. The lower the
number, the higher the priority.
ZyWALL (ZLD) CLI Reference Guide
no
command
no
no
no
command clears