network show
Display the network configuration for each network device on the appliance. Verbose mode also includes detailed capability information for each device, such as the supported and active link modes and auto-activation setting. This information is also collected in the hsm supportinfo command.
NOTE If the network service has been stopped using the service stop network command, all network commands, including network show, will fail.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
>Monitor
Syntax
network show [-verbose]
Argument(s) | Shortcut | Description |
---|---|---|
-verbose | -v |
Display additional capability and configuration information for each network device. |
Example - standard 1G copper Ethernet Ports x 4
NOTE For Luna Network HSM 7 appliances with four 1Gbps copper Ethernet ports, the network device configuration is factory set such that the two ports stacked vertically near the HSM card slot are designated Eth0 and Eth1 (Bond 0), while the remaining two ports, arranged horizontally above a ventilation grid near the center of the appliance back panel, are designated Eth2 and Eth3 (Bond 1).
Terse (non-verbose) mode
lunash:>network show
Hostname : 192.20.9.109
Name Server(s) :
Search Domain(s) : 20.9.109
Interface settings and status
HW Address (eth0) : 00:15:B2:A8:FD:A8
IP Address (eth0) : 192.20.9.109/24
Mask (eth0) : 255.255.255.0
Gateway (eth0) : 192.20.9.10
DNS (eth0) :
DNS Search (eth0) :
IP Protocol (eth0) : IPv4
Protocol (eth0) : Static
Auto Connect (eth0) : Yes
Activated (eth0) : Yes
Link detected (eth0) : Yes
HW Address (eth1) : 00:15:B2:A8:FD:A9
IP Address (eth1) : 192.20.9.102
Mask (eth1) : 255.255.255.0
Gateway (eth1) : 192.20.9.10
DNS (eth1) :
DNS Search (eth1) :
IP Protocol (eth1) : IPv4
Protocol (eth1) : Static
Auto Connect (eth1) : Yes
Activated (eth1) : No
Link detected (eth1) : No
HW Address (eth2) : 00:15:B2:A8:FD:AA
IP Address (eth2) : 2019:2:3:4:215:b2ff:fea8:fda2
Mask (eth2) : 2019:2:3:4::/64
Gateway (eth2) : fe80::c800:5ff:fe95:8
DNS (eth2) :
DNS Search (eth2) : sfnt.local.com
IP Protocol (eth2) : IPv6
Protocol (eth2) : SLAAC
Auto Connect (eth2) : Yes
Activated (eth2) : No
Link detected (eth2) : No
HW Address (eth3) : 00:15:B2:A8:FD:AB
IP Address (eth3) :
Mask (eth3) :
Gateway (eth3) :
DNS (eth3) :
DNS Search (eth3) :
IP Protocol (eth3) : IPv4
Protocol (eth3) : DHCP
Auto Connect (eth3) : No
Activated (eth3) : No
Link detected (eth3) : No Status (bond0) : Not configured
Status (bond1) : Not configured
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.20.9.10 0.0.0.0 UG 100 0 0 eth0
192.20.9.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
Kernel IPv6 routing table
Destination Next Hop Flag Met Ref Use If ::1/128 :: U 256 0 0 lo fe80::/64 :: U 256 0 0 eth0 ::/0 :: !n -1 1 1 lo ::1/128 :: Un 0 1 69 lo fe80::215:b2ff:fea8:fda8/128 :: Un 0 1 0 lo ff00::/8 :: U 256 0 0 eth0 ::/0 :: !n -1 1 1 lo Command Result : 0 (Success)
Verbose mode
lunash:>network show -verbose
[verbose output begins with same information as terse mode, but adds the following information]
Device and Connection Details ================================= eth0 ========================================================= BOOT PROTOCOL: dhcp ==================================================================================== Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes =============================== eth1 =============================================== BOOT PROTOCOL: dhcp ================================================================================== Settings for eth1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: no =========================== eth2 ================================================== BOOT PROTOCOL: dhcp ================================================================================= Settings for eth2: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: no ============================ eth3 ================================================= BOOT PROTOCOL: dhcp ================================================================================= Settings for eth3: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Speed: Unknown! Duplex: Unknown! (255) Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: no Command Result: : 0 (Success)
Example - 10G Optical Ethernet x2 and 1G copper Ethernet x2
NOTE For Network HSM appliances with the 10G optical Ethernet option, the network device configuration is factory set for
>the optical 10Gbps ports are designated Eth0 and Eth1 (Bond 0) while
>the remaining 1Gbps copper ports, stacked vertically near the HSM card slot, are designated Eth2 and Eth3 (Bond 1).
[10g2] lunash:>network show -verbose Hostname : 10g2 Name Server(s) : 172.20.10.20 172.16.2.14 Search Domain(s) : <not set> Interface settings and status HW Address (eth0) : 3C:FD:FE:CB:45:30 Bond master (eth0) : bond0 Link detected (eth0) : Yes HW Address (eth1) : 3C:FD:FE:CB:45:30 Bond master (eth1) : bond0 Link detected (eth1) : Yes HW Address (eth2) : 00:15:B2:AC:FC:84 IP Address (eth2) : 172.20.11.152/24 Mask (eth2) : 255.255.255.0 Gateway (eth2) : 172.20.11.10 DNS (eth2) : – DNS Search (eth2) : – IP Protocol (eth2) : IPv4 Protocol (eth2) : DHCP Auto Connect (eth2) : Yes Activated (eth2) : Yes Link detected (eth2) : Yes HW Address (eth3) : 00:15:B2:AC:FC:85 IP Address (eth3) : 172.20.11.94/24 Mask (eth3) : 255.255.255.0 Gateway (eth3) : 172.20.11.10 DNS (eth3) : – DNS Search (eth3) : – IP Protocol (eth3) : IPv4 Protocol (eth3) : DHCP Auto Connect (eth3) : Yes Activated (eth3) : Yes Link detected (eth3) : Yes HW Address (bond0) : 3C:FD:FE:CB:45:30 IP Address (bond0) : 172.20.11.7/24 Mask (bond0) : 255.255.255.0 Gateway (bond0) : 172.20.11.10 DNS (bond0) : – DNS Search (bond0) : – IP Protocol (bond0) : IPv4 Protocol (bond0) : Static Auto Connect (bond0) : Yes Activated (bond0) : Yes Link detected (bond0) : Yes Active Slaves (bond0) : eth0 eth1 Status (bond1) : Not configured Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.20.11.10 0.0.0.0 UG 102 0 0 eth2 0.0.0.0 172.20.11.10 0.0.0.0 UG 103 0 0 eth3 0.0.0.0 172.20.11.10 0.0.0.0 UG 300 0 0 bond0 172.20.11.0 0.0.0.0 255.255.255.0 U 102 0 0 eth2 172.20.11.0 0.0.0.0 255.255.255.0 U 103 0 0 eth3 172.20.11.0 0.0.0.0 255.255.255.0 U 300 0 0 bond0 Device and Connection Details ================================= eth0 ===================================================== BOOT PROTOCOL: dhcp ============================================================================================ Settings for eth0: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Port: FIBRE PHYAD: 0 Transceiver: internal Auto-negotiation: off Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes ================================= eth1 ===================================================== BOOT PROTOCOL: dhcp ============================================================================================ Settings for eth1: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 10000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: 1000baseT/Full 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Port: FIBRE PHYAD: 0 Transceiver: internal Auto-negotiation: off Supports Wake-on: d Wake-on: d Current message level: 0x00000007 (7) drv probe link Link detected: yes ================================= eth2 ===================================================== BOOT PROTOCOL: dhcp ============================================================================================ Settings for eth2: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: on (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes ================================= eth3 ===================================================== BOOT PROTOCOL: dhcp ============================================================================================ Settings for eth3: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: Symmetric Supports auto-negotiation: Yes Supported FEC modes: Not reported Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Advertised auto-negotiation: Yes Advertised FEC modes: Not reported Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: off (auto) Supports Wake-on: pumbg Wake-on: g Current message level: 0x00000007 (7) drv probe link Link detected: yes Command Result : 0 (Success)