| 1 |
.\" First parameter, NAME, should be all caps |
| 2 |
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection |
| 3 |
.\" other parameters are allowed: see man(7), man(1) |
| 4 |
.TH DYNAMIPS 1 "Sep 28, 2013" |
| 5 |
.\" Please adjust this date whenever revising the manpage. |
| 6 |
.\" |
| 7 |
.\" Some roff macros, for reference: |
| 8 |
.\" .nh disable hyphenation |
| 9 |
.\" .hy enable hyphenation |
| 10 |
.\" .ad l left justify |
| 11 |
.\" .ad b justify to both left and right margins |
| 12 |
.\" .nf disable filling |
| 13 |
.\" .fi enable filling |
| 14 |
.\" .br insert line break |
| 15 |
.\" .sp <n> insert n+1 empty lines |
| 16 |
.\" for manpage-specific macros, see man(7) |
| 17 |
.SH NAME |
| 18 |
dynamips \- Cisco router simulator |
| 19 |
.SH SYNOPSIS |
| 20 |
.B dynamips |
| 21 |
.RI [ options ] |
| 22 |
.I ios_image |
| 23 |
.br |
| 24 |
.SH DESCRIPTION |
| 25 |
Emulates Cisco routers on a traditional PC. You can use \fBdynamips\fP |
| 26 |
to create labs. It uses real Cisco IOS Images, which are not included |
| 27 |
in this package. Of course, this emulator cannot replace a real router. |
| 28 |
It is simply a complementary tool to real labs for administrators of Cisco |
| 29 |
networks or people wanting to pass their CCNA/CCNP/CCIE exams. |
| 30 |
.br |
| 31 |
The emulator currently supports Cisco 7200, Cisco 3745, Cisco 3725, |
| 32 |
Cisco 3600, Cisco 2691, Cisco 2600, and Cisco 1700 series. |
| 33 |
.br |
| 34 |
By default, a Cisco 7206VXR with NPE\-200 (256 Mb of DRAM) is emulated. |
| 35 |
.br |
| 36 |
To emulate another platform, like the Cisco 3600 series, use the "\-P" command line option. |
| 37 |
You can change the chassis type with "\-t". Don't forget to set it |
| 38 |
depending on your IOS image, a c3660 image will not run on |
| 39 |
c3640 hardware and vice\-versa. |
| 40 |
.PP |
| 41 |
.\" TeX users may be more comfortable with the \fB<whatever>\fP and |
| 42 |
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, |
| 43 |
.\" respectively. |
| 44 |
.SH OPTIONS |
| 45 |
A summary of options is included below. |
| 46 |
.TP |
| 47 |
.B \-H <tcp_port> |
| 48 |
Enable hypervisor mode. |
| 49 |
.br |
| 50 |
The hypervisor mode of dynamips allows you to run simultaneously |
| 51 |
many virtual router instances, and to simulate ATM, Ethernet |
| 52 |
or Frame\(hyRelay networks. |
| 53 |
.br |
| 54 |
You can connect directly to the TCP control port with telnet, or use |
| 55 |
\fBdynagen\fP(1), \fBdynagui\fP(1) that will pass commands transparently. |
| 56 |
The second method is highly recommended. |
| 57 |
.TP |
| 58 |
.B \-l <log_file> |
| 59 |
Set logging file (default is dynamips_log.txt) |
| 60 |
.TP |
| 61 |
.B \-j |
| 62 |
Disable the JIT compiler, very slow |
| 63 |
.TP |
| 64 |
.B \-\-exec\-area <size> |
| 65 |
Set the exec area size (default: 64 Mb) |
| 66 |
.br |
| 67 |
The exec area is a pool of host memory used to store pages translated by |
| 68 |
the JIT (they contain the native code corresponding to MIPS code pages). |
| 69 |
|
| 70 |
.TP |
| 71 |
.B \-\-idle\-pc <pc> |
| 72 |
Set the idle PC (default: disabled) |
| 73 |
.br |
| 74 |
The "idle PC" feature allows you to run a router instance without having |
| 75 |
a 100% CPU load. This implies that you can run a larger number of instances |
| 76 |
per real machine. |
| 77 |
.br |
| 78 |
To determine the "idle PC", start normally the emulator with your Cisco IOS |
| 79 |
image, and a totally IOS empty configuration (although not mandatory, this |
| 80 |
will give better results). When the image is fully booted, wait for the |
| 81 |
"Press RETURN to get started!" message prompt, but do not press Enter key. |
| 82 |
Wait about 5 seconds, then press "Ctrl\(hy] + i". Some statistics will be |
| 83 |
gathered during 10 seconds. At the end, the emulator will display a list of |
| 84 |
possible values to pass to the "\-\-idle\-pc" option. You may have to try some |
| 85 |
values before finding the good one. To check if the idle PC value is good, |
| 86 |
just boot the Cisco IOS image, and check your CPU load when the console |
| 87 |
prompt is available. If it is low, you have found a good value, keep it |
| 88 |
preciously. |
| 89 |
.br |
| 90 |
Important remarks: |
| 91 |
.br |
| 92 |
* An "idle PC" value is *specific* to a Cisco IOS image. You cannot |
| 93 |
boot a different IOS image without proceeding as described above. |
| 94 |
.br |
| 95 |
* Do not run the process while having the "autoconfiguration" prompt. |
| 96 |
|
| 97 |
.TP |
| 98 |
.B \-\-timer\-itv <val> |
| 99 |
Timer IRQ interval check (default: 1000) |
| 100 |
.TP |
| 101 |
.B \-i <instance> |
| 102 |
Set instance ID |
| 103 |
.TP |
| 104 |
.B \-r <ram_size> |
| 105 |
Set the virtual RAM size (default: 256 Mb) |
| 106 |
.TP |
| 107 |
.B \-o <rom_size> |
| 108 |
Set the virtual ROM size (default: 4 Mb) |
| 109 |
.TP |
| 110 |
.B \-n <nvram_size> |
| 111 |
Set the NVRAM size (default: 128 Kb) |
| 112 |
.TP |
| 113 |
.B \-c <conf_reg> |
| 114 |
Set the configuration register (default: 0x2102) |
| 115 |
.TP |
| 116 |
.B \-m <mac_addr> |
| 117 |
Set the MAC address of the chassis (default: automatically generated) |
| 118 |
.TP |
| 119 |
.B \-C, \-\-startup\-config <file> |
| 120 |
Import IOS configuration file into NVRAM |
| 121 |
.TP |
| 122 |
.B \-\-private\-config <file> |
| 123 |
Import IOS configuration file into NVRAM |
| 124 |
.TP |
| 125 |
.B \-X |
| 126 |
Do not use a file to simulate RAM (faster) |
| 127 |
.TP |
| 128 |
.B \-R <rom_file> |
| 129 |
Load an alternate ROM (default: embedded) |
| 130 |
.TP |
| 131 |
.B \-k <clock_div> |
| 132 |
Set the clock divisor (default: 4) |
| 133 |
.br |
| 134 |
Specify the clock divider (integer) based on the host clock. |
| 135 |
Alter the value to match the CISCO clock with the real time. |
| 136 |
The command "show clock" at the IOS' CLI will help you set this value. |
| 137 |
|
| 138 |
.TP |
| 139 |
.B \-T <port> |
| 140 |
Console is on TCP <port> |
| 141 |
.TP |
| 142 |
.B \-U <si_desc> |
| 143 |
Console in on serial interface <si_desc> (default is on the terminal) |
| 144 |
.TP |
| 145 |
.B \-A <port> |
| 146 |
AUX is on TCP <port> |
| 147 |
.TP |
| 148 |
.B \-B <si_desc> |
| 149 |
AUX is on serial interface <si_desc> (default is no AUX port) |
| 150 |
.TP |
| 151 |
.B \-\-disk0 <size> |
| 152 |
Set PCMCIA ATA disk0: size (default: 64 Mb) |
| 153 |
.TP |
| 154 |
.B \-\-disk1 <size> |
| 155 |
Set PCMCIA ATA disk1: size (default: 0 Mb) |
| 156 |
.TP |
| 157 |
.B \-a <cfg_file> |
| 158 |
Virtual ATM switch configuration file. |
| 159 |
.TP |
| 160 |
.B \-f <cfg_file> |
| 161 |
Virtual Frame\(hyRelay switch configuration file. |
| 162 |
.TP |
| 163 |
.B \-E <cfg_file> |
| 164 |
Virtual Ethernet switch configuration file. |
| 165 |
.TP |
| 166 |
.B \-e |
| 167 |
Show network device list of the host machine. |
| 168 |
|
| 169 |
.SH OPTIONS specific to the Cisco 7200 series |
| 170 |
.TP |
| 171 |
.B \-t <npe_type> |
| 172 |
Select NPE type (default: "npe\(hy200") |
| 173 |
.TP |
| 174 |
.B \-M <midplane> |
| 175 |
Select Midplane ("std" or "vxr") |
| 176 |
.TP |
| 177 |
.B \-p <pa_desc> |
| 178 |
Define a Port Adapter |
| 179 |
.TP |
| 180 |
.B \-s <pa_nio> |
| 181 |
Bind a Network IO interface to a Port Adapter |
| 182 |
|
| 183 |
.SH OPTIONS specific to the Cisco 3600 series |
| 184 |
.TP |
| 185 |
.B \-t <chassis_type> |
| 186 |
Select Chassis type (default: "3640") |
| 187 |
.TP |
| 188 |
.B \-p <nm_desc> |
| 189 |
Define a Network Module |
| 190 |
.TP |
| 191 |
.B \-s <nm_nio> |
| 192 |
Bind a Network IO interface to a Network Module |
| 193 |
|
| 194 |
.SH Cisco 7200 Port Adapter Description "<pa_desc>" |
| 195 |
.TP |
| 196 |
.B Format |
| 197 |
slot:pa_driver |
| 198 |
.TP |
| 199 |
.B slot |
| 200 |
the number of the physical slot (starts from 0) |
| 201 |
.TP |
| 202 |
.B pa_driver |
| 203 |
the name of a Port Adapter driver in: |
| 204 |
.RS |
| 205 |
.IP C7200\(hyIO\(hyFE |
| 206 |
(FastEthernet, slot 0 only) |
| 207 |
.IP PA\(hyFE\(hyTX |
| 208 |
(FastEthernet, slots 1 to 6) |
| 209 |
.IP PA\(hy4E |
| 210 |
(Ethernet, 4 ports) |
| 211 |
.IP PA\(hy8E |
| 212 |
(Ethernet, 8 ports) |
| 213 |
.IP PA\(hy4T+ |
| 214 |
(Serial, 4 ports) |
| 215 |
.IP PA\(hy8T |
| 216 |
(Serial, 8 ports) |
| 217 |
.IP PA\(hyA1 |
| 218 |
(ATM) |
| 219 |
.SH Cisco 3600 Network Module Description "<nm_desc>" |
| 220 |
.TP |
| 221 |
.B Format |
| 222 |
slot:nm_driver |
| 223 |
.TP |
| 224 |
.B slot |
| 225 |
the number of the physical slot (starts from 0) |
| 226 |
.TP |
| 227 |
.B nm_driver |
| 228 |
the name of a Network Module driver in: |
| 229 |
.RS |
| 230 |
.IP NM\(hy1E |
| 231 |
(Ethernet, 1 port) |
| 232 |
.IP NM\(hy4E |
| 233 |
(Ethernet, 4 ports) |
| 234 |
.IP NM\(hy1FE\(hyTX |
| 235 |
(FastEthernet, 1 port) |
| 236 |
.IP NM\(hy4T |
| 237 |
(Serial, 4 ports) |
| 238 |
.IP Leopard\(hy2FE |
| 239 |
(Cisco 3660 FastEthernet in slot 0, automatically used) |
| 240 |
.SH NIO binding to Port Adapter "<pa_nio>" and Network Modules "<nm_nio>": |
| 241 |
.TP |
| 242 |
.B Format |
| 243 |
slot:port:netio_type[:netio_parameters] |
| 244 |
.TP |
| 245 |
.B slot |
| 246 |
the number of the physical slot (starts from 0) |
| 247 |
.TP |
| 248 |
.B port |
| 249 |
the port in the specified slot (starts from 0) |
| 250 |
.TP |
| 251 |
.B netio_type |
| 252 |
host interface for communication |
| 253 |
.RS |
| 254 |
.IP unix:<local_sock>:<remote_sock> |
| 255 |
Use unix sockets for local communication. |
| 256 |
<local_sock> is created and represents the local NIC. |
| 257 |
<remote_sock> is the file used by the other interface. |
| 258 |
(ex. "/tmp/local:/tmp/remote") |
| 259 |
.IP vde:<control_sock>:<local_sock> |
| 260 |
For use with UML (User\(hyMode\(hyLinux) or VDE switches. |
| 261 |
VDE stands for "Virtual Distributed Ethernet". |
| 262 |
Please refer to : http://sourceforge.net/projects/vde/ |
| 263 |
.IP tap:<tap_name> |
| 264 |
Use a virtual ethernet device for communication. |
| 265 |
<tap_name> is the name of the tap device (ex. "tap0") |
| 266 |
.IP gen_eth:<dev_name> |
| 267 |
Use a real ethernet device for communication, using libpcap 0.9 or |
| 268 |
WinPcap. Works on Windows and Unix systems. |
| 269 |
.br |
| 270 |
<dev_name> is the name of the Ethernet device (ex. "eth0") |
| 271 |
.br |
| 272 |
The device list can be found using the "\-e" option. |
| 273 |
.IP linux_eth:<dev_name> |
| 274 |
Use a real ethernet device for communication (Linux specific). |
| 275 |
<dev_name> is the name of the Ethernet device (ex. "eth0") |
| 276 |
.IP udp:<local_port>:<remote_host>:<remote_port> |
| 277 |
Use an UDP socket for connection between remote instances. <local_port> |
| 278 |
is the port we listen to. |
| 279 |
<remote_host> is the host listening the port you want to connect to. |
| 280 |
<remote_port> is the port you want to connect to. (ex. "1000:somehost:2000" |
| 281 |
and "2000:otherhost:1000" on the other side) |
| 282 |
.IP tcp_cli:<host>:<port> |
| 283 |
Client side of a tcp connection. |
| 284 |
<host> is the ip address of the server. |
| 285 |
<port> is the port to connect to. |
| 286 |
.IP tcp_ser:<port> |
| 287 |
Server side of a tcp connection. |
| 288 |
<port> is the port to listen to. |
| 289 |
.IP null |
| 290 |
Dummy netio (used for testing/debugging), no parameters needed. |
| 291 |
.SH VTTY binding to real serial port device "<si_desc>" |
| 292 |
.TP |
| 293 |
.B Format |
| 294 |
<device>{:baudrate{:databits{:parity{:stopbits{:hwflow}}}}}} |
| 295 |
.RS |
| 296 |
.IP device |
| 297 |
character device name, e.g. /dev/ttyS0 |
| 298 |
.IP baudrate |
| 299 |
baudrate |
| 300 |
.IP databits |
| 301 |
number of databits |
| 302 |
.IP parity |
| 303 |
data parity: N=none, O=odd, E=even |
| 304 |
.IP stopbits |
| 305 |
number of stop bits |
| 306 |
.IP hwflow |
| 307 |
hardware flow control (0=disable, 1=enable) |
| 308 |
.br |
| 309 |
Note that the device field is mandatory, however other fields are optional. |
| 310 |
(dynamips will default to 9600, 8, N, 1, no hardware flow control) |
| 311 |
.br |
| 312 |
Note that access to the escape commands (described below) through a serial |
| 313 |
port are deliberately prevented, as the escape commands interfere with |
| 314 |
serial encapsulation protocols. |
| 315 |
|
| 316 |
.SH Escape commands |
| 317 |
You can press ^] (Ctrl + ]) at any time, followed by one of these characters: |
| 318 |
.TP |
| 319 |
.B o |
| 320 |
Show the VM object list |
| 321 |
.TP |
| 322 |
.B d |
| 323 |
Show the device list |
| 324 |
.TP |
| 325 |
.B r |
| 326 |
Dump MIPS CPU registers |
| 327 |
.TP |
| 328 |
.B t |
| 329 |
Dump MIPS TLB entries |
| 330 |
.TP |
| 331 |
.B m |
| 332 |
Dump the latest memory accesses |
| 333 |
.TP |
| 334 |
.B s |
| 335 |
Suspend CPU emulation |
| 336 |
.TP |
| 337 |
.B u |
| 338 |
Resume CPU emulation |
| 339 |
.TP |
| 340 |
.B q |
| 341 |
Quit the emulator |
| 342 |
.TP |
| 343 |
.B b |
| 344 |
Dump the instruction block tree |
| 345 |
.TP |
| 346 |
.B h |
| 347 |
JIT hash table statistics |
| 348 |
.TP |
| 349 |
.B l |
| 350 |
MTS64 cache statistics |
| 351 |
.TP |
| 352 |
.B c |
| 353 |
Write IOS configuration to disk (ios_cfg.txt) |
| 354 |
.TP |
| 355 |
.B j |
| 356 |
Non\(hyJIT mode statistics |
| 357 |
.TP |
| 358 |
.B x |
| 359 |
Experimentations (can crash the box!) |
| 360 |
.TP |
| 361 |
.B ^] |
| 362 |
Send ^] |
| 363 |
.br |
| 364 |
If you press an unrecognized key, help will be shown. Note: on Windows, it may be the "Ctrl + $" sequence. |
| 365 |
.SH Virtual Bridge |
| 366 |
The virtual bridge is used to emulate a shared network between emulator |
| 367 |
instances. |
| 368 |
Any emulator instance can act as a virtual bridge. |
| 369 |
.br |
| 370 |
The configuration file (specified by the "\-b" option) contains a list of |
| 371 |
NetIO descriptors, with the following syntax: |
| 372 |
.TP |
| 373 |
.B interface_name:netio_type[:netio_parameters] |
| 374 |
.TP |
| 375 |
Example: |
| 376 |
.nf |
| 377 |
# Connection to instance "I0" |
| 378 |
I0:udp:10000:127.0.0.1:10001 |
| 379 |
# Connection to instance "I1" |
| 380 |
I1:udp:10002:127.0.0.1:10003 |
| 381 |
# Connection to instance "I2" |
| 382 |
I2:udp:10004:127.0.0.1:10005 |
| 383 |
.fi |
| 384 |
.PP |
| 385 |
The "I0" instance would be launched with the following parameters: |
| 386 |
.TP |
| 387 |
dynamips ios.bin \-p 1:PA\-FE\-TX \-s 1:0:udp:10001:127.0.0.1:10000 |
| 388 |
|
| 389 |
.SH Virtual Ethernet switch |
| 390 |
The virtual ethernet switch is used to emulate an Ethernet network between |
| 391 |
emulator instances. This switch supports access and trunk ports (802.1Q). |
| 392 |
ISL will be available in a future release. |
| 393 |
.br |
| 394 |
Any emulator instance can act as a virtual ethernet switch. |
| 395 |
.br |
| 396 |
The configuration file (specified by the "\-E" option) contains a list of |
| 397 |
NetIO descriptors (representing interfaces) and a list of interface properties |
| 398 |
(access/trunk port, VLAN info...) |
| 399 |
.br |
| 400 |
The interface definition is similar to Port Adapters: |
| 401 |
.TP |
| 402 |
.B IF:interface_name:netio_type[:netio_parameters] |
| 403 |
.TP |
| 404 |
.B Access Port |
| 405 |
ACCESS:interface_name:vlan_id |
| 406 |
.TP |
| 407 |
.B 802.1Q Trunk Port |
| 408 |
DOT1Q:interface_name:native_vlan |
| 409 |
.PP |
| 410 |
The native VLAN is not tagged. On Cisco devices, by default the native VLAN |
| 411 |
is VLAN 1. |
| 412 |
.TP |
| 413 |
Example of configuration file: |
| 414 |
.nf |
| 415 |
IF:E0:udp:10000:127.0.0.1:10001 |
| 416 |
IF:E1:udp:10002:127.0.0.1:10003 |
| 417 |
IF:E2:gen_eth:eth0 |
| 418 |
DOT1Q:E0:1 |
| 419 |
ACCESS:E1:4 |
| 420 |
DOT1Q:E2:1 |
| 421 |
.fi |
| 422 |
|
| 423 |
.SH Virtual ATM switch |
| 424 |
The virtual ATM switch fabric is used to emulate an ATM backbone between |
| 425 |
emulator instances. The use of this virtual switch is not mandatory, you |
| 426 |
can directly connect emulator instances for point\(hyto\(hypoint ATM connections. |
| 427 |
Please note that only basic VP/VC switching is supported, there is no |
| 428 |
support for ILMI/QSAAL/\|.\|.\|. or other specific ATM protocols. |
| 429 |
.br |
| 430 |
Any emulator instance can act as a virtual ATM switch. |
| 431 |
.TP |
| 432 |
Example of configuration file (specified by the "\-a" option): |
| 433 |
.nf |
| 434 |
# Virtual Interface List |
| 435 |
IF:A0:udp:10001:127.0.0.1:10000 |
| 436 |
IF:A1:udp:10002:127.0.0.1:10003 |
| 437 |
IF:A2:udp:10004:127.0.0.1:10005 |
| 438 |
# VP connection between I0 and I1 |
| 439 |
VP:A0:10:A1:20 |
| 440 |
VP:A1:20:A0:10 |
| 441 |
# VP connection between I0 and I2 |
| 442 |
VP:A0:11:A2:30 |
| 443 |
VP:A2:30:A0:11 |
| 444 |
# VC connection between I1 and I2 |
| 445 |
VC:A1:5:2:A2:7:3 |
| 446 |
VC:A2:7:3:A1:5:2 |
| 447 |
.fi |
| 448 |
.PP |
| 449 |
In this example, we have 3 virtual interfaces, A0, A1 and A2. The syntax |
| 450 |
for interface definition is similar to Port Adapters: |
| 451 |
.TP |
| 452 |
.B IF:interface_name:netio_type[:netio_parameters] |
| 453 |
You can do VP switching or VC switching: |
| 454 |
.TP |
| 455 |
.B VP switching |
| 456 |
VP:input_if:input_vpi:output_if:output_vpi |
| 457 |
.TP |
| 458 |
.B VC switching |
| 459 |
VC:input_if:input_vpi:input_vci:output_if:output_vpi:output_vci |
| 460 |
|
| 461 |
.SH Testing the Virtual ATM switch with one dynamips instance |
| 462 |
.TP |
| 463 |
Virtual ATM switch configuration file ("atm.cfg"): |
| 464 |
.nf |
| 465 |
IF:A0:udp:10003:127.0.0.1:10001 |
| 466 |
IF:A1:udp:10004:127.0.0.1:10002 |
| 467 |
# a0/vpi=1/vci=100 connects to a1/vpi=2/vci=200 |
| 468 |
VC:A0:1:100:A1:2:200 |
| 469 |
VC:A1:2:200:A0:1:100 |
| 470 |
.fi |
| 471 |
.TP |
| 472 |
Invoking dynamips: |
| 473 |
.B \|./dynamips \-p 1:PA\-A1 \-s 1:0:udp:10001:127.0.0.1:10003 \-p 2:PA\-A1 \-s 2:0:udp:10002:127.0.0.1:10004 \-a atm.cfg IOS.BIN |
| 474 |
.br |
| 475 |
(note input ports of IOS interfaces are output ports of ATM switch |
| 476 |
interfaces, and vice versa). |
| 477 |
.br |
| 478 |
.TP |
| 479 |
IOS Configuration: |
| 480 |
.nf |
| 481 |
ip cef |
| 482 |
ip vrf test |
| 483 |
rd 1:1 |
| 484 |
route\-target both 1:1 |
| 485 |
int a1/0 |
| 486 |
no shut |
| 487 |
int a1/0.2 p |
| 488 |
ip addr 1.1.1.1 255.255.255.0 |
| 489 |
pvc 1/100 |
| 490 |
interface a2/0 |
| 491 |
no shut |
| 492 |
interface a2/0.2 p |
| 493 |
ip vrf forwarding test |
| 494 |
ip addr 1.1.1.2 255.255.255.0 |
| 495 |
pvc 2/200 |
| 496 |
! |
| 497 |
.fi |
| 498 |
|
| 499 |
.SH Virtual Frame\(hyRelay switch |
| 500 |
The virtual Frame\(hyRelay switch fabric is used to emulate a Frame\(hyRelay |
| 501 |
backbone between emulator instances. The use of this virtual switch is not |
| 502 |
mandatory, you can directly connect emulator instances with appropriate IOS |
| 503 |
configuration. |
| 504 |
.br |
| 505 |
Any emulator instance can act as a virtual Frame\(hyRelay switch. |
| 506 |
There is only a basic implementation of the LMI protocol (ANSI Annex D), which |
| 507 |
is probably not conforming but works with Cisco IOS. Fortunately, Cisco IOS |
| 508 |
is able to detect automatically the LMI protocol. |
| 509 |
.TP |
| 510 |
Example of configuration file (specified by the "\-f" option): |
| 511 |
.nf |
| 512 |
# Virtual Interface List |
| 513 |
IF:S0:udp:10001:127.0.0.1:10000 |
| 514 |
IF:S1:udp:10002:127.0.0.1:10003 |
| 515 |
# DLCI switching between S0 and S1 |
| 516 |
VC:S0:200:S1:100 |
| 517 |
VC:S1:100:S0:200 |
| 518 |
.fi |
| 519 |
.PP |
| 520 |
In this example, we have 2 virtual interfaces, S0 and S1. The syntax |
| 521 |
for interface definition is similar to Port Adapters: |
| 522 |
.TP |
| 523 |
.B IF:interface_name:netio_type[:netio_parameters] |
| 524 |
.TP |
| 525 |
.B DLCI switching syntax: |
| 526 |
.RS |
| 527 |
.IP VC:input_if:input_dlci:output_if:output_dlci |
| 528 |
.RE |
| 529 |
.br |
| 530 |
In the example above, the switch is configured to switch packets |
| 531 |
received on interface S0 with DLCI 200 to interface S1 with DLCI 100, |
| 532 |
and vice\(hyversa. |
| 533 |
|
| 534 |
.SH BUGS |
| 535 |
.TP |
| 536 |
See RELEASE\-NOTES. |
| 537 |
.SH REPORTING BUGS |
| 538 |
.br |
| 539 |
Please send bug reports to |
| 540 |
.UR https://github.com/GNS3/dynamips/issues |
| 541 |
.UE |
| 542 |
.SH SEE ALSO |
| 543 |
.br |
| 544 |
\fBnvram_export\fP(1), \fBhypervisor_mode\fP(7), \fBdynagen\fP(1), |
| 545 |
\fBdynagui\fP(1) |
| 546 |
.br |
| 547 |
.UR http://www.gns3.net/dynamips/ |
| 548 |
.UE |
| 549 |
.br |
| 550 |
.UR http://forum.gns3.net/ |
| 551 |
.UE |
| 552 |
.br |
| 553 |
.UR https://github.com/GNS3/dynamips |
| 554 |
.UE |
| 555 |
.br |
| 556 |
.SH OLD WEBSITES |
| 557 |
.UR http://www.ipflow.utc.fr/index.php/ |
| 558 |
.UE |
| 559 |
.br |
| 560 |
.UR http://www.ipflow.utc.fr/blog/ |
| 561 |
.UE |
| 562 |
.br |
| 563 |
.UR http://hacki.at/7200emu/index.php |
| 564 |
.UE |
| 565 |
.SH AUTHOR |
| 566 |
\fBdynamips\fP is being maintained by Flávio J. Saraiva |
| 567 |
<[email protected]>. This manual page was initially written by |
| 568 |
Erik Wenzel <[email protected]> for the Debian GNU/Linux system. |
| 569 |
|