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

📄 readme

📁 思科路由器仿真器,用来仿7200系列得,可以在电脑上模拟路由器
💻
📖 第 1 页 / 共 2 页
字号:
VTTY binding to real serial port device "<si_desc>":----------------------------------------------------   Format: <device>{:baudrate{:databits{:parity{:stopbits{:hwflow}}}}}}   device: character device name, e.g. /dev/ttyS0   baudrate: baudrate   databits: number of databits.   parity: data parity: N=none, O=odd, E=even,    stopbits: number of stop bits   hwflow: hardware flow control (0=disable, 1=enable)   Note that the device field is mandatory, however other fields are optional.    (dynamips will default to 9600, 8, N, 1, no hardware flow control)   Note that access to the escape commands (described below) through a serial   port are deliberately prevented, as the escape commands interfere with   serial encapsulation protocols.Escape commands***************You can press ^] (Ctrl + ]) at any time, followed by one of these characters:o : Show the VM object listd : Show the device listr : Dump MIPS CPU registerst : Dump MIPS TLB entriesm : Dump the latest memory accessess : Suspend CPU emulationu : Resume CPU emulationq : Quit the emulatorb : Dump the instruction block treeh : JIT hash table statisticsl : MTS64 cache statisticsc : Write IOS configuration to disk (ios_cfg.txt)j : Non-JIT mode statisticsi : Determine an idling pointer counterx : Experimentations (can crash the box!)^]: Send ^]If you press an unrecognized key, help will be shown. Note: on Windows, it may be the "Ctrl + $" sequence.Virtual Bridge**************The virtual bridge is used to emulate a shared network between emulatorinstances.Any emulator instance can act as a virtual bridge.The configuration file (specified by the "-b" option) contains a list ofNetIO descriptors, with the following syntax:    interface_name:netio_type[:netio_parameters]Example:# Connection to instance "I0"I0:udp:10000:127.0.0.1:10001# Connection to instance "I1"I1:udp:10002:127.0.0.1:10003# Connection to instance "I2"I2:udp:10004:127.0.0.1:10005The "I0" instance would be launched with the following parameters:   dynamips ios.bin -p 1:PA-FE-TX -s 1:0:udp:10001:127.0.0.1:10000Virtual Ethernet switch***********************The virtual ethernet switch is used to emulate an Ethernet network betweenemulator instances. This switch supports access and trunk ports (802.1Q).ISL will be available in a future release.Any emulator instance can act as a virtual ethernet switch.The configuration file (specified by the "-E" option) contains a list ofNetIO descriptors (representing interfaces) and a list of interface properties(access/trunk port, VLAN info...)The interface definition is similar to Port Adapters:   IF:interface_name:netio_type[:netio_parameters]1) Configuring an Access Portsyntax: ACCESS:interface_name:vlan_id2) Configuration a 802.1Q Trunk Portsyntax: DOT1Q:interface_name:native_vlanThe native VLAN is not tagged. On Cisco devices, by default the native VLANis VLAN 1.Example of configuration file:IF:E0:udp:10000:127.0.0.1:10001IF:E1:udp:10002:127.0.0.1:10003IF:E2:gen_eth:eth0DOT1Q:E0:1ACCESS:E1:4DOT1Q:E2:1Virtual ATM switch******************The virtual ATM switch fabric is used to emulate an ATM backbone between emulator instances. The use of this virtual switch is not mandatory, you can directly connect emulator instances for point-to-point ATM connections.Please note that only basic VP/VC switching is supported, there is nosupport for ILMI/QSAAL/... or other specific ATM protocols.Any emulator instance can act as a virtual ATM switch.Example of configuration file (specified by the "-a" option):# Virtual Interface ListIF:A0:udp:10001:127.0.0.1:10000IF:A1:udp:10002:127.0.0.1:10003IF:A2:udp:10004:127.0.0.1:10005# VP connection between I0 and I1VP:A0:10:A1:20VP:A1:20:A0:10# VP connection between I0 and I2VP:A0:11:A2:30VP:A2:30:A0:11# VC connection between I1 and I2VC:A1:5:2:A2:7:3VC:A2:7:3:A1:5:2In this example, we have 3 virtual interfaces, A0, A1 and A2. The syntaxfor interface definition is similar to Port Adapters:   IF:interface_name:netio_type[:netio_parameters]You can do VP switching or VC switching:1) VP switchingsyntax: VP:input_if:input_vpi:output_if:output_vpi2) VC switchingsyntax: VC:input_if:input_vpi:input_vci:output_if:output_vpi:output_vciTesting the Virtual ATM switch with one dynamips instance*********************************************************(Contribution of Mtv Europe)Virtual ATM switch configuration file ("atm.cfg"):IF:A0:udp:10003:127.0.0.1:10001IF:A1:udp:10004:127.0.0.1:10002                                                # a0/vpi=1/vci=100 connects to a1/vpi=2/vci=200VC:A0:1:100:A1:2:200                                                           VC:A1:2:200:A0:1:100Invoking dynamips:./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(note input ports of IOS interfaces are output ports of ATM switch interfaces, and vice versa).IOS configuration:ip cefip vrf test rd 1:1 route-target both 1:1int a1/0 no shutint a1/0.2 p ip addr 1.1.1.1 255.255.255.0 pvc 1/100interface a2/0 no shutinterface a2/0.2 p ip vrf forwarding test ip addr 1.1.1.2 255.255.255.0 pvc 2/200!# ping 1.1.1.2!!!!!Virtual Frame-Relay switch**************************The virtual Frame-Relay switch fabric is used to emulate a Frame-Relay backbone between emulator instances. The use of this virtual switch is not mandatory, you can directly connect emulator instances with appropriate IOSconfiguration.Any emulator instance can act as a virtual Frame-Relay switch.There is only a basic implementation of the LMI protocol (ANSI Annex D), whichis probably not conforming but works with Cisco IOS. Fortunately, Cisco IOSis able to detect automatically the LMI protocol.Example of configuration file (specified by the "-f" option):# Virtual Interface ListIF:S0:udp:10001:127.0.0.1:10000IF:S1:udp:10002:127.0.0.1:10003# DLCI switching between S0 and S1VC:S0:200:S1:100VC:S1:100:S0:200In this example, we have 2 virtual interfaces, S0 and S1. The syntaxfor interface definition is similar to Port Adapters:   IF:interface_name:netio_type[:netio_parameters]DLCI switching syntax:   VC:input_if:input_dlci:output_if:output_dlciIn the example above, the switch is configured to switch packets received on interface S0 with DLCI 200 to interface S1 with DLCI 100,and vice-versa.== EOF ==

⌨️ 快捷键说明

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