Assigning An Interface To A Vrf - Cisco Nexus 3548 Configuration Manual

Nx-os interfaces release 9x
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring Layer 3 Interfaces

Assigning an Interface to a VRF

Before you begin
Assign the IP address for a tunnel interface after you have configured the interface for a VRF.
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# interface interface-typenumber
3. switch(conifg-if)#vrf member vrf-name
4. switch(config-if)# ipip-address/length
5. (Optional) switch(config-if)# show vrf [vrf-name] interface interface-type number
6. (Optional) switch(config-if)# show interfaces
7. (Optional) switch(config-if)# copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# interface interface-typenumber
Step 3
switch(conifg-if)#vrf member vrf-name
Step 4
switch(config-if)# ipip-address/length
Step 5
(Optional) switch(config-if)# show vrf [vrf-name] interface
interface-type number
Step 6
(Optional) switch(config-if)# show interfaces
Step 7
(Optional) switch(config-if)# copy running-config
startup-config
Example
This example shows how to add a Layer 3 interface to the VRF:
switch# configure terminal
switch(config)# interface loopback 0
switch(config-if)# vrf member RemoteOfficeVRF
switch(config-if)# ip address 209.0.2.1/16
switch(config-if)# copy running-config startup-config
Purpose
Enters global 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.
Displays VRF information.
Displays the Layer 3 interface statistics.
Saves the change persistently through reboots and restarts
by copying the running configuration to the startup
configuration.
Cisco Nexus 3548 Switch NX-OS Interfaces Configuration Guide, Release 9x
Assigning an Interface to a VRF
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents