キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
1976
閲覧回数
0
いいね!
0
コメント
CscTsWebDocs
Community Member

2014年10月22日(初版)
 

TAC SR Collection
主な問題

IOS-XR ルータにおいて、Object-group を 設定をする際、誤ったコンフィグがあった場合は Commit に失敗しますが、"show configuration failed" にてエラー内容を確認した際、正しいコンフィグもエラーとして表示されます。

例:

RP/0/RSP0/CPU0:ASR9K(config)#object-group network ipv4 test
RP/0/RSP0/CPU0:ASR9K(config-object-group-ipv4)#192.168.1.0/24    <<< エラーでは無い
RP/0/RSP0/CPU0:ASR9K(config-object-group-ipv4)#192.168.1.1/24    <<< エラー
RP/0/RSP0/CPU0:ASR9K(config-object-group-ipv4)#commit
Fri Oct 10 07:56:18.054 UTC

% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. Please issue 'show configuration failed' from this session to view the errors
RP/0/RSP0/CPU0:ASR9K(config-object-group-ipv4)#show configation failed
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.


object-group network ipv4 test
!!% 'obj_group' detected the 'warning' condition 'Inconsistent address and prefix length. Address may not have bits set beyond prefix length. '
 192.168.1.0/24    <<< エラーでは無いが、エラーが表示される
!!% 'obj_group' detected the 'warning' condition 'Inconsistent address and prefix length. Address may not have bits set beyond prefix length. '
 192.168.1.1/24
!!% 'obj_group' detected the 'warning' condition 'Inconsistent address and prefix length. Address may not have bits set beyond prefix length. '
!
end

RP/0/RSP0/CPU0:ASR9K(config-object-group-ipv4)#

 

上記例では、192.168.1.0/24 といったコンフィグは、Object-group のコンフィグ上問題ではありません。一方、192.168.1.1/24 というコンフィグはエラーとなるため、commit は失敗します。

その際、show configuration failed コマンドにて、その失敗内容・原因を確認する事が出来ますが、192.168.1.0/24 についてもエラーとして表示されます。

このように、正しいコンフィグについてもエラーとして表示される問題となります。

原因

この問題はCSCuo30396 として、報告されています。

CSCuo30396 :sh config failed should highlight the config causing semantic error.

解決策

ワークアラウンドはありません。問題の解決には、CSCuo30396 が修正されたバージョンをご使用ください。


備考
本不具合は、Bug Search Tool でも確認できます。

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします