Vous êtes sur la page 1sur 24

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


export@cisco.com.

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)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: 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 :
####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
HWIC Slot 0 0x00200000
HWIC Slot 1 0x00200000 Onboard devices &
buffer pools 0x01E8F000
-----------------------------------------------
TOTAL: 0x02E8F000
Rounded IOMEM up to: 48Mb.
Using 6 percent iomem. [48Mb/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


export@cisco.com.

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


Processor board ID FTX152400KS
2 Gigabit Ethernet interfaces
4 Low-speed serial(sync/async) network interface(s)
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)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started!


Router>en
Router>enable
Router#
Router#confi
Router#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname R2
R2(config)#
R2(config)#
R2(config)#user
R2(config)#username Group6 secr
R2(config)#username Group6 secret 12345
R2(config)#ena
R2(config)#enable secr
R2(config)#enable secret 12345
R2(config)#line cons
R2(config)#line console 0
R2(config-line)#login loca
R2(config-line)#login local
R2(config-line)#line vty 0 15
R2(config-line)#pas
R2(config-line)#password 12345
R2(config-line)#login
R2(config-line)#exit
R2(config)#ban
R2(config)#banner mot
R2(config)#banner motd &
Enter TEXT message. End with the character '&'.
**************Router Two*********************&

R2(config)#inter
R2(config)#interface ser
R2(config)#interface serial 0/1/1
R2(config-if)#ip ad
R2(config-if)#ip address 192.168.1.6 255.255.255.252
R2(config-if)#no shu
R2(config-if)#no shutdown

R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/1, changed state to up

