...
Generate traffic on Mininet, and retry the command; you should see four entries.:
Code Block |
---|
|
mininet> pingall
*** Ping: testing ping reachability
h1 -> h2 h3 h4
h2 -> h1 h3 h4
h3 -> h1 h2 h4
h4 -> h1 h2 h3
*** Results: 0% dropped (12/12 received) |
And retry the command. You should see four entries:
Code Block |
---|
|
onos> fwdmap
src=00:00:00:00:00:04/-1, dst=00:00:00:00:00:03/-1
src=00:00:00:00:00:03/-1, dst=00:00:00:00:00:04/-1
src=00:00:00:00:00:02/-1, dst=00:00:00:00:00:04/-1
src=00:00:00:00:00:01/-1, dst=00:00:00:00:00:02/-1 |
Since we have specified for an optional argument, we can also filter on source host ID, with autocomplete offering us the available options when we hit Tab:
Code Block |
---|
|
onos> fwdmap <tab>
onos> fwdmap 00:00:00:00:00:0
00:00:00:00:00:01/-1 00:00:00:00:00:02/-1 00:00:00:00:00:03/-1 00:00:00:00:00:04/-1
onos>
onos> fwdmap 00:00:00:00:00:04/-1
src=00:00:00:00:00:04/-1, dst=00:00:00:00:00:03/-1 |