HP MSR Series Command Reference Manual page 476

Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

undo port-mapping application application-name port port-number [ protocol protocol-name ] subnet
{ ip ipv4-address { mask-length | mask } | ipv6 ipv6-address prefix-length } [ vpn-instance
vpn-instance-name ]
Default
An application protocol is mapped to a well-known port.
Views
System view
Predefined user roles
network-admin
Parameters
application application-name: Specifies an application protocol by its name, a case-insensitive string of
1 to 63 characters. Valid characters include digits, letters, hyphens (-), and underlines (_).
port port-number: Specifies a port by its number, in the range of 0 to 65535.
protocol protocol-name: Specifies a transport layer protocol by its name, including:
dccp: Specifies DCCP.
sctp: Specifies SCTP.
tcp: Specifies TCP.
udp: Specifies UDP.
udp-lite: Specifies UDP-Lite.
ip ipv4-address { mask-length | mask }: Specifies an IPv4 subnet. The ipv4-address argument specifies
the IPv4 network address, the mask-length argument specifies the mask length of the IPv4 subnet, in the
range of 1 to 32, and the mask argument specifies the subnet mask in dotted decimal notation.
ipv6 ipv6-address prefix-length: Specifies an IPv6 subnet. The ipv6-address argument specifies the IPv6
network address, and the prefix-length argument specifies the length of the IPv6 prefix, in the range of 1
to 128.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31
characters. If you configure a mapping for the public network, do not specify this option.
Usage guidelines
If you do not specify a transport layer protocol, all packets encapsulated by the transport layer protocols
and that have the specified port are recognized as the specified application protocol's packets.
If the destination port of these packets matches a port mapping for packets destined for the specified
subnet, APR recognizes them as the specified application protocol's packets.
APR uses a very precise method to match the packets. If multiple subnet-based mappings are applied to
packets and these subnets overlap, APR matches the packets destined for the overlapped segment with
the port mapping of the subnet that has the smallest range.
If two port mappings are configured with the same port number, transport layer protocol, and subnet, but
with different application protocols, the most recent configuration takes effect.
A mapping with the transport layer protocol specified has a higher priority than one without it.
Examples
# Create a mapping of port 3456 to FTP for the packets sent to the IPv4 hosts on subnet 1.1.1.0/24.
<Sysname> system-view
462

Advertisement

Table of Contents
loading

Table of Contents