Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    clear ip nat translation

    Syntax

    clear ip nat translation *

    clear ip nat translation inside insideGlobalIpAddress insideLocalIpAddress

    clear ip nat translation outside outsideLocalIpAddress outsideGlobalIpAddress

    clear ip nat translation { icmp | tcp | udp }
    inside insideGlobalIpAddress insideGlobalPort insideLocalIpAddress insideLocalPort

    clear ip nat translation { gre | icmp | tcp | udp }
    inside insideGlobalIpAddress * insideLocalIpAddress *

    clear ip nat translation { icmp | tcp | udp }
    inside insideGlobalIpAddress insideGlobalPort insideLocalIpAddress insideLocalPort
    outside outsideLocalIpAddress outsideLocalPort outsideGlobalIpAddress outsideGlobalPort

    Release Information

    Command introduced before JunosE Release 7.1.0.
    gre keyword added in JunosE Release 7.3.0.

    Description

    Clears all or the specified NAT table entries. There is no no version.

    Options

    • *—Clears all translations when used in the clear ip nat translation version of this command
    • *—Matches any global or local port to remove inside source extended GRE, ICMP, TCP, or UDP translations for the specified global IP address and local IP address when used in the clear ip nat translation { gre | icmp | tcp | udp } inside insideGlobalIpAddress * insideLocalIpAddress * version of this command
    • inside—Specifies an inside address
    • insideGlobalIpAddress—Inside global IP address
    • insideLocalIpAddress—Inside local IP address
    • outside—Specifies an outside address
    • outsideLocalIpAddress—Outside local IP address
    • outsideGlobalIpAddress—Outside global IP address
    • tcp—Specifies a TCP port translation
    • udp—Specifies a UDP port translation
    • icmp—Specifies an ICMP port translation
    • gre—Specifies a GRE translation
    • insideGlobalPort—Inside global port number
    • insideLocalPort—Inside local port number
    • outsideGlobalPort—Outside global port number
    • outsideLocalPort—Outside local port number

    Mode

    Privileged Exec

    Published: 2014-08-14