3.28.1 Stream Configuration
Use this command to delete/edit the existing streams or add a new stream.
Command Syntax:
stream <inst>
dmac { <dmac_addr> [ / <dmac_mask> ] | multicast | broadcast | unicast | not-broadcast | notunicast | any }
smac { <mac_addr> [ / <mask_mac_addr> ] | any }
outer-tag { none | vid { { <vid> [ / <vid_mask> ] | any } [ pcp <pcp_val> [ / <pcp_mask> ] ] [ dei <dei_val> ] [ { c-tag | s-tag } ] } }
inner-tag { none | vid { { <vid> [ / <vid_mask> ] | any } [ pcp <pcp_val> [ / <pcp_mask> ] ] [ dei <dei_val> ] [ { c-tag | s-tag } ] } }
etype <etype>
llc <dsap> <ssap>
snap { <oui> | rfc-1042 | snap-8021h } <pid>
ipv4 [ sip { <sip> | any } ] [ dip { <dip> | any } ] [ dscp { <dscp_vr> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } | any } ] [ fragment { yes | no | any } ] [ proto { <proto_value> | tcp | udp | any } ] [ dport { <dport_vr> | any } ]
ipv6 [ sip { <sip> | any } ] [ dip { <dip> | any } ] [ dscp { <dscp_vr> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } | any } ] [ proto { <proto_value> | tcp | udp | any } ] [ dport { <dport_vr> | any } ]
stream-id <stream_ids>
Argument | Description | |
Parameter |
| Stream instance name |
| A destination MAC address to match against incoming frames. | |
| A mask in the form xx:xx:xx:xx:xx:xx, that specifies which bits of the destination MAC address that shall match the incoming frames. Default is to match all 48 bits. | |
| A source MAC address to match against incoming frames. | |
| A mask in the form xx:xx:xx:xx:xx:xx, that specifies which bits of the source MAC address that shall match the incoming frames. Default is to match all 48 bits. | |
| VLAN ID to match incoming frames against. | |
| A mask specified as an integer, that specifies which bits of the VLAN ID that shall match the incoming frames | |
| The PCP value to match the incoming frames against. | |
| A mask that specifies the bits of the PCP value that shall match the incoming frame. | |
| The DEI value that shall match the incoming frame. | |
| A hexadecimal (or decimal) value ranging from 0x600 to 0xffff indicating the frame's EtherType. | |
| Matched LLC Destination Service Access Point (DSAP). | |
| Matched LLC Source Service Access Point (SSAP) | |
| SNAP OUI. The range is from 0x000000–0XFFFFFF. | |
| Protocol ID. The range is from 0x0–0xFFFF. | |
| Match on source IPv4 address/mask, for example, 1.2.3.4/32 or 1.2.0.0/16. | |
| Match on destination IPv4 address/mask, for example, 1.2.3.4/32 or 1.2.0.0/16. | |
| Matched DSCP value/range | |
| Match a custom IP protocol number | |
| Match UDP/TCP destination port value/range | |
Default | N.A | |
Mode | Global Configuration mode, Stream Configuration mode, and Port List Interface mode ( to associate one or more streams with a port) | |
Usage | Create or modify stream instance | |
Example | Example 1: Create stream instance 1, configure EtherType and associate this stream with port 8.
|