SmartNA-X 1G/10G Modular | Command Line Reference |
99
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Syntax
set ipv4 gateway
ipv4-address
Parameters
ipv4-address
Specify the IPv4 address of the gateway, in dotted-decimal format (a.b.c.d).
Example
Define IPv4 gateway 192.168.0.1, and then exit the CLI to implement:
CONTROLLER>
set ipv4 gateway 192.168.0.1
Network settings will take effect when you exit CLI.
exit to enable new network settings
CONTROLLER>
exit
Exiting CLI
exit to enable new network settings
Applying new IPv4 network settings
Addressing Mode : static
Address: 192.168.0.122
Netmask: 255.255.255.0
Gateway: 192.168.0.254
Connection to 192.168.0.122 closed.
set ipv4 dns
Use the
set ipv4 dns
command to define an IPv4 address for an IP Domain Name System (DNS) server. Adding a DNS
server allows the use of server names at the command line. Changes to network interface settings are implemented after
exiting the CLI, or immediately if connecting over IPv6 or via the Console port.
Syntax
set ipv4 dns
ipv4-address
Parameters
ipv4-address
Specify the IPv4 address of the DNS server, in dotted-decimal format (a.b.c.d).
Example
Define DNS server 192.168.100.1, and then exit the CLI to implement:
CONTROLLER>
set ipv4 dns 192.168.100.1
CONTROLLER>
exit
Exiting CLI
Connection to 192.168.0.122 closed.
set ipv4 dhcp
Use the
set ipv4 dhcp
command to acquire an IP address for the Ethernet interface from the Dynamic Host Configuration
Protocol (DHCP) server. DHCP client configuration implicitly removes the static IP address configuration on the
interface. Changes to network interface settings are implemented after exiting the CLI, or immediately if connecting over
IPv6 or via the Console port.
Syntax
set ipv4 dhcp