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#
Содержание DGS-1210/ME series
Страница 61: ...DGS 1210 ME Metro Ethernet Switch CLI Reference Guide 41 Sending mail please wait Success DGS 1210 28MP ME 5 ...
Страница 186: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 166 DGS 1210 28MP ME 5 ...
Страница 190: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 170 Success DGS 1210 28MP ME 5 ...
Страница 386: ...DGS 1210 Metro Ethernet Managed Switch CLI Reference Guide 366 Port Max Group 1 v6 256 3 v6 256 DGS 1210 28MP ME 5 ...