36-7
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 36 Configuring VRF-lite Configuring VRF-Aware Services
Configuring the User Interface for SNMP
To configure VRF-aware services for SNMP, perform this task:
Configuring the User Interface for uRPF
You can configure uRPF on an interface assigned to a VRF. Source lookup is performed in the VRF table.
To configure VRF-aware services for uRPF, perform this task:
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# snmp-server trap
authentication vrf Enables SNMP traps for packets on a VRF.
Step 3 Switch(config)# snmp-server engineID
remote host vrf vpn-instance
engine-id string
Configures a name for the remote SNMP engine on a switch.
Step 4 Switch(config)# snmp-server host
host vrf vpn-instance traps
community
Specifies the recipient of an SNMP trap operation and specifies the VRF
table to be used for sending SNMP traps.
Step 5 Switch(config)# snmp-server host
host vrf vpn-instance informs
community
Specifies the recipient of an SNMP inform operation and specifies the
VRF table to be used for sending SNMP informs.
Step 6 Switch(config)# snmp-server user
user group remote host vrf vpn-
instance security model
Adds a user to an SNMP group for a remote host on a VRF for SNMP
access.
Step 7 Switch(config)# end Returns to privileged EXEC mode.
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# interface
interface-id Enters interface configuration mode and specifies the Layer 3 interface
to configure.
Step 3 Switch(config-if)# no switchport Removes the interface from Layer 2 configuration mode if it is a
physical interface.
Step 4 Switch(config-if)# ip vrf forwarding
vrf-name Configures VRF on the interface.
Step 5 Switch(config-if-vrf)# ip address
ip-address subnet-mask Enters the IP address for the interface.
Step 6 Switch(config-if-vrf)# ip verify
unicast source reachable-via
rx allow-default
Enables uRPF on the interface.
Step 7 Switch(config-if-vrf)# end Returns to privileged EXEC mode.