LK 41

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 15

Router A

System Bootstrap, Version 15.1(4)M4, RELEASE SOFTWARE (fc1)


Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2010 by cisco Systems, Inc.
Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB
CISCO1941/K9 platform with 524288 Kbytes of main memory
Main memory is configured to 64/-1(On-board/DIMM0) bit mode with ECC disabled

Readonly ROMMON initialized

program load complete, entry point: 0x80803000, size: 0x1b340


program load complete, entry point: 0x80803000, size: 0x1b340

IOS Image Load Test


___________________
Digitally Signed Release Software
program load complete, entry point: 0x81000000, size: 0x2bb1c58
Self decompressing the image :
######################### [OK]
Smart Init is enabled
smart init is sizing iomem
TYPE MEMORY_REQ
Onboard devices &
buffer pools 0x01E8F000
-----------------------------------------------
TOTAL: 0x01E8F000
Rounded IOMEM up to: 32Mb.
Using 6 percent iomem. [32Mb/512Mb]

Restricted Rights Legend


Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C1900 Software (C1900-UNIVERSALK9-M), Version 15.1(4)M4,


RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Thurs 5-Jan-12 15:41 by pt_team
Image text-base: 0x2100F918, data-base: 0x24729040

This product contains cryptographic features and is subject to United


States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
[email protected].

Cisco CISCO1941/K9 (revision 1.0) with 491520K/32768K bytes of memory.


Processor board ID FTX152400KS
2 Gigabit Ethernet interfaces
DRAM configuration is 64 bits wide with parity disabled.
255K bytes of non-volatile configuration memory.
249856K bytes of ATA System CompactFlash 0 (Read/Write)

Press RETURN to get started!

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state


to up

Router(config-if)#exit
Router(config)#ip dh
Router(config)#ip dhcp p
Router(config)#i
Router(config)#int
Router(config)#interface fa
Router(config)#interface gi
Router(config)#interface gigabitEthernet 0/0.30
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.30, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.30, changed


state to up

Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.10.1 255.255.255.240
Router(config-subif)#exit
Router(config)#ip dh
Router(config)#ip dhcp poo
Router(config)#ip dhcp pool
Router(config)#ip dhcp pool CC
Router(dhcp-config)#ne
Router(dhcp-config)#network 192.168.10.0 255.255.255.240
Router(dhcp-config)#def
Router(dhcp-config)#default-router 192.168.10.1
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged
192.168.10.1.
Router(dhcp-config)#exit
Router(config)#in
Router(config)#interface g
Router(config)#interface gigabitEthernet 0/0.40
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0.40, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0.40, changed


state to up

Router(config-subif)#en
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 40
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.20.1 255.255.255.240
Router(config-subif)#exit
Router(config)#ip dhc
Router(config)#ip dhcp pool DD
Router(dhcp-config)#net
Router(dhcp-config)#network 192.168.20.0 255.255.255.240
Router(dhcp-config)#def
Router(dhcp-config)#default-router 192.168.20.1
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#do w%DHCPD-4-PING_CONFLICT: DHCP address conflict: server
pinged 192.168.20.1.
rite
Building configuration...
[OK]
Router(dhcp-config)#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged
192.168.20.1.

Router(dhcp-config)#end
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#
%SYS-5-CONFIG_I: Configured from console by console

Router(config-if)#exit
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip address 192.168.1.1 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state


to up

Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2
Router(config)#

Switch A
Switch(config)#iniint
Switch(config)#interface ra
Switch(config)#interface range fa
Switch(config)#interface range fastEthernet 0/1-13
Switch(config-if-range)#wsw
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode ac
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#swi
Switch(config-if-range)#switchport ac
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(30), with Switch FastEthernet0/1 (1).

Switch(config-if-range)#nex
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(30), with Switch FastEthernet0/1 (1).
it
Switch(config)#no
Switch(config)#nonnoninte
Switch(config)#interface ra
Switch(config)#interface range fa
Switch(config)#interface range fastEthernet 0/1-13
Switch(config-if-range)#no swit
Switch(config-if-range)#no switchport acc
Switch(config-if-range)#no switchport access v
Switch(config-if-range)#no switchport access vlan 30
Switch(config-if-range)#exit
Switch(config)#inter
Switch(config)#interface ra
Switch(config)#interface range fa
Switch(config)#interface range fastEthernet 0/2-13
Switch(config-if-range)#swit
Switch(config-if-range)#switchport mo
Switch(config-if-range)#switchport mode acc
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#swit
Switch(config-if-range)#switchport acc
Switch(config-if-range)#switchport access vlan
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#interface FastEthernet0/14
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/1
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 40
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(40), with Switch FastEthernet0/1 (1).

Router B

Cisco Internetwork Operating System Software


IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

Cisco 2620 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)

Press RETURN to get started!

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


up
ip address
% Incomplete command.
Router(config-if)#shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


down
no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


up

Router(config-if)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 0/1.10
%Invalid interface type and number
Router(config)#conf
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.10
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet1/0.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.10, changed state


to up

Router(config-subif)#ip
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.30.1 255.255.255.248

% Configuring IP routing on a LAN subinterface is only allowed if that


subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.

Router(config-subif)#no shu
Router(config-subif)#no shutdown
Router(config-subif)#exitend
^
% Invalid input detected at '^' marker.

Router(config-subif)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.10
Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q .10
^
% Invalid input detected at '^' marker.
Router(config-subif)#
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.30.1 255.255.255.248
Router(config-subif)#no sgut
Router(config-subif)#no shu
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.20
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet1/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.20, changed state


to up

Router(config-subif)#enc
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.40.1 255.255.255.248
Router(config-subif)#no sh
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#ip dhc
Router(config)#ip dhcp poo
Router(config)#ip dhcp pool AA
Router(dhcp-config)#ne
Router(dhcp-config)#network 192.168.40.0 255.255.255.248
Router(dhcp-config)#de
Router(dhcp-config)#default-router 192.168.40.1
Router(dhcp-config)#dns se
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#wr
Building configuration...
[OK]
Router#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.40.1.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.40.1.

Router con0 is now available


Press RETURN to get started.

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/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
ip address 192.168.1.2 255.255.255.0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.252
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/1
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
ip address 192.168.2.1 255.255.255.0
Router(config-if)#ip address 192.168.2.1 255.255.255.252
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to
up

Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2
Router(config)#

Switch B

(c) (1) (ii) of the Rights in Technical Data and Computer


Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.


170 West Tasman Drive
San Jose, California 95134-1706

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE


SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team
Image text-base: 0x80008098, data-base: 0x814129C4

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.

24 FastEthernet/IEEE 802.3 interface(s)


2 Gigabit Ethernet/IEEE 802.3 interface(s)

63488K bytes of flash-simulated non-volatile configuration memory.


Base ethernet MAC Address : 0003.E476.AA89
Motherboard assembly number : 73-9832-06
Power supply part number : 341-0097-02
Motherboard serial number : FOC103248MJ
Power supply serial number : DCA102133JA
Model revision number : B0
Motherboard revision number : C0
Model number : WS-C2960-24TT
System serial number : FOC1033Z1EY
Top Assembly Part Number : 800-26671-02
Top Assembly Revision Number : B0
Version ID : V02
CLEI Code Number : COM3K00BRA
Hardware Board Revision Number : 0x01

Switch Ports Model SW Version SW Image


------ ----- ----- ---------- ----------
* 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-M

Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE


SOFTWARE (fc1)
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Wed 12-Oct-05 22:05 by pt_team

Press RETURN to get started!

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to


up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to
up

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to


up

%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to


up

%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to


up

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to


up

Switch>enable
Switch#
Switch#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vlan 10 name BB
VLAN 10 modified:
Name: BB
Switch(vlan)#vlan 20 name AA
VLAN 20 modified:
Name: AA
Switch(vlan)#
Switch(vlan)#exit
APPLY completed.
Exiting....
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface FastEthernet0/1
Switch(config-if)#
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/6
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/5
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/2
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/3
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 10
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/4
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/5
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/6
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/7
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/6
Switch(config-if)#
Switch(config-if)#exit
Switch(config)#interface FastEthernet0/7
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#switchport access vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


up

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


down
%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

Press RETURN to get started.

Router C

Cisco Internetwork Operating System Software


IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

Cisco 2620 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
3 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)

Press RETURN to get started!

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet1/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


up
ip address
% Incomplete command.
Router(config-if)#shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to administratively down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


down
no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to


up

Router(config-if)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 0/1.10
%Invalid interface type and number
Router(config)#conf
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#conf
Router#configure t
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.10
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet1/0.10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.10, changed state


to up

Router(config-subif)#ip
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.30.1 255.255.255.248

% Configuring IP routing on a LAN subinterface is only allowed if that


subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.

Router(config-subif)#no shu
Router(config-subif)#no shutdown
Router(config-subif)#exitend
^
% Invalid input detected at '^' marker.

Router(config-subif)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.10
Router(config-subif)#en
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q .10
^
% Invalid input detected at '^' marker.
Router(config-subif)#
Router(config-subif)#encapsulation dot1Q 10
Router(config-subif)#ip
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.30.1 255.255.255.248
Router(config-subif)#no sgut
Router(config-subif)#no shu
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#inte
Router(config)#interface fa
Router(config)#interface fastEthernet 1/0.20
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet1/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0.20, changed state


to up

Router(config-subif)#enc
Router(config-subif)#encapsulation d
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip add
Router(config-subif)#ip address 192.168.40.1 255.255.255.248
Router(config-subif)#no sh
Router(config-subif)#no shutdown
Router(config-subif)#exit
Router(config)#ip dhc
Router(config)#ip dhcp poo
Router(config)#ip dhcp pool AA
Router(dhcp-config)#ne
Router(dhcp-config)#network 192.168.40.0 255.255.255.248
Router(dhcp-config)#de
Router(dhcp-config)#default-router 192.168.40.1
Router(dhcp-config)#dns se
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 8.8.8.8
Router(dhcp-config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#wr
Building configuration...
[OK]
Router#%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.40.1.
%DHCPD-4-PING_CONFLICT: DHCP address conflict: server pinged 192.168.40.1.

Router con0 is now available


Press RETURN to get started.

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet0/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
ip address 192.168.1.2 255.255.255.0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#ip address 192.168.1.2 255.255.255.252
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/1
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/1, changed state to up
ip address 192.168.2.1 255.255.255.0
Router(config-if)#ip address 192.168.2.1 255.255.255.252
Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/1, changed state to
up

Router(config-if)#exit
Router(config)#interface FastEthernet0/0
Router(config-if)#
Router(config-if)#exit
Router(config)#
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.1
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2
Router(config)#

You might also like