Verifying a session limit per vrf configuration, Configuration examples for session limit per vrf – Cisco 10000 User Manual

Page 151

Advertising
background image

4-19

Cisco 10000 Series Router Software Configuration Guide

OL-2226-23

Chapter 4 Configuring Multiprotocol Label Switching

Session Limit Per VRF

Verifying a Session Limit Per VRF Configuration

To verify the configuration of the session limit Per VRF feature, enter the following commands in
privileged EXEC mode:

Configuration Examples for Session Limit Per VRF

Example 4-5

creates three VPDN groups named group1, group2, and group3. VPDN group1 and group2

are attached to the default VPDN template, which has a session limit of 10. VPDN group1 and group2
can have no more than a combined total of 10 concurrent sessions. For example, if group1 has three
sessions, group2 can only have seven sessions.

In

Example 4-5

, using the session-limit 5 command allows VPDN group1 to have no more than 5

sessions. Using the session-limit 20 command allows VPDN group2 to have no more than 20 sessions.
However, as previously indicated, the default VPDN template has a session limit of 10. Therefore, the
combined number of sessions for VPDN group1 and group2 cannot exceed 10 sessions. If group1 has 5
sessions, group2 can only have 5 sessions. If group1 does not have any active sessions, group2 can have
a maximum of 10 sessions, even though group2 is configured with the session-limit 20 command.

In

Example 4-5

, VPDN group3 does not have a session limit configured. Using the no source

vpdn-template command detaches group3 from the default VPDN template.

Example 4-5

Configuring Session Limit Per VRF

vpdn-template

group session-limit 10

exit

vpdn-group group2

accept-dialin

protocol any

exit

session-limit 20

exit

vpdn-group group1

accept-dialin

protocol any

Step 12

Router(config-vpdn)# session-limit

session-number

Limits the number of sessions allowed on the VPDN group.

The session-number option is the maximum number of sessions
allowed on the specified VPDN group. Valid values are from 0 to
32,767.

Step 13

Repeat steps 7 through 12 to configure session limiting on additional VPDN groups.

Command

Purpose

Command

Purpose

Router# show running-config

Displays the current configuration of the router. Check the output
of this command to confirm the configuration of a VPDN
template group.

Router# show vpdn session

Displays the status of all active tunnels.

Advertising