0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rancidのセパレータはセミコロン

0
Posted at

内容

rancidの設定で悩んだことを共有

ホスト情報(router.db)の記載方法

バージョン3以降は、セパレート文字は”;”(セミコロン)になったそうだ。
※昔は、":"コロンでした。

(昔(ver2時代))router01:cisco:up
(今(ver3時代))router01;cisco;up

理由は、ホスト情報(IPアドレス)にIPv6の記載を許可するためでした。
なるほどな〜

以下、本家の情報

In RANCID releases prior to 3.0, router.db used colons (:) as its field separator. This was changed to allow IPv6 addresses to be used in router.db.

http://www.shrubbery.net/rancid/CHANGES
上記内の3.0のチェンジログより抜粋

router.db,rancid.types.*: change field separator to ';' (semi-colon) to allow for IPv6 addresses in router.db and avoid conflict with :s in device commands and perl module names

※rancid.typesも変更対象ですって

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?