下载此文档

使用教程.docx


文档分类:办公文档 | 页数:约24页 举报非法文档有奖
1/24
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/24 下载此文档
文档列表 文档介绍
第1 部分: Everyday Usage 首先是是命令语法?$ 这个符号代表现在处于 Linux 的 shell 交互下,需要使用的是 Linux 命令?> 这个符号表示现在处于 交互下,需要使用的是 的命令?# 这个符号表示的是现在处于 Linux 的 root 权限下。以上相应的状态下下属于对应的命令,就能够得到正常的输出。需要注意的是> 的情况比较特殊,需要使用 minient 的命令来进行交互。 Display Startup Options 我们首先来启动 。键入以下命令来显示 的帮助信息: $ sudo mn -h Usage: mn [options] (type mn -h for details) The mn utility creates work from mand line. It can create parametrized topologies, invoke the CLI, and run tests. Options: -h, --help show this help message and exit --switch=SWITCH ivs|ovsk|ovsl|user[,param=value...] --host=HOST cfs|proc|rt[,param=value...] --controller=CONTROLLER none|nox|ovsc|ref|remote[,param=value...] --link=LINK default|tc[,param=value...] --topo=TOPO linear|minimal|reversed|single|tree[,param=value...] -c, --clean clean and exit --custom=CUSTOM read custom topo and node params from .pyfile --test=TEST cli|build|pingall|pingpair|iperf|all|iperfudp|none -x, --xterms spawn xterms for each node -i IPBASE, --ipbase=IPBASE base IP address for hosts --mac automatically set host MACs --arp set all-pairs ARP entries -v VERBOSITY, --verbosity=VERBOSITY info|warning|critical|error|debug|output --innamespace sw and ctrl in namespace? --listenport=LISTENPORT base port for passive switch listening --nolistenport don't use passive listening port --pre=PRE CLI script to run before tests --post=POST CLI script to run after tests --pin pin hosts to CPU cores (requires --host cfs or --host rt) --version 如上所示,输出了 mn 的帮助信息。 Start Wireshark 为了使用 Wireshark 来查看 OpenFlow 的控制信息,我们先打开 Wireshark 并让他在后台运行。$ sudo wireshark &在 Wireshark 的过滤选项中,输入 of ,然后选择 Apply 。 In Wireshark, click Capture, then Interfaces, then select Start on the loopback interface ( lo ). 现在窗口上暂时应该没有任何 OpenFlow 的数据包。注:在 VM 镜像中 Wireshark 是默认已经安装的。如果你的系统中没有 Wireshark 的和 OpenFlow , 您可以使用 的 脚本,按以下步骤安装: $ cd~$ git clone https://// #如果它尚不存在$ /util/ -w 如果已经安装了 Wireshark , 但是运行不了( . 你得到一个类似$DISPLAY not set 之类的错误信息,可以参考 FAQ ,: https://///wiki/FAQ#wiki-X11-forwarding ) 设置好 X11 就可

使用教程 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数24
  • 收藏数0 收藏
  • 顶次数0
  • 上传人yzhfg888
  • 文件大小0 KB
  • 时间2016-07-03
最近更新