Audio Video Bridging (AVB)
Arista switches support Audio Video Bridging (AVB) and the associated protocols. This section describes AVB concepts and the implementation of associated protocols.
Tpoics in this section include:
AVB Overview
Audio Video Bridging (AVB) is a protocol set that provides precision time synchronization, admission control, queuing reservation, and guaranteed bandwidth of professional grade quality audio and video across an IP network.
Supported AVB protocols include:
- Generalized Precision Time Protocol (gPTP)
- Multiple Stream Reservation Protocol (MSRP)
- Multiple VLAN Registration Protocol (MVRP)
These AVB features are supported on Arista 7280, 7150 Series, and 7500E Series switches:
- gPTP with hardware time stamping
- gPTP Grandmaster function
- MSRP protocol on Ethernet interfaces: stream admission control and propagation
- Control plane protection for PTP and MSRP control frames
- MVRP
- Traffic classes 2 and 3 for AVB traffic
- Traffic shaping on egress ports
These AVB features are not available on Arista switches:
- MSRP protocol on LAGs
- MSRP co-ordination with gPTP; streams are allowed even when gPTP is not in sync
- MMRP
- Signaling message support in gPTP
- Running peer delay mechanism on STP blocked ports
- Grandmaster-specific state machines (gPTP)
AVB Protocols
gPTP
Generalized Precision Time Protocol (gPTP) is a network time synchronization standard for bridged Local Area Networks based on the IEEE 1588v2 Precision Time Protocol and supports the AVB protocol standards.
Time synchronization in a gPTP domain is conducted the same way as in a PTP 1588 domain. A grandmaster is selected through the best grand master clock algorithm and distributes timing synchronization information to all directly attached peers. This information is propagated across the network to provide a common time reference to all Audio and Video end stations.
MVRP
Multiple VLAN Registration Protocol (MVRP) is an application of Multiple Registration Protocol used by AVB endpoints to dynamically register and unregister VLANs on an interface.
When an interface wishes to join a VLAN advertised by an MSRP talker (to receive a stream), MVRP sends a Join message. On receiving the Join message, the interface is added to the VLAN. If the VLAN does not already exist, MVRP dynamically creates the VLAN and propagates it through the network.
MVRP events post Syslog messages, with the severity level of INFO for each message.
- MVRP_VLAN_JOIN
MVRP VLAN Join received/transmitted on an interface.
- MVRP_VLAN_LV
MVRP VLAN Leave received/transmitted on an interface.
- MVRP_ERROR
MVRP Join was discarded due to an error.
MSRP
Multiple Stream Registration Protocol (MSRP) is a signaling protocol that allows end stations (nodes) to reserve network resources and ensure QoS for communicating with other end stations.
MSRP nodes are specified as talkers or listeners:
- Talker nodes transmit multimedia streams to other nodes in the AVB network.
- Listener nodes receive multimedia streams from the AVB talker nodes.
MSRP is implemented by the switch on individual interfaces. MSRP is active when it is enabled on at least one interface, and stopped when it is disabled on all interfaces. MSRP uses Multiple Registration Protocol (MRP) to facilitate attribute registrations and distribution across connected end points in a LAN environment.
MSRP events post Syslog messages, with the severity level of INFO for each message.
- MSRP_SR_CLASS_TRANSITION
MSRP SR Class state transition occurred on an interface.
- MSRP_TALKER_ADV_JOIN
Talker Advertise Join message for a stream was transmitted/received on an interface.
- MSRP_TALKER_FAIL_JOIN
Talker Failed Join message for a stream was transmitted/received on an interface.
- MSRP_LISTENER_JOIN
Listener Join message for a stream was transmitted/received on an interface.
- MSRP_DOMAIN_JOIN
Domain Join message was transmitted/received on an interface.
- MSRP_TALKER_ADV_LV
Talker Advertise Leave message for a stream was transmitted/received on an interface.
- MSRP_TALKER_FAIL_LV
Talker Failed Leave message for a stream was transmitted/received on an interface.
- MSRP_LISTENER_LV
Listener Leave message for a stream was transmitted/received on an interface.
- MSRP_DOMAIN_LV
Domain Leave message was transmitted/received on an interface.
- MSRP_BW_ALLOC_SUCCESS
MSRP Bandwidth was allocated for a listener on an interface.
- MSRP_BW_ALLOC_FAIL
MSRP Bandwidth could not be allocated for a listener on an interface.
- MSRP_BW_DEALLOC
MSRP Bandwidth was de-allocated for a listener on an interface.
- MSRP_ERROR
MSRP Join was discarded because of an error.
MRP
Multiple Registration Protocol (MRP) protocol includes MSRP and MVRP, and allows participants in an MRP application to register attributes with participants in a Bridged Local Area Network (BLAN).
AVB Configuration
This section describes the AVB configuration:
Enabling gPTP
Configure gPTP on the switch though the ptp mode gptp command. PTP is enabled on individual interfaces with the ptp enable command.
Example
-
These commands configure gPTP on the switch and enable PTP on Ethernet interfaces 41-45.
switch(config)#ptp mode gptp switch(config)#interface ethernet 41-45 switch(config-if-Et41-45)#ptp enable switch(config)#show running-config <-------OUTPUT OMITTED FROM EXAMPLE--------> ! ptp mode gptp ! <-------OUTPUT OMITTED FROM EXAMPLE--------> end switch(config-if-Et41-45)#show active interface Ethernet41 speed forced 10000full msrp ptp enable interface Ethernet42 speed forced 10000full msrp ptp enable interface Ethernet43 speed forced 10000full msrp ptp enable interface Ethernet44 speed forced 10000full ptp enable interface Ethernet45 ptp enable switch(config-if-Et41-45)#
Enabling MSRP
MSRP is enabled on an interface with the msrp command.
Example
-
These commands enable MSRP on Ethernet interfaces 41-43.
switch(config)#interface ethernet 41-43 switch(config-if-Et41-43)#msrp switch(config-if-Et41-43)#show active interface Ethernet41 speed forced 10000full msrp interface Ethernet42 speed forced 10000full msrp interface Ethernet43 speed forced 10000full msrp switch(config-if-Et41-43)#
Displaying MSRP Configuration and Status
MSRP configuration information and status is displayed with theshow msrpcommand.
Example
-
This command displays the MSRP status for Ethernet interfaces 41-43.
switch(config)#show msrp interfaces ethernet 41-43 MSRP Global Status : Enabled Max Frame Size : 1522 Max Fan-In Ports : No limit Delta Class Supported Priority Bandwidth ----- --------- -------- --------- A Y3 75% B Y20% Legend ------ Adv : Talker AdvertiseFail: Talker Fail AskFail : Listener Asking FailedRdy : Listener Ready RdyFail : Listener Ready Failed AdminSrTalkersListenersBandwidth Port StatePvidClassOper StateAdvFailRdyAskFailAllocated ---- -------- ----- ------ --------------- ---- ----- ---- -------- --------- Et41 Active5ABoundary1 010200kbps BCore0 001100kbps Et42 Active3ACore0 011 50kbps BWaitingForPeer1 000 20kbps Et43 Disabled3 switch(config)#
Stream data is available for the talker and listener. Theshow msrp interfacescommand displays the status and configuration information for each stream.
Examples
-
This command displays data for listener station streams on Ethernet interfaces 1 and 2.
switch(config)#show msrp interfaces ethernet 1-2 MSRP Global Status : Enabled Max Frame Size : 1522 Max Fan-In Ports : No limit Delta Class Supported Priority Bandwidth ----- --------- -------- --------- A Y3 75% B Y20% Legend ------ Adv : Talker AdvertiseFail: Talker Fail AskFail : Listener Asking FailedRdy : Listener Ready RdyFail : Listener Ready Failed Listeners Port Stream IdDec Dir -------- -------------------- --------- ------ Et10000.0000.0000.002aAskFail Tx 0000.0000.0000.029aRdyFail Rx 0000.0000.0000.038fAskFail Rx Et20000.0000.0000.002aAskFail Rx 0000.0000.0000.029aRdyFail Rx 0000.0000.0000.038fAskFail Tx switch(config)#
-
This command displays data for talker station streams on Ethernet interfaces 1 and 2.
switch(config)#show msrp interfaces ethernet 1-2 talkers Legend ------ Adv : Talker AdvertiseFail: Talker Fail Talkers Port Stream IdDec DirFailCode -------- -------------------- --------- ------ --------- Et10000.0000.0000.002aAdv Rx -- 0000.0000.0000.038fFailTx 7 Et20000.0000.0000.002aAdv Tx -- 0000.0000.0000.038fAdv Rx 7 switch(config)#
Enabling MVRP
MVRP is disabled by default. To enable MVRP on an interface, use the mvrpcommand. MVRP is enabled globally if it is enabled on at least one interface.
Example
-
These commands enable MVRP on Ethernet interface 34.
switch(config)#interface ethernet 34 switch(config-if-Et34)#mvrp switch(config-if-Et34)#
Displaying MVRP Configuration and Status
MVRP configuration information and status are displayed with the show mvrpcommand.
Example
-
This command displays the MVRP status for Ethernet interfaces 30 through 40.
switch(config)#show mvrp interfaces Ethernet 30-40 MVRP Global Status : Enabled PortAdmin State Registered VlansDeclared Vlans ------------------------------------------------------------ Et30Disabled Et31Disabled Et32Disabled Et33Disabled Et34Active Et35Disabled Et36Disabled Et37Disabled Et38Disabled Et39Disabled Et40Disabled switch(config)#
AVB command Descriptions
MSRP commands
MRP commands
MVRP commands
mrp leave-all-timer
The mrp leave-all-timer command specifies the mrp leave all timer interval for the configuration mode interface.
When starting MRP, a participant starts its LeaveAll timer. Upon timer expiry, it sends a LeaveAll message and restarts its timer. When other participants receive the message, they register their attributes and restart their leave-all timers.
The default leave-all timer interval is a randomly selected value from 10 to 15 seconds. Under normal conditions, this value should not be adjusted.
The no mrp leave-all-timer and default mrp leave-all-timer commands restore the default leave-all timer interval on the configuration mode interface by removing the corresponding mrp leave-all-timer command from running-config.
command Mode
interface-Ethernet Configuration
command Syntax
mrp leave-all-timer period
mrp leave-all-timer
default mrp leave-all-timer
no mrp leave-all-timer
Parameters
-
period leave all timer interval (seconds). Values range from 10 to 60. Default value is a randomly selected value from 10 to 15.
switch(config)#interface ethernet 17
switch(config-if-Et17)#mrp leave-all-timer 12
switch(config-if-Et17)#
mrp leave-timer
The leave-timer controls the deregistration of attributes. If an MRP participant needs other participants to unregister their attributes, it sends a Leave message. When receiving a Leave message, the Leave-timer starts and unregisters the attributes if it doesn't receive Join messages for the attributes before the Leave-timer expires.
The mrp leave-timer command specifies the mrp leave-timer interval for the configuration mode interface. The default leave-timer interval is 0.6 seconds. Under normal operation conditions, this value should not be adjusted.
The no mrp leave-timer and default mrp leave-timer commands restore the default leave-timer interval of 0.6 seconds on the configuration mode interface by removing the corresponding mrp leave-timer command from running-config.
command Mode
interface-Ethernet Configuration
command Syntax
mrp leave-timer period
no mrp leave-timer
default mrp leave-timer
Parameters
-
period leave all timer interval (seconds). Values range from 10 to 60. Default value is a randomly selected value from 10 to 15.
Example
-
This command sets the MRP leave timer interval on Ethernet interface 17 to 0.8 seconds.
switch(config)#interface ethernet 17 switch(config-if-Et17)#mrp leave-timer 12 switch(config-if-Et17)#
msrp streams load-file
The load-file for MSRP streamsprovides a file that contains an alias that can be substituted in the name (stream-id) of a string.
The msrp streams load-file command allows users to include a line in the file (example: 0102.0304.0506 XYZW4 or 0102.0304 XYZW5) that causes the bytes to be replaced with the accompanying string in show msrp streams commands.
The no msrp streams load-file and default msrp streams load-file commands remove the alias assignment by removing the corresponding msrp streams load-file command from running-config.
command Mode
Global Configuration
command Syntax
msrp streams load-file [FILE TYPE]
no msrp streams load-file
default msrp streams load-file
Parameters
-
FILE TYPE The options include:
- certificate: device name, directory, or file name
- extension: device name, directory, or file name
- file: device name, directory, or file name
- flash: device name, directory, or file name
- ftp: device name, directory, or file name
- http: device name, directory, or file name
- https: device name, directory, or file name
- scp: device name, directory, or file name
- sftp: device name, directory, or file name
- sslkey: device name, directory, or file name
- system: device name, directory, or file name
- terminal: device name, directory, or file name
- tftp: device name, directory, or file name
- usb1: device name, directory, or file name
-
Example
This command indicates that the file named file1 contains the alias names that is used in MSRP stream names.switch(config)#msrp streams load-file file1 switch(config)#
msrp
MSRP enables Multiple Stream Registration Protocol (MSRP), which is a signaling protocol that provides nodes with the ability to reserve network resources to ensure Quality of Service (QoS) between talker and listener endpoints. The Stream Reservation Protocol (SRP) utilizes MSRP to reserve bandwidth for data streams, and configure a complete path between endpoints.
The msrp command enables MSRP on the configuration mode interface. If MSRP was not previously enabled on any interface, the MSRP agent is launched by this command.
The no msrp and default msrp commands disable MSRP on the configuration mode interface, and removes the corresponding msrp command from running-config. The command stops the MSRP agent when MSRP is no longer enabled on any interface.
command Mode
interface-Ethernet Configuration
command Syntax
msrp
no msrp
default msrp
Example
These commands enable MSRP on Ethernet interface 3/3/3. Because it was not previously enabled on any other interface, the command launches the MSRP agent.switch(config)#interface ethernet 3/3/3
switch(config-if-Et3/3/3)#msrp
Launching MSRP Agent
switch(config-if-Et3/3/3)#show active
interface Ethernet3/3/3
msrp
switch(config-if-Et3/3/3)#
These commands disable the MSRP agent on Ethernet interface 3/3/3. Because it is not enabled on any other interface, the command stops the MSRP agent.switch(config-if-Et3/3/3)#no msrp
Stopping MSRP agent
switch(config-if-Et3/3/3)#show active
interface Ethernet3/3/3
switch(config-if-Et3/3/3)#msrp
show msrp interfaces
The show msrp interfaces command displays station stream information for the specified station type, interfaces and streams.
command Mode
EXEC
command Syntax
show msrp interfaces [interface_NAME]STATION_TYPE_NAME [STREAMS]
Parameters
-
interface_NAME interface type and number. Values include:
- <no parameter> all Ethernet interfaces.
- ethernet e_range Ethernet interface list.
- STATION_TYPE Endpoint type. Values include:
- talker command displays data for talker station streams.
- listeners command displays data for listener station streams.
- streams command displays data for talker and listener station streams.
STREAMS Streams for which command displays information. Options include:
- <no parameter> all streams.
- stream-id hex_string specifies the stream command for which command displays information.
Valid e_range formats include number, range, or comma-delimited list of numbers and ranges.
Valid hex_string formats include <H>, <H.H>, <H.H.H>, or <H.H.H.H>, where H is a four-digit hex number that ranges from 0 to FFFF.
Example
-
This command displays data for listener station streams on Ethernet interfaces 1 and 2.
switch(config)#show msrp interfaces ethernet 1-2 listeners Legend ------ AskFail : Listener Asking FailedRdy : Listener Ready RdyFail : Listener Ready Failed Listeners Port Stream IdDec Dir -------- -------------------- --------- ------ Et10000.0000.0000.002aAskFail Tx 0000.0000.0000.029aRdyFail Rx 0000.0000.0000.038fAskFail Rx Et20000.0000.0000.002aAskFail Rx 0000.0000.0000.029aRdyFail Rx 0000.0000.0000.038fAskFail Tx switch(config)#
-
This command displays data for talker station streams on Ethernet interfaces 1 and 2.
switch(config)#show msrp interfaces ethernet 1-2 talkers Legend ------ Adv : Talker AdvertiseFail: Talker Fail Talkers Port Stream IdDec DirFailCode -------- -------------------- --------- ------ --------- Et10000.0000.0000.002aAdv Rx -- 0000.0000.0000.038fFailTx 7 Et20000.0000.0000.002aAdv Tx -- 0000.0000.0000.038fAdv Rx 7 switch(config)#
show msrp streams
The show msrp streams command displays configuration and status information on the specified MSRP streams.
command Mode
EXEC
command Syntax
show msrp streams [STREAM_NAME] [INFO_LEVEL]
Parameters
-
STREAMS Streams for which command displays information. Options include:
- <no parameter>all streams.
- stream-id hex_string specifies the stream command for which command displays information.
Valid hex_string formats include <H>, <H.H>, <H.H.H>, or <H.H.H.H>, where H is a four-digit hex number that ranges from 0 to FFFF.
-
INFO_LEVEL type of information that the command displays. Options include:
- <no parameter> command displays stream identification information.
- detail command displays identification and transmission characteristics.
-
propagation command displays ingress and egress port information.
Examples
-
This command displays stream identification information.
switch(config)#show msrp interfaces streams Legend ------ Adv : Talker AdvertiseFail: Talker Fail Stream IdDMACPort DecVlan Class Bandwidth -------------------- ------------------- -------- ------ ---- ----- ---------- 0000.0000.0000.002a00:11:22:33:44:55 Et1Adv24 A 8000kbps 0000.0000.0000.029a22:33:44:55:66:77 -- -- 4095 A0kbps 0000.0000.0000.038f11:22:33:44:55:66 Et2Adv 119 B 1000kbps switch(config)#
-
This command displays stream identification and status information.
switch(config)#show msrp streams detail Legend ------ Adv : Talker AdvertiseFail: Talker Fail Stream IdDMACPort DecVlan Class Bandwidth -------------------- ------------------- -------- ------ ---- ----- ---------- 0000.0000.0000.002a00:11:22:33:44:55 Et1Adv24 A 8000kbps Latency (nsec): 800 Max Frame Size: 1522 Max Interval Frames: 2 0000.0000.0000.029a22:33:44:55:66:77 -- -- 4095 A 0kbps Latency (nsec): 0 Max Frame Size: 1100 Max Interval Frames: 3 switch(config)#
-
This command displays stream ingress and egress port information.
switch(config)#show msrp streams propagation Legend ------ Adv : Talker AdvertiseFail: Talker Fail AskFail : Listener Asking FailedRdy : Listener Ready RdyFail : Listener Ready Failed Stream IdDMACPort DecVlan Class Bandwidth -------------------- ------------------- -------- ------ ---- ----- ---------- 0000.0000.0000.002a00:11:22:33:44:55 Et1Adv24 A 8000kbps Talker Propagation: IngressIngressPropagated Propagated Egress DecPort DecPort Dec -------- -------- ---------- ---------- -------- Adv --> Et1 --> Adv --> Et2--> Adv Et4--> Adv Et5--> Adv Listener Propagation: Egress Egress Propagated Listener Ingress DecPort DecPort Dec -------- -------- ---------- ---------- -------- AskFail<--Et1 <-- AskFail <-- Et2 <-- AskFail AskFail<-- Et4 <-- AskFail AskFail<-- Et5 <-- AskFail 0000.0000.0000.029a22:33:44:55:66:77 -- -- 4095A0kbps Talker Propagation: IngressIngressPropagated Propagated Egress DecPort DecPort Dec -------- -------- ---------- ---------- -------- Listener Propagation: Egress Egress Propagated Listener Ingress DecPort DecPort Dec -------- -------- ---------- ---------- -------- RdyFail <-- Et1 <-- RdyFail RdyFail <-- Et2 <-- RdyFail 0000.0000.0000.038f11:22:33:44:55:66 Et2Adv 119 B 1000kbps Talker Propagation: IngressIngressPropagated Propagated Egress DecPort DecPort Dec -------- -------- ---------- ---------- -------- Adv-->Et2 --> Fail--> Et1 --> Fail Listener Propagation: Egress Egress Propagated Listener Ingress DecPort DecPort Dec -------- -------- ---------- ---------- -------- AskFail<--Et2<--AskFail <-- Et1<-- Rdy switch(config)#
show msrp
The show msrp command displays MSRP operational information for the specified interfaces.
command Mode
EXEC
command Syntax
show MVRP [ interface_NAME]
Parameters
-
interface_NAME interface type and number. Values include
<no parameter>all Ethernet interfaces.- interfaces ethernet e_range Ethernet interface list.
Valid e_range formats include number, range, or comma-delimited list of numbers and ranges.
Example
-
This command displays the MSRP status for Ethernet interfaces 41 through 43.
switch(config)#show msrp interfaces ethernet 41-43 MSRP Global Status : Enabled Max Frame Size : 1522 Max Fan-In Ports : No limit Class Supported Priority Delta Bandwidth ----- --------- -------- --------- A Y3 75% B Y20% Legend ------ Adv : Talker AdvertiseFail: Talker Fail AskFail : Listener Asking FailedRdy : Listener Ready RdyFail : Listener Ready Failed AdminSr Talkers ListenersBandwidth Port StatePvidClassOper StateAdvFailRdyAskFailAllocated ---- -------- ----- ------ --------------- ---- ----- ---- -------- --------- Et41 Active5ABoundary1 010200kbps BCore0 001100kbps Et42 Active3ACore0 011 50kbps BWaitingForPeer1 000 20kbps Et43 Disabled3 switch(config)#
show mvrp
The show mvrp command displays MVRP operational information for the specified interfaces.
command Mode
EXEC
command Syntax
show MVRP [interface_NAME]
Parameters
-
interface_NAME interface type and number. Values include
- <no parameter>all Ethernet interfaces.
- interfaces ethernet e_range Ethernet interface list.
Valid e_range formats include number, range, or comma-delimited list of numbers and ranges.
Example
-
This command displays the MVRP status for Ethernet interfaces 30 through 40.
switch(config)#show mvrp interfaces Ethernet 30-40 MVRP Global Status : Enabled PortAdmin State Registered VlansDeclared Vlans --------------------------------------------------- Et30Disabled Et31Disabled Et32Disabled Et33Disabled Et34Active Et35Disabled Et36Disabled Et37Disabled Et38Disabled Et39Disabled Et40Disabled switch(config)#