Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
vrf
definition
vrf-name
Device(config)# vrf definition vd1
|
Configures a VRF routing table and enters VRF configuration mode.
|
Step 4 |
rd
route-distinguisher
Device(config-vrf)# rd 10:1
|
Creates routing and forwarding tables for a VRF.
|
Step 5 |
ipv4 multicast multitoplogy
Device(config-vrf)# ipv4 multicast multitoplogy
|
Enables IPv4 multicast support for multi-topology routing (MTR)
in a VRF instance.
|
Step 6 |
address-family ipv4
Device(config-vrf)# address-family ipv4
|
Specifies the IPv4 address family type and enters address family
configuration mode.
|
Step 7 |
exit-address-family
Device(config-vrf-af)# exit-address-family
|
Exits address family configuration mode and removes the IPv4
address family.
|
Step 8 |
address-family ipv4 multicast
Device(config-vrf)# address-family ipv4 multicast
|
Specifies the IPv4 address family multicast type and enters VRF
address family configuration mode.
|
Step 9 |
topology
topology-instance-name
Device(config-vrf-af)# topology red
|
Specifies a topology instance and a name to it and enters VRF
address family topology configuration mode.
|
Step 10 |
all-interfaces
Device(config-vrf-af-topology)# all-interfaces
|
Configure the topology instance to use all interfaces on the
device.
|
Step 11 |
exit
Device(config-vrf-af-topology)# exit
|
Exits VRF address-family topology configuration mode and enters
VRF address-family configuration mode.
|
Step 12 |
exit-address-family
Device(config-vrf-af)# exit-address-family
|
Exits address family configuration mode and removes the IPv4
address family.
|
Step 13 |
exit
|
Exits VRF configuration mode and enters global configuration
mode.
|
Step 14 |
interface
type
number
Device(config)# interface ethernet 0/1
|
Selects the Ethernet interface and enters the interface
configuration mode.
|
Step 15 |
interface
type
number
Device(config)# interface ethernet 0/1
|
Selects the Ethernet interface and enters the interface
configuration mode.
|
Step 16 |
vrf
forwarding
vrf-name
Device(config-if)# vrf forwwarding vrf1
|
Associates a VRF instance with the interface.
|
Step 17 |
ip
address
ip-address
mask
Device(config-if)# ip address 10.1.10.1 255.255.255.0
|
Sets a primary or secondary IP address for an interface.
|
Step 18 |
ip
pim sparse-dense-modeip
Device(config-if)# ip pim sparse-dense-mode
|
Enables Protocol Independent Multicast (PIM) on an interface.
|
Step 19 |
end
|
Exits the interface configuration mode and enters privileged EXEC
mode.
|