MAC classes creation syntax
Syntax
no class ipv4|ipv6|mac|zoneCLASS_NAME
This command creates a new MAC class with a given name. The name is used when configuring the policy to associate a class with a given action. Upon configuring a class, the user is placed into the class context to configure the rules.
- ipv4
-
Create a traffic class for IPv4 packets.
- ipv6
-
Create a traffic class for IPv6 packets.
- mac
-
Create a traffic class for MAC packets.
- zone
-
Enter the zone name.
- CLASS_NAME
-
Enter an ASCII string.
Create a new MAC class
(config)# class mac “mac-class-1” (config-class)#
NOTE:
The command
class ipv4
NAME
is the IPv4 equivalent command.