IOS XR ではラインカードがない状態でも追加予定のインターフェースについて事前に設定をしておくことが可能です。
事前に設定をしておくことで、LC 追加時の作業の効率化が可能です。
Pre-Configuration の設定例 |
---|
RP/0/RSP0/CPU0:ASR9K#interface preconfigure Giga0/1/0/0 RP/0/RSP0/CPU0:ASR9K(config-if-pre)# vrf test RP/0/RSP0/CPU0:ASR9K(config-if-pre)# ipv4 address 192.168.1.1/24 ※XR はマスク長で設定可能 RP/0/RSP0/CPU0:ASR9K(config-if-pre)# load-interval 30 RP/0/RSP0/CPU0:ASR9K(config-if-pre)# no shut RP/0/RSP0/CPU0:ASR9K(config-if-pre)# commit |
LC 挿入前の show run |
---|
RP/0/RSP0/CPU0:ASR9K#show run <snip> interface preconfigure GigabitEthernet0/1/0/1 vrf test ipv4 address 192.168.1.1 255.255.255.0 ※show run の表示はサブネットマスク load-interval 30 |
LC 挿入後の show run |
---|
RP/0/RSP0/CPU0:ASR9K#show run <snip> interface GigabitEthernet0/1/0/1 vrf test ipv4 address 192.168.1.1 255.255.255.0 load-interval 30 |
Preconfiguring Physical Interfaces on Cisco IOS XR Software
http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.7/interfaces/configuration/guide/hc37prec.html