DGS-1210/ME Metro Ethernet Switch CLI Reference Guide
295
36
BASIC IP COMMANDS
The Basic IP commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters)
in the following table.
Command
Parameter
create ipif
<ipif_name 12> <network_address> <vlan_name 32> state [enable | disable]
delete ipif
[<ipif_name 12> | all]
enable ipif
[<ipif_name 12> | all]
disable ipif
[<ipif_name 12> | all]
config ipif
<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} }
show ipif
<string>
Each command is listed in detail, as follows:
create ipif
Purpose
To create an IP interface on the switch.
Syntax
create ipif <ipif_name 12> <network_address> <vlan_name 32>
state [enable | disable]
Description
The
create ipif
command will create an IP interface.
Parameters
<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.
Restrictions
Only Administrator or operator-level users can issue this command.
Example usage:
To create an IP interface:
DGS-1210-28MP/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.
DGS-1210-28MP/ME:5#