Planet Networking & Communication SGS-6340-24T4S Command Manual page 363

Layer 3 multi-port full gigabit stackable managed switch
Table of Contents

Advertisement

20.2 class
Command:
class <class-map-name> [insert-before <class-map-name>]
no class <class-map-name>
Function:
Associates a class to a policy map and enters the policy class map mode; the no command deletes the specified
class.
Parameters:
<class-map-name> is the class map name used by the class.
insert-before <class-map-name> insert a new configured class to the front of an existent class to improve the
priority of the new class.
Default:
No policy class is configured by default.
Command mode:
Policy map configuration mode
Usage Guide:
Before setting up a policy class, a policy map should be created and the policy map mode entered. In the policy map
mode, classification and nexthop configuration can be performed on packet traffic classified by class map.
Example:
After add a policy class map c1 to the policy map, add a policy class map c2 and insert it to the front of c1.
Switch(config)#policy-map p1
Switch(Config-PolicyMap-p1)#class c1
Switch(Config-PolicyMap-p1-Class-c1)#exit
Switch(Config-PolicyMap-p1)#class c2 insert-before c1
Switch(Config-PolicyMap-p1-Class-c2)#exit
20.3 class-map
Command:
class-map <class-map-name>
no class-map <class-map-name>
20-125

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents