HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 72

Port priority trust mode configuration commands, display qos trust interface

Page 72 highlights

Default level 2: System level Parameters priority-value: Port priority value, in the range of 0 to 7. Description Use qos priority to change the port priority of an interface. Use undo qos priority to restore the default. The default port priority is 0. You can use the display qos trust interface command to view the port priority of an interface. When a switch receives an untagged packet on an interface, the switch uses the port priority of the interface as the 802.1p priority of the received packet, and then looks up the 802.1p-to-local and 802.1p-to-drop priority mapping tables and mark the packet with the corresponding local precedence and drop precedence. Examples # Set the port priority of interface GigabitEthernet 1/0/1 to 2. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos priority 2 Port priority trust mode configuration commands display qos trust interface Syntax View display qos trust interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

67
Default level
2: System level
Parameters
priority-value
: Port priority value, in the range of 0 to 7.
Description
Use
qos priority
to change the port priority of an interface.
Use
undo qos priority
to restore the default.
The default port priority is 0.
You can use the
display qos trust
interface
command to view the port priority of an interface.
When a switch receives an untagged packet on an interface, the switch uses the port priority of the
interface as the 802.1p priority of the received packet, and then looks up the 802.1p-to-local and
802.1p-to-drop priority mapping tables and mark the packet with the corresponding local precedence
and drop precedence.
Examples
# Set the port priority of interface GigabitEthernet 1/0/1 to 2.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos priority 2
Port priority trust mode configuration commands
display qos trust interface
Syntax
display qos trust
interface
[
interface-type interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.