Associate Interfaces To The Defined Vrfs - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 43
Configuring VRF-lite
Command
Switch# show ip vrf [brief | detail
Step 11
| interfaces] [vrf-name]
Switch# copy running-config
Step 12
startup-config
This example shows how to configure VRFs:
Switch(config)#
Switch(config-vrf)#
Switch(config-vrf)#
Switch(config-vrf-af)#
Switch(config-vrf)#
Switch(config-vrf)#
Switch(config-if)# vrf forwarding red
Switch(config-if)# ipv6 address 5000::72B/64

Associate Interfaces to the Defined VRFs

To associate interface to the defined VRFs, perform this task:
Command
Switch(config)# vrf configuration
Step 1
Switch(config-vrf)# interface
Step 1
interface-id
Switch(config-if)# vrf forwarding
Step 2
vrf-name
Switch(config-if)# end
Step 3
Switch# show ipv6 vrf [brief |
Step 4
detail | interfaces] [vrf-name]
Switch# copy running-config
Step 5
startup-config
This example shows how to associate an interface to VRFs:
Switch(config-vrf)# interface ethernet0/1
Switch(config-if)# vrf forwarding red
Switch(config-if)# ipv6 address 5000::72B/64
Populate VRF with Routes via Routing Protocols
Static Route
Command
ipv6 route [vrf vrf-name]
Step 1
ipv6-prefix/prefix-length
{ipv6-address | interface-type
interface-number [ipv6-address]}
vrf definition red
rd 100:1
address family ipv6
route-target both 200:1
exit-address-family
interface Ethernet0/1
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Verifies the configuration. Displays information about the
configured VRFs.
(Optional) Saves your entries in the configuration file.
Purpose
Enters vrf configuration mode.
Enters interface configuration mode and specifies the
Layer 3 interface to be associated with the VRF. The
interface can be a routed port or SVI.
Associates the VRF with the Layer 3 interface.
Returns to privileged EXEC mode.
Verifies the configuration. Displays information about the
configured VRFs.
(Optional) Saves your entries in the configuration file.
Purpose
To configure static routes specific to VRF.
Configuring VRF-lite for IPv6
43-23

Advertisement

Table of Contents
loading

Table of Contents