Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- routers="n1 n2 n3 n4 n5 n6 n7 n8"
- mdrlevel="show ipv6 ospf6 mdrlevel"
- for i in $routers
- do
- himage $i hostname \
- || error "Cannot find node $i. Is simulation started? Try: Experiment->Execute"
- eid=`himage -e $i`
- node=`himage -n $i`
- foo=`himage $i vtysh <<EOF
- show ipf6 ospf6 mdrlevel
- exit
- EOF`
- echo $foo
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement