protocol
protocol (interfaces rewrite rules)
Syntax
Hierarchy Level
[edit class-of-service interfacesinterface-nameunitlogical-unit-numberrewrite-rules exprewrite-name]Description
Apply a rewrite rule to MPLS packets only, and write the code point value to MPLS headers only; or apply a rewrite rule to MPLS and IPv4 packets, and write the code point value to MPLS and IPv4 headers.
Options
protocol-typescan be one of the following:
mpls-any—Apply a rewrite rule to MPLS packets only, and write the code point value to MPLS headers only.
mpls-inet-both—Apply a rewrite rule to MPLS packets with IPv4 headers, and write the code point value to MPLS and IPv4 headers.
[mpls-any mpls-inet-both]—For MPLS packets with IPv4 payloads, write the code point value to MPLS and IPv4 headers. For MPLS packets without IPv4 payloads, write the code point value to MPLS headers only.Usage Guidelines
See Rewrite MPLS and IPv4 Packet Headers.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.protocol (schedulers)
Syntax
protocol (non-tcp | tcp | any);Hierarchy Level
[edit class-of-service schedulersscheduler-namedrop-profile-map]Description
Specify the protocol type for the specified scheduler.
Options
non-tcp—Accept any protocol type other than TCP-IP.
tcp—Accept only TCP/IP protocol.Usage Guidelines
See Configure Scheduling Policy Maps.
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.