はじめに
このドキュメントでは、IOS-XR にて PIE や SMU の add を行う際、non-default VRF を使用する場合について説明します。
問題の説明
Management インターフェースを non-default VRF に設定している場合、通常 install コマンドでは default VRF を使用するため、正しく install add コマンド等が利用できません。
non default VRF を management インターフェースで使用している例の設定 |
---|
vrf mgmt address-family ipv4 unicast ! ! interface MgmtEth0/RSP0/CPU0/0 vrf mgmt ipv4 address 10.1.2.3 255.255.255.0 ! |
方法
方法は以下の 2 通りとなります。
例中では、tftp サーバのアドレスを、10.1.2.4 としてます。
- 事前に harddisk: 等に PIE ファイルをコピーしておく
harddisk: へ pie ファイルをコピーしたあと、install コマンドを使用 |
---|
ファイルのコピー RP/0/RSP0/CPU0:ios#copy tftp://10.1.2.4/path/asr9k-mcast-px.pie-4.3.2 harddisk: vrf mgmt Destination filename [/harddisk:/asr9k-mcast-px.pie-4.3.2]? Accessing tftp://10.1.2.4;mgmt/path/asr9k-mcast-px.pie-4.3.2 CCCCCCCCCCCCCCC 15504220 bytes copied in 24 sec ( 643782)bytes/sec RP/0/RSP0/CPU0:ios# PIE をインストール RP/0/RSP0/CPU0:ios#admin install add harddisk:/asr9k-mcast-px.pie-4.3.2 Install operation 1 '(admin) install add /harddisk:/asr9k-mcast-px.pie-4.3.2' started by user 'cisco' via CLI <snip> RP/0/RSP0/CPU0:Apr 01 01:01:01.000 : instdir[246]: %INSTALL-INSTMGR-6-INSTALL_OPERATION_COMPLETED_SUCCESSFULLY : Install operation 1 completed successfully Install operation 1 completed successfully at 01:01:01 UTC Mon Apr 01 2014. RP/0/RSP0/CPU0:ios# |
tftp サーバ IP アドレスの後に、セミコロンに続けて vrf 名を指定する事が可能です。
non default vrf を install コマンドで使用する |
---|
RP/0/RSP0/CPU0:ios#admin install add tftp://10.1.2.4;mgmt/path/asr9k-mcast-px.pie-4.3.2 Install operation 2 '(admin) install add /tftp://10.1.2.4;mgmt/path/asr9k-mcast-px.pie-4.3.2' started by user 'cisco' via CLI at 01:01:01 UTC Mon Apr 01 2014. RP/0/RSP0/CPU0:Apr 01 01:01:01.000 : instdir[246]: %INSTALL-INSTMGR-6-INSTALL_OPERATION_STARTED : Install operation 2 '(admin) install add /tftp://10.1.2.4;mgmt/path/asr9k-mcast-px.pie-4.3.2' started by user 'cisco' <snip> RP/0/RSP0/CPU0:Apr 01 01:01:01.000 : instdir[246]: %INSTALL-INSTMGR-4-INSTALL_OPERATION_WARNING : A warning occurred during install operation 2. See 'show install log 2 detail' for more information. RP/0/RSP0/CPU0:Apr 01 01:01:01.000 : instdir[246]: %INSTALL-INSTMGR-6-INSTALL_OPERATION_COMPLETED_SUCCESSFULLY : Install operation 2 completed successfully Install operation 2 completed successfully at 01:01:01 UTC Mon Apr 01 2014. RP/0/RSP0/CPU0:ios# |