Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

vmhost

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 15.1F3 for the PTX5000, MX240, MX480, and MX960 routers.

Statement introduced in Junos OS Release 15.1F5 for the MX2010 and MX2020 routers.

Command introduced in Junos OS Release 16.1R4 for the PTX3000 routers.

Statement introduced in Junos OS Release 18.1R1 for the QFX10002-60C switches.

Statement introduced in Junos OS Release 18.2R1 for the PTX10002-60C routers.

Note

PTX3000 router supports the Routing and Control Board, RCBPTX.

Description

Configure VM host management properties. Set values in the edit vmhost hierarchy of the configuration.

Options

interfacesConfigure interface properties of the host.
  • management-if0 | management-if1—Configure the host's side management interface0 or interface1.

    family (inet|inet6) address— Configure IPv4 or IPv6 parameters.

    master-only— Configure the IP address to be used when the Routing Engine is the current master. The configured IP address is assigned to master RE host when the Routing Engine is the current master. It is recommended to set this option for platforms with dual Routing Engine architecture with VM host support.

    gateway— Configure gateway IP address.

management-ifConfigure management interface properties of the host.
  • disable—Disable the host interface eth0, which serves as the management port

  • link-mode (automatic | half-duplex | full-duplex)—Configure the link mode of the host interface eth0, which serves as the management port as half-duplex or full-duplex. You can also manually select the link mode option as either half-duplex or full-duplex.

  • speed (automatic | 10m | 100m | 1g)—Configure the link speed of the host interface eth0, which serves as the management port. If you set the link speed as 10m or 100m, autonegotiation is turned off and the link speed is the speed that you specify.

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.
  • ssh—Allow ssh access

    root-login—Configure host root access through ssh

    allow | deny—Allow or deny root access through ssh.

syslogEnable 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.
  • host <host-name>—Host notified for remote syslog configuration.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.