The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
create ipif
delete ipif
enable ipif
disable ipif
config ipif
show ipif
Each command is listed in detail, as follows:
create ipif
Purpose
Syntax
Description
Parameters
Restrictions
Example usage:
To create an IP interface:
DES-1210-52/ME L2 Metro Ethernet Switch CLI Reference Guide
Parameter
<ipif_name 12> <network_address> <vlan_name 32> state [enable | disable]
[<ipif_name 12> | all]
[<ipif_name 12> | all]
[<ipif_name 12> | all]
<ipif_name 12> { ( [ipaddress <network_address>] [vlan <vlan_name 32>] [state
{enable | disable}] ) | dhcp | ipv6 {ipv6address <ipv6networkaddr> | state {enable
| disable}} | ipv4 state {enable | disable} | dhcp_option12 { hostname <hostname
63> | clear_hostname | state {enable | disable} } | dhcpv6_client {enable |
disable} }
<string>
To create an IP interface on the switch.
create ipif <ipif_name 12> <network_address> <vlan_name 32>
state [enable | disable]
The create ipif command will create an IP interface.
<ipif_name 12> - Specifies the IP interface name to be created.
<network_address> - IP address and netmask of the IP interface to
be created.
<vlan_name 32> - The name of the VLAN that will be associated
with the above IP interfact.
state [enable | disable] – Specifies to enable or disable the IP
interface.
Only Administrator or operator-level users can issue this command.
DES-1210-52/ME:5# create ipif ip2 10.1.2.3/255.0.0.0 default state
enable
Command: create ipif ip2 10.1.2.3/255.0.0.0 default state enable
Success.
DES-1210-52/ME:5#
BASIC IP COMMANDS
237
31