0% found this document useful (0 votes)
2 views

Script CLI Router

Uploaded by

leaatachibana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Script CLI Router

Uploaded by

leaatachibana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Script CLI router

Continue with configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>conf term

% Invalid input detected at '^' marker.

Router>enable

Router#conf term

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#inter fa0/0

Router(config-if)#no shut

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)#ip address 192.168.1.1 255.255.255.0

Router(config-if)#ex

Router(config)#ip dhcp pool voice

Router(dhcp-config)#network 192.168.1.0 255.255.255.0

Router(dhcp-config)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.1.1.

defaut
^

% Invalid input detected at '^' marker.

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

Router(config)#

Router(config)#tel

Router(config-telephony)#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 2000

Router(config-telephony)#auto assign 1 to 3

Router(config-telephony)#ex

Router(config)#ephone-dn 1

Router(config-ephone-dn)#%LINK-3-UPDOWN: Interface ephone_dsp DN 1.1, changed state to up

Router(config-ephone-dn)#number 0811

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 0812

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 0813

Router(config-ephone-dn)#exit

Router(config)#write
^

% Invalid input detected at '^' marker.

Router(config)#exit

Router#

%SYS-5-CONFIG_I: Configured from console by console

Router#write

Building configuration...

[OK]

Router#

You might also like