Cisco Unified Border Element (SP Edition) Configuration Guide: Distributed Model
Media Address Pools
Downloads: This chapterpdf (PDF - 107.0KB) The complete bookPDF (PDF - 2.2MB) | Feedback

Media Address Pools

Table Of Contents

Media Address Pools

Contents

Prerequisites for Implementing Media Address Pools

Restrictions for Configuring Media Address Pools

Information About Media Address Pools

Configuring Media Address Pools

Configuring Media Address Pools Example


Media Address Pools


You can configure the distributed model of the Cisco Unified Border Element (SP Edition) with a single media address or a range of sequential 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.

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 the commands used in this chapter, see Cisco Unified Border Element (SP Edition) Command Reference: Distributed Model at:

http://www.cisco.com/en/US/docs/ios/sbc/command/reference/sbc_book.html

Contents

This chapter provides information about the following topics:

Prerequisites for Implementing Media Address Pools

Restrictions for Configuring Media Address Pools

Information About Media Address Pools

Configuring Media Address Pools

Configuring Media Address Pools Example

Prerequisites for Implementing Media Address Pools

Before implementing media address pools, the Cisco Unified Border Element (SP Edition) must already be created. See the procedures described in the "Configuring the Cisco Unified Border Element (SP Edition) DBE Deployment" section.

Restrictions for Configuring Media Address Pools

The ending address must be greater than or equal to 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 is defined in a single command, the addresses 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.

Information About Media Address Pools

A media address is one of a pool of IP addresses on the DBE that is used for media relay functionality. Addresses assigned by the media pool are the destination addresses used by packets that arrive at the DBE.

After you have configured a local media address or port range, the media address or port range cannot be modified while the DBE service is active. Deactivate the DBE with the no activate command before modifying the IPv4 or IPv6 media addresses or port ranges.

If you do not specify a port range, all possible VoIP port numbers are valid. The full VoIP port range extends from 1 to 65535 (inclusive).

You can define a class of service (CoS) affinity for each port range. The set of classes of service is consistent with those used for QoS packet marking, and consists of voice, video, signaling, fax, or any. 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 steps for configuring media address pools on a DBE.

SUMMARY STEPS

1. configure terminal

2. interface sbc

3. sbc {sbc-name} dbe

4. media-address pool ipv4 {A.B.C.D} {E.F.G.H}

5. port-range {min-port} {max-port} [any | voice | video | signaling | fax]

6. exit

7. end

8. show sbc {sbc-name} dbe addresses

9. show sbc {sbc-name} dbe media-flow-stats ipv4 A.B.C.D port port-number

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 2 

interface sbc

Example:

Router(config)# interface sbc 1

Enters into interface configuration mode.

In the example, an SBC virtual interface called "1" is configured.

Step 3 

sbc {sbc-name} dbe

Example:

Router(config)# sbc mySbc dbe

Enters into SBC-DBE configuration mode.

Step 4 

media-address pool ipv4 {A.B.C.D} {E.F.G.H}

Example:

Router(config-sbc-dbe)# media-address pool ipv4 10.0.2.1 10.0.2.10

Creates a pool of sequential IPv4 media addresses that can be used by the DBE as local media addresses. Enters into SBC-DBE media address configuration mode.

Step 5 

port-range {min-port} {max-port} [any | voice | video | signaling | fax]

Example:

Router(config-sbc-dbe-media-address)# port-range 16384 30000 any

Creates a port range for the configured media addresses in the pool and specifies a class of service such as any, voice, video, signaling, and fax for the port range.

In the example, a port range of 16384 to 30000 is created where the class of service for the port range is any class of service.

Step 6 

exit

Example:

Router(config-sbc-dbe-media-address)# exit

Exits SBC-DBE media address configuration mode.

Step 7 

end

Example:

Router(config-sbc-dbe)# end

Exits SBC-DBE configuration mode and returns to privileged EXEC mode.

Step 8 

show sbc {sbc-name} dbe addresses

Example:

Router# show sbc mySbc dbe addresses

Lists the media addresses and H.248 control addresses configured on DBEs.

Step 9 

show sbc {sbc-name} dbe media-flow-stats ipv4 A.B.C.D port port-number

Example:

Router# show sbc mySbc dbe media-flow-stats ipv4 10.0.1.1 port 20000

Displays the statistics about one or more media flows collected on the DBE and shows, as an example, the following reported fields:

A.B.C.D—(Optional) Only displays media flows to and from this IPv4 media address.

port-number—(Optional) Only displays media flows to and from this port.

The RTCP packet statistics are collected from RTCP packets transmitted by endpoints and are updated when the RTCP packets are received.

Configuring Media Address Pools Example

This section provides a sample configuration for media address pools.

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 default 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)# interface sbc 1
Router(config)# sbc mySBC dbe
Router(config-sbc-dbe)# media-address ipv4 10.10.10.1 
Router(config-sbc-dbe-media-address)# port-range 16384 20000 voice 
Router(config-sbc-dbe-media-address)# port-range 20001 65535 video 
Router(config-sbc-dbe-media-address)# exit
Router(config-sbc-dbe)# media-address pool ipv4 10.10.11.1 10.10.11.10 
Router(config-sbc-dbe-media-address)# port-range 16384 30000 voice 
Router(config-sbc-dbe-media-address)# port-range 30001 40000 video 
Router(config-sbc-dbe-media-address)# exit
Router(config-sbc-dbe)# media-address pool ipv4 10.10.11.21 10.10.11.30 
Router(config-sbc-dbe-media-address)# port-range 20000 40000 any