Clear tag mode
In most Layer 2 networks, MAC forwarding is performed using the destination MAC address. According to the 802.1AE standard, any field after the source and destination MAC addresses and after the SecTAG must be encrypted. This includes the 802.1Q tags. However, some VLAN switching networks may require the 802.1Q tag to be in clear text.
On the 7705 SAR, it is possible to configure 802.1Q tags in clear text by placing them before the SecTAG or to configure the 802.1Q tags in encrypted text by placing them after the SecTAG.
The following table lists the MACsec encryption of 802.1Q tags when clear-tag-mode is configured on the 7705 SAR.
Unencrypted format | clear-tag-mode configuration | Pre-encryption (Tx) | Pre-decryption (Rx) |
---|---|---|---|
Single tag (dot1q) |
single-tag |
DA, SA, TPID, VID, Etype |
DA, SA, TPID, VID, SecTAG |
Single tag (dot1q) |
dual-tag |
DA, SA, TPID, VID, Etype |
DA, SA, TPID, VID, SecTAG |
Double tag (QinQ) |
single-tag |
DA, SA, TPID1, VID1, IPID2, VID2, Etype |
DA, SA, TPID1, VID1, SecTAG |
Double tag (QinQ) |
dual-tag |
DA, SA, TPID1, VID1, IPID2, VID2, Etype |
DA, SA, TPID1, VID1, IPID2, VID2, SecTAG |