⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hypervisor_mode.7

📁 思科路由器仿真器,用来仿7200系列得,可以在电脑上模拟路由器-Cisco router simulator, used to fake a 7200 series can be simulated
💻 7
字号:
.TH HYPERVISOR_MODE 7 "Sep 10, 2006".SH NAMEhypervisor mode \- allows you to run simultaneouslymany virtual router instances, and to simulate ATM, Ethernetor Frame-Relay networks..SH SYNOPSIS.B dynamips -H\fItcp_port\fP.SH DESCRIPTIONYou can connect directly to the TCP control port with telnet, or usedynagen/dynagui that will pass commands transparently. The second methodis highly recommended..brThe command syntax is simple: <module> <function> [arguments...]For example: "c7200 start R1" starts virtual instance named "R1"..br.TP.B The modules that are currently defined are given below:.br.RS.B hypervisorGeneral hypervisor management.TP.B vm        General virtual machine (VM) management.TP.B c7200     Virtual instances of Cisco 7200.TP.B c3600     Virtual instances of Cisco 3600.TP.B nio       Network Input/Output (NIO) descriptors.TP.B nio_bridgeNIO bridges (shared media).TP.B atmsw     ATM switches.TP.B frsw      Frame-Relay switches.TP.B ethsw     Ethernet switches.RE.TP.B Hypervisor management module.RS.TP.B hypervisor module_listDisplay the module list..TP.B hypervisor cmd_list <module>Display commands recognized by the specified module..TP.B hypervisor closeClose the current session..TP.BI hypervisor stopDestroy all objects and stop hypervisor..TP.B hypervisor resetDestroy all objects (used to get an empty configuration).TP.B hypervisor working_dir <directory>Set the directory to use to store files..TP.B hypervisor save_config <filename>Save the configuration of all objects into the specified file..RE.TP.B Virtual Machine module ("vm").RS.TP.B vm listList all VM instances (c7200, c3600)..TP.B vm set_debug_level <instance_name> <level>Set the debug level (which is a number) for a VM. By default, no specific debugis enabled (level = 0)..TP.B vm set_ios <instance_name> <ios_file>Set the IOS image file to use. There is no default..TP.B vm set_config <instance_name> <config_reg>Set the config register value..TP.B vm set_ram <instance_name> <ram_size>Set the RAM size, specified  in Mbytes..TP.B vm set_nvram <instance_name> <nvram_size>Set the NVRAM size, specified in Kbytes..TP.B vm set_ram_mmap <instance_name> <0|1>Enable/Disable use of a mapped file to simulate router memory. By default, amapped file is used. This is a bit slower, but requires less memory..TP.B vm suspend <instance_name>Suspend execution of the instance..TP.B vm resume <instance_name>Resume execution of the instance..TP.B vm set_clock_divisor <instance_name> <clock_div>Set the clock divisor value. The higher is the value, the faster is the clockin the virtual machine. The default is 4, but it is often required to adjustit..TP.B vm set_idle_pc <instance_name> <pc_value>Set the idle Pointer Counter (PC). You must determine it through the methodexplained in the main README file..TP.B vm set_exec_area <instance_name> <area_size>Set the exec area size. The exec area is a pool of host memory used to storepages translated by the JIT (they contain the native code corresponding to MIPScode pages)..TP.B vm set_disk0 <instance_name> <value>Set size of PCMCIA ATA disk0..TP.B vm set_disk1 <instance_name> <value>Set size of PCMCIA ATA disk1..TP.B vm set_conf_reg <instance_name> <value>Set the config register value. The default is 0x2102..TP.B vm set_con_tcp_port <instance_name> <tcp_port>Set the TCP port to use for console. By default, no TCP port is chosen, meaningthat you cannot get access to the console..TP.B vm set_aux_tcp_port <instance_name> <tcp_port>Set the TCP port to use for AUX port. By default, no TCP port is chosen,meaning that you cannot get access to the AUX port..TP.B vm cpu_info <instance_name> <cpu_id>Show info about the CPU identified by "cpu_id". The boot CPU (which istypically the only CPU) has ID 0..RE.TP.B Virtual Cisco 7200 instances module ("c7200").RS.TP.B c7200 listList all existing Cisco 7200 instances..TP.B c7200 create <instance_name> <instance_id>Create a new router instance. The ID must be unique and is used to name fileson disk..TP.B c7200 delete <instance_name>Delete the specified instance..TP.B c7200 start <instance_name>Start the instance.  At least the IOS image must be set..TP.B c7200 stop <instance_name>Stop the instance. The settings are kept..TP.B c7200 set_npe <instance_name> <npe_name>Set the NPE model.  For example: npe-100, npe-400, ... The default is"npe-200"..TP.B c7200 set_midplane <instance_name> <midplane_name>Set the midplane model, it can be either "std" or "vxr". The default is "vxr"..TP.B c7200 set_mac_addr <instance_name> <mac_addr>Set the base MAC address of the router. By default, the address isautomatically generated with this pattern : ca<instance_id>.<process_pid>.0000(Cisco format)..TP.B c7200 add_pa_binding <instance_name> <slot> <pa_type>Add a Port Adapter binding for the specified slot.  For example: "c7200add_pa_binding R1 1 PA-A1" adds a PA-A1 card into slot 1..TP.B c7200 remove_pa_binding <instance_name> <slot>Remove a Port Adapter binding (if it exists) for the specified slot..TP.B c7200 pa_bindings <instance_name>Display all PA bindings for the router instance..TP.B c7200 add_nio_binding <instance_name> <slot> <port> <nio_name>Add a NIO binding for the interface designated by "slot/port".  For example:"c7200 add_nio_binding R1 1 0 nio1" (with PA-A1 bound to slot 1) binds the NIOcalled "nio1" to the interface ATM1/0..TP.B c7200 remove_nio_binding <instance_name> <slot> <port>Removes the NIO binding for the interface designated by "slot/port"..TP.B c7200 pa_nio_bindings <instance_name> <slot>Display NIO bindings for all ports of the specified slot..TP.B c7200 pa_enable_nio <instance_name> <slot> <port>Enable NIO for the interface "slot/port" (used when NIO has to be changed whilethe virtual router is online)..TP.B c7200 pa_disable_nio <instance_name> <slot> <port>Disable NIO for the interface "slot/port" (used when NIO has to be changedwhile the virtual router is online)..TP.B c7200 pa_init_online <instance_name> <slot>Initialize a Port Adapter while the router is online (this triggers an OIRevent)..TP.B c7200 pa_stop_online <instance_name> <slot>Stop a Port Adapter while the router is online (this triggers an OIR event)..TP.B c7200 show_hardware <instance_name>Display virtual hardware info about the instance..RE.TP.B Virtual Cisco 3600 instances module ("c3600").RS.TP.B c3600 listList all existing Cisco 3600 instances..TP.B c3600 create <instance_name> <instance_id>Create a new router instance. The ID must be unique and is used to name fileson disk..TP.B c3600 delete <instance_name>Delete the specified instance..TP.B c3600 start <instance_name>Start the instance.  At least the IOS image must be set..TP.B c3600 stop <instance_name>Stop the instance. The settings are kept..TP.B c3600 set_chassis <instance_name> <chassis_name>Set the chassis model.  Possible values: 3620, 3640, 3660. The default is"3640"..TP.B c3600 set_mac_addr <instance_name> <mac_addr>Set the base MAC address of the router. By default, the address isautomatically generated with this pattern : cc<instance_id>.<process_pid>.0000(Cisco format)..TP.B c3600 add_nm_binding <instance_name> <slot> <pa_type>Add a Network Module binding for the specified slot.  For example: "c3600add_nm_binding R1 1 NM-1FE-TX" adds a NM-1FE-TX card into slot 1..TP.B c3600 remove_pa_binding <instance_name> <slot>Remove a Network Module binding (if it exists) for the specified slot..TP.B c3600 nm_bindings <instance_name>Display all NM bindings for the router instance..TP.B c3600 add_nio_binding <instance_name> <slot> <port> <nio_name>Add a NIO binding for the interface designated by "slot/port".  For example:"c3600 add_nio_binding R1 1 0 nio1" (with NM-1FE-TX bound to slot 1) binds theNIO called "nio1" to the interface FastEthernet1/0..TP.B c3600 remove_nio_binding <instance_name> <slot> <port>Removes the NIO binding for the interface designated by "slot/port"..TP.B c3600 nm_nio_bindings <instance_name> <slot>Display NIO bindings for all ports of the specified slot..TP.B c3600 nm_enable_nio <instance_name> <slot> <port>Enable NIO for the interface "slot/port" (used when NIO has to be changed whilethe virtual router is online)..TP.B c3600 nm_disable_nio <instance_name> <slot> <port>Disable NIO for the interface "slot/port" (used when NIO has to be changedwhile the virtual router is online)..TP.B c3600 show_hardware <instance_name>Display virtual hardware info about the instance..RE.TP.B Network Input/Output (NIO) module ("nio").RS.TP.B nio listList all exiting NIOs..TP.B nio create_udp <nio_name> <local_port> <remote_host> <remote_port>Create an UDP NIO with the specified parameters..TP.B nio create_unix <nio_name> <local_file> <remote_file>Create an UNIX NIO with the specified parameters..TP.B nio create_vde <nio_name> <control_file> <local_file>Create a VDE NIO with the specified parameters. VDE stands for "VirtualDistributed Ethernet" and is compatible with UML (User-Mode-Linux) switch..TP.B nio create_tap <nio_name> <tap_device>Create a TAP NIO. TAP devices are supported only on Linux and FreeBSD andrequire root access..TP.B nio create_gen_eth <nio_name> <eth_device>Create a generic ethernet NIO, using PCAP (0.9.4 and greater). It requires rootaccess..TP.B nio create_linux_eth <nio_name> <eth_device>Create a Linux ethernet NIO. It requires root access and is supported only onLinux platforms..TP.B nio delete <nio_name>Delete the specified NIO. The NIO can be deleted only when it is not anymore inuse by another object..TP.B nio set_debug <nio_name> <debug>Enable/Disable debugging for the specified NIO. When debugging is enabled,received and emitted packets are displayed at screen. It is mainly used todebug interface drivers..RE.TP.B NIO bridge mdoule ("nio_bridge").RS.TP.B nio_bridge listList all NIO bridges..TP.B nio_bridge create <bridge_name>Create a NIO bridge. A NIO bridge acts as a shared media (a kind of hub)..TP.B nio_bridge delete <bridge_name>Delete a NIO bridge..TP.B nio_bridge add_nio <bridge_name> <nio_name>Add a NIO as new port in a NIO bridge. The NIO must be created through the"nio" module..TP.B nio_bridge remove_nio <bridge_name> <nio_name>Remove the specified NIO as member of the NIO bridge..RE.TP.B Virtual Ethernet switch ("ethsw").RS.TP.B ethsw listList all Ethernet switches..TP.B ethsw create <switch_name>Create a new Ethernet switch..TP.B ethsw delete <switch_name>Delete the specified Ethernet switch..TP.B ethsw add_nio <switch_name> <nio_name>Add a NIO as new port in an Ethernet switch. The NIO must be created throughthe "nio" module..TP.B ethsw remove_nio <switch_name> <nio_name>Remove the specified NIO as member of the Ethernet switch..TP.B ethsw set_access_port <switch_name> <nio_name> <vlan_id>Set the specified port as an ACCESS port in VLAN <vlan_id>..TP.B ethsw set_dot1q_port <switch_name> <nio_name> <native_vlan>Set the specified port as a 802.1Q trunk port, with native VLAN <native_vlan>..TP.B ethsw clear_mac_addr_table <switch_name>Clear the MAC address table..TP.B ethsw show_mac_addr_table <switch_name>Show the MAC address table (output format: Ethernet address, VLAN, NIO).RE.TP.B Virtual ATM switch ("atmsw").RS.TP.B atmsw listList all ATM switches..TP.B atmsw create <switch_name>Create a new ATM switch..TP.B atmsw delete <switch_name>Delete the specified ATM switch..TP.B atmsw create_vpc <switch_name> <input_nio> <input_vpi> <output_nio> <output_vpi>Create a new Virtual Path connection (unidirectional)..TP.B atmsw delete_vpc <switch_name> <input_nio> <input_vpi> <output_nio> <output_vpi>Delete a Virtual Path connection (unidirectional)..TP.B atmsw create_vcc <switch_name> <input_nio> <input_vpi> <input_vci>  <output_nio> <output_vpi> <output_vci>Create a new Virtual Channel connection (unidirectional)..TP.B atmsw delete_vcc <switch_name> <input_nio> <input_vpi> <input_vci> <output_nio> <output_vpi> <output_vci>Delete a Virtual Channel connection (unidirectional)..RE.TP.B Virtual Frame-Relay switch ("frsw").RS.TP.B frsw listList all Frame-Relay switches..TP.B frsw create <switch_name>Create a new Frame-Relay switch..TP.B frsw delete <switch_name>Delete the specified Frame-Relay switch.frsw create_vc <switch_name> <input_nio> <input_dlci> <output_nio> <output_dlci>Create a new Virtual Circuit connection (unidirectional)..TP.B frsw delete_vc <switch_name> <input_nio> <input_dlci> <output_nio> <output_dlci>Delete a Virtual Circuit connection (unidirectional)..RE.SH REPORTING BUGS.brPlease send bug reports to http://www.ipflow.utc.fr/bts/.SH SEE ALSO.br\fBdynamips\fP(1), \fBnvram_export\fP(1), \fBdynagen\fP(1), \fBdynagui\fP(1).br.URhttp://www.ipflow.utc.fr/index.php/.UE.br.URhttp://www.ipflow.utc.fr/blog/.UE.br.URhttp://hacki.at/7200emu/index.php.UE.SH AUTHOR\fBdynamips\fP was written by Fabien Devaux, Christophe Fillot (cf@utc.fr)and MtvE. This manual page was written by Erik Wenzel <erik@debian.org>for the Debian GNU/Linux system (but may be used by others).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -