1

According to this documentation it should be possible to configure NAT on Cisco ASA. However, when the example command is executed, the input is invalid. A comparable issue occurs while configuring ssh.

Outcome

configure NAT:

ciscoasa# conf t
ciscoasa(config)# nat (inside) 1 X 255.255.255.0
                       ^
ERROR: % Invalid input detected at '^' marker.

configure ssh:

ciscoasa(config)# ssh X 255.255.255.0 inside
                                      ^
ERROR: % Invalid input detected at '^' marker.

No available interfaces

ciscoasa(config)# nat (?

configure mode commands/options:
Current available interface(s):

Version

ciscoasa# sh ve

Cisco Adaptive Security Appliance Software Version 7.2(4)
Device Manager Version 5.2(4)

Subquestion: should the inside interface be configured?

  • 1
    What version are you running? In newer versions the syntax is nat (inside,outside) if you want to nat traffic going from the inside to the outside. – Daniel Dib Aug 15 '14 at 14:39
  • The issue persists: ciscoasa(config)# nat (inside,outside) 1 X 255.255.255.0 ^ ERROR: % Invalid input detected at '^' marker. – 030 Aug 15 '14 at 14:44
  • @DanielDib Software Version has been added – 030 Aug 16 '14 at 12:39
2

After reading this documentation and executing the following commands:

ciscoasa# conf t
ciscoasa(config)# interface vlan X
ciscoasa(config-if)# nameif inside
INFO: Security level for "inside" set to 100 by default.
ciscoasa(config-if)# security-level Y
ciscoasa(config-if)# ip address Z 255.255.255.0
ciscoasa(config-if)# no shutdown
ciscoasa(config-if)# end

interfaces were available:

ciscoasa# conf t
ciscoasa(config)# nat (?

configure mode commands/options:
Current available interface(s):

  inside  Name of interface VlanX

and the commands specified in the question could be executed.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.