
KSwitch D10 MMT Managed Time Sensitive Ethernet Switch - Preliminary User Guide, Rev. 0.99
// 65
9.5.3.
I
Pv4, IPv6 – Configuration Commands
Configure static/dynamic IPv4, IPv6 address and mask, default gateway, DNS.
9.5.3.1.
IP Name-Server - DNS Server
Description- Set the DNS server for resolving domain names.
ip name-server
[ <order> ] { <v_ipv4_ucast> | { <v_ipv6_ucast> [ interface vlan <v_vlan_id_static> ] } | dhcp [ ipv4 |
ipv6 ] [ interface vlan <v_vlan_id_dhcp> ] }
no ip name-server
Parameter
Description
Parameter
<order>
Preference of DNS server (default selection is 0)
<v_ipv4_ucast>
A valid IPv4 unicast address
<v_ipv6_ucast>
A valid IPv6 unicast address
dhcp
Dynamic Host Configuration Protocol
Default
No DNS server configured
Mode
Global Configuration mode
Usage
Set the DNS for resolving domain names. Use the no version of the command to return to
default.
Examples
Example#1 ( DNS Server 0 setting is derived from any DHCPv4 VLANs-ID)
(config)# ip name-server 0 dhcp
Example#2 ( DNS Server 1 configured as a static IPv4 address)
(config)# ip name-server 1 192.168.0.10
Example#3 (DNS Server 1 setting is derived from DHCPv4 VLANs-ID 1)
(config)#ip name-server 1 dhcp ipv4 interface vlan 1
9.5.3.2.
IP (ipv6) Address - IPv4,IPv6 Interface
Description- add IPv4, IPv6 interface.
ip address
{ { <address> <netmask> } | { dhcp [ fallback <fallback_address> <fallback_netmask> [ timeout
<fallback_timeout> ] ] [ client-id { <port_type> <client_id_interface> | ascii <ascii_str> | hex<hex_str> } ] [ hostname
<hostname> ] } }
no ip address
ipv6 address <subnet>
no ipv6 address
Parameter
Description
Parameter
<address>
IPv4 address
<netmask>
IP netmask
dhcp
Enable Dynamic Host Configuration Protocol
fallback
DHCP fallback settings
client-id
DHCP client identifier
hostname
DHCP host name
<subnet>
IPv6 prefix x:x::y/z