no service password-encryption
!
hostname D2
!
!
!
!
!
!
!
no ip cef
ip routing
!
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode rapid-pvst
spanning-tree vlan 101 priority 24576
spanning-tree vlan 100,102 priority 28672
!
!
!
!
!
!
interface Port-channel1
!
interface Port-channel2
!
interface Port-channel12
!
interface GigabitEthernet1/0/1
 switchport trunk native vlan 999
 channel-group 12 mode active
!
interface GigabitEthernet1/0/2
 switchport trunk native vlan 999
 channel-group 12 mode active
!
interface GigabitEthernet1/0/3
 switchport trunk native vlan 999
 channel-group 12 mode active
!
interface GigabitEthernet1/0/4
 switchport trunk native vlan 999
 channel-group 12 mode active
!
interface GigabitEthernet1/0/5
 switchport trunk native vlan 999
 channel-group 2 mode active
!
interface GigabitEthernet1/0/6
 switchport trunk native vlan 999
 channel-group 2 mode active
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
 description connectiong to R3
 no switchport
 ip address 10.0.11.2 255.255.255.0
 duplex auto
 speed auto
 ipv6 address FE80::D2:1 link-local
 ipv6 address 2001:DB8:100:1011::2/64
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface Vlan1
 no ip address
 shutdown
!
interface Vlan100
 mac-address 000a.415b.4101
 ip address 10.0.100.2 255.255.255.0
 ipv6 address FE80::D2:2 link-local
 ipv6 address 2001:DB8:100:100::2/64
!
interface Vlan101
 mac-address 000a.415b.4102
 ip address 10.0.101.2 255.255.255.0
 ipv6 address FE80::D2:3 link-local
 ipv6 address 2001:DB8:100:101::2/64
!
interface Vlan102
 mac-address 000a.415b.4103
 ip address 10.0.102.2 255.255.255.0
 ipv6 address FE80::D2:4 link-local
 ipv6 address 2001:DB8:100:102::2/64
!
router ospf 4
 router-id 0.0.4.132
 log-adjacency-changes
 passive-interface default
 no passive-interface GigabitEthernet1/0/11
 no passive-interface Port-channel12
 no passive-interface Port-channel1
 no passive-interface Port-channel2
 network 10.0.11.0 0.0.0.255 area 0
 network 10.0.100.0 0.0.0.255 area 0
 network 10.0.101.0 0.0.0.255 area 0
 network 10.0.102.0 0.0.0.255 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
 login
!
!
!
!
end


D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#
D2(config)#