EasyManua.ls Logo

Cisco Catalyst 4500 Series - Associate Interfaces to the Defined Vrfs

Cisco Catalyst 4500 Series
1814 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...
41-24
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 41 Configuring VRF-lite
Configuring VRF-lite for IPv6
Associate Interfaces to the Defined VRFs
To associate interface to the defined VRFs, perform this task:
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
This example shows how to populate VRF with a static route:
Switch(config)# ipv6 route vrf v6a 7000::/64 TenGigabitEthernet3/2 4000::2
Command Purpose
Step 1
Switch(config)# vrf configuration
Enters vrf configuration mode.
Step 1
Switch(config-vrf)# interface
interface-id
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.
Step 2
Switch(config-if)# vrf forwarding
vrf-name
Associates the VRF with the Layer 3 interface.
Step 3
Switch(config-if)# end
Returns to privileged EXEC mode.
Step 4
Switch# show ipv6 vrf [brief |
detail | interfaces] [vrf-name]
Verifies the configuration. Displays information about the
configured VRFs.
Step 5
Switch# copy running-config
startup-config
(Optional) Saves your entries in the configuration file.
Command Purpose
Step 1
ipv6 route [vrf vrf-name]
ipv6-prefix/prefix-length
{ipv6-address | interface-type
interface-number [ipv6-address]}
To configure static routes specific to VRF.

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals