Beruflich Dokumente
Kultur Dokumente
CODING TO CLI
R1>
R1>enable
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ho dhcp-server
dhcp-server(config)#ip dhcp pool deploy
dhcp-server(dhcp-config)#network 172.70.1.0 255.255.0.0
dhcp-server(dhcp-config)#default-router 172.70.1.1
dhcp-server(dhcp-config)#dns-server 172.70.1.2
dhcp-server(dhcp-config)#exit
dhcp-server(config)#ip dhcp excluded-address 172.70.1.1 172.70.1.9
dhcp-server(config)#inter fastEthernet 0/0
dhcp-server(config-if)#ip add 172.70.1.1 255.255.0.0
dhcp-server(config-if)#no shutdown
dhcp-server(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
dhcp-server(config-if)#
[CODING TO CLI]
R1(config)#hostname R1
R1(config)#int s 2/0
R1(config-if)#ip add 18.0.0.2 255.0.0.0
R1(config-if)#exit
R1(config)# inter s 2/0
R1(config-if)#no shutdown
R1(config-if)#END
R1#SH IP INTER B
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 172.70.1.1 YES manual up up
FastEthernet1/0 unassigned YES unset administratively down down
Serial2/0 18.0.0.2 YES manual up up
Serial3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
R1#
R2>enable
R2#conf t
R2(config)#inter s 3/0
R2(config-if)#ip add 18.0.0.1 255.0.0.0
R2(config-if)#int s 2/0
R2(config-if)#no sh
R2(config-if)#clock ra 64000
This command applies only to DCE interfaces
R2(config-if)#NO SHutdown
R2(config)#EXit
R2#SH IP INTER B
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset administratively down down
Serial2/0 unassigned YES unset down down
Serial3/0 18.0.0.1 YES manual up up
FastEthernet4/0 unassigned YES unset administratively down down
[CODING TO CLI]
R2>enable
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#
R2(config)#
R2(config)#inter s 3/0
R2(config-if)#ip add 18.0.0.1 255.0.0.0
R2(config-if)#
R2(config-if)#int s 2/0
R2(config-if)#no sh
R2(config-if)#clock ra 64000
This command applies only to DCE interfaces
R2#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#INTER S 3/0
R2(config-if)#NO SHutdown
R2(config-if)#EXT
R2#SH IP INTER B
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset administratively down down
Serial2/0 unassigned YES unset down down
Serial3/0 18.0.0.1 YES manual up up
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
R2#
R3>ENAble
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int s 3/0
R3(config-if)#ip add 19.0.0.1 255.0.0.0
R3(config-if)#no sh
R3(config-if)#clock ra 64000
R3(config-if)#exit
R3(config)#ex
R3#sh ip inter b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down
FastEthernet1/0 unassigned YES unset administratively down down
Serial2/0 unassigned YES unset administratively down down
[CODING TO CLI]
dhcp-server(config)#hostname R4
R4(config)#INT S 2/0
R4(config-if)#IP ADD 20.0.0.2 255.0.0.0
R4(config-if)#EXit
R4(config)#int s 2/0
R4(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
R4(config-if)#exit
R4(config)#ip dhcp pool deploy?
WORD
R4(config)#ip dhcp pool deploy
R4(dhcp-config)#network 100.0.0.0 255.0.0.0
R4(dhcp-config)#default-router 100.0.0.1
R4(dhcp-config)#dns-server 172.70.10.2
R4(dhcp-config)#ext
^
% Invalid input detected at '^' marker.
R4(dhcp-config)#exit
R4(config)#ip dhcp excluded-address 100.0.0.1 100.0.0.9
R4(config)#exit
R4#int fa 0/0
^
% Invalid input detected at '^' marker.
R4#inter f 0/0
% Invalid input detected at '^' marker
[CODING TO CLI]
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#ip add 100.0.0.1 255.0.0.0
^
% Invalid input detected at '^' marker.
R4(config)#inter fa 0/0
R4(config-if)#ip add 100.0.0.0 255.0.0.0
Bad mask /8 for address 100.0.0.0
R4(config-if)#ip add 100.0.0.1 255.0.0.0
R4(config-if)#no shutdown
R4(config-if)#exit
R4#
R4#sh ip inter b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 100.0.0.1 YES manual up up
FastEthernet1/0 unassigned YES unset administratively down down
Serial2/0 20.0.0.2 YES manual up up
Serial3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
R4#
[CODING TO CLI]
R4(dhcp-config)#exit
R4(config)#ip dhcp ex
R4(config)#ip dhcp excluded-address 11.0.0.1 11.0.0.9
R4(config)#no sh
R4(config)#inter fa 1/0
R4(config-if)#ip add 11.0.0.1 255.0.0.0
R4(config-if)#no sh
Router(config)#hostname R4/1
R4/1(config)#INT FA 0/0
R4/1(config-if)#IP ADD 11.0.0.2 255.0.0.0
R4/1(config-if)#NO SH
R4/1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R4/1(config-if)#EXit
R4/1(config)#INT FA 1/0
R4/1(config-if)#ip add 31.0.0.1 255.0.0.0
R4/1(config-if)#no sh
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R4/2(config)#int fa 1/0
Router(config-if)#ip add 32.0.0.1
% Incomplete command.
Router(config)#ip dhcp pool deploy
Router(dhcp-config)#network 32.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 32.0.0.1
Router(dhcp-config)#dns-server 172.70.1.2
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 32.0.0.1 32.0.0.1
Router(config-if)#ip add 32.0.0.2
R4/3(config)#int fa 0/0
Router(config-if)#ip add 11.0.0.4
% Incomplete command.
Router(config-if)#ip add 11.0.0.4 255.0.0.0
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#
Router(config-if)#int fa 1/0
Router(config-if)#ip add 32.0.0.1 255.0.0.0
Router(config-if)#no sh
Router(dhcp-config)#dns-server 172.70.1.2
Router(dhcp-config)#ex
Router(dhcp-config)#exit
Router(config)#ip dhcp ex
Router(config)#ip dhcp excluded-address 32.0.0.1 32.0.0.1
Router(config)#
R4/4(config)#int fa 0/0
Router(config-if)#ip add 11.0.0.5 255.0.0.0
Router(config-if)#no sh\
Router(config-if)#exit
Router(config)#int fa 1/0
Router(config-if)#ip add 32.0.0.1 255.0.0.0
Router(config-if)#no sh
Router(config)#ip dhcp pool deploy
Router(dhcp-config)#network 32.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 32.0.0.1
Router(dhcp-config)#dns-server 172.70.1.2
Router(dhcp-config)#exit
Router(config)#ip dhcp excluded-address 32.0.0.1 32.0.0.1
Router(config)#
R4/5(config)#int fa 0/0
Router(config-if)#ip add 11.0.0.6 255.0.0.0
Router(config-if)#no sh
Router(config-if)#exit
Router(config)#int fa 1/0
Router(config-if)#ip add 32.0.0.1 255.0.0.0
Router(config-if)#no sh
R5
[CODING TO CLI]
R5
Router>en
Router#CONF Terminal
Enter configuration commands, one per line. End with CNTL/Z
Router(config)#int f 1/0
Router(config-if)#sh
Router(config)#int f 1/0
Router(config-if)#ip add 11.0.0.0 255.0.0.0
Router(config-if)#no sh
Router(config-if)#ip dhcp pool deploy
Router(dhcp-config)#network 11.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 11.0.0.1
Router(dhcp-config)#dns-server 172.70.1.2
Router(dhcp-config)#ex
Router(config)#ip dhcp excluded-address 11.0.0.1 11.0.0.2
Router(config)#exit
R5(config-if)#exit
R5(config)#int f 0/0
R5(config-if)#ip add 102.0.0.1 255.0.0.0
R5(config-if)#no sh
R5(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R5(config)#int s 3/0
R5(config-if)#ip add 22.0.0.1 255.0.0.0
R5(config-if)#no sh
R6
R6
Router>en
Router#CONF Terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R6
R6(config)#int s2/0
R6(config-if)#ip add 22.0.0.2 255.0.0.0
R6(config-if)#no sh
R6(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
[CODING TO CLI]
R6(config-if)#exit
R6(config)#int f 1/0
R6(config-if)#ip add 102.0.0.1 255.0.0.0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
R6(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
R6(config-if)#exit
R6(config)#int f 0/0
R6(config-if)#ip add 104.0.0.1 255.0.0.0
R6(config-if)#no sh
R6(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R6(config-if)#exit
[CODING TO CLI]
Router(config)#hostname R5/1
R5/1(config)#INT F 0/0
R5/1(config-if)#ip add 102.0.0.2 255.0.0.0
R5/1(config-if)#no sh
R5/1(config-if)#exit
R5/1(config)#int f 1/0
R5/1(config-if)#ip add 30.0.0.1 255.0.0.0
R5/1(config-if)#no sh
R5/2>enable
R5/2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5/2 (config)#int f 0/0
R5/2r(config-if)#ip add 102.0.0.3 255.0.0.0
R5/2 (config-if)#no sh
R5/2 (config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R5/2 (config-if)#ex
R5/2 (config-if)#exit
R5/2 (config)#int f 1/0
R5/2 (config-if)#ip add 103.0.0.1 255.0.0.0
R5/2 (config-if)#no sh
R5/2 (config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
R5/2 (config-if)#exit
R5/2 (config)#ip dhcp pool deploy
R5/2 (dhcp-config)#network 103.0.0.0 255.0.0.0
R5/2 (dhcp-config)#default-router 103.0.0.1
R5/2 (dhcp-config)#dns-server 172.70.1.2
[CODING TO CLI]
R5/2 (dhcp-config)#exit
R5/2 (config)#ip dhcp ex
R5/2 (config)#ip dhcp excluded-address 103.0.0.1 103.0.0.9
Router(config)#
Router(config)#hostname R6
R6(config)#int s2/0
R6(config-if)#ip add 22.0.0.2 255.0.0.0
R6(config-if)#no sh
R6(config-if)#exit
R6(config)#int f 1/0
R6(config-if)#ip add 12.0.0.1 255.0.0.0
R6(config-if)#no sh
R6(config-if)#exit
R6(config)#int f 0/0
R6(config-if)#ip add 104.0.0.1 255.0.0.0
R6(config-if)#no sh
S6/1 (config)#vlan 20
S6/1 (config-vlan)#name STAF2
S6/1 (config-vlan)#^Z
S6/1#
S6/1(config)#int range f 0/1-10
S6/1(config-if-range)#?
channel-group Etherchannel/port bundling configuration
S6/1(config-if-range)#switchport mode access
S6/1(config-if-range)#switchport access vlan 10
S6/1(config-if-range)#^Z
S6/1(config-if-range)#^Z
R1(config)#router rip
R1(config-router)#network 172.70.1.0
R1(config-router)#network 18.0.0.0
R1(config-router)#
R2(config)#router rip
R2(config-router)#network 18.0.0.0
R2(config-router)#network 19.0.0.0
R2(config-router)#int s 3/0
R2(config-if)#clock rate 64000
R2(config-if)#wr
[CODING TO CLI]
R3(config)#router rip
R3(config-router)#network 20.0.0.0
R3(config-router)#network 19.0.0.0
R3(config-router)#network 10.0.0.0
R3(config-router)#exit
R3(config)#int s 3/0
R3(config-if)#clock rate 64000
R3(config-if)#int s 2/0
R3(config-if)#clock rate 64000
[CODING TO CLI]
R4(config)#router rip
R4(config-router)#network 20.0.0.0
R4(config-router)#network 21.0.0.0
R4(config-router)#network 100.0.0.0
R4(config-router)#network 11.0.0.0
R4(config-router)#int s3/0
R4(config-if)#clock rate 64000
R4(config-if)#exit
R4(config)#wr
[CODING TO CLI]
Router(config)#router rip
Router(config-router)#network 22.0.0.0
Router(config-router)#network 102.0.0.0
Router(config-router)#network 21.0.0.0
Router(config-router)#network 11.0.0.0
Router(config-router)#int s3/0
Router(config-if)#clock rate 64000
R6(config)#router rip
R6(config-router)#network 22.0.0.0
R6(config-router)#network 12.0.0.0
R6(config-router)#network 104.0.0.0
[CODING TO CLI]
R4/1(config)#router rip
R4/1(config-router)#network 11.0.0.0
R4/1(config-router)#network 32.0.0.0
R4/2(config)#router rip
R4/2(config-router)#network 11.0.0.0
R4/2(config-router)#network 32.0.0.0
R4/3(config)#router rip
R4/3(config-router)#network 11.0.0.0
R4/3(config-router)#network 32.0.0.0
R4/4(config)#ROuter Rip
R4/4(config-router)#network 11.0.0.0
R4/4(config-router)#network 32.0.0.0
R4/5(config)#router rip
R4/5(config-router)#network 11.0.0.0
R4/5(config-router)#network 32.0.0.0
[CODING TO CLI]
R5/1(config)#router rip
R5/1(config-router)#network 102.0.0.0
R5/1(config-router)#network 30.0.0.0
R5/2(config)#router rip
R5/2(config-router)#network 102.0.0.0
R5/2(config-router)#network 103.0.0.0
[CODING TO CLI]
Router>enable
Router#conf
Router#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#acc
Router(config)#access-list 101 d
Router(config)#access-list 101 deny t
Router(config)#access-list 101 deny tcp 102.0.0.0 0.255.255.255.243
^
% Invalid input detected at '^' marker.
[CODING TO CLI]
shutdown
router rip
network 11.0.0.0
network 12.0.0.0
network 21.0.0.0
network 22.0.0.0
network 102.0.0.0
access-list 101 deny tcp 102.0.0.0 0.255.255.243 any eq telnet
access-list 101 permit ip any any