Table Of Contents
Media Address Pools
Contents
Prerequisites—Implementing Media Address Pools
Restrictions for Configuring Media Address Pools
Media Address Pools
Configuring Media Address Pools
Configuring Media Address Pools Example
Media Address Pools
You can configure Cisco Unified Border Element (SP Edition) with a single media address or a range of media addresses. In addition you can define one or more permissible port ranges for the configured addresses. This feature allows the administrator to configure or restrict the data border element (DBE) address by address pool with or without port range, and define class of service (CoS) affinity for each port range.
Note
For Cisco IOS XE Release 2.4, this feature is supported in both the unified and distributed models.
Cisco Unified Border Element (SP Edition) was formerly known as Integrated Session Border Controller and may be commonly referred to in this document as the session border controller (SBC).
For a complete description of commands used in this chapter, refer to the Cisco Unified Border Element (SP Edition) Command Reference: Unified Model at http://www.cisco.com/en/US/docs/ios/sbc/command/reference/sbcu_book.html.
For information about all Cisco IOS commands, use the Command Lookup Tool at http://tools.cisco.com/Support/CLILookup or a Cisco IOS master commands list.
Feature History for Media Address Pools
Release
|
Modification
|
Cisco IOS XE Release 2.4
|
Added support for SBC unified model.
|
Cisco IOS XE Release 2.1
|
This feature was introduced on the Cisco ASR 1000 Series Aggregation Services Routers.
|
Contents
This module contains the following sections:
•
Prerequisites—Implementing Media Address Pools
•
Restrictions for Configuring Media Address Pools
•
Media Address Pools
•
Configuring Media Address Pools
•
Configuring Media Address Pools Example
Prerequisites—Implementing Media Address Pools
The following prerequisites are required to implement media address pools:
•
Before implementing media address pools, you must create a static route.
Note
Creating a static route will fail if the remote peer is on the same VLAN as the interface VLAN of the media address.
•
Before implementing media address pools, Cisco Unified Border Element (SP Edition) must already be configured. See the procedures described in Chapter 2, "Configuring Cisco Unified Border Element (SP Edition)."
Restrictions for Configuring Media Address Pools
The restrictions for configuring media address pools are:
•
The ending address must be numerically higher than the starting address.
•
The minimum port must be numerically lower than the maximum port.
•
Port ranges may not overlap.
•
Address ranges may not overlap.
•
Address ranges and single addresses may not overlap.
•
Where a range of addresses are defined in a single command, they will share any port ranges assigned. If there is a requirement to have different port ranges for different media addresses, then the addresses must be configured separately.
•
Media addresses and port ranges may only be deleted before the DBE is activated. After DBE activation, the DBE must be deactivated in order to delete addresses and port ranges.
•
After you configure media addresses and pools of addresses, you cannot delete them unless you delete the DBE.
Media Address Pools
If you do not specify a port range, all possible VoIP port numbers are valid. The full VoIP port range extends from 16384 to 32767 inclusive.
You can define a CoS affinity for each port range. The set of CoS is consistent with those used for Quality of Service (QoS) packet marking, and consists of voice and video. If you do not define an associated CoS affinity, then the affinity is for all call types.
You can modify the extent of existing port ranges or the CoS affinities of existing port ranges or delete an existing port range. Any configuration changes do not apply to existing calls but apply to calls being set up after the configuration has been committed.
Configuring Media Address Pools
This section contains the steps for configuring media address pools.
SUMMARY STEPS
1.
configure
2.
sbc service-name
3.
media-address pool ipv4
or
media-address pool ipv4
port-range any
or
media-address pool ipv4
port-range video
or
media-address pool ipv4
port-range voice
or
media-address pool ipv4 vrf
or
media-address pool ipv4 vrf
port-range any
or
media-address pool ipv4 vrf
port-range video
or
media-address pool ipv4 vrf
port-range voice
4.
end
5.
show sbc service-name sbe addresses
DETAILED STEPS
| |
Command or Action
|
Purpose
|
Step 1
|
configure
Example:
Router# config
|
Enables global configuration mode.
|
Step 2
|
sbc service-name
Example:
Router(config)# sbc test
|
Creates the SBC service on Cisco Unified Border Element (SP Edition) and enters into SBC configuration mode.
Use the service-name argument to define the name of the SBC.
|
Step 3
|
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
Example:
Router(config-sbc)# media-address pool ipv4
10.10.10.1 10.10.10.20
|
Create a pool of sequential IPv4 media addresses that can be used by the SBC as local media addresses.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
10.10.10.1 10.10.10.20
Router(config-sbc-media-address pool)# port-range
16384 30000 any
|
Creates a pool of sequential IPv4 media addresses that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is any class of service.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
10.10.10.1 10.10.10.20
Router(config-sbc-media-address pool)# port-range
16384 30000 video
|
Creates a pool of sequential IPv4 media addresses that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is video.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
10.10.10.1 10.10.10.20
Router(config-sbc-media-address pool)# port-range
16384 30000 voice
|
Creates a pool of sequential IPv4 media addresses that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is voice.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
Example:
Router(config-sbc)# media-address pool ipv4
21.21.21.10 21.21.21.19 vrf vpn1
|
Creates a pool of sequential IPv4 media addresses for an IPv4 address associated with a specific VPN routing and forwarding (VRF) instance that can be used by the SBC as local media addresses.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
21.21.21.10 21.21.21.19 vrf vpn2
Router(config-sbc-media-address pool)# port-range
10000 10099 any
|
Creates a pool of sequential IPv4 media addresses for an IPv4 address associated with a specific VRF instance that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is any class of service.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
21.21.21.10 21.21.21.19 vrf vpn3
Router(config-sbc-media-address pool)# port-range
10000 10099 video
|
Creates a pool of sequential IPv4 media addresses for an IPv4 address associated with a specific VRF instance that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is video.
|
| |
or
|
| |
media-address pool ipv4 {A.B.C.D} {E.F.G.H} [any |
nat-mode twice-nat | vrf vrf-name | managed-by {dbe |
mgc}]
port-range {min-port} {max-port} [any | voice | video
| signaling | fax]
Example:
Router(config-sbc)# media-address pool ipv4
21.21.21.10 21.21.21.19 vrf vpn4
Router(config-sbc-media-address pool)# port-range
10000 10099 voice
|
Creates a pool of sequential IPv4 media addresses for an IPv4 address associated with a specific VRF instance that can be used by the SBC as local media addresses, and enters into SBC media address pool configuration mode.
In SBC media address pool configuration mode, the class of service for the port range is voice.
|
Step 4
|
end
Example:
Router(config-sbc)# end
|
Returns to Privileged EXEC mode.
|
Step 5
|
show sbc sbe addresses
Example:
Router# show sbc dmsbc-node9 sbe addresses
|
Lists the addresses configured on SBEs.
|
Configuring Media Address Pools Example
This section provides sample configurations for media address pools.
The following example shows the creation of a static route for the media pool address.
At the Route Processor (RP):
Router(config)# ip route 87.87.29.8 255.255.255.248 87.87.29.100
The following example creates a pool of IPv4 media addresses that can be used by the DBE as local media addresses:
Router(config)# sbc test dbe
Router(config-sbc-dbe)# media-address pool ipv4 87.87.29.8 87.87.29.15
The following sample script adds a single address (10.10.10.1), and two ranges of addresses (10.10.11.1 through 10.10.11.10 and 10.10.11.21 through 10.10.11.30) to the media address pool.
Two port ranges are configured on the single address. The first port range is for voice traffic, and runs from port 16384 to 20000 inclusively. The second one is for video traffic, and runs from port 20001 to 65535 inclusively.
The first range of addresses also has two similar port ranges configured that apply to all ten addresses within the range. The second range of addresses has a single port range defined, and no service class associated with it.
Router(config)# sbc test dbe
Router(config-sbc-dbe)# media-address ipv4 10.10.10.1
Router(config-sbc-dbe-media-address pool)# port-range 16384 20000 voice
Router(config-sbc-dbe-media-address pool)# exit
Router(config-sbc-dbe)# media-address ipv4 10.10.10.1
Router(config-sbc-dbe-media-address pool)# port-range 20001 65535 video
Router(config-sbc-dbe-media-address pool)# exit
Router(config-sbc-dbe)# media-address pool ipv4 10.10.11.1 10.10.11.10
Router(config-sbc-dbe-media-address pool)# port-range 16384 30000 voice
Router(config-sbc-dbe-media-address pool)# exit
Router(config-sbc-dbe)# media-address pool ipv4 10.10.11.1 10.10.11.10
Router(config-sbc-dbe-media-address pool)# port-range 30001 40000 video
Router(config-sbc-dbe-media-address pool)# exit
Router(config-sbc-dbe)# media-address pool ipv4 10.10.11.21 10.10.11.30
Router(config-sbc-dbe-media-address pool)# port-range 20000 40000 any