cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
360
Views
0
Helpful
2
Replies

Static PAT in VRF IOS-XE 4000 series ISR

What I am needing to do is do a static PAT to a global IP. The outside interface and inside sub-interface are VRF aware. The non-VRF networks are not natted it is all sent over a VPN.

 

I am just not sure if i use:

ip nat inside static tcp a.b.c.d 443 w.x.y.z 443

I would think i needed to reference the vrf.

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

Yes, vrf name can be added to the statment.

ip nat inside static tcp a.b.c.d 443 w.x.y.z 443 vrf <vrf name>

HTH

 

Hello,

 

if both the inside and the outside interface are in the same vrf (as I understand they are from your description) the below should be applicable:

 

ip nat inside static tcp a.b.c.d 443 w.x.y.z 443 vrf vrf-name match-in-vrf

Review Cisco Networking for a $25 gift card