EasyManua.ls Logo

Cisco Nexus 7000 Series - Verifying VRF Configuration; VRF Example Configuration

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
14-13
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 14 Configuring Layer 3 Virtualization
Verifying VRF Configuration
Verifying VRF Configuration
To display VRF configuration information, use one of the following commands:
VRF Example Configuration
This example shows how to configure VRF Red, add an SNMP server to that VRF, and add an instance
of OSPF to VRF Red:
configure terminal
vrf context Red
snmp-server host 192.0.2.12 use-vrf Red
router ospf 201
vrf Red
interface ethernet 1/2
vrf member Red
ip address 192.0.2.1/16
ip router ospf 201 area 0
This example shows how to configure VRF Red and Blue, add an instance of OSPF to each VRF, and
create an SNMP context for each OSPF instance in each VRF:
configure terminal
!Create the VRFs
vrf context Red
vrf context Blue
vrf context Green
!Create the OSPF instances and associate them with a single VRF or multiple VRFs
(recommended)
feature ospf
router ospf Lab
vrf Red
!
router ospf Production
vrf Blue
router-id 1.1.1.1
vrf Green
router-id 2.2.2.2
!Configure one interface to use ospf Lab on VRF Red
Command Purpose
routing-context vrf default
Example:
switch%red# routing-context vrf default
switch#
Sets the default routing context.
Command Purpose
show vrf [vrf-name] Displays the information for all or one VRF.
show vrf [vrf-name] detail Displays detailed information for all or one VRF.
show vrf [vrf-name] [interface interface-type
slot/port]
Displays the VRF status for an interface.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals