Ruijie Community

Title: Command to remove nat translation on NBR [Print this page]

Author: mturco@visiotec    Time: 2024-11-29 18:37
Title: Command to remove nat translation on NBR
Hi all,

I need to clean oldNAT translations, can you please provide the command?

ROUTER#sh ip nat translations
Pro  Inside global         Inside local          Outside local         Outside global
udp  2.40.249.27:5060      10.13.2.2:5060        83.211.227.21:5060    83.211.227.21:5060
tcp  2.40.249.27:58628     10.13.102.21:58628    104.102.28.30:443     104.102.28.30:443
tcp  2.40.249.27:59788     10.13.102.40:59788    165.225.202.15:443    165.225.202.15:443
udp  2.40.249.27:9993      192.168.3.201:9993    188.217.173.131:57803 188.217.173.131:57803
udp  2.40.249.28:9993      10.13.90.209:9993     82.62.95.221:56642    82.62.95.221:56642
tcp  2.40.249.27:54779     10.13.102.194:54779   20.135.25.5:443       20.135.25.5:443
udp  2.40.249.27:24009     10.13.90.209:24009    172.16.1.223:40748    172.16.1.223:40748
tcp  2.40.249.27:59791     10.13.102.40:59791    165.225.202.15:443    165.225.202.15:443
udp  2.40.249.27:61902     10.13.102.21:61902    157.240.231.19:443    157.240.231.19:443
udp  2.40.249.27:38456     10.13.90.201:62700    79.52.35.191:63897    79.52.35.191:63897
udp  2.40.249.28:24009     10.13.90.209:24009    95.230.222.209:1042   95.230.222.209:1042
udp  2.40.249.27:23746     10.13.90.209:23746    192.168.1.90:9993     192.168.1.90:9993
udp  2.40.249.27:60428     10.13.102.9:60428     142.251.209.10:443    142.251.209.10:443
tcp  2.40.249.27:60504     10.13.90.76:60504     20.190.147.9:443      20.190.147.9:443
udp  2.40.249.27:53935     10.13.102.51:53935    216.58.204.131:443    216.58.204.131:443
tcp  2.40.249.27:60782     10.13.90.21:60782     151.84.87.232:10051   151.84.87.232:10051
udp  2.40.249.28:7547      10.13.7.123:7547      18.153.145.167:3478   18.153.145.167:3478

I have to remove only translation from IP 2.40.249.28 (no more configured)


I don't find the command to do it


ROUTER#clear ip nat ?
  cycle      Clear ip nat cycle info
  error      Clear ip nat error info
  exception  Clear ip nat exception
  h323-sta   Clear ip nat H323 packet statistics
  pkt-info   Clear ip nat pkt info

Can you please suggest?
Thanks

Marco


Author: guominxiang@rui    Time: 2024-11-29 18:43
Hello,

I will comfirm the command for you. may you pls provide your devide firmware version please?

Best regards,
Micca

Author: mturco@visiotec    Time: 2024-11-29 18:48
GTAC-Micca replied at 2024-11-29 18:43
Hello,

I will comfirm the command for you. may you pls provide your devide firmware version please ...

Hi Micca,
this is the fw version present in the router(latest one): NBR_RGOS 11.9(6)B17P3, Release(11203004)

Thanks

Marco

Author: guominxiang@rui    Time: 2024-11-29 20:27
Mturco84 replied at 2024-11-29 18:48
Hi Micca,
this is the fw version present in the router(latest one): NBR_RGOS 11.9(6)B17P3, Release ...

Hello,

Please use  command: clear ip f f
If you need delete a specific one, you can use command find the flow id first,
show ip f p 1



then use command + flow id to clear: clear ip f f [folw id]


Bet regard,
Mica

Author: mturco@visiotec    Time: 2024-11-29 22:18
GTAC-Micca replied at 2024-11-29 20:27
Hello,

Please use  command: clear ip f f

Hi Micca, thanks it worked fine!

Author: v-songruiqi@rui    Time: 2024-12-2 14:16
Mturco84 replied at 2024-11-29 22:18
Hi Micca, thanks it worked fine!

[color=rgba(0, 0, 0, 0.85)]Thank you for reaching out. If you have any further questions, we are always delighted to assist you!







Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2