The GENI SPP Configurations

From ARL Wiki
Revision as of 03:38, 26 February 2010 by Ken Wong (talk | contribs)
Jump to navigationJump to search


Getting SPP Configurations

The scfg (Slice Configuration) command can be used to display the attributes of SPP interfaces. The two most common commands are:

scfg --cmd get_ifaces           # display attributes of all interfaces
scfg --cmd get_peer --ifn N     # display IP address of interface N's peer

Examples of the displays are shown at the end of this page. Enter:

scfg --help info

to see what other information command options there are.

IP Addresses

Washington DC:

Interface Type IP Address Peer Address
0 inet 64.57.23.194 0.0.0.0
1 inet 64.57.23.198 0.0.0.0
2 inet 64.57.23.202 0.0.0.0
3 p2p 10.1.3.2 10.1.3.1 (KC ifn 5)
4 p2p 10.1.4.2 10.1.4.1 (KC ifn 6)
5 p2p 10.1.7.1 10.1.7.2 (SLC ifn 5)
6 p2p 10.1.8.1 10.1.8.2 (SLC ifn 6)

Salt Lake City:

Interface Type IP Address Peer Address
0 inet 64.57.23.178 0.0.0.0
1 inet 64.57.23.182 0.0.0.0
2 inet 64.57.23.186 0.0.0.0
3 p2p 10.1.1.2 10.1.1.1 (KC ifn 3)
4 p2p 10.1.2.2 10.1.2.1 (KC ifn 4)
5 p2p 10.1.7.2 10.1.7.1 (DC ifn 5)
6 p2p 10.1.8.2 10.1.8.1 (DC ifn 6)

Kansas City:

Interface Type IP Address Peer Address
0 inet 64.57.23.210 0.0.0.0
1 inet 64.57.23.214 0.0.0.0
2 inet 64.57.23.218 0.0.0.0
3 p2p 10.1.1.1 10.1.1.2 (SLC ifn 3)
4 p2p 10.1.2.1 10.1.2.2 (SLC ifn 4)
5 p2p 10.1.3.1 10.1.3.2 (DC ifn 3)
6 p2p 10.1.4.1 10.1.4.2 (DC ifn 4)

Resources

Examples of Configuration Displays

What follows is the output of the get-info.sh script for the three GENI SPPs. The annotated output below shows which commands were used to produce the output.

<< DC 64.57.23.194 >>

Get list of available interfaces:  scfg --cmd get_ifaces

Interface list:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899808Kbps, ipAddr 64.57.23.194]
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.198]
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.202]
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.3.2]
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.4.2]
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.7.1]
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.8.1]

Get IP address of peer:  scfg --cmd get_peer --ifn N

Interface 0 SPP Peer IP address: 0.0.0.0
Interface 1 SPP Peer IP address: 0.0.0.0
Interface 2 SPP Peer IP address: 0.0.0.0
Interface 3 SPP Peer IP address: 10.1.3.1
Interface 4 SPP Peer IP address: 10.1.4.1
Interface 5 SPP Peer IP address: 10.1.7.2
Interface 6 SPP Peer IP address: 10.1.8.2

Get interface attributes:  scfg --cmd get_attrs --ifn N

Interface 0 Interface attributes:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899808Kbps, ipAddr 64.57.23.194]
Interface 1 Interface attributes:
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.198]
Interface 2 Interface attributes:
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.202]
Interface 3 Interface attributes:
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.3.2]
Interface 4 Interface attributes:
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.4.2]
Interface 5 Interface attributes:
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.7.1]
Interface 6 Interface attributes:
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.8.1]

<< SLC 64.57.23.210 >>

Get list of available interfaces:  scfg --cmd get_ifaces

Interface list:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.210]
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.214]
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.218]
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.1.2]
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.2.2]
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.7.2]
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.8.2]

Get IP address of peer:  scfg --cmd get_peer --ifn N

Interface 0 SPP Peer IP address: 0.0.0.0
Interface 1 SPP Peer IP address: 0.0.0.0
Interface 2 SPP Peer IP address: 0.0.0.0
Interface 3 SPP Peer IP address: 10.1.1.1
Interface 4 SPP Peer IP address: 10.1.2.1
Interface 5 SPP Peer IP address: 10.1.7.1
Interface 6 SPP Peer IP address: 10.1.8.1

Get interface attributes:  scfg --cmd get_attrs --ifn N

Interface 0 Interface attributes:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.210]
Interface 1 Interface attributes:
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.214]
Interface 2 Interface attributes:
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.218]
Interface 3 Interface attributes:
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.1.2]
Interface 4 Interface attributes:
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.2.2]
Interface 5 Interface attributes:
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.7.2]
Interface 6 Interface attributes:
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.8.2]

<< KC 64.57.23.178 >>

Get list of available interfaces:  scfg --cmd get_ifaces

Interface list:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899808Kbps, ipAddr 64.57.23.178]
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.182]
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.186]
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.1.1]
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.2.1]
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.3.1]
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.4.1]

Get IP address of peer:  scfg --cmd get_peer --ifn N

Interface 0 SPP Peer IP address: 0.0.0.0
Interface 1 SPP Peer IP address: 0.0.0.0
Interface 2 SPP Peer IP address: 0.0.0.0
Interface 3 SPP Peer IP address: 10.1.1.2
Interface 4 SPP Peer IP address: 10.1.2.2
Interface 5 SPP Peer IP address: 10.1.3.2
Interface 6 SPP Peer IP address: 10.1.4.2

Get interface attributes:  scfg --cmd get_attrs --ifn N

Interface 0 Interface attributes:
  [ifn 0, type  "inet", linkBW 1000000Kbps, availBW 899808Kbps, ipAddr 64.57.23.178]
Interface 1 Interface attributes:
  [ifn 1, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.182]
Interface 2 Interface attributes:
  [ifn 2, type  "inet", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 64.57.23.186]
Interface 3 Interface attributes:
  [ifn 3, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.1.1]
Interface 4 Interface attributes:
  [ifn 4, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.2.1]
Interface 5 Interface attributes:
  [ifn 5, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.3.1]
Interface 6 Interface attributes:
  [ifn 6, type  "p2p", linkBW 1000000Kbps, availBW 899744Kbps, ipAddr 10.1.4.1]