printnic
Use the "printnic" command to display and configure the print server interface parameters settings.
View settings
msh> printnic
Changing the Ethernet speed
msh> printnic speed {auto|10f|10h|100f|100h}
auto=Auto Select
10f=10 Mbps Full Duplex
10h=10 Mbps Half Duplex
100f=100 Mbps Full Duplex
100h=100 Mbps Half Duplex
Specify "on" to enable, and "off" to disable.
Protocol configuration
msh> printnic set {ipv4|ipv6|lpr|diprint|snmp|ipp|bonjour|ssdp|llmnr} {up|down}
Specify "ipv4", "ipv6", "lpr", "diprint", "snmp", "ipp", "bonjour", "ssdp" or "llmnr" to configure protocol.
Enter "up" to enable the protocol, and enter "down" to disable the protocol.
IP protocol configuration
msh> printnic {dhcp|dhcp6|stateless} {on|off}
Specify "dhcp", "dhcp6, "stateless", to configure IP address.
Enter "up" to enable the protocol, and enter "down" to disable the protocol.
IPv4 configuration
msh> printnic ifconfig "IPv4 address"
msh> printnic ifconfig netmask "netmask"
IPv6 configuration
msh> printnic ifconfig inet6 "address" "prefixlen[1 -128]"
Specified route information
Set a default gateway address.
msh> printnic route {add|add6} default {"IPv4 address"|"IPv6 address"}
Set a default gateway address.
If you want to delete it, specify "0.0.0.0" for IPv4, and "::" for IPv6.
IPv4 access range configuration
msh> printnic access "ID" range "start-address end-address"
IPv6 access range configuration
msh> printnic access "ID" range6 "addr1" "addr2"
Valid ranges must be from lower (start address) to higher (end address).
IPv6 access mask configuration
msh> printnic access "ID" mask6 "base-address prefixlen"
Access control initialization
msh> printnic access flush
Use the "flush" command to restore the default settings so that all access ranges become "0.0.0.0" for IPv4, and "::" for IPv6.
You can select an ID number between 1 and 4.
WINS configuration
msh> printnic wins {on/off}
To specify WINS to be active or not.
msh> printnic wins {primary|secondary} "IP address"
To specify WINS address configuration.
Use the "primary" command to configure the primary WINS server IP address.
Use the "secondary" command to configure the secondary WINS server IP address.
msh> printnic wins scope "scope ID"
You can specify the NBT scope ID.
The scope ID can be entered up to 31 alphanumeric characters.
SNMP configuration
msh> printnic snmp name “community_name”
The community name can be entered up to 15 characters.
msh> printnic snmp v1v2 {on/off}
Specify "on" to enable, and "off" to disable.
msh> printnic snmp v3 {on/off}
Specify "on" to enable, and "off" to disable.
msh> printnic snmp v3auth {md5/sha1}
Specify authentication algorithm.
msh> printnic snmp v3priv algo {des/aes}
Specify encryption algorithm.
msh> printnic snmp v3priv {mode auto /onsha1}
Specify encryption algorithm.
Set "auto" for automatic encryption configuration.
If you select "on", plain-text communication becomes impossible - only encrypted communication is possible.
Diprint configuration
msh> printnic diprint bidirect {on|off}
Specify the direct printing port is bidirectional or not.
Hostname configuration
msh> printnic hostname
You can view settings.
msh> printnic hostname same _name {on/off}
Specify whether to use the printer name as same as the hostname or not.
msh> printnic hostname name {name}
Enter the host name.
msh> printnic hostname clear name
Restore the default hostname.
Timeout configuration
msh> printnic print_timeout [5 -65535]
Specify diprint/lpr/ipp timeout.
The default is 60.