1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884
|
.TH HYPERVISOR_MODE 7 "Mar 27, 2014"
.\" Please adjust this date whenever revising the manpage.
.SH NAME
hypervisor_mode \- allows you to run simultaneously
many virtual router instances, and to simulate ATM, Ethernet
or Frame\(hyRelay networks.
.SH SYNOPSIS
.B dynamips \-H
.I [ip_address:]tcp_port
.SH DESCRIPTION
You can connect directly to the TCP control port with telnet, or use
dynagen/dynagui that will pass commands transparently. The second method
is highly recommended.
.br
The command syntax is simple: <module> <function> [arguments...]
For example: "vm start R1" starts virtual instance named "R1".
.TP
Available since version 0.2.5.
.TP
.B The modules that are currently defined are given below:
.br
.RS
.B hypervisor
General hypervisor management
.TP
.B vm
General virtual machine (VM) management
.TP
.B vm_debug
General virtual machine (VM) debugging
.TP
.B c7200
Virtual instances of Cisco 7200
.TP
.B c3745
Virtual instances of Cisco 3745
.TP
.B c3725
Virtual instances of Cisco 3725
.TP
.B c3600
Virtual instances of Cisco 3600
.TP
.B c2691
Virtual instances of Cisco 2691
.TP
.B c2600
Virtual instances of Cisco 2600
.TP
.B c1700
Virtual instances of Cisco 1700
.TP
.B nio
Network Input/Output (NIO) descriptors
.TP
.B nio_bridge
NIO bridges (shared media)
.TP
.B atmsw
ATM switches
.TP
.B atm_bridge
ATM bridges
.TP
.B frsw
Frame\(hyRelay switches
.TP
.B ethsw
Ethernet switches
.TP
.B object_store
Object store
.RE
.TP
.B Hypervisor management module ("hypervisor")
.RS
.TP
.B hypervisor version
Display the version of dynamips.
.TP
.B hypervisor module_list
Display the module list.
.TP
.B hypervisor cmd_list <module>
Display commands recognized by the specified module.
.TP
.B hypervisor close
Close the current session.
.TP
.B hypervisor stop
Destroy all objects and stop hypervisor.
.TP
.B hypervisor reset
Destroy 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.
.TP
.B hypervisor parser_test [<a1> [... <a10>]]
Display up to 10 arguments. (since version 0.2.6\-RC1)
.TP
.B hypervisor uuid
Display the local uuid. (since version 0.2.8\-RC3)
.TP
.B hypervisor tsg_stats
Dump statistics about JIT code sharing to the console.
(since version 0.2.8\-RC3, unstable)
.RE
.TP
.B Virtual Machine module ("vm")
.RS
.TP
.B vm list
List all VM instances.
(c7200, c3745, c3725, c3600, c2691, c2600, c1700)
.TP
.B vm list_con_ports
List all VM console TCP port.
(since version 0.2.6\-RC5)
.TP
.B vm create <instance_name> <instance_id> <platform>
Create a new router instance.
The ID must be unique and is used to name files on disk.
(since version 0.2.8\-RC1)
.TP
.B vm rename <instance_name> <new_name>
Rename a router instance.
(since version 0.2.11)
.TP
.B vm delete <instance_name>
Delete the specified instance.
(since version 0.2.8\-RC1)
.TP
.B vm start <instance_name>
Start the instance. At least the IOS image must be set.
(since version 0.2.8\-RC1)
.TP
.B vm stop <instance_name>
Stop the instance. The settings are kept.
(since version 0.2.8\-RC1)
.TP
.B vm get_status <instance_name>
Get the status of a VM instance.
Return values: 0=inactive, 1=shutting down, 2=running, 3=suspended.
(since version 0.2.11)
.TP
.B vm set_tsg <instance_name> <group_id>
Set translation sharing group.
(since version 0.2.8\-RC3\-community, unstable)
.TP
.B vm set_debug_level <instance_name> <level>
Set the debug level (which is a number) for a VM. By default, no specific debug
is 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> <startup_file> [<private_file>]
Set the config files that are pushed to startup\-config and
private\-config in NVRAM when the instance is started.
To keep existing data, use an empty string ('') for the filename.
The optional <private_file> is an empty string by default.
(supports <private_file> since version 0.2.10)
.TP
.B vm extract_config <instance_name>
Get the contents of the config files startup\-config and private\-config from
NVRAM. The data of each file is encoded in a Base64 string, surrounded by
single quotes.
(returns private\-config since version 0.2.10)
.TP
.B vm push_config <instance_name> <startup_cfg> [<private_cfg>]
Push configuration to the config files startup\-config and private\-config
in NVRAM.
The data is a Base64 encoded string, or '(keep)' to keep existing data.
The optional <private_cfg> is '(keep)' by default.
(supports <private_cfg> since version 0.2.11)
.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, a
mapped file is used. This is a bit slower, but requires less memory.
.TP
.B vm set_sparse_mem <instance_name> <0|1>
Enable/disable use of sparse memory.
(since version 0.2.7\-RC1)
.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 clock
in the virtual machine. The default is 4, but it is often required to adjust
it.
.TP
.B vm set_blk_direct_jump <instance_name> <0|1>
Enable/disable use of block direct jump.
(compatibility option, since version 0.2.7\-RC2)
.TP
.B vm set_idle_pc <instance_name> <pc_value>
Set the idle Pointer Counter (PC). You must determine it through the method
explained in the main README file.
.TP
.B vm set_idle_pc_online <instace_name> <cpu_id> <pc_value>
Set the idle PC value when the CPU is online.
(since version 0.2.6\-RC2)
.TP
.B vm get_idle_pc_prop <instance_name> <cpu_id>
Get the idle PC proposals.
Takes 1000 measurements and records up to 10 idle PC proposals.
There is a 10ms wait between each measurement.
(since version 0.2.6\-RC2)
.TP
.B vm show_idle_pc_prop <instance_name> <cpu_id>
Dump the idle PC proposals. (since version 0.2.6\-RC2)
.TP
.B vm set_idle_max <instance_name> <cpu_id> <idle_max>
Set CPU idle max value. (since version 0.2.6\-RC2)
.TP
.B vm set_idle_sleep_time <instance_name> <cpu_id> <idle_sleep_time>
Set CPU idle sleep time value. (since version 0.2.6\-RC2)
.TP
.B vm show_timer_drift <instance_name> <cpu_id>
Show info about potential timer drift.
(since version 0.2.6\-RC3)
.TP
.B vm set_ghost_file <instance_name> <ghost_ram_filename>
Set ghost RAM file. (since version 0.2.6\-RC3,
needs an extra bogus argument before version 0.2.6\-RC4)
.TP
.B vm set_ghost_status <instance_name> <ghost_status>"
Set ghost RAM status. (since version 0.2.6\-RC3,
needs an extra bogus argument before version 0.2.6\-RC4)
.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 store
pages translated by the JIT (they contain the native code corresponding to MIPS
code 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, meaning
that 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 is
typically the only CPU) has ID 0.
.TP
.B vm cpu_usage <instance_name> <cpu_id>
Show cpu usage of dynamips in seconds. (experimental)
.br
The instance must exist, "cpu_id" is ignored.
(since version 0.2.8\-RC5\-community)
.TP
.B vm send_con_msg <instance_name> <str> [<format>]
(since version 0.2.6\-RC3) Send a message on the console.
It only writes the bytes that fit in the console buffer.
.RS
.PP
(since version 0.2.14)
The optional argument <format> indicates the string format.
On success it will report "X byte(s) written".
.PP
String formats:
* plain - plain string (default, old behavior)
* base64 - base64 encoded string
.RE
.TP
.B vm send_aux_msg <instance_name> <str> [<format>]
(since version 0.2.6\-RC3) Send a message on the AUX port.
It only writes the bytes that fit in the aux buffer.
.RS
.PP
(since version 0.2.14)
The optional argument <format> indicates the string format.
On success it will report "X byte(s) written".
.PP
String formats:
* plain - plain string (default, old behavior)
* base64 - base64 encoded string
.RE
.TP
.B vm slot_bindings <instance_name>
Show slot bindings. (since version 0.2.8\-RC1)
.TP
.B vm slot_nio_bindings <instance_name> <slot_id>
Show NIO bindings for the specified slot. (since version 0.2.8\-RC1)
.TP
.B vm slot_add_binding <instance_name> <slot_id> <port_id> <dev_type>
Add a slot binding. (since version 0.2.8\-RC1)
.TP
.B vm slot_remove_binding <instance_name> <slot_id> <port_id>
Remove a slot binding . (since version 0.2.8\-RC1)
.TP
.B vm slot_add_nio_binding <instance_name> <slot_id> <port_id> <nio_name>
Add a NIO binding for a slot/port. (since version 0.2.8\-RC1)
.TP
.B vm slot_remove_nio_binding <instance_name> <slot_id> <port_id>
Remove a NIO binding for a slot/port. (since version 0.2.8\-RC1)
.TP
.B vm slot_enable_nio <instance_name> <slot_id> <port_id>
Enable NIO of the specified slot/port. (since version 0.2.8\-RC1)
.TP
.B vm slot_disable_nio <instance_name> <slot_id> <port_id>
Disable NIO of the specified slot/port. (since version 0.2.8\-RC1)
.TP
.B vm slot_oir_start <instance_name> <slot_id> <subslot_id>
OIR to start a slot/subslot. (since version 0.2.8\-RC3\-community)
.TP
.B vm slot_oir_stop <isntance_name> <slot_id> <subslot_id>
OIR to stop a slot/subslot. (since version 0.2.8\-RC3\-community)
.RE
.TP
.B Virtual Machine debugging module ("vm_debug")
.RS
.TP
Available since version 0.2.6\-RC1.
.TP
.B vm_debug show_cpu_regs <instance_name> <cpu_id>
Dump CPU registers to the console.
.TP
.B vm_debug show_cpu_mmu <instance_name> <cpu_id>
Dump CPU MMU info to the console. (since version 0.2.7\-RC1)
.TP
.B vm_debug set_cpu_reg <instance_name> <cpu_id> <reg_id> <value>
Set the value of a CPU register.
.TP
.B vm_debug add_cpu_breakpoint <instance_name> <cpu_id> <address>
Add a breakpoint.
.TP
.B vm_debug remove_cpu_breakpoint <instance_name> <cpu_id> <address>
Remove a breakpoint.
.TP
.B vm_debug pmem_w32 <instance_name> <cpu_id> <address> <value>
Write a 32\-bit memory word to physical memory.
.TP
.B vm_debug pmem_r32 <instance_name> <cpu_id> <address>
Read a 32\-bit memory word from physical memory.
.TP
.B vm_debug pmem_w16 <instance_name> <cpu_id> <address> <value>
Write a 16\-bit memory word to physical memory.
.TP
.B vm_debug pmem_r16 <instance_name> <cpu_id> <address>
Read a 16\-bit memory word from physical memory.
.TP
.B vm_debug pmem_cfind <instance_name> <cpu_id> <bytes> [<first> [<last>]]
Find a sequence of bytes in physical memory interval [first,last].
The byte sequence is composed of hexadecimal characters and must have a length
multiple of 2. The interval defaults to the complete memory space.
Only the memory of cacheable devices (ram, rom, disks, ...) is searched.
(since version 0.2.12)
.RE
.TP
.B Virtual Cisco 7200 instances module ("c7200")
.RS
.TP
.B c7200 list
List all existing Cisco 7200 instances.
.TP
.B c7200 set_npe <instance_name> <npe_name>
Set the NPE model. For example: npe\(hy100, npe\(hy400, ... The default is
"npe\(hy400".
.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 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : ca<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c7200 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. ca01.1234.0000) or the standard format (e.g. ca:01:12:34:00:00).
.TP
.B c7200 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c7200 set_temp_sensor <instance_name> <sensor_id> <temperature>
Set temperature for a DS1620 sensor.
This can be used to simulate environmental problems like overheat.
(since version 0.2.8\-RC3\-community)
.TP
.B c7200 set_power_supply <instance_name> <power_supply_id> <0|1>
Set power supply status.
This can be used to simulate environmental problems like power loss.
(since version 0.2.8\-RC3\-community)
.TP
.B c7200 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 3745 instances module ("c3745")
.RS
.TP
.B c3745 list
List all existing Cisco 3745 instances.
.TP
.B c3745 set_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c3745 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : c4<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c3745 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. c401.1234.0000) or the standard format (e.g. c4:01:12:34:00:00).
.TP
.B c3745 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c3745 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 3725 instances module ("c3725")
.RS
.TP
.B c3725 list
List all existing Cisco 3725 instances.
.TP
.B c3725 set_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c3725 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : c2<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c3725 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. c201.1234.0000) or the standard format (e.g. c2:01:12:34:00:00).
.TP
.B c3725 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c3725 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 3600 instances module ("c3600")
.RS
.TP
.B c3600 list
List all existing Cisco 3600 instances.
.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_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c3600 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : cc<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c3600 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. cc01.1234.0000) or the standard format (e.g. cc:01:12:34:00:00).
.TP
.B c3600 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c3600 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 2691 instances module ("c2691")
.RS
.TP
.B c2691 list
List all existing Cisco 2691 instances.
.TP
.B c2691 set_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c2691 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : c0<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c2691 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. c001.1234.0000) or the standard format (e.g. c0:01:12:34:00:00).
.TP
.B c2691 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.11)
.TP
.B c2691 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 2600 instances module ("c2600")
.RS
.TP
Available since version 0.2.7\-RC1.
.TP
.B c2600 list
List all existing Cisco 2600 instances.
.TP
.B c2600 set_chassis <instance_name> <chassis_name>
Set the chassis model. Possible values: 2610, 2611, 2620, 2621,
2610XM, 2611XM, 2620XM, 2621XM, 2650XM, 2651XM. The default is "2610".
.TP
.B c2600 set_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c2600 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : c8<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c2600 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. c801.1234.0000) or the standard format (e.g. c8:01:12:34:00:00).
.TP
.B c2600 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c2600 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Virtual Cisco 1700 instances module ("c1700")
.RS
.TP
Available since version 0.2.8\-RC1.
.TP
.B c1700 list
List all existing Cisco 1700 instances.
.TP
.B c1700 set_chassis <instance_name> <chassis_name>
Set the chassis model. Possible values: 1710, 1720, 1721, 1750,
1751, 1760. The default is "1720".
.TP
.B c1700 set_iomem <instance_name> <size>
Set the I/O mem size.
.TP
.B c1700 get_mac_addr <instance_name>
Get the base MAC address of the router. By default, the address is
automatically generated with this pattern : d0<instance_id>.<process_pid>.0000
(Cisco format). (since version 0.2.11)
.TP
.B c1700 set_mac_addr <instance_name> <mac_addr>
Set the base MAC address of the router. The MAC address patern can be the Cisco
format (e.g. d001.1234.0000) or the standard format (e.g. d0:01:12:34:00:00).
.TP
.B c1700 set_system_id <instance_name> <system_id>
Set the system id. (since version 0.2.8\-RC3\-community)
.TP
.B c1700 show_hardware <instance_name>
Display virtual hardware info about the instance.
.RE
.TP
.B Network Input/Output (NIO) module ("nio")
.RS
.TP
.B nio list
List 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_udp_auto <nio_name> <local_addr> <local_port_start> <local_port_end>
Create an auto UDP NIO.
(since version 0.2.8\-RC3\-community)
.TP
.B nio connect_udp_auto <nio_name> <remote_host> <remote_port>
Connect an UDP Auto NIO to a remote host/port.
(since version 0.2.8\-RC3\-community)
.TP
.B nio create_mcast <nio_name> <mcast_group> <mcast_port>
Create a Multicast NIO.
(since version 0.2.8\-RC3\-community)
.TP
.B nio set_mcast_ttl <nio_name> <ttl>
Set TTL for a Multicast NIO.
(since version 0.2.8\-RC3\-community)
.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 "Virtual
Distributed Ethernet" and is compatible with UML (User\(hyMode\(hyLinux) switch.
.TP
.B nio create_tap <nio_name> <tap_device>
Create a TAP NIO. TAP devices are supported only on Linux and FreeBSD and
require 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 root
access. Available if compiled with GEN_ETH.
.TP
.B nio create_linux_eth <nio_name> <eth_device>
Create a Linux ethernet NIO. It requires root access and is supported only on
Linux platforms. Available if compiled with LINUX_ETH.
.TP
.B nio create_null <nio_name>
Create a Null NIO.
.TP
.B nio create_fifo <nio_name>
Create a Null NIO.
.TP
.B nio crossconnect_fifo <nio_name> <nio_name>
Establish a cross-connect between 2 FIFO NIO.
.TP
.B nio rename <nio_name> <new_name>
Rename a NIO.
(since version 0.2.11)
.TP
.B nio delete <nio_name>
Delete the specified NIO. The NIO can be deleted only when it is not anymore in
use 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 to
debug interface drivers.
.TP
.B nio bind_filter <nio_name> <direction> <filter_name>
Bind a packet filter.
Direction is 0 for receiving, 1 for sending, 2 for both.
Filter
.B "freq_drop"
drops packets. Filter
.B "capture"
captures packets and is only available if compiled with GEN_ETH.
.TP
.B nio unbind_filter <nio_name> <direction>
Unbind a packet filter.
.TP
.B nio setup_filter <nio_name> <direction> [<a3> [...<a10>]]
Setup a packet filter for a given NIO.
The arguments are passed on to the setup function of the filter.
Filter
.B "freq_drop"
has 1 argument
.B "<frequency>"
\[char46] It will drop everything with a \-1 frequency, drop every
Nth packet with a positive frequency, or drop nothing.
Filter
.B "capture"
has 2 arguments
.B "<link_type_name> <output_file>"
\[char46] It will capture packets to the target output file. The
link type name is a case\(hyinsensitive DLT_ name from the pcap library
constants with the DLT_ part removed.
.TP
.B nio get_stats <nio_name>
Get statistics of a NIO.
(since version 0.2.8\-RC3\-community)
.TP
.B nio reset_stats <nio_name>
Reset statistics of a NIO.
(since version 0.2.8\-RC3\-community)
.TP
.B nio set_bandwidth <nio_name> <bandwidth>
Set bandwidth constraint.
(since version 0.2.8\-RC3\-community)
.RE
.TP
.B NIO bridge module ("nio_bridge")
.RS
.TP
.B nio_bridge list
List 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 rename <bridge_name> <new_name>
Rename a NIO bridge.
(since version 0.2.11)
.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 module ("ethsw")
.RS
.TP
.B ethsw list
List all Ethernet switches.
.TP
.B ethsw create <switch_name>
Create a new Ethernet switch.
.TP
.B ethsw rename <switch_name> <new_name>
Rename an Ethernet switch.
(since version 0.2.11)
.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 through
the "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 set_qinq_port <switch_name> <nio_name> <outer_vlan>
Set the specified port as a trunk (QinQ) port.
(since version 0.2.3\-RC3\-community)
.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 module ("atmsw")
.RS
.TP
.B atmsw list
List all ATM switches.
.TP
.B atmsw create <switch_name>
Create a new ATM switch.
.TP
.B atmsw rename <switch_name> <new_name>
Rename an ATM switch.
(since version 0.2.11)
.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 ATM bridge module ("atm_bridge")
.RS
.TP
Available since version 0.2.8\-RC2.
.TP
.B atm_bridge list
List all ATM bridges.
.TP
.B atm_bridge create <bridge_name>
Create a new ATM bridge.
.TP
.B atm_bridge rename <bridge_name> <new_name>
Rename an ATM bridge.
(since version 0.2.11)
.TP
.B atm_bridge delete <bridge_name>
Delete an ATM bridge.
.TP
.B atm_bridge configure <bridge_name> <eth_nio> <atm_nio> <vpi> <vci>
Configure an ATM bridge.
.TP
.B atm_bridge unconfigure <bridge_name>
Unconfigure an ATM bridge.
.RE
.TP
.B Virtual Frame\(hyRelay switch module ("frsw")
.RS
.TP
.B frsw list
List all Frame\(hyRelay switches.
.TP
.B frsw create <switch_name>
Create a new Frame\(hyRelay switch.
.TP
.B frsw rename <switch_name> <new_name>
Rename a Frame-Relay switch.
(since version 0.2.11)
.TP
.B frsw delete <switch_name>
Delete the specified Frame\(hyRelay 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
.TP
.B Object store module ("object_store")
.RS
.TP
Available since version 0.2.8\-RC2.
.TP
.B object_store write <object_name> <data>
Write an object, data provided in base64 encoding.
.TP
.B object_store read <object_name>
Read an object and return data in base64 encoding.
.TP
.B object_store rename <object_name> <new_name>
Rename an object.
(since version 0.2.11)
.TP
.B object_store delete <object_name>
Delete an object from the store.
.TP
.B object_store delete_all
Delete all objects from the store
.TP
.B object_store list
Object list.
.RE
.SH REPORTING BUGS
.br
Please send bug reports to
.UR https://github.com/GNS3/dynamips/issues
.UE
.SH SEE ALSO
.br
\fBdynamips\fP(1), \fBnvram_export\fP(1), \fBdynagen\fP(1), \fBdynagui\fP(1)
.br
.UR http://www.gns3.net/dynamips/
.UE
.br
.UR http://forum.gns3.net/
.UE
.br
.UR https://github.com/GNS3/dynamips
.UE
.br
.SH OLD WEBSITES
.UR http://www.ipflow.utc.fr/index.php/
.UE
.br
.UR http://www.ipflow.utc.fr/blog/
.UE
.br
.UR http://hacki.at/7200emu/index.php
.UE
.SH AUTHOR
\fBdynamips\fP is being maintained by Flávio J. Saraiva
<flaviojs2005@gmail.com>. This manual page was initially written by
Erik Wenzel <erik@debian.org> for the Debian GNU/Linux system.
|