Bulk Logging and Port Block Allocation: Finding Feature Information
Bulk Logging and Port Block Allocation: Finding Feature Information
Bulk Logging and Port Block Allocation: Finding Feature Information
The Bulk Logging and Port Block Allocation feature allocates a block of ports for translation instead of
allocating individual ports. This feature is supported only in carrier-grade Network Address Translation (CGN)
mode.
This module provides information about the feature and how to configure it.
• Finding Feature Information, on page 1
• Prerequisites for Bulk Logging and Port Block Allocation, on page 1
• Restrictions for Bulk Logging and Port Block Allocation, on page 2
• Information About Bulk Logging and Port Block Allocation, on page 2
• How to Configure Bulk Logging and Port Block Allocation, on page 4
• Configuration Examples for Bulk Logging and Port Block Allocation, on page 7
• Additional References for Bulk Logging and Port Block Allocation, on page 8
• Feature Information for Bulk Logging and Port Block Allocation, on page 9
You must enable NAT paired-address pooling support for this feature to work. This feature also supports
Point-to-Point Tunneling Protocol (PPTP).
Note This feature is supported only in carrier-grade NAT (CGN) mode; therefore only source information is logged
when this feature is configured. Destination information is not logged. For more information about CGN, see
the “Carrier-Grade Network Address Translation" module in IP Addressing: NAT Configuration Guide.
Paired-Address Pooling Limit Default Bulk-Port Allocation Port Maximum Port Step Size
Size
30 2048 ports 2
60 1024 ports 4
1000 64 ports 16
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. ip nat inside
5. exit
6. interface type number
7. ip nat outside
8. exit
DETAILED STEPS
Step 3 interface type number Specifies an interface and enters interface configuration
mode.
Example:
Device(config)# interface gigabitethernet 0/0/0
Step 4 ip nat inside Connects the interface to the inside network, which is
subject to Network Address Translation (NAT).
Example:
Device(config-if)# ip nat inside
Step 6 interface type number Specifies an interface and enters interface configuration
mode.
Example:
Device(config)# interface gigabitethernet 1/0/1
Step 10 ip nat pool name start-ip end-ip {netmask netmask | Defines a pool of global addresses to be allocated as
prefix-length prefix-length} needed.
Example:
Device(config)# ip nat pool net-208
192.168.202.129 192.168.202.132 prefix-length 24
Step 11 access-list access-list-number permit source Defines a standard access list that permits addresses that
[source-wildcard] are to be translated.
Example:
Device(config)# access-list 1 permit source
192.168.34.0 0.0.0.255
Step 12 ip nat inside source list access-list-number pool name Establishes dynamic NAT by specifying the access list
and the IP address pool defined in Step 10 and Step 11.
Example:
Device(config)# ip nat inside source list 1 pool
net-208
Step 13 ip nat settings pap bpa set-size 512 step-size 8 Configures bulk-port allocation.
Example:
Device(config)# ip nat settings pap bpa set-size
512 step-size 8
Step 14 ip nat log translations flow-export v9 udp destination Enables the high-speed logging (HSL) of all NAT
addr port translations.
Example:
Device(config)# ip nat log translations
flow-export v9 udp destination 10.1.1.1 2055
DETAILED STEPS
Displays Network Address Translation (NAT) bulk logging and port-block allocation settings.
The following is sample output from the show ip nat bpa command:
Device# show ip nat bpa
Example:
Device# show ip nat pool name pool1
The following is sample output from the show ip nat pool name pool3 command:
Device# show ip nat pool name pool3
Paired-address pooling “Paired-Address Pooling Support in NAT” module in the IP Addressing NAT
support Configuration Guide
Technical Assistance
Description Link
The Cisco Support website provides extensive online resources, including http://www.cisco.com/support
documentation and tools for troubleshooting and resolving technical issues
with Cisco products and technologies.
To receive security and technical information about your products, you can
subscribe to various services, such as the Product Alert Tool (accessed from
Field Notices), the Cisco Technical Services Newsletter, and Really Simple
Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user
ID and password.
Bulk Logging and Port Block Cisco IOS XE Release The Bulk Logging and Port Block Allocation
Allocation 3.10S feature allocates a block of ports for translation
instead of allocating individual ports.
The following commands were introduced or
modified: ip nat settings pap, ip nat settings
pap bpa, show ip nat bpa, and show ip nat
pool name.
In Cisco IOS XE Release 3.10S, support was
added for the Cisco CSR 1000V Series Routers.
In Cisco IOS XE Release 3.10S, support was
added for the Cisco ISR 4400 Series Routers.