901
Configuring IP Unicast Routing
Configuring Multi-VRF CE
The following example shows how to send all SNMP notifications to example.com over the VRF named trap-vrf using the
community string public:
Switch(config)# snmp-server host example.com vrf trap-vrf public
User Interface for HSRP
Hot Standby Router Protocol (HSRP) support for VRFs ensures that HSRP virtual IP addresses are added to the correct
IP routing table.
BEFORE YOU BEGIN
Configure a VRF as described in the Configuring VRFs, page 897.
DETAILED STEPS
EXAMPLE
Switch(config)# interface ethernet 0
Switch(config-if)# no switchport
Switch(config-if)# ip vrf forwarding vpn1
Switch(config-if)# ip address 172.16.1.3
Switch(config-if)# standby 1 ip
User Interface for Syslog
Follow the steps in this procedure to configure VRF-aware services for Syslog.
BEFORE YOU BEGIN
Configure a VRF as described in the Configuring VRFs, page 897.
Command Purpose
1. configure terminal Enter global configuration mode.
2. interface interface-id Enter interface configuration mode, and specify the Layer 3
interface to configure.
3. no switchport Remove the interface from Layer 2 configuration mode if it is a
physical interface.
4. ip vrf forwarding <vrf-name> Configure VRF on the interface.
Executing this command on an interface removes the IP
address.
5. ip address ip address Enter the IP address for the interface.
6. standby 1 ip ip address Enable HSRP and configure the virtual IP address.
7. end Return to privileged EXEC mode.
8. copy running-config
startup-config
(Optional) Save your entries in the configuration file.