6 Command Line Interface D-Link Smart Managed Switch User Manual
1
1
5
5
1
1
DGS-1210-52MP> config configuration config_id 1 boot_up
Success.
DGS-1210-52MP>
config ipif system
Purpose To configure the System IP interface.
Syntax config ipif <ipif_name> { ipaddress <ip-address> <subnet-
mask> gateway <gw-address> | dhcp | bootp }
Description The config ipif system
command configures the System IP
interface on the Switch.
Parameters <ipif_name> − Specifies the ipif name to be configured.
ipaddress <ip-address> <subnet-mask> −
subnet mask to be created. Users need to specify the address
and mask information using the traditional format (for
example,10.1.2.3/255.0.0.0)
gateway <gw-address> −
The IP address of the router or
gateway.
dhcp −
Allows the selection of the DHCP protocol for the
assignment of an IP address to the Switch’s System IP interface.
bootp − Allows the selection of the BOOTP to the switch.
Restrictions None.
Example usage:
To configure the IP interface System:
DGS-1210-52MP> config ipif System ipaddress 10.48.74.122/8
Success.
DGS-1210-52MP>
Purpose To configure the System IPv6 interface.
Syntax config ipif <ipif_name> { ipv6 ipv6address
<ipv6networkaddr> | dhcpv6_client [enable | disable] }
Description The config ipif system command configures the System IPv6
interface on the Switch.
Parameters <ipif_name> − Specifies the ipif name to be configured.
ipv6 ipv6address <ipv6networkaddr> −
Use this parameter to
statically assign an IPv6address to this interface. This address
should define a host address and a
Multiple IPv6 addresses can be configured for a
interface. Ex: 3ffe:501:ffff:100::1/64. The /64 represents the prefix
length of the IPv6 addresses.
dhcpv6_client [enable | disable] − Specifies the DHCPv6 client to
be disabled or enabled.