Command Manual – NAT&URPF&VPLS
Quidway S8500 Series Routing Switches
Chapter 1 NAT Configuration Commands
Huawei Technologies Proprietary
1-15
[Quidway-Vlan-interface2] nat server protocol tcp global 202.110.10.10 ftp
inside 10.110.10.11 ftp slot 3
# Specify an internal host 10.110.10.12 which can be successfully pinged by external
hosts using the
ping
202.110.10.11 command.
[Quidway-Vlan-interface2] nat server protocol icmp global 202.110.10.11
inside 10.110.10.12 slot 2
# Delete the WWW server.
[Quidway-Vlan-interface2] undo nat server protocol tcp global 202.110.10.10
8070 inside 10.110.10.10 www slot 3
# Delete the FTP server.
[Quidway-Vlan-interface2] undo nat server protocol tcp global 202.110.10.11
ftp inside 10.110.10.11 ftp slot 3
# Specify an external address 202.110.10.10, let ports from 1001 to 1100 map to the
TELNET service of internal hosts from 10.110.10.1 to 10.110.10.100, making
202.110.10.10:1001 map to 10.110.10.1, 202.110.10:1002 map to 10.110.10.2.
[Quidway-Vlan-interface2] nat server protocol tcp global 202.110.10.10 1001
1100 inside 10.110.10.1 10.110.10.100 telnet slot 3
1.1.13 reset nat
Syntax
reset nat session
slot
slotno
View
User view
Parameter
session
: Clear the NAT mapping table.
slot
slotno
: Number of the slot where the NAT board resides.
Description
Use the
reset nat session
command to clear NAT mapping tables from the memory
and NP.
Example
# Clear the NAT mapping table established by the NAT service processor board in slot
3.
<Quidway> reset nat session slot 3