#configure terminal | Enter configure mode. |
(config)#interface eth1 | Specify the interface (eth1) to be configured and Enter interface mode. |
(config-if)#ip address 10.10.12.11/24 | Configure the IP address for eth1. |
(config-if)#ip pim sparse-mode | Enable PIM sparse mode on the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Specify the interface (eth2) to be configured and Enter interface mode. |
(config-if)#ip address 10.10.13.11/24 | Configure the IP address for eth2. |
(config-if)#ip pim sparse-mode | Enable PIM sparse mode on the interface. |
(config-if)#commit | Commit the transaction. |
(config)#end | End the session |
#configure terminal | Enter configure mode. |
(config)#interface eth1 | Specify the interface (eth1) to be configured and Enter interface mode. |
(config-if)#ipv6 address 2001::1/64 | Configure the IPv6 address for eth1. |
(config-if)#ipv6 pim sparse-mode | Enable ipv6 PIM-s, on the interface. |
(config-if)#exit | Exit interface mode. |
(config)#interface eth2 | Specify the interface (eth2) to be configured and Enter interface mode. |
(config-if)#ipv6 address 2001::2/64 | Configure the IPv6 address for eth2. |
(config-if)#ip pim sparse-mode | Enable ipv6 PIM-SM on the interface. |
(config-if)#commit | Commit the transaction. |
(config-if)#end | End the session |