Configuring Port Mapping; Checking The Configuration - Huawei S9700 Series Configuration Manual

Terabit routing switches spu
Hide thumbs Also See for S9700 Series:
Table of Contents

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
No.
2
3

2.8.2 Configuring Port Mapping

Port mapping maps protocols to ports based on a basic ACL.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
port-mapping { dns | ftp | http | sip | rtsp } port port-number acl acl-number
Port mapping is configured.
You can map multiple ports to a protocol, or map a port to multiple protocols. The mappings,
however, must be distinguished by the ACL. That is, packets matching different ACL rules use
different mapping entries.
----End

2.8.3 Checking the Configuration

After port mapping is configured, you can view information about port mapping.
Procedure
l
----End
Example
Run the display port-mapping [ dns | ftp | http | rtsp | sip | port port-number ] command to
view information about port mapping.
<Quidway> display port-mapping dns
-------------------------------------------------
-------------------------------------------------
dns
-------------------------------------------------
Total number is : 1
Issue 01 (2012-03-15)
Data
User-defined port to be mapped
Number of the basic ACL
NOTE
Port mapping identifies the protocol type of the packets destined for an IP address (such as the IP address
of a WWW server); therefore, when configuring the basic ACL rules, you need to match the destination
IP addresses of the packets with the source IP addresses defined in ACL rules.
Run the display port-mapping [ dns | ftp | http | rtsp | sip | port port-number ] command
to view information about port mapping.
Service
Port
53
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Acl
Type
system defined
2 Firewall Configuration
48

Advertisement

Table of Contents
loading

Table of Contents