beautypg.com

Assigning ports to policy profiles, Purpose, Commands – Enterasys Networks D-Series User Manual

Page 331: Set policy port, Assigning ports to policy profiles -15, Purpose -15 commands -15, Set policy port -15, Policy port

background image

Assigning Ports to Policy Profiles

Enterasys D-Series CLI Reference

11-15

Assigning Ports to Policy Profiles

Purpose

To assign and unassign ports to policy profiles.

Commands

set policy port

Use this command to assign ports to a policy profile.

Syntax

set policy port port-string profile-index

Parameters

Defaults

None.

Mode

Switch command, read‐write.

Example

This example shows how to allow Gigabit Ethernet ports 5 through 15 in slot 1 to transmit frames 
according to policy profile 1:

D2(su)->set policy port ge.1.5-15 1

Note: The D2 switch supports up to eight user policies per port.

For information about...

Refer to page...

set policy port

11-15

clear policy port

11-16

port‐string

Specifies the port(s) to add to the policy profile. For a detailed description 
of possible port‐string values, refer to “

Port String Syntax Used in the CLI

” 

on page 6‐1.

profile‐index

Specifies the ID of the policy profile (role) to which the port(s) will be 
added. This value must match the profile‐index value assigned using the 
set policy profile command (“

set policy profile

” on page 11‐3) in order 

for a policy profile to be active on the specified port.