The format of the pseudowire switching TLV is as follows:
0 1 2 3
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1|0| pw sw TLV (0x096D) | pseudowire sw TLV Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Variable Length Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Variable Length Value |
| " |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
PW sw TLV Length
Specifies the total length of all the following pseudowire switching point TLV fields in octets.
Type
Encodes how the Value field is to be interpreted.
Length
Specifies the length of the Value field in octets.
Value
Octet string of Length octets that encodes information to be interpreted as specified by the Type field.
Pseudowire Switching Point Sub-TLVs
The following are details specific to pseudowire switching point sub-TLVs:
pseudowire ID of last pseudowire segment traversed
This sub-TLV type contains a pseudowire ID in the format of the pseudowire ID
pseudowire switching point description string
An optional description string of text up to 80 characters
IP address of pseudowire switching point
The IP V4 or V6 address of the pseudowire switching point. This is an optional sub-TLV
MH VCCV capability indication