cc/td/doc/product/software/ios120/120newft/120t
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Selective Virtual-Access Interface Creation

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Configuration Example

Command Reference

Selective Virtual-Access Interface Creation

This document includes the following sections:

Feature Overview

The Selective Virtual-Access Interface Creation feature enables a router to automatically determine whether or not to create a virtual-access interface for each inbound connection. In particular, a call that is received on a physical asynchronous interface that uses an Authentication, Authorization, and Accounting (AAA) per-user configuration can now be processed without creating a virtual-access interface by a router that is also configured for virtual profiles.

The following three criteria determine whether or not a virtual-access interface is created:

Virtual-Access Interface will be Created:
Virtual-Access Interface will not be Created:

Benefits

This feature enables you to enjoy the simpler configurations of virtual profiles and virtual-access interfaces without wasting resources by creating virtual-access interfaces for connections that do not require them.

Related Documents

For more information about virtual-access interfaces, see the following:

For more information about AAA per-user configurations, see the following:

Supported Platforms

Supported Standards, MIBs, and RFCs

MIBs

None

For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.

RFCs

None

Standards

None

Configuration Tasks

See the following sections for configuration tasks for the Selective Virtual-Access Interface Creation feature. Each task in the list indicates if the task is optional or required.

Configuring Selective Virtual-Access Interface Creation

Command Purpose
Router(config)#virtual-profile if-needed

Creates virtual-access interfaces only if the inbound connection requires one.

Verifying Selective Virtual-Access Interface Creation

Step 1 Enable the debug vtemplate command.

Step 2 Establish a PPP link between the router and a client.

Step 3 View the debug output to see whether or not a virtual-access interface is created.

Configuration Example

This section contains the following configuration examples:

Router Configuration Example

When a router is configured as follows, it will only create a virtual-access interface for incoming calls that require a virtual-access interface:

aaa new-model
aaa authentication ppp default local radius tacacs
aaa authorization network default local radius tacacs
 
virtual-profile if-needed
virtual-profile virtual-template 1
virtual-profile aaa
!
interface Virtual-Template1
 ip unnumbered Ethernet 0
 no ip directed-broadcast
 no keepalive
 ppp authentication chap
 ppp multilink

RADIUS Configuration Examples

The following is a sample AAA per-user configuration for a RADIUS user profile:

RADIUS user profile:
        foo     Password = "test"
                 User-Service-Type = Framed-User,
                 Framed-Protocol = PPP,
                cisco-avpair = "ip:inacl#1=deny 10.10.10.10 0.0.0.0",
                cisco-avpair = "ip:inacl#1=permit any"
 

The following is a sample Virtual Profile AAA configuration for a RADIUS user profile:

RADIUS user profile:
       foo  Password = "test"
            User-Service-Type = Framed-User,
            Framed-Protocol = PPP,
          cisco-avpair = "lcp:interface-config=keepalive 30\nppp max-bad-auth 4"

TACACS+ Configuration Examples

The following is a sample AAA per-user configuration for a TACACS+ user profile:

user = foo {
                name = "foo"
                global = cleartext test
                service = PPP protocol= ip {
                        inacl#1="deny 10.10.10.10 0.0.0.0"
                        inacl#1="permit any"
                }
        }
 

The following is a sample Virtual Profile AAA configuration for a TACACS+ user profile:

TACACS+ user profile:
        user = foo {
                name = "foo"
                global = cleartext test
                service = PPP protocol= lcp {
                        interface-config="keepalive 30\nppp max-bad-auth 4"
                }
                service = ppp protocol = ip {
                }
        }

Command Reference

This section documents new commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publication.

virtual-profile if-needed

To specify that a virtual profile be used to create a virtual-access interface only if the inbound connection requires a virtual-access interface, use the virtual-profile if-needed global configuration command. Use the no form of this command to create virtual-access interfaces for every inbound connection.

virtual-profile if-needed
no virtual-profile if-needed

Syntax Description

This command has no keywords nor arguments.

Defaults

Disabled

Command Modes

Global configuration

Command History

Release Modification

12.0(5)T

This command was introduced.

Usage Guidelines

This command is intended to prevent the creating of virtual-access interfaces for inbound calls on physical interfaces that do not require virtual-access interfaces.

This command is compatible with local, RADIUS, and TACACS+ AAA.

Examples

The following example enables selective virtual-access interface creation:

virtual-profile if-needed

Related Commands

Command Description

interface virtual-template

Creates a virtual template that virtual profiles use to create virtual-access interfaces.

virtual-profile virtual-template

Specifies a virtual template as the source of information for virtual profiles.

virtual-profile aaa

Specifies AAA as the source of information for virtual profiles.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Aug 5 09:26:32 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.