83-20
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 83 Configuring Easy Virtual Network
Configuration Examples for Configuring EVN
ip address 10.1.1.1 255.255.255.0
ip ospf cost 20
interface GigabitEthernet2/0/0.200
description Subinterface for VRF NG blue
vrf forwarding blue
ip address 10.1.1.1 255.255.255.0
ip ospf cost 30
Device(config-if-vnet)#
Example: Enabling an Attribute to vnet Global Only
Similarly, you might want to enable an attribute to vnet global only. To do so, use the vnet global
interface submode, as follows:
interface gigabitethernet1/1/1
vnet trunk
ip address 10.1.2.1 255.255.255.0
vnet global
! Set OSPF cost for global to 40.
ip ospf cost 40
Example: Command Inheritance and Virtual Network Interface Mode Override
in a Multicast Environment
The following example illustrates command inheritance and virtual network interface mode override in
a multicast network. A trunk interface leverages the fact that configuration requirements from different
VRFs will be similar over the same trunk interface. Eligible commands configured on the trunk interface
are inherited by all VRFs running over the same interface.
In this example, IP multicast (PIM sparse mode) is configured on the trunk interface, which has several
VRFs:
vrf definition red
vnet tag 13
!
address-family ipv4
exit-address-family
!
ip multicast-routing
ip multicast-routing vrf red
interface GigabitEthernet0/1/0
vnet trunk
ip address 125.1.15.18 255.255.255.0
ip pim sparse-mode
The user decides that he does not want IP multicast configured for VRF red on GigabitEthernet 0/1/0,
so he uses the virtual network interface mode override. IP Multicast is disabled for VRF red only. The
no ip pim command disables all modes of Protocol Independent Multicast (PIM), including sparse mode,
dense mode, and sparse-dense mode, for VRF red.
interface GigabitEthernet0/1/0
vnet trunk
Summary of Contents for Catalyst 4500 Series
Page 2: ......
Page 4: ......
Page 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...