gre¶
Note
requires a Product License.
The list of GRE interfaces on the device.
vsr running config# vrf <vrf> interface gre <gre>
|
An interface name. |
mtu¶
Set the max transmission unit size in octets. IPv6 requires an MTU of 1280 octets or greater.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># mtu <uint32>
promiscuous¶
Set promiscuous mode.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># promiscuous true|false
enabled (pushed)¶
The desired (administrative) state of the interface.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># enabled true|false
- Default value
true
description¶
A textual description of the interface.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># description <string>
ttl¶
The time-to-live (or hop limit) that should be utilised for the IP packets used for the tunnel transport. If not set, the ttl is inherited from the inner packet for IPv4 tunnels, and is 64 for IPv6 tunnels.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># ttl <1-255>
tos¶
Set the DSCP bits in the Type of Service field.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># tos TOS
|
Description |
---|---|
|
No description. |
|
Inherit the ToS from inner frame. |
link-interface¶
Route tunneled packets through this interface.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># link-interface LINK-INTERFACE
|
An interface name. |
link-vrf¶
The link vrf name.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># link-vrf <string>
local (mandatory)¶
The source address that should be used for the tunnel.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># local LOCAL
|
Description |
---|---|
|
An IPv4 address. |
|
An IPv6 address. |
remote¶
The destination address that should be used for the tunnel.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># remote REMOTE
|
Description |
---|---|
|
An IPv4 address. |
|
An IPv6 address. |
checksum¶
Enable checksum features for this tunnel.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># checksum CHECKSUM
|
Description |
---|---|
|
Verify checksum for all input packets. |
|
Calculate checksum for outgoing packets. |
|
Calculate checksum for outgoing packets, and verify it for all input packets. |
sequence-number¶
Enable sequence number for this tunnel.
vsr running config# vrf <vrf> interface gre <gre>
vsr running gre <gre># sequence-number SEQUENCE-NUMBER
|
Description |
---|---|
|
All input packet must be serialized. |
|
Enable sequencing of outgoing packets. |
|
Enable sequencing of outgoing packet and check serialization of all input packets. |
ifindex (state only)¶
System assigned number for each interface. Corresponds to ifIndex object in SNMP Interface MIB.
vsr> show state vrf <vrf> interface gre <gre> ifindex
admin-status (state only)¶
The desired state of the interface. In RFC 7223 this leaf has the same read semantics as ifAdminStatus. Here, it reflects the administrative state as set by enabling or disabling the interface.
vsr> show state vrf <vrf> interface gre <gre> admin-status
oper-status (state only) (pushed)¶
The current operational state of the interface. This leaf has the same semantics as ifOperStatus.
vsr> show state vrf <vrf> interface gre <gre> oper-status
last-change (state only)¶
unit: nanoseconds
This timestamp indicates the time of the last state change of the interface (e.g., up-to-down transition). This corresponds to the ifLastChange object in the standard interface MIB. The value is the timestamp in nanoseconds relative to the Unix Epoch (Jan 1, 1970 00:00:00 UTC).
vsr> show state vrf <vrf> interface gre <gre> last-change
ddos-protection (deprecated)¶
Note
requires a DDoS protection License.
Configuration for anti DDoS protection.
vsr running config# vrf <vrf> interface gre <gre> ddos-protection
enabled (deprecated)¶
Enable anti-DDoS Protection.
vsr running config# vrf <vrf> interface gre <gre> ddos-protection
vsr running ddos-protection# enabled true|false
ipv4¶
Parameters for the IPv4 address family.
vsr running config# vrf <vrf> interface gre <gre> ipv4
enabled¶
Controls whether IPv4 is enabled or disabled on this interface. When IPv4 is enabled, this interface is connected to an IPv4 stack, and the interface can send and receive IPv4 packets.
vsr running config# vrf <vrf> interface gre <gre> ipv4
vsr running ipv4# enabled true|false
- Default value
true
address¶
The list of configured IPv4 addresses on the interface.
vsr running config# vrf <vrf> interface gre <gre> ipv4
vsr running ipv4# address <address> peer PEER
|
Description |
---|---|
|
An IPv4 address. |
|
A masked IPv4 address: address and prefix of that subnet. |
peer¶
The IPv4 address of the remote endpoint for point to point interfaces.
peer PEER
|
An IPv4 address. |
origin (state only)¶
The origin of this address, e.g., statically configured, assigned by DHCP, etc..
vsr> show state vrf <vrf> interface gre <gre> ipv4 address <address> origin
neighbor¶
A list of mappings from IPv4 addresses to link-layer addresses.
vsr running config# vrf <vrf> interface gre <gre> ipv4
vsr running ipv4# neighbor <neighbor> link-layer-address LINK-LAYER-ADDRESS
|
An IPv4 address. |
link-layer-address (mandatory)¶
The link-layer address of the neighbor node.
link-layer-address LINK-LAYER-ADDRESS
|
Description |
---|---|
|
An IPv4 address. |
|
An IPv6 address. |
state (state only)¶
The state of this neighbor entry.
vsr> show state vrf <vrf> interface gre <gre> ipv4 neighbor <neighbor> state
ipv6¶
Parameters for the IPv6 address family.
vsr running config# vrf <vrf> interface gre <gre> ipv6
enabled¶
Controls whether IPv6 is enabled or disabled on this interface. When IPv6 is enabled, this interface is connected to an IPv6 stack, and the interface can send and receive IPv6 packets.
vsr running config# vrf <vrf> interface gre <gre> ipv6
vsr running ipv6# enabled true|false
- Default value
true
address¶
The list of configured IPv6 addresses on the interface.
vsr running config# vrf <vrf> interface gre <gre> ipv6
vsr running ipv6# address <address> peer PEER
|
Description |
---|---|
|
An IPv6 address. |
|
A masked IPv6 address: address and prefix of that subnet. |
peer¶
The IPv6 address of the remote endpoint for point to point interfaces.
peer PEER
|
An IPv6 address. |
origin (state only)¶
The origin of this address, e.g., static, dhcp, etc.
vsr> show state vrf <vrf> interface gre <gre> ipv6 address <address> origin
status (state only)¶
The status of an address. Most of the states correspond to states from the IPv6 Stateless Address Autoconfiguration protocol.
vsr> show state vrf <vrf> interface gre <gre> ipv6 address <address> status
neighbor¶
A list of mappings from IPv6 addresses to link-layer addresses.
vsr running config# vrf <vrf> interface gre <gre> ipv6
vsr running ipv6# neighbor <neighbor> link-layer-address LINK-LAYER-ADDRESS
|
An IPv6 address. |
link-layer-address (mandatory)¶
The link-layer address of the neighbor node.
link-layer-address LINK-LAYER-ADDRESS
|
Description |
---|---|
|
An IPv4 address. |
|
An IPv6 address. |
state (state only)¶
The state of this neighbor entry.
vsr> show state vrf <vrf> interface gre <gre> ipv6 neighbor <neighbor> state
network-stack¶
Network stack parameters for this interface.
vsr running config# vrf <vrf> interface gre <gre> network-stack
ipv4¶
IPv4 parameters.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
send-redirects¶
Send ICMP redirect if host is on the same network than gateway.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# send-redirects true|false
accept-redirects¶
Accept redirect when acting as a host. It is always disabled when acting as a router. Must be activated at vrf or system level too to be activated.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# accept-redirects true|false
accept-source-route¶
Accept packets with source route option. Must be activated at vrf or system level too to be activated.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# accept-source-route true|false
arp-announce¶
Define different restriction levels for announcing the local source IP address from IP packets in ARP requests sent on interface. Increasing the restriction level gives more chance for receiving answer from the resolved target while decreasing the level announces more valid sender’s information.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# arp-announce ARP-ANNOUNCE
|
Description |
---|---|
|
Use any local address, configured on any interface. |
|
Try to avoid local addresses that are not in the target’s subnet for this interface. This mode is useful when target hosts reachable via this interface require the source IP address in ARP requests to be part of their logical network configured on the receiving interface. When we generate the request we will check all our subnets that include the target IP and will preserve the source address if it is from such subnet. If there is no such subnet we select source address according to the rules for level 2, ‘best-local’. |
|
Always use the best local address for this target. In this mode we ignore the source address in the IP packet and try to select local address that we prefer for talks with the target host. Such local address is selected by looking for primary IP addresses on all our subnets on the outgoing interface that include the target IP address. If no suitable local address is found we select the first local address we have on the outgoing interface or on all other interfaces, with the hope we will receive reply for our request and even sometimes no matter the source IP address we announce. |
arp-filter¶
Allows to have multiple network interfaces on the same subnet, and have the ARPs for each interface be answered based on whether or not the kernel would route a packet from the ARP’d IP out that interface (therefore you must use source based routing for this to work). In other words it allows control of which cards (usually 1) will respond to an arp request.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# arp-filter true|false
arp-ignore¶
Define different modes for sending replies in response to received ARP requests that resolve local target IP addresses.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# arp-ignore ARP-IGNORE
|
Description |
---|---|
|
Reply for any local target IP address, configured on any interface. |
|
Reply only if the target IP address is local address configured on the incoming interface. |
|
Reply only if the target IP address is local address configured on the incoming interface and both with the sender’s IP address are part from same subnet on this interface. |
|
Do not reply for local addresses configured with scope host, only resolutions for global and link addresses are replied. |
|
Do not reply for all local addresses. |
arp-proxy¶
Enable ARP proxy.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# arp-proxy true|false
log-invalid-addresses¶
Log packets with impossible addresses.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv4
vsr running ipv4# log-invalid-addresses true|false
ipv6¶
IPv6 parameters.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
autoconfiguration¶
Autoconfigure addresses using Prefix Information in Router Advertisements.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# autoconfiguration true|false
accept-duplicate-address-detection¶
Accept Duplicate Address Detection (DAD).
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# accept-duplicate-address-detection ACCEPT-DUPLICATE-ADDRESS-DETECTION
|
Description |
---|---|
|
Disable DAD. |
|
Enable DAD. |
|
Enable DAD, and disable IPv6 operation if MAC-based duplicate link-local address has been found. |
accept-router-advert¶
Accept Router Advertisements.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# accept-router-advert ACCEPT-ROUTER-ADVERT
|
Description |
---|---|
|
Do not accept Router Advertisements. |
|
Accept Router Advertisements if forwarding is disabled. |
|
Accept Router Advertisements even if forwarding is enabled. |
accept-redirects¶
Accept redirect when acting as a host. It is always disabled when acting as a router.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# accept-redirects true|false
accept-segment-routing¶
Accept Segment Routing IPv6 packets.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# accept-segment-routing true|false
accept-source-route¶
Accept packets with source route option.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# accept-source-route true|false
router-solicitations¶
Number of Router Solicitations to send until assuming no routers are present.
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# router-solicitations <-1-8192>
use-temporary-addresses¶
Preference for Privacy Extensions (RFC4941). Not applied to point-to- point and loopback devices (always 0).
vsr running config# vrf <vrf> interface gre <gre> network-stack ipv6
vsr running ipv6# use-temporary-addresses USE-TEMPORARY-ADDRESSES
|
Description |
---|---|
|
Disable Privacy Extensions, i.e. use the public address, subnet prefix/interface id, where interface id is always the same. |
|
Enable Privacy Extensions, but prefer public addresses over temporary addresses. |
|
Enable Privacy Extensions and prefer temporary addresses over public addresses. |
key¶
Set the value of the GRE key for this interface.
vsr running config# vrf <vrf> interface gre <gre> key
qos¶
Note
requires a Product License.
QoS configuration.
vsr running config# vrf <vrf> interface gre <gre> qos
ingress¶
Ingress QoS configuration.
vsr running config# vrf <vrf> interface gre <gre> qos ingress
policy (config only)¶
List of QoS policies defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos ingress
vsr running ingress# policy <leafref>
rate-limit¶
Rate limit configuration.
vsr running config# vrf <vrf> interface gre <gre> qos ingress rate-limit
policer (config only)¶
Traffic policer defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos ingress rate-limit
vsr running rate-limit# policer <leafref>
policer (state only)¶
Traffic policer.
bandwidth (state only)¶
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer bandwidth
burst (state only)¶
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer burst
excess-bandwidth (state only)¶
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer excess-bandwidth
excess-burst (state only)¶
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer excess-burst
stats (state only)¶
Traffic policer statistics.
Number of packets passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats pass-packets
Number of bytes passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats pass-bytes
Number of excess packets passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats pass-excess-packets
Number of excess bytes passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats pass-excess-bytes
Number of packets dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats drop-packets
Number of bytes dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos ingress rate-limit policer stats drop-bytes
policy (state only)¶
List of QoS policies.
priority (state only)¶
Priority of the policy (policies are looked up hacked by increasing order of priority).
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> priority
selector (state only)¶
List of traffic selectors.
match8bits (state only)¶
8 bit selector.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match8bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match8bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match8bits offset
match16bits (state only)¶
16 bit selector.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match16bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match16bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match16bits offset
match32bits (state only)¶
32 bit selector.
The 32 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match32bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match32bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> match32bits offset
ipv4 (state only)¶
IPv4 header selector.
Match all IPv4 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 match-all
The source address to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 source
The destination address to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 destination
The protocol to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 protocol value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 protocol mask
The TOS field to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 tos value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv4 tos mask
ipv6 (state only)¶
IPv6 header selector.
Match all IPv6 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 match-all
The source address to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 source
The destination address to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 destination
The protocol to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 protocol value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 protocol mask
The TC field to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 tos value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> ipv6 tos mask
tcp (state only)¶
TCP header selector.
Match all TCP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> tcp match-all
The source port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> tcp source-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> tcp source-port mask
The destination port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> tcp destination-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> tcp destination-port mask
udp (state only)¶
UDP header selector.
Match all UDP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> udp match-all
The source port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> udp source-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> udp source-port mask
The destination port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> udp destination-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> udp destination-port mask
icmp (state only)¶
ICMP header selector.
Match all ICMP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmp match-all
The ICMP type to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmp type value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmp type mask
The ICMP code to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmp code value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmp code mask
icmpv6 (state only)¶
ICMPv6 header selector.
Match all ICMPv6 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmpv6 match-all
The ICMPv6 type to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmpv6 type value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmpv6 type mask
The ICMPv6 code to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmpv6 code value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> selector <string> icmpv6 code mask
action (state only)¶
The policy action.
set-mark (state only)¶
Mark the packet.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> action set-mark
restore-connmark (state only)¶
Copy the connection mark (ctmark) to the packet mark (nfmark): if the packet belongs to a connection in the conntrack module and a ctmark is assigned to this connection, then the mark is copied to the packet nfmark. Otherwise the packet nfmark is reset to 0.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> action restore-connmark
redirect (state only)¶
Redirect the packet to a QoS-hub interface.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> action redirect
pass (state only)¶
Do not apply any specific QoS processing.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> action pass
set-priority (state only)¶
Set the priority of the packet.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> action set-priority
stats (state only)¶
Policy statistics.
match-packets (state only)¶
Number of packets matched.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> stats match-packets
drop-packets (state only)¶
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos ingress policy <string> stats drop-packets
egress¶
Egress QoS configuration.
vsr running config# vrf <vrf> interface gre <gre> qos egress
scheduler (config only)¶
Scheduler defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos egress
vsr running egress# scheduler <leafref>
policy (config only)¶
List of QoS policies defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos egress
vsr running egress# policy <leafref>
rate-limit¶
Rate limit configuration.
vsr running config# vrf <vrf> interface gre <gre> qos egress rate-limit
policer (config only)¶
Traffic policer defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos egress rate-limit
vsr running rate-limit# policer <leafref>
shaper (config only)¶
Traffic shaper defined in the QoS context.
vsr running config# vrf <vrf> interface gre <gre> qos egress rate-limit
vsr running rate-limit# shaper <leafref>
policer (state only)¶
Traffic policer.
bandwidth (state only)¶
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer bandwidth
burst (state only)¶
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer burst
excess-bandwidth (state only)¶
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer excess-bandwidth
excess-burst (state only)¶
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer excess-burst
stats (state only)¶
Traffic policer statistics.
Number of packets passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats pass-packets
Number of bytes passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats pass-bytes
Number of excess packets passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats pass-excess-packets
Number of excess bytes passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats pass-excess-bytes
Number of packets dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats drop-packets
Number of bytes dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit policer stats drop-bytes
shaper (state only)¶
Traffic shaper.
bandwidth (state only)¶
Maximum bandwidth of shaped traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper bandwidth
burst (state only)¶
Maximum burst size of shaped traffic. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper burst
layer1-overhead (state only)¶
Number of bytes added by the underlying protocol on each packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper layer1-overhead
queue-size (state only)¶
Number of packets that can be saved in the delay queue. If a scheduler is also configured on the interface, this value is not used, the queues of the scheduler are used as delay queues. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper queue-size
stats (state only)¶
Traffic shaper statistics.
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper stats pass-packets
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress rate-limit shaper stats drop-packets
scheduler (state only)¶
List of schedulers on an interface.
is-root (state only)¶
Is true if the scheduler is root on the interface.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> is-root
template-name (state only)¶
The template name it has been configured with.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> template-name
pq (state only)¶
Priority Queueing state.
nb-queue (state only)¶
Number of Priority Queueing queues available in the scheduler.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq nb-queue
default-queue (state only)¶
The scheduler queue on which the default traffic will be directed.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq default-queue
stats (state only)¶
Traffic pq scheduler statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq stats drop-queue-full-bytes
queue (state only)¶
List of Priority Queueing queues.
Size of the queue in packets. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> size
Child scheduler id within the interface.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> child-scheduler-id
Custom priority of this queue.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> priority
Queue’s input policer.
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer bandwidth
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer burst
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer excess-bandwidth
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer excess-burst
Queue’s input policer statistics.
Number of packets passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats pass-packets
Number of bytes passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats pass-bytes
Number of excess packets passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats pass-excess-packets
Number of excess bytes passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats pass-excess-bytes
Number of packets dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats drop-packets
Number of bytes dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> policer stats drop-bytes
Queue’s output shaper.
Maximum bandwidth of shaped traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper bandwidth
Maximum burst size of shaped traffic. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper burst
Number of bytes added by the underlying protocol on each packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper layer1-overhead
Number of packets that can be saved in the delay queue. If a scheduler is also configured on the interface, this value is not used, the queues of the scheduler are used as delay queues. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper queue-size
Queue’s output shaper statistics.
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper stats pass-packets
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> shaper stats drop-packets
Classes assigned to the queue.
Queue statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pq queue <uint32> stats drop-queue-full-bytes
pb-dwrr (state only)¶
Priority-Based Deficit Weighted Round Robin description.
nb-queue (state only)¶
Number of PB-DWRR queues available in the scheduler.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr nb-queue
default-queue (state only)¶
The scheduler queue on which the default traffic will be directed.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr default-queue
stats (state only)¶
Traffic pb-dwrr scheduler statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr stats drop-queue-full-bytes
queue (state only)¶
List of PB-DWRR queues.
Size of the queue in packets. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> size
Child scheduler id within the interface.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> child-scheduler-id
Quantum of the queue in bytes. Relevant only if priority is low.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> quantum
Priority of the queue (low or high).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> priority
Queue’s input policer.
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer bandwidth
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer burst
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer excess-bandwidth
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer excess-burst
Queue’s input policer statistics.
Number of packets passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats pass-packets
Number of bytes passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats pass-bytes
Number of excess packets passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats pass-excess-packets
Number of excess bytes passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats pass-excess-bytes
Number of packets dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats drop-packets
Number of bytes dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> policer stats drop-bytes
Queue’s output shaper.
Maximum bandwidth of shaped traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper bandwidth
Maximum burst size of shaped traffic. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper burst
Number of bytes added by the underlying protocol on each packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper layer1-overhead
Number of packets that can be saved in the delay queue. If a scheduler is also configured on the interface, this value is not used, the queues of the scheduler are used as delay queues. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper queue-size
Queue’s output shaper statistics.
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper stats pass-packets
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> shaper stats drop-packets
Classes assigned to the queue.
Queue statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> pb-dwrr queue <uint32> stats drop-queue-full-bytes
htb (state only)¶
Hierarchical Token Bucket description.
nb-queue (state only)¶
Current number of HTB queues in the scheduler.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb nb-queue
default-queue (state only)¶
The scheduler queue on which the default traffic will be directed.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb default-queue
divisor (state only)¶
Divisor used to calculate the default quantum of queues.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb divisor
stats (state only)¶
Traffic pq scheduler statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb stats drop-queue-full-bytes
queue (state only)¶
List of HTB queues.
Size of the queue in packets. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> size
Child scheduler id within the interface.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> child-scheduler-id
Guaranteed bandwidth of the queue (bps).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> bandwidth
Guaranteed bandwidth maximum burst size (bytes).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> burst
Ceiling rate of the queue (bps).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> ceiling
Ceiling rate maximum burst size (bytes).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> ceiling-burst
Priority of the queue in case of ceiling, used to distribute available ceiling bandwidth to queues by order of priority. Lower is more priority.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> ceiling-priority
Number of bytes added by the underlying protocol on each packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> layer1-overhead
Quantum of the queue, used to distribute available bandwidth between queues of same priorities, in a weighted round robin fashion.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> quantum
Attention
ceiling-priority
Priority of the queue, used to distribute available bandwidth to queues by order of priority.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> priority
List of child HTB queue IDs.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> child-queue
Queue’s input policer.
Maximum bandwidth of regular traffic, a.k.a. CIR (Committed Information Rate), in bps. 0 allows no regular traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer bandwidth
Maximum burst size of shaped traffic, a.k.a. CBS (Committed Burst Size), in bytes. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer burst
Maximum bandwidth of excess traffic, a.k.a. EIR (Excess Information Rate), in bps. 0 allows no excess traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer excess-bandwidth
Maximum burst size of excess traffic, a.k.a. EBS (Excess Burst Size), in bytes. The default value is set to excess-bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer excess-burst
Queue’s input policer statistics.
Number of packets passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats pass-packets
Number of bytes passed (regular traffic that conforms to (bandwidth, burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats pass-bytes
Number of excess packets passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats pass-excess-packets
Number of excess bytes passed (excess traffic that conforms to (excess-bandwidth, excess-burst) specification.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats pass-excess-bytes
Number of packets dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats drop-packets
Number of bytes dropped (traffic that does not conform to bandwidth or excess-bandwidth).
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> policer stats drop-bytes
Queue’s output shaper.
Maximum bandwidth of shaped traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper bandwidth
Maximum burst size of shaped traffic. The default value is set to bandwidth / 80 to handle a burst of 100 ms at the targeted bandwidth. If not set or set to 0, the default value is applied.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper burst
Number of bytes added by the underlying protocol on each packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper layer1-overhead
Number of packets that can be saved in the delay queue. If a scheduler is also configured on the interface, this value is not used, the queues of the scheduler are used as delay queues. The value is rounded up to the nearest power of 2.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper queue-size
Queue’s output shaper statistics.
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper stats pass-packets
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> shaper stats drop-packets
Classes assigned to the queue.
Queue statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> htb queue <uint32> stats drop-queue-full-bytes
sfq (state only)¶
Stochastic Fair Queuing description.
flows (state only)¶
Number of flows in which the traffic is distributed.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq flows
quantum (state only)¶
Amount of bytes a flow is allowed to dequeue during a round of the round robin process.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq quantum
limit (state only)¶
Maximum number of packets that may be enqueued. If the limit is exceeded, half of the fattest flow packets are dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq limit
stats (state only)¶
Traffic sfq scheduler statistics.
Number of packets enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats enqueue-packets
Number of bytes enqueued.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats enqueue-bytes
Number of packets sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats xmit-packets
Number of bytes sent.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats xmit-bytes
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats drop-queue-full
Number of bytes dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress scheduler <uint32> sfq stats drop-queue-full-bytes
policy (state only)¶
List of QoS policies.
priority (state only)¶
Priority of the policy (policies are looked up hacked by increasing order of priority).
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> priority
selector (state only)¶
List of traffic selectors.
match8bits (state only)¶
8 bit selector.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match8bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match8bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match8bits offset
match16bits (state only)¶
16 bit selector.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match16bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match16bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match16bits offset
match32bits (state only)¶
32 bit selector.
The 32 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match32bits value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match32bits mask
The offset in the frame where the value must match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> match32bits offset
ipv4 (state only)¶
IPv4 header selector.
Match all IPv4 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 match-all
The source address to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 source
The destination address to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 destination
The protocol to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 protocol value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 protocol mask
The TOS field to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 tos value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv4 tos mask
ipv6 (state only)¶
IPv6 header selector.
Match all IPv6 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 match-all
The source address to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 source
The destination address to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 destination
The protocol to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 protocol value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 protocol mask
The TC field to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 tos value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> ipv6 tos mask
tcp (state only)¶
TCP header selector.
Match all TCP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> tcp match-all
The source port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> tcp source-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> tcp source-port mask
The destination port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> tcp destination-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> tcp destination-port mask
udp (state only)¶
UDP header selector.
Match all UDP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> udp match-all
The source port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> udp source-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> udp source-port mask
The destination port to match.
The 16 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> udp destination-port value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> udp destination-port mask
icmp (state only)¶
ICMP header selector.
Match all ICMP traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmp match-all
The ICMP type to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmp type value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmp type mask
The ICMP code to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmp code value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmp code mask
icmpv6 (state only)¶
ICMPv6 header selector.
Match all ICMPv6 traffic.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmpv6 match-all
The ICMPv6 type to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmpv6 type value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmpv6 type mask
The ICMPv6 code to match.
The 8 bit value to match.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmpv6 code value
Mask applied to value.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> selector <string> icmpv6 code mask
action (state only)¶
The policy action.
set-mark (state only)¶
Mark the packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> action set-mark
restore-connmark (state only)¶
Copy the connection mark (ctmark) to the packet mark (nfmark): if the packet belongs to a connection in the conntrack module and a ctmark is assigned to this connection, then the mark is copied to the packet nfmark. Otherwise the packet nfmark is reset to 0.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> action restore-connmark
redirect (state only)¶
Redirect the packet to a QoS-hub interface.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> action redirect
pass (state only)¶
Do not apply any specific QoS processing.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> action pass
set-priority (state only)¶
Set the priority of the packet.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> action set-priority
stats (state only)¶
Policy statistics.
match-packets (state only)¶
Number of packets matched.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> stats match-packets
drop-packets (state only)¶
Number of packets dropped.
vsr> show state vrf <vrf> interface gre <gre> qos egress policy <string> stats drop-packets
counters (state only)¶
A collection of interface-related statistics objects.
in-octets (state only)¶
The total number of octets received on the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters in-octets
in-unicast-pkts (state only)¶
The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were not addressed to a multicast or broadcast address at this sub-layer. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters in-unicast-pkts
in-discards (state only)¶
The number of inbound packets that were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters in-discards
in-errors (state only)¶
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher- layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re- initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters in-errors
out-octets (state only)¶
The total number of octets transmitted out of the interface, including framing characters. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters out-octets
out-unicast-pkts (state only)¶
The total number of packets that higher-level protocols requested be transmitted, and that were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. Discontinuities in the value of this counter can occur at re- initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters out-unicast-pkts
out-discards (state only)¶
The number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters out-discards
out-errors (state only)¶
For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ‘last-clear’.
vsr> show state vrf <vrf> interface gre <gre> counters out-errors