27 May 2013

vi Commands


Vi: Search and Replace

Change to normal mode with <ESC>.

Search (Wraped around at end of file): 
  • Search STRING forward : / STRING. 
  • Search STRING backward: ? STRING. 
  • Repeat search: n Repeat search in opposite direction: N (SHIFT-n) 

Replace: Same as with sed, Replace OLD with NEW: 
  • First occurrence on current line: :s/OLD/NEW 
  • Globally (all) on current line: :s/OLD/NEW/g 
  • Between two lines #,#: :#,#s/OLD/NEW/g 
  • Every occurrence in file: :%s/OLD/NEW/g 

13 March 2013

Japanese Exchanges

Tokyo Stock Exchange (TSE)

Products Systems Market Data
Equities Arrowhead Flex Full/Standard (Multicast)
Derivatives TDEX+ Tdex+ (Unicast)
http://www.tse.or.jp/english/system/tradingservices/index.html

Osaka Stoke Exchange (OSE)


Chi-X Japan (CHIX)


SBI Japannext (SBI)

03 January 2013

SNMP - Persistent Interface ifindex

Force interface index in SNMP to be fixed, even after device reboot.

Global config

snmp-server ifindex persist

OR

Per Interface config

interface <int>
 snmp-server ifindex persist