2006 CHAPTER 131: ASPF CONFIGURATION COMMANDS

log enable

Syntax log enable

undo log enable

View ASPF policy view

Parameter None

Description Use the log enable command to enable the session logging function of an ASPF.

Use the undo log enable command to disable the session logging function.

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.

Related command: display aspf all, display aspf policy, display aspf session, and display aspf interface.

Example # Enable the session logging function of the ASPF.

<Sysname> system-view

[Sysname] aspf-policy 1

[Sysname-aspf-policy-1] log enable

port-mapping

Syntax port-mappingapplication-name port port-number [ acl acl-number ]

undo port-mapping[ application-name port port-number [ acl acl-number ] ]

View System view

Parameter 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.

Description Use the port-mappingcommand to map a port to an application layer protocol.

Use the undo port-mappingcommand to remove a port mapping entry.

Page 2006
Image 2006
3Com MSR 30, MSR 50 manual Log enable, Port-mapping, Syntax log enable Undo log enable, View Aspf policy view