R2(config-if)#
R2(config-if)#do write
Building configuration...
[OK]
R2(config-if)#
R2(config-if)#int g0/0
R2(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to up

R2(config-if)#ip ad
R2(config-if)#ip address 192.168.5.1 255.255.255.0
R2(config-if)#no shu
R2(config-if)#no shutdown

R2(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

R2(config-if)#
R2(config-if)#
R2(config-if)#do write
Building configuration...
[OK]
R2(config-if)#int g0/1
R2(config-if)#ip ad
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shu
R2(config-if)#no shutdown

R2(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

R2(config-if)#
R2(config-if)#
R2(config-if)#do write
Building configuration...
[OK]
R2(config-if)#
R2(config-if)#
R2(config-if)#
//////////////////////////////////////////////
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


export@cisco.com.

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)

--- System Configuration Dialog ---

Would you like to enter the initial configuration dialog? [yes/no]: n

Press RETURN to get started!

Router>
Router>ena
Router>enable
Router#
Router#
Router#confi
Router#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host
Router(config)#hostname ROUTER1
ROUTER1(config)#use
ROUTER1(config)#username Group6 secr
ROUTER1(config)#username Group6 secret 12345
ROUTER1(config)#ena
ROUTER1(config)#enable secr
ROUTER1(config)#enable secret 12345
ROUTER1(config)#
ROUTER1(config)#line
ROUTER1(config)#line con
ROUTER1(config)#line console 0
ROUTER1(config-line)#login loca
ROUTER1(config-line)#login local
ROUTER1(config-line)#
ROUTER1(config-line)#line vty 0 15
ROUTER1(config-line)#pas
ROUTER1(config-line)#password 12345
ROUTER1(config-line)#login
ROUTER1(config-line)#login
ROUTER1(config-line)#
ROUTER1(config-line)#exit
ROUTER1(config)#ba
ROUTER1(config)#banner mo
ROUTER1(config)#banner motd &
Enter TEXT message. End with the character '&'.
*****************DHCP ROUTER****************&

ROUTER1(config)#do writ
ROUTER1(config)#do wr
Building configuration...
[OK]
ROUTER1(config)#
ROUTER1(config)#
ROUTER1(config)#inter
ROUTER1(config)#interface g
ROUTER1(config)#interface gigabitEthernet 0/0
ROUTER1(config-if)#ip ad
ROUTER1(config-if)#exit
ROUTER1(config)#ip
ROUTER1(config)#ip dh
ROUTER1(config)#ip dhcp exc
ROUTER1(config)#ip dhcp excluded-address 192.168.0.1 192.168.0.10
ROUTER1(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
ROUTER1(config)#do write
Building configuration...
[OK]
ROUTER1(config)#
ROUTER1(config)#ip dh
ROUTER1(config)#ip dhcp po
ROUTER1(config)#ip dhcp pool VLAN10
ROUTER1(dhcp-config)#netw
ROUTER1(dhcp-config)#network 192.168.1.0 255.255.255.0
ROUTER1(dhcp-config)#def
ROUTER1(dhcp-config)#default-router 192.168.1.1
ROUTER1(dhcp-config)#dns
ROUTER1(dhcp-config)#dns-server 209.165.200.225
ROUTER1(dhcp-config)#dom
ROUTER1(dhcp-config)#domain-name asu.edu.com
ROUTER1(dhcp-config)#lea
ROUTER1(dhcp-config)#lease 2
^
% Invalid input detected at '^' marker.

ROUTER1(dhcp-config)#do write
ROUTER1(dhcp-config)#?
default-router Default routers
dns-server Set name server
domain-name Domain name
exit Exit from DHCP pool configuration mode
network Network number and mask
no Negate a command or set its defaults
option Raw DHCP options
ROUTER1(dhcp-config)#exit
ROUTER1(config)#le
ROUTER1(config)#lease 2
^
% Invalid input detected at '^' marker.
ROUTER1(config)#
ROUTER1(config)#
ROUTER1(config)#do write
Building configuration...
[OK]
ROUTER1(config)#
ROUTER1(config)#
ROUTER1(config)#ip dh
ROUTER1(config)#ip dhcp po
ROUTER1(config)#ip dhcp pool20
^
% Invalid input detected at '^' marker.

ROUTER1(config)#ip dh
ROUTER1(config)#ip dhcp po
ROUTER1(config)#ip dhcp pool 20
ROUTER1(dhcp-config)#ip dhcp pool VLAN20
ROUTER1(dhcp-config)#netw
ROUTER1(dhcp-config)#network 192.168.0.0 255.255.255.0
ROUTER1(dhcp-config)#def
ROUTER1(dhcp-config)#default-router 192.168.0.1
ROUTER1(dhcp-config)#dns
ROUTER1(dhcp-config)#dns-server 209.165.200.225
ROUTER1(dhcp-config)#dom
ROUTER1(dhcp-config)#domain-name asu.edu.com
ROUTER1(dhcp-config)#lease 2
^
% Invalid input detected at '^' marker.

ROUTER1(dhcp-config)#
ROUTER1(dhcp-config)#exit
ROUTER1(config)#do write
Building configuration...
[OK]
ROUTER1(config)#
ROUTER1(config)#
ROUTER1(config)#

///////////////////////////////////////////////////////////////////////////////////// VLAN
CONFIGURATION//////////////////////////////

AT Swich1(fIRST)
Switch>
Switch>
Switch>ena
Switch>enable
Switch#
Switch#confi
Switch#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#
Switch(config)#
Switch(config)#vlan 10
Switch(config-vlan)#nam
Switch(config-vlan)#name lab1
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name lab2
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name lab3
Switch(config-vlan)#do write
Building configuration...
[OK]
Switch(config-vlan)#
Switch(config-vlan)#
Switch(config-vlan)#
Switch(config-vlan)#exit

Switch(config)#interface range fastEthernet 0/1-2


Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#int range f0/3-4
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#int range f0/5-6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#do wr
Building configuration...
[OK]
Switch(config-if-range)#
Switch(config-if-range)#
Switch(config-if-range)#exit
Switch(config)#
Switch(config)#
Switch(config)#
Switch(config)#do sho
Switch(config)#do show vlan

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 lab1 active Fa0/1, Fa0/2
20 lab2 active Fa0/3, Fa0/4
30 lab3 active Fa0/5, Fa0/6
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

Remote SPAN VLANs


------------------------------------------------------------------------------

Primary Secondary Type Ports


------- --------- ----------------- ------------------------------------------
We are now going to create communication (to carry communication from first to second)
We use trunk
Switch(config)#
Switch(config)#interface range gigabitEthernet 0/1-2
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
down
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to
up

Switch(config-if-range)#
Switch(config-if-range)#switchport trunk native vlan 5
Switch(config-if-range)#
Switch(config-if-range)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/1 (5), with Switch GigabitEthernet0/1 (1).
do wr
Building configuration...
[OK]
Switch(config-if-range)#do show vlan

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/2
10 lab1 active Fa0/1, Fa0/2
20 lab2 active Fa0/3, Fa0/4
30 lab3 active Fa0/5, Fa0/6
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
--More--
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/1 (5), with Switch GigabitEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (5), with S1 GigabitEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (5), with S1 GigabitEthernet0/1 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/1 (5), with S1 GigabitEthernet0/1 (1).

////////////////////////////////////////MIDDLE SWITCH CONFIGURATION/ i.e


3////////////////////////////////////
Switch>
Switch>
Switch>ena
Switch>enable
Switch#
Switch#
Switch#
Switch#confi
Switch#configure
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#
Switch(config)#
Switch(config)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/1 (1), with Switch GigabitEthernet0/1 (5).

Switch(config)#
Switch(config)#
Switch(config)#host
Switch(config)#hostname S1
S1(config)#interface range fastEthernet 0/1-24
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#switchport trunk native vlan
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/1 (1), with Switch GigabitEthernet0/1 (5).

% Incomplete command.
S1(config-if-range)#switchport trunk native vlan 5
S1(config-if-range)#
S1(config-if-range)#do write
Building configuration...
[OK]
S1(config-if-range)#
S1(config-if-range)#exit
S1(config)#interface range gigabitEthernet 0/1-2
S1(config-if-range)#switchport mode trunk
S1(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to
down

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


up

S1(config-if-range)#
S1(config-if-range)#switchport trunk native vlan
S1(config-if-range)#switchport trunk native vlan 5
S1(config-if-range)#
S1(config-if-range)#do wr
Building configuration...
[OK]
S1(config-if-range)#
S1(config-if-range)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
GigabitEthernet0/2 (5), with Switch GigabitEthernet0/2 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/2 (5), with Switch GigabitEthernet0/2 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


GigabitEthernet0/2 (5), with Switch GigabitEthernet0/2 (1).

S1(config-if-range)#
S1(config-if-range)#
S1(config-if-range)#
S1(config-if-range)#exit
S1(config)#
S1(config)#
S1(config)#vlan 10
S1(config-vlan)#name lab1
S1(config-vlan)#vlan 20
S1(config-vlan)#name lab2
S1(config-vlan)#vlan 30
S1(config-vlan)#name lab3
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#do wr
Building configuration...
[OK]
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#
S1(config-vlan)#
NBAnd we can configure the second switch with the same as the first switch command

Vous aimerez peut-être aussi