LSN::inbound-entry¶
Description¶
This command creates and gets the inbound mapping for a translation
address, translation port and protocol
Syntax¶
LSN::inbound-entry get <translation_address>:<translation_port> <protocol>
LSN::inbound-entry create [-dslite <dslite local address> <dslite remote address>] <LSN pool name> <timeout> <client IP:client port> <translation address:translation port> <protocol>
v11.5+
LSN::inbound-entry delete <translation_address>:<translation_port> <protocol>
Detailed description of subcommands:
LSN::inbound-entry get <translation IP>:<translation port> <protocol>¶
- Gets inbound entry for the specified translation IP, translation port and protocol. Protocol can be set TCP or UDP. This command returns the client IP address, port and route domain ID.
LSN::inbound-entry create [-dslite <dslite local address> <dslite remote address>] <LSN pool name> <timeout> <client IP:client port> <translation address:translation port> <protocol>¶
- Creates an inbound mapping for the specified translation address and port. For a dslite client “-dslite” option should be used to specify the dslite tunnel details. The mapping is not saved If a matching entry for the specified translation address and port already exists. This command cannot be used if LSN pool mode is set to Deterministic. For NAPT mode the specified address must be in the LSN pool member list and the port must be within the translation port range.Timeout specifies the idle timeout for the entry. “protocol” specifies the protocol an external client will use to connect to the client IP/port behind LSN. This command returns the translation IP address, port and route domain ID.
LSN::inbound-entry delete <translation_address>:<translation_port> <protocol>¶
- Deletes an inbound mapping for the specified translation address, port, and protocol.
Examples¶
when LB_SELECTED {
LSN::address 5.4.4.21
LSN::port 43221
}
when CLIENT_ACCEPTED {
set lsn_address 5.4.4.21
set lsn_port 43221
LSN::inbound-entry create lsnpool_15124 60 10.10.0.2:51000 $lsn_address:$lsn_port udp
}