D Commands
default (table map)
To specify the default action for mapping input field values to output field values in a table map, use the default command.
default { value | copy }
no default { value | copy }
Syntax Description
|
value |
Default value to use for the output value in the range from 0 to 63. |
|
copy |
Specifies that the default action is to copy all equal values to an equal output value. |
Command Default
Copies the input value to the output value.
Command Modes
Table map configuration
Default table map configuration
Command History
|
Release |
Modification |
|---|---|
|
4.0 |
This command was introduced. |
|
4.0(2) |
The ignore variable for this command is no longer supported. |
Usage Guidelines
The copy keyword is available only in the table map configuration mode. In the default table map configuration mode, the copy keyword is not available because all values must be assigned a mapping.
This command does not require a license.
Examples
This example shows how to remove the default mapping action copy. The resulting default action is ignore:
switch(config)# table-map my_table1 switch(config-tmap)# no default copy switch(config-tmap)#
Related Commands
|
Command |
Description |
|---|---|
|
from |
Specifies the input field to output field mappings in table maps. |
|
show table-map |
Displays table maps. |
description
To add a description to a class map, policy map, or table map, use the description command. To remove the description, use the no form of this command.
description text
no description text
Syntax Description
|
text |
Description for the class map, policy map, or table map. The description has a maximum of 200 characters. |
Command Default
None
Command Modes
Class map type qos configuration
Policy map type qos configuration
Policy map type queuing configuration
Table map configuration
Command History
|
Release |
Modification |
|---|---|
|
4.0 |
This command was introduced. |
Usage Guidelines
This command does not require a license.
Examples
This example shows how to add a description to a policy map:
switch(config)# policy-map my_policy1 switch(config-pmap)# description this policy applies to input packets switch(config-pmap)#
Related Commands
|
Command |
Description |
|---|---|
|
class-map |
Creates or modifies a class map. |
|
policy-map |
Creates or modifies a policy map. |
|
table-map |
Creates or modifies a table map. |
Feedback