xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
296
38
IP
D
IRECTED
B
ROADCAST
C
OMMANDS
The IP Directed Broadcast 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
[enab l e|disable] | proxy_arp [enable | disable] {local [enable | disable]}} | bootp |
dhcp | ipv6 ipv6address {prefix_name <string 1-12>} <ipv6networkaddr> |
dhcpv6_client [enable | disable] | ip_directed_broadcast [enable | disable] |
dhcp_option12 [hostname <hostname 63> | clear_hostname | state [enable |
disable]] | dhcpv6_client_pd [enable prefix_name <string 1-12> | 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 {prefix_name <string 1-12>} <ipv6networkaddr>} |
all]
Each command is listed, in detail, in the following sections.
create ipif
Purpose
This command is used to create a layer 3 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 command creates a L3 interface.
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 an IPv6 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 networkaddress (xxx.xxx.xxx/xx). It specifies a host address and
length of network mask.
vlan_name
- The name of a vlan.
secondary
- IPv4secondary 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.