macsec_types.proto
Messages
MacsecIntfCounters
| Name |
Value |
Description |
| out_pkts_encrypted |
uint64 |
|
| out_octets_encrypted |
uint64 |
|
| in_pkts_decrypted |
uint64 |
|
| in_octets_decrypted |
uint64 |
|
| in_pkts_not_valid |
uint64 |
|
MacsecIntfStatus
MacsecKey
| Name |
Value |
Description |
| cak |
string |
|
| ckn |
string |
|
| encoded |
bool |
|
MacsecProfile
| Name |
Value |
Description |
| profile_name |
string |
|
| primary_key |
MacsecKey |
|
| fallback_key |
MacsecKey |
|
| oneof key_server_priority_present.key_server_priority |
uint32 |
Default value is 16. |
| rekey_period |
uint32 |
|
| oneof mka_life_time_present.mka_life_time |
uint32 |
Default value is 6. |
| oneof cipher_present.cipher |
MacsecCipherSuite |
Default value is GCM_AES_XPN_128. |
| dot1x |
bool |
|
| include_sci |
bool |
|
| bypass_lldp |
bool |
The field bypass_lldp is for reading back only. Setting it has no effect. Please use lldp_bypass_level instead. |
| lldp_bypass_level |
MacsecBypass |
|
| oneof traffic_policy_present.traffic_policy |
MacsecProfileTrafficPolicy |
Default value is TRAFFIC_POLICY_ACTIVE_SAK. |
| allow_unprotected |
bool |
Deprecated. Please use traffic_policy instead. Only used if traffic_policy_present is not set. |
| oneof replay_protection_present.replay_protection |
bool |
Default value is True. |
| replay_protection_window |
uint32 |
|
| key_retirement_immediate |
bool |
|
| intf_ids |
repeated IntfId |
For reading back only. Setting it has no effect. |
Enums
MacsecBypass
Bypass level for a protocol.
| Name |
Value |
Description |
| MACSEC_BYPASS_NULL |
0 |
|
| MACSEC_BYPASS_AUTHORIZED |
1 |
|
| MACSEC_BYPASS_UNAUTHORIZED |
2 |
|
MacsecCipherSuite
Cipher suites used for MACsec.
| Name |
Value |
Description |
| MACSEC_CIPHER_SUITE_CIPHER_NULL |
0 |
|
| MACSEC_CIPHER_SUITE_GCM_AES_128 |
1 |
|
| MACSEC_CIPHER_SUITE_GCM_AES_256 |
2 |
|
| MACSEC_CIPHER_SUITE_GCM_AES_XPN_128 |
3 |
|
| MACSEC_CIPHER_SUITE_GCM_AES_XPN_256 |
4 |
|
MacsecIntfKeyStatus
Which key an interface is using if a profile is configured.
| Name |
Value |
Description |
| MACSEC_INTF_KEY_INVALID |
0 |
|
| MACSEC_INTF_KEY_NO_PROFILE |
1 |
|
| MACSEC_INTF_KEY_NONE |
2 |
|
| MACSEC_INTF_KEY_PRIMARY |
3 |
|
| MACSEC_INTF_KEY_FALLBACK |
4 |
|
| MACSEC_INTF_KEY_PRIMARY_CACHED |
5 |
|
| MACSEC_INTF_KEY_FALLBACK_CACHED |
6 |
|
| MACSEC_INTF_KEY_STATIC_SAK |
7 |
|
MacsecIntfTrafficStatus
Traffic status on an interface.
| Name |
Value |
Description |
| MACSEC_INTF_TRAFFIC_INVALID |
0 |
|
| MACSEC_INTF_TRAFFIC_PROTECTED |
1 |
|
| MACSEC_INTF_TRAFFIC_UNPROTECTED |
2 |
|
| MACSEC_INTF_TRAFFIC_BLOCKED |
3 |
|
MacsecProfileTrafficPolicy
Traffic policy on a profile.
| Name |
Value |
Description |
| MACSEC_PROFILE_TRAFFIC_POLICY_NULL |
0 |
|
| MACSEC_PROFILE_TRAFFIC_POLICY_ACTIVE_SAK |
1 |
|
| MACSEC_PROFILE_TRAFFIC_POLICY_UNPROTECTED |
2 |
|
| MACSEC_PROFILE_TRAFFIC_POLICY_BLOCKED |
3 |
|