2899 Chapter 42 Audio Video Bridging (AVB) Arista switches support Audio Video Bridging (AVB) and the associated protocols. This chapter describes AVB concepts and the implementation of associated protocols. Sections in this chapter include: • Section 42.1: AVB Overview • Section 42.2: AVB Protocols • Section 42.3: AVB Configuration • Section 42.4: AVB Command Descriptions 42.1 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
22
Embed
Audio Video Bridging (AVB) - Arista Networks · Audio Video Bridging (AVB) is a protocol set that provides precision time synchronization, admission control, queuing reservation,
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
2899
Chapter 42
Audio Video Bridging (AVB)Arista switches support Audio Video Bridging (AVB) and the associated protocols. This chapterdescribes AVB concepts and the implementation of associated protocols.
Sections in this chapter include:
• Section 42.1: AVB Overview
• Section 42.2: AVB Protocols
• Section 42.3: AVB Configuration
• Section 42.4: AVB Command Descriptions
42.1 AVB OverviewAudio Video Bridging (AVB) is a protocol set that provides precision time synchronization, admissioncontrol, queuing reservation, and guaranteed bandwidth of professional grade quality audio and videoacross 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
2900
AVB Protocols Chapter 42: Audio Video Bridging (AVB)
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
Generalized Precision Time Protocol (gPTP) is a network time synchronization standard for bridgedLocal Area Networks based on the IEEE 1588v2 Precision Time Protocol and supports the AVBprotocol standards. Time synchronization in a gPTP domain is conducted the same way as in a PTP1588 domain. A grandmaster is selected through the best grand master clock algorithm and distributestiming synchronization information to all directly attached peers. This information is propagated acrossthe network to provide a common time reference to all Audio and Video end stations.
42.2.2 MVRP
Multiple VLAN Registration Protocol (MVRP) is an application of Multiple Registration Protocol used byAVB 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), MVRPsends a Join message. On receiving the Join message, the interface is added to the VLAN. If the VLANdoes 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.
Chapter 42: Audio Video Bridging (AVB) AVB Protocols
2901
42.2.3 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 atleast one interface, and stopped when it is disabled on all interfaces. MSRP uses Multiple RegistrationProtocol (MRP) to facilitate attribute registrations and distribution across connected end points in a LANenvironment.
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.
2902
AVB Protocols Chapter 42: Audio Video Bridging (AVB)
42.2.4 MRP
Multiple Registration Protocol (MRP) protocol includes MSRP and MVRP, and allows participants in anMRP application to register attributes with participants in a Bridged Local Area Network (BLAN).
Chapter 42: Audio Video Bridging (AVB) AVB Configuration
2903
42.3 AVB ConfigurationThis section describes the AVB configuration:
• Section 42.3.1: Enabling gPTP
• Section 42.3.2: Enabling MSRP
• Section 42.3.3: Displaying MSRP Configuration and Status
• Section 42.3.4: Enabling MVRP
• Section 42.3.5: Displaying MVRP Configuration and Status
42.3.1 Enabling gPTP
Configure gPTP on the switch though the ptp mode command. PTP is enabled on individual interfaceswith the ptp enable command.
Example
• These commands configure gPTP on the switch and enable PTP on Ethernet interfaces 41-45.
Admin Sr Talkers Listeners Bandwidth Port State Pvid Class Oper State Adv Fail Rdy AskFail Allocated ---- -------- ----- ------ --------------- ---- ----- ---- -------- --------- Et41 Active 5 A Boundary 1 0 1 0 200kbps B Core 0 0 0 1 100kbps Et42 Active 3 A Core 0 0 1 1 50kbps B WaitingForPeer 1 0 0 0 20kbps Et43 Disabled 3
switch(config)#
Stream data is available for the talker and listener. The show msrp interfaces command displays thestatus and configuration information for each stream.
Chapter 42: Audio Video Bridging (AVB) AVB Configuration
2905
Examples
• This command displays data for listener station streams on Ethernet interfaces 1 and 2.
switch(config)#show msrp interfaces ethernet 1-2MSRP Global Status : Enabled Max Frame Size : 1522 Max Fan-In Ports : No limit
Delta Class Supported Priority Bandwidth ----- --------- -------- --------- A Y 3 75% B Y 2 0%
AVB Command Descriptions Chapter 42: Audio Video Bridging (AVB)
msrp
MSRP enables Multiple Stream Registration Protocol (MSRP), which is a signaling protocol thatprovides 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 toreserve 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 previouslyenabled 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, andremoves the corresponding msrp command from running-config. The command stops the MSRPagent when MSRP is no longer enabled on any interface.
Command ModeInterface-Ethernet Configuration
Command Syntaxmsrpno msrpdefault 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/3switch(config-if-Et3/3/3)#msrpLaunching MSRP Agentswitch(config-if-Et3/3/3)#show active interface Ethernet3/3/3 msrpswitch(config-if-Et3/3/3)#
• These commands disable the MSRP agent on Ethernet interface 3/3/3. Because it is not enabledon any other interface, the command stops the MSRP agent.
switch(config-if-Et3/3/3)#no msrpStopping MSRP agentswitch(config-if-Et3/3/3)#show active interface Ethernet3/3/3switch(config-if-Et3/3/3)#msrp
Chapter 42: Audio Video Bridging (AVB) AVB Command Descriptions
2909
mrp leave-all-timer
The mrp leave-all-timer command specifies the mrp leave all timer interval for the configuration modeinterface.
When starting MRP, a participant starts its LeaveAll timer. Upon timer expiry, it sends a LeaveAllmessage and restarts its timer. When other participants receive the message, they register theirattributes and restart their leave-all timers.
The default leave-all timer interval is a randomly selected value from 10 to 15 seconds. Under normalconditions, this value should not be adjusted.
The no mrp leave-all-timer and default mrp leave-all-timer commands restore the default leave-alltimer interval on the configuration mode interface by removing the corresponding mrp leave-all-timercommand from running-config.
AVB Command Descriptions Chapter 42: Audio Video Bridging (AVB)
mrp leave-timer
The leave-timer controls the deregistration of attributes. If an MRP participant needs other participantsto unregister their attributes, it sends a Leave message. When receiving a Leave message, theLeave-timer starts and unregisters the attributes if it doesn’t receive Join messages for the attributesbefore the Leave-timer expires.
The mrp leave-timer command specifies the mrp leave-timer interval for the configuration modeinterface. The default leave-timer interval is 0.6 seconds. Under normal operation conditions, this valueshould not be adjusted.
The no mrp leave-timer and default mrp leave-timer commands restore the default leave-timerinterval of 0.6 seconds on the configuration mode interface by removing the corresponding mrpleave-timer command from running-config.
Chapter 42: Audio Video Bridging (AVB) AVB Command Descriptions
2911
msrp streams load-file
The load-file for MSRP streams provides 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 theaccompanying string in show msrp streams commands.
The no msrp streams load-file and default msrp streams load-file commands remove the aliasassignment by removing the corresponding msrp streams load-file command from running-config.
AVB Command Descriptions Chapter 42: Audio Video Bridging (AVB)
mvrp
MVRP dynamically registers and unregisters VLANs on an interface. When an interface wishes to joina VLAN advertised by an MSRP talker (to receive a stream), MVRP sends a Join message. On receiptof the Join message, the interface is added to the VLAN. If the VLAN does not already exist, MVRPdynamically creates the VLAN and propagates it through the network.
The mvrp command enables Multiple VLAN Registration Protocol (MVRP) on the configuration modeinterface. If MVRP was not previously enabled on any interface, MVRP is also enabled globally by thiscommand.
The no mvrp and default mvrp commands disable MVRP on the configuration mode interface byremoving the corresponding mvrp command from running-config. These commands also disableMVRP globally when MVRP is no longer enabled on any interface.
Command ModeInterface-Ethernet Configuration
Command Syntaxmvrpno mvrpdefault mvrp
Example• These commands enable MVRP on Ethernet interface 34. If MVRP was not previously enabled on
any other interface, these commands also enable MVRP globally.
Stream Id DMAC Port Dec Vlan Class Bandwidth-------------------- ------------------- -------- ------ ---- ----- ---------- 0000.0000.0000.002a 00:11:22:33:44:55 Et1 Adv 24 A 8000kbps Latency (nsec): 800 Max Frame Size: 1522 Max Interval Frames: 2
0000.0000.0000.029a 22:33:44:55:66:77 -- -- 4095 A 0kbps Latency (nsec): 0 Max Frame Size: 1100 Max Interval Frames: 3
switch(config)#
2918
AVB Command Descriptions Chapter 42: Audio Video Bridging (AVB)
• This command displays stream ingress and egress port information.
Stream Id DMAC Port Dec Vlan Class Bandwidth-------------------- ------------------- -------- ------ ---- ----- ----------0000.0000.0000.002a 00:11:22:33:44:55 Et1 Adv 24 A 8000kbps
Talker Propagation: Ingress Ingress Propagated Propagated Egress Dec Port Dec Port Dec -------- -------- ---------- ---------- -------- Adv --> Et1 --> Adv --> Et2 --> Adv Et4 --> Adv Et5 --> Adv
Listener Propagation: Egress Egress Propagated Listener Ingress Dec Port Dec Port Dec -------- -------- ---------- ---------- -------- AskFail <-- Et1 <-- AskFail <-- Et2 <-- AskFail AskFail <-- Et4 <-- AskFail AskFail <-- Et5 <-- AskFail
0000.0000.0000.029a 22:33:44:55:66:77 -- -- 4095 A 0kbps
Talker Propagation: Ingress Ingress Propagated Propagated Egress Dec Port Dec Port Dec -------- -------- ---------- ---------- --------
Listener Propagation: Egress Egress Propagated Listener Ingress Dec Port Dec Port Dec -------- -------- ---------- ---------- -------- RdyFail <-- Et1 <-- RdyFail RdyFail <-- Et2 <-- RdyFail
0000.0000.0000.038f 11:22:33:44:55:66 Et2 Adv 119 B 1000kbps
Talker Propagation: Ingress Ingress Propagated Propagated Egress Dec Port Dec Port Dec -------- -------- ---------- ---------- -------- Adv --> Et2 --> Fail --> Et1 --> Fail
Listener Propagation: Egress Egress Propagated Listener Ingress Dec Port Dec Port Dec -------- -------- ---------- ---------- -------- AskFail <-- Et2 <-- AskFail <-- Et1 <-- Rdy
switch(config)#
Chapter 42: Audio Video Bridging (AVB) AVB Command Descriptions
2919
show mvrp
The show mvrp command displays MVRP operational information for the specified interfaces.
Command ModeEXEC
Command Syntaxshow MVRP [INTERFACE_NAME]
Parameters• INTERFACE_NAME Interface type and number. Values include