set protocols snmp trap-group vrf
The set protocols snmp trap-group vrf command configures the VRF where to run the SNMP Trap service.
Command Syntax
set protocols snmp trap-group vrf <mgmt-vrf | default>
Parameter
Parameter | Description |
vrf <mgmt-vrf | default> | Optional. Specifies the VRF where to run the SNMP Trap management service. The value could be mgmt-vrf or default.
The default value is default, indicating that SNMP Trap management service runs in the default VRF if not explicitly bound to any VRF. |
Usage Guidelines
SNMP Trap management service runs in the default VRF by default, and supports to be configured in the management VRF. The corresponding Network Management System (NMS) is required to be route reachable in the VRF running SNMP Trap management service.
Note: The latest configuration overrides the previous one.
Example
- Configure the SNMP Trap service to run in the management VRF.
admin@Xorplus# set protocols snmp trap-group vrf mgmt-vrf admin@Xorplus# commit
Copyright © 2025 Pica8 Inc. All Rights Reserved.