User guide
MPLS Module Installation and User Guide 8-5
Configuring Access Profiles
Creating an Access Profile
The first thing to do when using routing access policies is to create an access profile. An
access profile has a unique name and contains the following entry types:
• A list of IP addresses and associated subnet masks
• One or more autonomous system path expressions (BGP only)
• One or more BGP community numbers (BGP only)
You must give the access profile a unique name (in the same manner as naming a
VLAN, protocol filter, or Spanning Tree Domain). Up to 128 routing access policies can
be created. To create an access profile, use the following command:
create access-profile <access_profile> type [ipaddress | as-path |
bgp-community]
The following command example creates an access profile named
cold
and is defined
to be type
ipaddress
:
create access-profile cold type ipaddress
create access-profile <access_profile>
type [ipaddress | as-path |
bgp-community]
Creates an access profile. After the access profile is
created, one or more addresses can be added to it,
and the profile can be used to control a specific
routing protocol.
Specify one of the following:
■
ipaddress — A list of IP addresses and mask
pairs.
■
as-path — A list of AS path expressions.
■
bgp-community — A list of BGP community
numbers.
delete access-profile <access_profile> Deletes an access profile.
show access-profile <access_profile> Displays access-profile related information for the
switch.
Table 8-2: Routing Access Policy Configuration Commands
Command Description