Configuring A Vrf-Aware Service - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 14
Configuring Layer 3 Virtualization
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
The following example shows how to create a VRF and add an interface to the VRF:
switch# config t
switch(config)# vrf context RemoteOfficeVRF
switch(config-vrf)# exit
switch(config)# router ospf 201
switch(config-router)# vrf RemoteOfficeVRF
switch(config-router-vrf)# maximum-paths 4
switch(config-router-vrf)# interface ethernet 1/2
switch(config-if)# vrf member RemoteOfficeVRF
switch(config-if)# ip address 192.0.2.1/16
switch(config-if)# ip router ospf 201 area 0
switch(config-if)# exit
switch(config)# copy running-config startup-config

Configuring a VRF-Aware Service

You can configure a VRF-aware service for reachability and filtering. See the
section on page 14-3
to configure the service for VRFs. This section uses SNMP and IP domain lists as example services for
the detailed configuration steps.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
snmp-server host ip-address [filter-vrf
vrf-name ] [use-vrf vrf-name ]
Example:
switch(config)# snmp-server host
192.0.2.1 use-vrf Red
switch(config-vrf)#
OL-20002-02
for links to the appropriate chapter or configuration guide for information on how
config t
service parameters [filter_vrf vrf-name] [use-vrf vrf-name]
vrf context [vrf-name]
service parameters [all-vrfs][use-vrf vrf-name]
copy running-config startup-config
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Purpose
Enters configuration mode.
Configures a global SNMP server and configures the
VRF that Cisco NX-OS uses to reach the service Use
the filter-vrf keyword to filter information from the
selected VRF to this server.
Configuring VRFs
"VRF-Aware Services"
14-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents