D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
22
5
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 Parameters
create ipif <ipif_name 12> {<network_address>} <vlan_name 32> { secondary | state [
enable | disable ] | proxy_arp [enable|disable] {local [enable|disable]}}
config ipif <ipif_name 12> [{ ipaddress <network_address> | vlan <vlan_name 32> | state
[enable|disable] | proxy_arp [enable|disable] {local [enable|disable]}}| bootp |
dhcp | ipv6 ipv6address <ipv6networkaddr> | ip_mtu <value 512-1712> |
dhcpv6_client [enable | disable] | ip_directed_broadcast [enable | disable]]
enable ipif [<ipif_name 12> | all]
disable ipif [<ipif_name 12> | all]
enable ipif_ipv6_link_local_auto [<ipif_name 12> | all]
disable ipif_ipv6_link_local_auto [<ipif_name 12> | all]
show ipif {<ipif_name 12>}
show ipif_ipv6_link_local_auto {<ipif_name 12>}
delete ipif [<ipif_name 12> {ipv6address <ipv6networkaddr>} | all]
Each command is listed, in detail, in the following sections.
create ipif
Purpose This command creates a L3 interface.
Syntax
create ipif <ipif_name 12> {<network_address>} <vlan_name 32> { secondary | state [
enable | disable ] | proxy_arp [enable|disable] {local [enable|disable]}}
Description This interface can be configured with IPv4 or IPv6 address. Currently, it has a restriction. An
interface can have only one IPv4 address defined. But it can have multiple IPv6 addresses
defined. Thus, the multinetting configuration of IPv4 must be done through creation of a
secondary interface on the same VLAN, instead of directly configuring multiple IPv4
addresses on the same interface. Configuration of IPv6 address must be done through the
command config ipif.
Note that for IPv4 case, the multicast routing protocol state in secondary IP interfaces must
follow master IP interface’s state. For example, if dvmrp state in master IP interface is
enabled, the secondary IP interfaces need to be the same.
Parameters
ipif_name - The name of the interface.
network_address - IPv4 network address (xxx.xxx.xxx.xxx/xx). It specifies a host address and
length of network mask.
vlan_name - The name of a vlan.
secondary - IPv4 secondary interface to be created.
state - State of interface.
proxy_arp - Enable/disable of proxy ARP function. It is for IPv4 function. Default: Disabled.
local - This setting controls whether the system provides the proxy reply for the ARP packets
destined for IP address located in the same interface as the received interface. When proxy
ARP is enabled for an interface, the system will do the proxy reply for the ARP packets
destined for IP address located in a different interface. For ARP packets destined for IP