xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
298
config ipif
letter or digit, and have only letters, digits, and hyphen as interior characters; the maximal
length is 63.
dhcp_option12 clear_hostname
- To clear the hostname setting. If host name is empty,
system name will be used to encode option 12. The length of system is more than 63. The
superfluous chars will be truncated. If system name is also empty, then product model name
will be used to encode option 12.
dhcp_option12 state
– Enable or disable insertion of option 12 in the DHCPDISCOVER and
DHCPREQUEST message.
ip_mtu
- Specifies the IP layer mtu. The range is 512-1712. The default setting is 1500 bytes.
dhcpv6
_client - See below:
enable
- Enable the DHCPv6 client state of the interface.
disable
- Disable the DHCPv6 client state of the interface.
ip_directed_broadcast
- See below:
enable
- Enabled the IP directed-broadcast state of the interface.
disable
- Disabled the IP directed-broadcast state of the interface.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the IP Directed Broadcast state of System interface to enable:
DGS-3450:admin# config ipif System ip_directed_broadcast enable
Command: config ipif System ip_directed_broadcast enable
Success.
DGS-3450:admin#
To display the IP Directed Broadcast settings of System interface:
DGS-3450:admin#show ipif System
Command: show ipif System
IP Interface : System
VLAN Name : default
Interface Admin State : Enabled
Link Status : LinkUp
IPv4 Address : 10.90.90.90/8 (Manual) Primary
Proxy ARP : Disabled (Local : Disabled)
IP Directed Broadcast : Enabled
IPv4 State : Enabled
DHCPv6 Client State : Disabled
DHCPv6 Client PD State : Disabled
DHCP Option12 State : Disabled
DHCP Option12 Host Name :
DGS-3450:admin#
Example usage:
To configure the DHCPv6 client state of the System interface to enabled: