2013年10月31日星期四

Cisco 2951 Router Configuration

The Cisco C2921-VSEC Series offer unparalleled total cost of ownership savings and network agility through the intelligent integration of market leading security, unified communications, wireless, and application services. The Integrated Services Routers Generation 2 platforms are future-enabled with multi-core CPUs, support for high capacity DSPs (Digital Signal Processors) for future enhanced video capabilities, high powered service modules with improved availability, Gigabit Ethernet switching with enhanced POE, and new energy monitoring and control capabilities while enhancing overall system performance.

Current configuration : 5030 bytes
! Last configuration change at 00:03:16 UTC Wed Jan 12 2011 by cisco
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname yourname
boot-start-marker
boot-end-marker
! card type command needed for slot/vwic-slot 0/0
logging buffered 51200 warnings
no aaa new-model
no ipv6 cef
ip source-route
yourname#en
yourname#sh run
Building configuration...
Current configuration : 5030 bytes
! Last configuration change at 00:03:16 UTC Wed Jan 12 2011 by cisco
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname yourname
boot-start-marker
boot-end-marker
! card type command needed for slot/vwic-slot 0/0
logging buffered 51200 warnings
no aaa new-model
no ipv6 cef
ip source-route
ip cef
ip domain name yourdomain.com
multilink bundle-name authenticated
crypto pki token default removal timeout 0
crypto pki trustpoint TP-self-signed-906767808
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-906767808
revocation-check none
crypto pki certificate chain TP-self-signed-906767808
certificate self-signed 01
quit
voice-card 0
license udi pid CISCO2951/K9 sn FTX1451AM0V
hw-module pvdm 0/0
username cisco privilege 15 secret 5 $1$aUqy$aOjafgL./kGg8ATVSgSqw0
redundancy
interface GigabitEthernet0/0
description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
ip address 10.10.10.1 255.255.255.248
duplex auto
speed auto
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
ip forward-protocol nd
ip http server
ip http access-class 23
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
access-list 23 permit 10.10.10.0 0.0.0.7
nls resp-timeout 1
cpd cr-id 1
control-plane
gatekeeper
shutdown
!
banner exec ^C
% Password expiration warning.
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device
and it provides the default username "cisco" for one-time use. If you have
already used the username "cisco" to login to the router and your IOS image
supports the "one-time" user option, then this username has already expired.
You will not be able to login to the router with this username after you exit
this session.

It is strongly suggested that you create a new username with a privilege level
of 15 using the following command.
username <myuser> privilege 15 secret 0 <mypassword>
Replace <myuser> and <mypassword> with the username and password you want to
use.
-----------------------------------------------------------------------
^C
banner login ^C
-----------------------------------------------------------------------
Cisco Configuration Professional (Cisco CP) is installed on this device.
This feature requires the one-time use of the username "cisco" with the
password "cisco". These default credentials have a privilege level of 15.
YOU MUST USE CISCO CP or the CISCO IOS CLI TO CHANGE THESE PUBLICLY-KNOWN
CREDENTIALS
Here are the Cisco IOS commands.
username <myuser> privilege 15 secret 0 <mypassword>
no username cisco
Replace <myuser> and <mypassword> with the username and password you want
to use.
IF YOU DO NOT CHANGE THE PUBLICLY-KNOWN CREDENTIALS, YOU WILL NOT BE ABLE
TO LOG INTO THE DEVICE AGAIN AFTER YOU HAVE LOGGED OFF.
For more information about Cisco CP please follow the instructions in the
QUICK START GUIDE for your router or go to http://www.cisco.com/go/ciscocp
-----------------------------------------------------------------------
^C
!
line con 0
login local
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet ssh
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet ssh
!
scheduler allocate 20000 1000
end
Is my IOS image out of date? This is what I have:
yourname#dir flash0:
Directory of flash0:/
1 -rw- 57011012 Dec 17 2010 20:14:40 +00:00 c2951-universalk9_npe-mz.SPA.151-2.T2.bin
2 -rw- 2903 Dec 17 2010 20:29:30 +00:00 cpconfig-29xx.cfg
3 -rw- 2941440 Dec 17 2010 20:29:46 +00:00 cpexpress.tar
4 -rw- 1038 Dec 17 2010 20:29:56 +00:00 home.shtml
5 -rw- 115712 Dec 17 2010 20:30:02 +00:00 home.tar
6 -rw- 1697952 Dec 17 2010 20:30:18 +00:00 securedesktop-ios-3.1.1.45-k9.pkg
7 -rw- 415956 Dec 17 2010 20:30:30 +00:00 sslclient-win-1.1.4.176.pkg



For more WS-C3750X-24P-L information please click here

2013年10月29日星期二

How to configure Command-Line Access on Cisco 2911 Router?

Cisco 2900 Series Integrated Services Routers (ISR) have modular design that allows for reuse of a broad array of existing modules that meet business requirements while maximizing investment protection. Among all Cisco 2901-SEC, Cisco 2951 router, Cisco 2921 price and Cisco 2911-SEC are best selling models.
      
line [aux | console | tty | vty] line-number
Router(config)# line console 0
Router(config-line)#
Enters line configuration mode, and specifies the type of line.
This example specifies a console terminal for access.
password password
Router(config)# password 5dr4Hepw3
Router(config-line)#
Specifies a unique password for the console terminal line.
Router(config-line)# login
Router(config-line)#
Enables password checking at terminal session login.
Router(config-line)# exec-timeout 5 30
Router(config-line)#
Sets the interval that the EXEC command interpreter waits until user input is detected. The default is 10 minutes. Optionally, add seconds to the interval value.
This example shows a timeout of 5 minutes and 30 seconds. Entering a timeout of 0 0 specifies never to time out.
Router(config-line)# line vty 0 4
Router(config-line)#
Specifies a virtual terminal for remote console access.
Router(config-line)# password aldf2ad1
Router(config-line)#
Specifies a unique password for the virtual terminal line.
Router(config-line)# login
Router(config-line)#
Enables password checking at the virtual terminal session login.
Router(config-line)# end
Router#
Exits line configuration mode, and returns to privileged EXEC mode.


For more Cisco 2921-SEC information please click here

2013年10月28日星期一

How to configure Power Stack Parameters on Catalyst 3560-X Switch?

Cisco delivers a comprehensive portfolio of switching solutions for Borderless Networks, data centers, and smaller businesses. These solutions are optimized for a wide range of industries, including service providers, financial services, and the public sector. The WS-C3560X-48T-L Series Switches is an enterprise-class lines of stackable and standalone switches.

      
Command
Purpose
Step 1

configure terminal

Enter global configuration mode.

Step 2

stack-power stack power stack name

Enter the stack power stack name and enter power stack configuration mode. The name can be up to 31 characters.

Step 3

mode {power-sharing | redundant} [strict]

Set the operating mode for the power stack:

power-sharing—The input power from all switches in the power stack can be used for loads, and the total available power appears as one huge power supply. This is the default.

redundant—The largest power supply is removed from the power pool to be used as backup power in case one of the other power supplies fails. This is the recommended mode if enough power is available in the system.

strict—(Optional) Configures the power stack mode to run a strict power budget. The stack power needs cannot exceed the available power. The default is non-strict.

Step 4

end

Return to privileged EXEC mode.

Step 5

show stack-power

Verify your entries.

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration file.



For more Cisco WS-C3560X-48T-S information please click here

How to configure LAN Access Layer on Cisco WS-C3750V2-24PS-S switch?

How to configure LAN Access Layer on Cisco WS-C3750V2-24PS-S switch?

Catalyst 3750V2 24 10/100 PoE + 2 SFP Standard Image

The Cisco Catalyst 3750 v2 Series Switches are next-generation energy-efficient Layer 3 Fast Ethernet stackable switches. This new series of switches supports Cisco EnergyWise technology, which enables companies to measure and manage power consumption of network infrastructure and network-attached devices, thereby reducing their energy costs and their carbon footprints. The Cisco Catalyst 3750 v2 Series consumes less power than its predecessors and is the ideal access layer for enterprise, retail, and branch-office environments, as it increases productivity and investment protection by enabling a unified network for data, voice, and video.

service password-encryption
!
hostname A3750X
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$pthq$yU30IFO1CMO61Wy03fCP40
!
username admin password 7 141443180F0B7B7977
!
!
aaa new-model
!
!
aaa authentication login default group radius local
!
!
!
aaa session-id common
clock timezone PST -8
clock summer-time UTC recurring
switch 1 provision ws-c3750x-48p
switch 2 provision ws-c3750x-48p
stack-mac persistent timer 0
system mtu routing 1500
authentication mac-move permit
ip subnet-zero
!
!
ip dhcp snooping vlan 136-137
no ip dhcp snooping information option
ip dhcp snooping
ip domain-name cisco.local
ip arp inspection vlan 136-137
vtp mode transparent
udld aggressive
!
mls qos map policed-dscp 24 26 46 to 0
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos
!


For more Cisco information please click here