SCRIPT ROUTER
Router>en
Router#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#ip
dhcp pool voice
Router(dhcp-config)#network
192.168.1.19 255.255.255.0
Router(dhcp-config)#default-router
192.168.1.1
Router(dhcp-config)#option
150 ip 192.168.1.1
Router(dhcp-config)#exit
Router(config)#ip
dhcp-excluded-address 192.168.1.1
^
% Invalid input
detected at '^' marker.
Router(config)#
Router(config)#ip
dhcp excluded-address 192.168.1.1
Router(config)#int
fastethernet 0/0
Router(config-if)#ip
address 192.168.1.1 255.255.255.0
Router(config-if)#no
shutdown
Router(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#telephony-service
Router(config-telephony)#max-ephones
3
Router(config-telephony)#max-dn
3
Router(config-telephony)#ip
source-address 192.168.1.1 port 2003
Router(config-telephony)#auto
assign 4 to 6
Router(config-telephony)#auto
assign 1 to 5
Router(config-telephony)#ephone-dn
1
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 1.1, changed state to up
Router(config-ephone-dn)#%DHCPD-4-PING_CONFLICT:
DHCP address conflict: server pinged 192.168.1.3.
number 0813211
Router(config-ephone-dn)#
%IPPHONE-6-REGISTER:
ephone-1 IP:192.168.1.3 Socket:2 DeviceType:Phone has registered.
number 0813211
Router(config-ephone-dn)#ephone-dn
2
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 2.1, changed state to up
Router(config-ephone-dn)#number
0813212
Router(config-ephone-dn)#ephone-dn
%IPPHONE-6-REGISTER:
ephone-3 IP:192.168.1.4 Socket:2 DeviceType:Phone has registered.
^
% Invalid input
detected at '^' marker.
Router(config-ephone-dn)#ephone-dn
3
Router(config-ephone-dn)#%LINK-3-UPDOWN:
Interface ephone_dsp DN 3.1, changed state to up
Router(config-ephone-dn)#number
0813213
Router(config-ephone-dn)#tes
tele
%IPPHONE-6-REGISTER:
ephone-2 IP:192.168.1.2 Socket:2 DeviceType:Phone has registered.
^
% Invalid input
detected at '^' marker.
Router(config-ephone-dn)#tes
telepon
^
% Invalid input
detected at '^' marker.
Router(config-ephone-dn)#ephone-dn
3
Router(config-ephone-dn)#
SCRIPT
SWITCH
Switch>en
Switch#confi
Configuring from
terminal, memory, or network [terminal]?
Enter
configuration commands, one per line. End with CNTL/Z.
Switch(config)#int
range fa0/1-24
Switch(config-if-range)#swc
^
% Invalid input
detected at '^' marker.
Switch(config-if-range)#sw
% Incomplete
command.
Switch(config-if-range)#switchport
voice vlan 1
Switch(config-if-range)#exit
Switch(config)#
%LINK-5-CHANGED:
Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet0/1, changed state to up
Switch con0 is
now available
Tidak ada komentar:
Posting Komentar