...
Code Block |
---|
|
onos> help onos | grep fwdmap
onos:fwdmap
onos> fwdmap --help
DESCRIPTION
onos:fwdmap
Lists the endpoints for which intents are installed
SYNTAX
onos:fwdmap [options] [hostId]
ARGUMENTS
hostId
Host ID of source
OPTIONS
-j, --json
Output JSON
--help
Display this help message |
...
Code Block |
---|
|
onos> hosts
id=00:00:00:00:00:01/-1, mac=00:00:00:00:00:01, location=of:0000000000000002/1, vlan=-1, ip(s)=[]
id=00:00:00:00:00:02/-1, mac=00:00:00:00:00:02, location=of:0000000000000002/2, vlan=-1, ip(s)=[]
id=00:00:00:00:00:03/-1, mac=00:00:00:00:00:03, location=of:0000000000000003/1, vlan=-1, ip(s)=[]
id=00:00:00:00:00:04/-1, mac=00:00:00:00:00:04, location=of:0000000000000003/2, vlan=-1, ip(s)=[] |
3. Test out the command.
...
Without traffic, the command won't return anything:
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) |