mininet指令详解

仅限于mininet 1.0版本

Usage: mn [options]

Options:
  -h, --help                                  show this help message and exit
  --switch=SWITCH                            [kernel/内核 user/用户空间 ovsk/openvswitch内核模块]
  --host=HOST                                [process]
  --controller=CONTROLLER                    [nox_dump/nox控制器 none ref/openflow参考控制器 remote/远程控制器 nox_pysw]
  --topo=TOPO                                [tree/树形拓扑 reversed single/星形拓扑 linear/线形拓扑 minimal],arg1,arg2,...argN
  -c, --clean                                 clean and exit
  --custom=CUSTOM                             read custom topo and node params from .py file
  --test=TEST                                [cli build pingall pingpair iperf all iperfudp none]
  -x, --xterms                                spawn xterms for each node
  --mac                                       set MACs equal to DPIDs
  --arp                                       set all-pairs ARP entries
  -v VERBOSITY, --verbosity=VERBOSITY        [info warning critical error debug output]
  --ip=IP                                    [ip address as a dotted decimal string for aremote controller]
  --port=PORT                                [port integer for a listening remote controller]
  --innamespace                               sw and ctrl in namespace?
  --listenport=LISTENPORT                    [base port for passive switch listening controller]
  --nolistenport                              don't use passive listening port
  --pre=PRE                                  [CLI script to run before tests]
  --post=POST                                [CLI script to run after tests]
  --prefixlen=PREFIXLEN                      [prefix length (e.g. /8) for automatic network configuration]

原文地址:https://www.cnblogs.com/jhaohai/p/2948449.html