cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2483
Views
0
Helpful
4
Replies

ipv4 and ipv6 vrf

jorge vinueza
Level 1
Level 1

Hi, I have a PE with an ipv4 vrf configured:

ip vrf internet
 rd 1:1
 route-target export 1:1
 route-target import 1:2

 

Can i configure on another PE the same vrf in this way:

vrf definition internet
 rd 1:1
 !
 address-family ipv4
  route-target export 1:1
  route-target import 1:2
 exit-address-family

 

Also is there a way to migrate the first configuration into the second way configuration without affecting the services in that vrf?

Thanks for your answer

1 Accepted Solution

Accepted Solutions

My mistake. The command is actually "vrf upgrade-cli".

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_l3_vpns/configuration/xe-3s/mp-l3-vpns-xe-3s-book/mp-vpn-ipv4-ipv6.html

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

4 Replies 4

Harold Ritter
Level 12
Level 12

The old style and new style cli are perfectly compatible.

 

if you upgrade to new style using the "upgrade-cli vrf" command, there should be no impact.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thanks for your answer but:

 

PE01(config)#upgrade-cli ?
% Unrecognized command

 

i'm working with ASR920

Cisco IOS XE Software, Version 03.16.05.S

My mistake. The command is actually "vrf upgrade-cli".

 

https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/mp_l3_vpns/configuration/xe-3s/mp-l3-vpns-xe-3s-book/mp-vpn-ipv4-ipv6.html

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Thank you very much for your help it works great