Guest

Cisco IOS and NX-OS Software

Configuring ISG Network Forwarding Policies

Table Of Contents

Configuring ISG Network Forwarding Policies

Finding Feature Information

Contents

Prerequisites for Configuring ISG Network Forwarding Policies

Restrictions for Configuring ISG Network Forwarding Policies

Information About ISG Network Policies

Network Policies

Configuration Sources for Network Policies

How to Configure ISG Network Policies

Configuring Network Policies for PPP Sessions in Service Policy Maps

Prerequisites

What to Do Next

Configuring Network Policies for IP Sessions in Service Policy Maps

What to Do Next

Configuration Examples for ISG Network Policies

Network Forwarding Policy for PPP Sessions: Example

Network Forwarding Policy for IP Sessions: Example

Additional References

Related Documents

Technical Assistance

Feature Information for ISG Network Policies


Configuring ISG Network Forwarding Policies


First Published: March 20, 2006
Last Updated: September 22, 2008

Intelligent Services Gateway (ISG) is a Cisco IOS software feature set that provides a structured framework in which edge devices can deliver flexible and scalable services to subscribers. An ISG network forwarding policy is a type of traffic policy that allows packets to be routed or forwarded to and from an upstream network. This module provides information about how to configure network forwarding policies.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the "Feature Information for ISG Network Policies" section.

Use Cisco Feature Navigator to find information about platform support and Cisco IOS and Catalyst OS software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.

Contents

Prerequisites for Configuring ISG Network Forwarding Policies

Restrictions for Configuring ISG Network Forwarding Policies

Information About ISG Network Policies

How to Configure ISG Network Policies

Configuration Examples for ISG Network Policies

Additional References

Feature Information for ISG Network Policies

Prerequisites for Configuring ISG Network Forwarding Policies

For information about release and platform support, see the "Feature Information for ISG Network Policies" section.

Restrictions for Configuring ISG Network Forwarding Policies

A service can contain only one network forwarding policy.

For each subscriber session, only one instance of a network forwarding policy can be in effect at any one time.

Information About ISG Network Policies

Before you configure network forwarding policies, you should understand the following concepts:

Network Policies

Configuration Sources for Network Policies

Network Policies

For subscriber packets to reach a network, some form of forwarding must be specified for a subscriber session. A traffic policy that allows packets to be routed or forwarded to and from an upstream network is known as a network forwarding policy.

Where the network forwarding policy type is routing, forwarding decisions are made at Layer 3, and a VRF (Virtual Routing and Forwarding) identifier must be specified to indicate which routing table should be used to make the routing decision (each VRF represents an independent routing context within a single router). Where the network policy type is forwarding, forwarding decisions are made at Layer 2, which means that all subscriber packets are forwarded to and from a single virtual endpoint within the system. This virtual endpoint represents a Layer 2 tunnel, and a tunnel identifier determines which tunnel should be used. If a network forwarding policy is not specified, the global routing table will be used to route traffic.

An ISG service that includes a network forwarding policy is known as a primary service. Primary services are mutually exclusive and may not be active simultaneously. Upon activation of a new primary service, ISG will deactivate the existing primary service and any other services dependent on the existing primary service through association with a service group.

Configuration Sources for Network Policies

Network policies can be configured in user profiles and service profiles on an external authentication, authorization, and accounting (AAA) server or in service policy maps on the ISG-enabled device. A network forwarding policy configured in a user profile takes precedence over a network forwarding policy specified in a service.

If a network forwarding policy is not specified in a user profile or service, the ISG session will inherit the network service from another source. ISG can inherit a network service from the following sources:

Global

Interface

Subinterface

Virtual template

Virtual circuit (VC) class

Permanent virtual circuit (PVC)

These configuration sources are listed in order of precedence. For example, a network forwarding policy that is configured for a virtual template takes precedence over a network forwarding policy that is configured on an interface.

For each subscriber session, only one instance of a network forwarding policy can be in effect at any point in time.

How to Configure ISG Network Policies

This section contains the following tasks:

Configuring Network Policies for PPP Sessions in Service Policy Maps

Configuring Network Policies for IP Sessions in Service Policy Maps

Configuring Network Policies for PPP Sessions in Service Policy Maps

Network policies can be configured in user profiles or service profiles on an external AAA server or in a service policy map on the ISG device. Perform this task to configure a network forwarding policy for PPP sessions in a service policy map on the ISG device.


Note If a network forwarding policy is not specified in a user profile, service profile, or service policy map, a subscriber session will inherit the network forwarding policy from another source. See the "Configuration Sources for Network Policies" section for more information.


Prerequisites

This task assumes that virtual private dial up network (VPDN) groups have been configured.

SUMMARY STEPS

1. enable

2. configure terminal

3. policy-map type service policy-map-name

4. service vpdn group vpdn-group-name

or

service local

or

service relay pppoe vpdn group vpdn-group-name

5. ip vrf forwarding name-of-vrf

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

policy-map type service policy-map-name

Example:

Router(config)# policy-map type service service1

Creates or modifies a service policy map, which is used to define an ISG service.

Step 4 

service vpdn group vpdn-group-name


or

service local


or

service relay pppoe vpdn group vpdn-group-name

Example:

