火曜日, 1月 05, 2010

自宅にGNS3を使って、CME Labを練習する (2)


hostname SwitchA


!

interface FastEthernet1/0

switchport access vlan 50

!

interface FastEthernet1/1

description CONNECTION TO CME

switchport mode trunk

duplex half

speed 10

!

interface FastEthernet1/15

switchport mode trunk





hostname SwitchB

!

interface FastEthernet1/5

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/6

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/7

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/8

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/9

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/10

switchport access vlan 50

switchport voice vlan 10

!

interface FastEthernet1/15

switchport mode trunk





hostname DHCP_WAN

!

ip dhcp excluded-address 172.16.1.1 172.16.1.9

ip dhcp excluded-address 172.16.2.1 172.16.2.9

!

ip dhcp pool DATA_SCOPE

network 172.16.2.0 255.255.255.0

default-router 172.16.2.1

dns-server 4.2.2.2

!

ip dhcp pool VOICE_SCOPE

network 172.16.1.0 255.255.255.0

default-router 172.16.1.1

dns-server 4.2.2.2

option 150 ip 172.16.1.1

!



interface FastEthernet1/0

ip address 172.16.2.5 255.255.255.0





hostname CME

!

interface FastEthernet0/0

ip address 192.168.100.25 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet2/0

no ip address

duplex auto

speed auto

!

interface FastEthernet2/0.10

encapsulation dot1Q 10

ip address 172.16.1.1 255.255.255.0

ip helper-address 172.16.2.5

no snmp trap link-status

!

interface FastEthernet2/0.50

encapsulation dot1Q 50

ip address 172.16.2.1 255.255.255.0

no snmp trap link-status

!

ip http server

!

tftp-server flash:/phone/7940-7960/P00308000500.bin alias P00308000500.bin

tftp-server flash:/phone/7940-7960/P00308000500.loads alias P00308000500.loads

tftp-server flash:/phone/7940-7960/P00308000500.sb2 alias P00308000500.sb2

tftp-server flash:/phone/7940-7960/P00308000500.sbn alias P00308000500.sbn



!

telephony-service

load 7960-7940 P00308000500

max-ephones 24

max-dn 48

ip source-address 172.16.1.1 port 2000

create cnf-files version-stamp Jan 01 2002 00:00:00

max-conferences 8 gain -6

!

ephone-dn 1

number 1000

!

ephone-dn 2 dual-line

number 1001

!

ephone 1

0 件のコメント: