11-16-2022 09:48 AM
Trying to add user defined port on ISR 4331 and I get the following:
(config)#ip port-map user-as-admin port tcp from 2001 to 2011
^
% Invalid input detected at '^' marker.
This was possible on a Cisco 2921.
ISR 4331 Cisco IOS XE Software, Version 17.03.02
Has this feature been dropped or is there alternative way of adding user defined ports.
11-16-2022 01:20 PM
(config)#ip port-map ? (can you post output - as per I know you can only use predefined one)
11-16-2022 05:56 PM
Here is an example from one of my customer's 2921 router. Can't to the same on a 4331.
ip port-map user-http-8443 port tcp 8443 description allow http(s) on 8443
ip port-map user-lync-online port udp 3478 description Lync Online outbound audio and video ses
ip port-map user-http-8081 port tcp 8081 description allow http(s) on 8081
ip port-map user-lync-mobile port tcp 5223 description Lync mobile client push notifications
ip port-map user-http-8080 port tcp 8080 description allow http(s) on 8080
ip port-map user-Media-Port-Ofc port tcp 9001 description Office video recorder media port
ip port-map http port tcp 8057 list 4 description dbch.dbsquared.biz
11-17-2022 12:17 PM
(config)#ip port-map ?
11-17-2022 01:32 PM
ip nat service ........
if I am right you use port-map for static NAT ??
can you try above command
11-18-2022 07:16 AM
I don't think ip nat service will get the job done.
Following is example of how port-map is used on a working 2921 router.
ip port-map user-Media-Port-Ofc port tcp 9001 description Office video recorder media port
class-map type inspect match-all Office-Cameras.class
match protocol user-Media-Port-Ofc
match access-group name Cameras-ACL
ip access-list extended Cameras-ACL
permit tcp any object-group Cameras
policy-map type inspect Internet.in.policy
class type inspect Office-Cameras.class
inspect
This link Understand the Zone-Based Policy Firewall Design - Cisco has an example of configuring PAM with a user-defined entry for X Windows.
Apparently, this feature has been dropped in IOS XE Software, Version 17.03.02 or there is a software bug.
11-18-2022 11:14 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide