100
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
Parameters
This command has no arguments or keywords.
Example
Configure the device to acquire an IP address from a DHCP server:
CONTROLLER>
set ipv4 dhcp
CONTROLLER>
exit
Exiting CLI
Connection to 192.168.0.122 closed.
show ipv6
Use the
show ipv6
command to show the current network interface IPv6 settings, including the global IPv6 address,
prefix length, IPv6 link-local address, and IPv6 gateway address.
Syntax
show ipv6
Parameters
This command has no arguments or keywords.
Example
Report network interface IPv6 address:
CONTROLLER>
show ipv6
Set Global Address : 2001::5
Set Prefix Length : 16
Set Gateway : 2001::4
Link Local Address : fe80::21d:ffff:fe00:91ff
Active Global Address : 2001::5
Active Prefix Length : 16
Active Gateway : 2001::4
exit to enable new network settings
set ipv6 static
Use the
set IPv6 static
command to define static IPv6 network settings. The system carries an implicit fixed link-
local IPv6 address, but you can use this command to add one additional global IPv6 address. The new address will be
implemented after exiting from the CLI.
Syntax
set ipv6 static
ipv6-address
prefix-length
[
gateway
gateway-address
]
Parameters
•
ipv6-address
Specify the network interface global IPv6 address in standard IPv6 format (2001:db8::52:0:1).
•
prefix-length
Specify a subnet mask (netmask).
•
gateway
gateway-address
(Optional) Specify an IPv6 gateway address.
Example
Define the following static IPv6 network settings, and then exit the CLI to implement:
• Interface address: 2001:db8::52:0:21
• Prefix length: 64-bits
• Gateway: 2001:db8::52:0:10