Configuring Port Mapping; Checking The Configuration - Huawei quidway s7700 Configuration Manual

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
No.
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, and
you can view information about port mapping, for example:
<Quidway> display port-mapping dns
-------------------------------------------------
-------------------------------------------------
dns
-------------------------------------------------
Total number is : 1
Issue 01 (2011-07-15)
Data
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