DGS-3200 Series Layer 2 Gigabit Managed Switch CLI Manual
209
27
Basic IP Command List
config ipif <ipif_name>[{ipaddress<network_address> |vlan<vlan_name >|state [ enable|disable]}|
bootp |dhcp | ipv6 ipv6address <ipv6networkaddr>]
create ipif <ipif_name > {<network_address>} <vlan_name > {state [enable|disable]}
delete ipif [<ipif_name > {ipv6address <ipv6networkaddr>} | all]
enable ipif [<ipif_name 12> | all]
disable ipif [<ipif_name 12> | all ]
show ipif {<ipif_name 12>}
enable ipif_ipv6_link_local_auto [<ipif_name 12> | all ]
disable ipif_ipv6_link_local_auto [<ipif_name 12> | all ]
show ipif_ipv6_link_local_auto {<ipif_name 12>}
27-1 config ipif
Purpose
Used to configure the specified IP interface.
Format
config ipif <ipif_name>[{ipaddress<network_address> |vlan<vlan_name >|
state [ enable|disable]}| bootp |dhcp | ipv6 ipv6address <ipv6networkaddr>]
Description
The
config ipif
command configures the specified IP interface.
Parameters
Parameters
Description
ipif_name
The name of the IP interface.
vlan_name
The name of the VLAN corresponding to the System IP interface.
network_address
The IP address and netmask of th IP interface to be created. You 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/16).
state
Allows you 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.
ipv6networkaddr
The IPv6 address and subnet prefix of the IPV6 address to be create.