[c-nsp] VRF Import/Export of routes
Peter Salanki
peter.salanki at bahnhof.net
Thu May 11 09:51:08 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have problems importing/exporting routes between the default
routing-table and a VRF.
For importing default->VRF, I have done:
interface Loopback10
ip vrf forwarding VRF1
ip address 10.13.37.1 255.255.255.255
!
ip vrf VRF1
rd 8473:100
import ipv4 unicast 2500 map VRF-IMPORT
route-target export 8473:100 route-target import 8473:100
!
route-map VRF-IMPORT-HUDIKSVALLS-STADSNAT permit 20
match community BACKBONE-TE-DOWNSTREAM
set ip next-hop 10.13.37.1
!
This works fairly well, is this the correct way to do it?
I have tried exporting routes with the export keyword under ip vrf,
but without success.
The hardware is c3750G-24TS running advipservices 12.2(25)SED
Sincerely
Peter Salanki
Chief Network Engineer
Bahnhof AB (AS8473)
www.bahnhof.se
Office: +46855577132
Cell: +46709174932
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
iD8DBQFEY0FMiQKhdiFGiogRAkTyAJ4hJOwWioW+hw5ghdJU1mRVrsg3sgCfWzIc
EPQ+vSp31a/v5TKlLfcr4Ec=
=hFs+
-----END PGP SIGNATURE-----
More information about the cisco-nsp
mailing list