Network protocols
7.1 IPv4 protocol
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
296
Configuration Manual, 06/2016, C79000-G8976-C252-11
Syntax
Call up the command with the following parameters:
ip name-server {ipv4 <ucast_addr> | ipv6 <ip6_addr>} [index <id(1-3)>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ipv4
Keyword for an IPv4 address
-
ucast_addr
IPv4 address of the DNS server
Enter a valid IPv4 address.
ipv6
Keyword for an IPv6 address
ip6_addr
IPv6 address of the DNS server
Enter a valid IPv6 address.
index
Keyword for the index
-
id
Index of the DNS server
1 ... 3
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
Result
The IP address and, if specified, the index for a DNS server have been set.
7.1.2.9
no ip name server
Description
With this command, you delete required DNS server.
Requirement
You are in the Global Configuration mode.
The command prompt is as follows:
cli(config)#
Syntax
Call up the command with the following parameters:
no ip name-server {ipv4 <ucast_addr> | ipv6 <ip6_addr>} [index <id(1-3)>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ipv4
Keyword for IPv4
-
ucast_addr
IP address of the DNS server
Enter a valid IPv4 address.
ipv6
Keyword for IPv6
-
ip6_addr
IPv6 address of the DNS server
Enter a valid IPv6 address.