The trust upstream { default | ds-domain-name } command applies a DiffServ domain to an interface.
The trust upstream none command disables the priority mapping on an interface.
The undo trust upstream command restores the default settings.
By default, no DiffServ domain is bound to an interface.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735-S-I, S5735S-S, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter |
Description |
Value |
---|---|---|
default |
Indicates the default DiffServ domain preset in the system. |
- |
ds-domain-name |
Specifies the name of a DiffServ domain applied to an interface. |
The value must the name of an existing DiffServ domain. |
none |
Indicates that none DiffServ domain is applied to an interface, and the priorities in packets are not trusted. |
- |
GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, Eth-Trunk member interface view, port group view
Scenario
To map priorities of the packets sent from the upstream device to PHBs according to the mappings defined in a DiffServ domain, run the trust upstream command to apply the DiffServ domain to the inbound interface of the packets. The system then maps priorities of packets to PHBs according to the mappings defined in the DiffServ domain.
To map PHBs of the packets sent to the downstream device to priorities according to the mappings defined in a DiffServ domain, run the trust upstream command to apply the DiffServ domain to the outbound interface of the packets. The system then maps PHBs of packets to the priorities according to the mappings defined in the DiffServ domain.
Prerequisites
A DiffServ domain has been created.
Precautions
For default mappings from 802.1p priorities to PHBs and colors, from PHBs and colors to 802.1p priorities, from DSCP priorities to PHBs and colors, from PHBs and colors to DSCP priorities, from EXP priorities to PHBs and colors, and from PHBs and colors to EXP priorities see the 8021p-inbound, 8021p-outbound, ip-dscp-inbound, ip-dscp-outbound, mpls-exp-inbound, and mpls-exp-outbound commands.
If you run the trust upstream command multiple times in the same interface view, only the latest configuration takes effect.
The trust upstream command cannot be configured on both an Eth-Trunk and its member interfaces.
To apply a DiffServ domain to multiple interfaces, you can perform the configuration on the port group to reduce the workload.