vmhost
Syntax
vmhost {
interfaces name {
family {
(inet | inet6) {
address name {
master-only;
}
gateway gateway;
}
}
}
external interface {
in-band {
mapping {
interface interface-name;
interface virtual-function;
}
family inet {
address IPv4-inet-address;
gateway IPv4-gateway;
}
vlan-id vlan-ID;
}
out-of-band {
family inet {
address IPv4-inet-address;
gateway IPv4-gateway;
}
}
management-if {
disable;
link-mode (automatic | full-duplex | half-duplex);
speed (100m | 10m | 1g | automatic);
}
no-auto-recovery;
resize {
vjunos {
compact;
}
}
services {
ssh {
root-login (allow | deny);
}
}
syslog {
file name {
vmhost-syslog-object (any | authorization | cron | daemon | kernel | local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 | lpr | mail | mark | news | privileged | syslog | user | uucp) {
level;
}
}
host name {
transport (tcp | udp);
vmhost-syslog-object (any | authorization | cron | daemon | kernel | local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7 | lpr | mail | mark | news | privileged | syslog | user | uucp) {
level;
}
}
}
}
Hierarchy Level
[edit]
Description
Configure VM host management properties. Set values
in the edit vmhost hierarchy of the configuration.
Options
| interfaces |
Configure interface properties of the host.
|
| in-band | Enable external network access through one of the front panel revenue ports. |
| out-of-band | Enable external network access through the front panel management interface. |
| management-if |
Configure management interface properties of the host.
|
| no-auto-recovery |
Disable the automatic guest recovery by the host. |
| services |
Enable ssh access to the host and enable or disable root-login to the host from guest.
|
| syslog |
Enable the remote syslog configuration from guest to host OS. Based on the severity configured on guest, the syslog information is logged onto the /etc/syslog.conf file on the host.
|
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 15.1F3.
in-band and out-of-band options introduced for NFX devices in Junos OS Release 24.2R1.
PTX3000 router supports the Routing and Control Board, RCBPTX.