DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
131
18
B
ASIC
IP
C
OMMANDS
The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
config ipif
[System] [{ ipaddress <network_address> | vlan <vlan_name 32> | state [enable|disable]} |
bootp | dhcp | dhcp_option12 [hostname <hostname 63> |clear_hostname | state
[enable|disable]]]
show ipif
enable autoconfig*
Each command is listed, in detail, in the following sections.
*See Switch Utility Commands for descriptions of all autoconfig commands.
config ipif
Purpose
Used to configure the System IP interface.
Syntax
config ipif [System] [{ ipaddress <network_address> | vlan <vlan_name 32> | state
[enable|disable]} | bootp | dhcp | dhcp_option12 [hostname <hostname 63>
|clear_hostname | state [enable|disable]]]
Description
This command is used to configure the System IP interface on the Switch.
Parameters
System
−
Enter System.
ipaddress <network_address>
−
IP address and netmask of the IP interface to be created.
Users can specify the address and mask information using the traditional format (for
example, 10.1.2.3/255.0.0.0 or in CIDR format 10.1.2.3/8).
<vlan_name 32>
−
The name of the VLAN corresponding to the System IP interface.
state [enable | disable]
−
Allows users to enable or disable the IP interface.
bootp
−
Allows the selection of the BOOTP protocol for the assignment of an IP address to
the Switch’s System IP interface.
dhcp
−
Allows the selection of the DHCP protocol for the assignment of an IP address to
the Switch’s System IP interface. If users are using the autoconfig feature, the Switch
becomes a DHCP client automatically so it is not necessary to change the ipif settings.
dhcp_option12 [hostname <hostname 63>
−
Allows users to specify the option12
hostname.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure the IP interface System:
DES-1228/ME:4#config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DES-1228/ME:4#