Log Enable; Port-Mapping - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

2006
C
131: ASPF C
HAPTER

log enable

Syntax
View
Parameter
Description
Related command:
Example

port-mapping

Syntax
View
Parameter
Description
C
ONFIGURATION
OMMANDS
log enable
undo log enable
ASPF policy view
None
Use the
log enable
Use the
undo log enable
By default, the session logging function is disabled.
The enhanced session logging function of an ASPF can record the information of
each connection, including the duration, source address and destination address
of the connection, the port used by the connection and number of bytes
transmitted.
display aspf all, display aspf policy, display aspf session, and display aspf
interface.
# Enable the session logging function of the ASPF.
<Sysname> system-view
[Sysname] aspf-policy 1
[Sysname-aspf-policy-1] log enable
port-mapping application-name port port-number [ acl acl-number ]
undo port-mapping [ application-name port port-number [ acl acl-number ] ]
System view
application-name: Name of the application for port mapping Available
applications include FTP, HTTP, H.323, SMTP, and RTSP.
port-number: Port number, in the range 0 to 65535
acl-number: Basic ACL number, in the range 2000 to 2999, used to specify the
host range.
Use the
port-mapping
Use the
undo port-mapping
command to enable the session logging function of an ASPF.
command to disable the session logging function.
command to map a port to an application layer protocol.
command to remove a port mapping entry.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents