2005

View Any view

Parameter application-name: Name of the application to be used for port mapping Available applications include FTP, HTTP, H.323, SMTP, and RTSP.

port-number: Port number, in the range 0 to 65535

Description Use the display port-mappingcommand to view port mapping information.

Related command: port-mapping.

Example # Display all the information about port mapping.

<Sysname>

display

port-mapping

 

SERVICE

PORT

ACL

TYPE

-------------------------------------------------

ftp

21

system defined

smtp

25

system defined

http

80

system defined

rtsp

554

system defined

H.323

1720

system defined

http

8080

user defined

firewall aspf

Syntax firewall aspf aspf-policy-number{ inbound outbound }

undo firewall aspf aspf-policy-number{ inbound outbound }

View Interface view

Parameter aspf-policy-number: Number of the ASPF policy, in the range 1 to 99.

inbound: Applies ASPF policy to inbound packets.

outbound: Applies ASPF policy to outbound packets.

Description Use the firewall aspf command to apply the specified ASPF policy on the specified direction of the current interface.

Use the undo firewall aspf command to remove the specified ASPF policy applied on the specified direction of the current interface.

By default, ASPF policy is not applied on the interface.

Example # Apply the configured ASPF firewall policy on the outbound direction of Ethernet 1/0.

<Sysname> system-view

[Sysname] interface ethernet 1/0

[Sysname-Ethernet1/0] firewall aspf 1 outbound

Page 2005
Image 2005
3Com MSR 50 Firewall aspf, Related command port-mapping, Example # Display all the information about port mapping, 2005