Sysadmin > SolarIs > AnycastDNS > AnycastDNSswitchConfig

important parts

...
ip routing
...
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
...
interface Vlan10
 ip address 192.168.111.240 255.255.255.0
!
router ospf 1
 log-adjacency-changes
 network 192.168.111.0 0.0.0.255 area 15
...

complete running-config

Building configuration...

Current configuration : 3782 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname switch1
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$JxXz$JboQc0SjGVoiR.f9ExZsl.
enable password cisco
!
!
!
no aaa new-model
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
ip routing
!
!
!
!
crypto pki trustpoint TP-self-signed-2133736576
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2133736576
 revocation-check none
 rsakeypair TP-self-signed-2133736576
!
!
crypto pki certificate chain TP-self-signed-2133736576
 certificate self-signed 01
  30820240 308201A9 A0030201 02020101 300D0609 2A864886 F70D0101 04050030 
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 
  69666963 6174652D 32313333 37333635 3736301E 170D3933 30333031 30303031 
  30345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649 
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 31333337 
  33363537 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281 
  8100BD21 B34B9BD9 AB54B923 6EF086C4 A99C8510 6CAAF94A 2D4C383A F9705C46 
  4FD42E02 59B621CA CCBF14BC 8D800BD6 2B5F227F DA56D988 C89F1D01 370350DF 
  D2688ECC 0F4F2F14 80780250 A89694D5 2F90D5E9 6ADFE8D4 47E211E6 BDA56892 
  4BE71E5D 2207EDE1 EA3FDFC8 4E6181EB 5DCE5388 7A7A9E09 BAF9E1FF 32EE8F80 
  429F0203 010001A3 68306630 0F060355 1D130101 FF040530 030101FF 30130603 
  551D1104 0C300A82 08737769 74636831 2E301F06 03551D23 04183016 8014392A 
  4711F3B1 213DC748 8E5F36DB 4F4EE89A 9AE7301D 0603551D 0E041604 14392A47 
  11F3B121 3DC7488E 5F36DB4F 4EE89A9A E7300D06 092A8648 86F70D01 01040500 
  03818100 22330922 574C3ED0 9FF64987 ECB27296 2396B398 B14C6556 F21F0437 
  BA5F3E42 D6E8A4CB 1448F604 837E0001 94C9A535 312DA2C0 353942BA 299D11CD 
  42DCF8AB ACAC1F3A 59D40B17 282C2DCC 35E96DA6 5CA8EFC9 688F6AC6 8297AF03 
  387F79B5 D1D2AE36 D0B65F81 746B9CB2 6E39A83B B6EE5538 8FB1558E 61245F14 F67DFB83
  quit
!
!
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface FastEthernet0/1
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/2
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access
!         
interface FastEthernet0/6
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/7
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/8
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
 switchport access vlan 10
 switchport mode access
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 no ip address
 no ip mroute-cache
 shutdown
!
interface Vlan10
 ip address 192.168.111.240 255.255.255.0
!
router ospf 1
 log-adjacency-changes
 network 192.168.111.0 0.0.0.255 area 15
!
ip classless
ip http server
ip http secure-server
!
!
ip sla enable reaction-alerts
!
!
!
line con 0
 exec-timeout 0 0
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
end