Assigning An Interface To A Vrf - Cisco 7604-RSP720C-R Configuration Manual

Nx-os interfaces
Table of Contents

Advertisement

Chapter 4
Configuring Layer 3 Interfaces
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
This example shows how to create a loopback interface:
switch# configure terminal
switch(config)# interface loopback 0
switch(config-if)# ip address 192.0.2.100/8
switch(config-if)# copy running-config startup-config

Assigning an Interface to a VRF

You can add a Layer 3 interface to a VRF.
BEFORE YOU BEGIN
Ensure that you are in the correct VDC (or use the switchto vdc command).
Assign the IP address for a tunnel interface after you have configured the interface for a VRF.
SUMMARY STEPS
1.
2.
3.
4.
5.
6.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
interface interface-type number
Example:
switch(config)# interface loopback 0
switch(config-if)#
Step 3
vrf member vrf-name
Example:
switch(config-if)# vrf member
RemoteOfficeVRF
Step 4
ip address ip-prefix/length
Example:
switch(config-if)# ip address
192.0.2.1/16
OL-23435-03
configure terminal
interface interface-type number
vrf member vrf-name
ip-address ip-prefix/length
(Optional) show vrf [vrf-name] interface interface-type number
(Optional) copy running-config startup-config
Purpose
Enters configuration mode.
Enters interface configuration mode.
Adds this interface to a VRF.
Configures an IP address for this interface. You must
do this step after you assign this interface to a VRF.
Cisco Nexus 7000 Series NX-OS Interfaces Configuration Guide, Release 5.x
Configuring Layer 3 Interfaces
4-15

Advertisement

Table of Contents
loading

Table of Contents