Router(config-service-policymap)# service vpdn group vpdn1

Example:

Router(config-service-policymap)# service local

Example:

Router(config-service-policymap)# service relay pppoe vpdn group vpdn1

Provides virtual private dialup network (VPDN) service.

or

Provides local termination service.

or

Provides VPDN service by relaying PPPoE over VPDN L2TP tunnels.

If you terminate the service locally by configuring the service local command, you can also specify the routing domain in which to terminate the session by configuring the ip vrf forwarding command.

Step 5 

ip vrf forwarding name-of-vrf

Example:

Router(config-service-policymap)# ip vrf forwarding blue

Associates the service with a VRF.

Perform this step only if you configured the service local command in Step 4. If you configured the service local command, you can use the ip vrf forwarding command to specify the routing domain in which to terminate session. If you do not specify the routing domain, the global VRF will be used.

What to Do Next

You may want to configure a method of activating the service policy map; for example, control policies can be used to activate services. For more information about methods of service activation, see the module "Configuring ISG Subscriber Services."

Configuring Network Policies for IP Sessions in Service Policy Maps

Network policies can be configured in user profiles or service profiles on an external AAA server or in a service policy map on the ISG device. Perform this task to configure a network forwarding policy for IP sessions in a service policy map on the device.


Note If a network forwarding policy is not specified in a user profile, service profile, or service policy map, a subscriber session will inherit the network forwarding policy from another source. See the "Configuration Sources for Network Policies" section for more information.


SUMMARY STEPS

1. enable

2. configure terminal

3. policy-map type service policy-map-name

4. ip vrf forwarding name-of-vrf

5. sg-service-type primary

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

enable

Example:

Router> enable

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 3 

policy-map type service policy-map-name

Example:

Router(config)# policy-map type service service1

Creates or modifies a service policy map, which is used to define an ISG service.

Step 4 

ip vrf forwarding name-of-vrf

Example:

Router(config-service-policymap)# ip vrf forwarding blue

Associates the service with a VRF.

Step 5 

sg-service-type primary

Example:

Router(config-service-policymap)# sg-service-type primary

Defines the service as a primary service.

A primary service is a service that contains a network forwarding policy. A primary service must be defined as a primary service by using the sg-service-type primary command. Any service that is not a primary service is defined as a secondary service by default.

What to Do Next

You may want to configure a method of activating the service policy map; for example, control policies can be used to activate services. For more information about methods of service activation, see the module "Configuring ISG Subscriber Services."

Configuration Examples for ISG Network Policies

This section contains the following examples:

Network Forwarding Policy for PPP Sessions: Example

Network Forwarding Policy for IP Sessions: Example

Network Forwarding Policy for PPP Sessions: Example

The following example shows a service policy map configured with a network forwarding policy for PPP sessions:

policy-map type service my_service
 service vpdn group vpdn1

Network Forwarding Policy for IP Sessions: Example

The following example shows a service policy map configured with a network forwarding policy for IP sessions:

policy-map type service my_service
 ip vrf forwarding vrf1

Additional References

The following sections provide references related to ISG network forwarding policies.

Related Documents

Related Topic
Document Title

ISG commands

Cisco IOS Intelligent Services Gateway Command Reference

VPDN configuration tasks

Cisco IOS VPDN Technologies Configuration Guide

PPP and VPDN commands

Cisco IOS VPDN Technologies Command Reference


Technical Assistance

Description
Link

The Cisco Support website provides extensive online resources, including 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.

http://www.cisco.com/techsupport


Feature Information for ISG Network Policies

Table 1 lists the features in this module and provides links to specific configuration information. Only features that were introduced or modified in Cisco IOS Release 12.2(28)SB or later releases appear in the table.

For information on a feature in this technology that is not documented here, see the "Intelligent Services Gateway Features Roadmap."

Not all commands may be available in your Cisco IOS software release. For details on when support for specific commands was introduced, see the command reference documents.

Use Cisco Feature Navigator to find information about platform support and software image support. Cisco Feature Navigator enables you to determine which Cisco IOS and Catalyst OS software images support a specific software release, feature set, or platform. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.


Note Table 1 list only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.


Table 1 Feature Information for ISG Network Forwarding Policies 

Feature Name
Releases
Feature Configuration Information

ISG: Network Interface: IP Routed, VRF-Aware MPLS

12.2(28)SB
12.2(33)SRC

ISG supports multiple forwarding types to connect sessions to networks. These connections can be to the Internet, corporate intranets, ISPs, or walled gardens for content delivery. ISG supports both routed and MPLS-enabled interfaces for network access.

The following sections provide information about this feature:

Information About ISG Network Policies

How to Configure ISG Network Policies

In Cisco IOS Release 12.2(33)SRC, support was added for the Cisco 7600 router.

ISG: Network Interface: Tunneled (L2TP)

12.2(28)SB
12.2(33)SRC

ISG is flexible to support multiple interface types to connect sessions to networks. These connections can be to the Internet, corporate intranets, ISPs or walled gardens for content delivery. ISG supports tunneled interfaces to networks.

The following sections provide information about this feature:

Information About ISG Network Policies

How to Configure ISG Network Policies

In Cisco IOS Release 12.2(33)SRC, support was added for the Cisco 7600 router.