DRAGON is the software currently used to control the DYNES switches.
Connect to DRAGON on the local server
Code Block |
---|
$ telnet localhost 2611
password: dragon
|
Start and stop DRAGON
Code Block |
---|
/usr/local/dragon/bin/dragon.sh start-vlsr-narb
/usr/local/dragon/bin/dragon.sh stop
|
Change switch IP
Code Block |
---|
vi /usr/local/dragon/etc/ospfd-intra.conf
data-interface ip 10.100.10.1 protocol snmp switch-ip x.x.x.x switch-port 0/0/1
|
Rebuild DRAGON
Code Block |
---|
Stop DRAGON, /usr/local/dragon/bin/dragon.sh stop
cd /home/dragon/snapshot.current/dragon-sw
./do_build.sh vlsr-option
Valid vlsr-options can be found looking at do_build.sh
The do_build.sh script will require you to provide username, password, enable password and snmp string
After the script completes, you'll be prompted to run ./do_install.sh
Once do_install.sh completes run the script to start DRAGON.
|
Code Block |
---|
**This example is using vlan 4001, port 1-0-1 and port 1-0-20**
$ telnet localhost 2611
password: dragon
dynes-vlsr> show local-id
No localID configured …
dynes-vlsr> set local-id tagged-group 4001 add 4097
dynes-vlsr> set local-id tagged-group 4001 add 4116
Displaying 1 registered localID(s)
LocalID Type (Tags/Ports in Group)
4001 tagged group 4097(1/0/1) 4116(1/0/20)
dynes-vlsr> show lsp test-1
No matching LSP named test-1
dynes-vlsr> edit lsp test-1
dynes-vlsr(edit-lsp-test-1)# set source ip-address 10.100.10.100 tagged-group 4001 destination ip-address 10.100.10.100 tagged-group 4001
dynes-vlsr(edit-lsp-test-1)# set bandwidth eth1M swcap l2sc encoding ethernet gpid ethernet
dynes-vlsr(edit-lsp-test-1)# set vtag 4001
dynes-vlsr(edit-lsp-test-1)# exit
dynes-vlsr> commit lsp test-1
dynes-vlsr> show lsp
*LSP status summary*
Name Status Dir Source (IP/LSP ID) Destination (IP/Tunnel ID)
--------------------------------------------------------------------------
test-1
In service <=> 10.100.10.100 10.100.10.100
4001 4001
dynes-vlsr> delete lsp test-1
dynes-vlsr> exit
|
View Active VLANs
Code Block |
---|
dynes-vlsr> show lsp
**LSP status summary**
Name Status Dir Source (IP/LSP ID) Destination (IP/Tunnel ID)
--------------------------------------------------------------------------
ion.internet2.edu-324
In service <=> 10.100.10.100 10.100.10.100
3617 3617
ion.internet2.edu-331
In service <=> 10.100.10.100 10.100.10.100
3618 3618
|
Delete Active VLANs
Code Block |
---|
dynes-vlsr> delete lsp ion.internet2.edu-324
|