Basic configuration commands for Cisco 3500 series switches

Source: Internet
Author: User

Configure the switch IP address of Catalyst 3524
Directly go to the default VLAN 1 and configure the command as follows:
Interface VLAN1
Ip address 172.16.1.3 255.255.255.0.0
You can.
Control Telnet access in Catalyst
Bluestudy_a (config) # access-list 2 permit 172.16.0.0 0.0.20.255 define the standard access list)
Bluestudy_a (config) # line vty 0 15 enters the telnet port, up to 16 telnet sessions are allowed)
Bluestudy_a (config-line) # access-class 2 in applies the access list defined above, that is, only the CIDR block of 172.16.0.0/16 can implement telnet sessions on the vswitch.
Set the enable password of the vswitch
Bluestudy_a (config) # enable password bluestudy
Bluestudy_a (config) # enable secret bluestudy
The enable secret you have chosen is the same as your enable password.
This is not recommended. Re-enter the enable secret.
NOTE: For the above passwords, secret has a higher priority and takes effect first.
Set console port Password
Bluestudy_a (config) # line con 0
Bluestudy_a (config-line) # password bluestudy
Bluestudy_a (config-line )#
Set the password for telnet:
Bluestudy_a (config) # line vty 0 15
Bluestudy_a (config-line) # login
Bluestudy_a (config-line) # password bluestudy
Bluestudy_a (config-line )#
Set the login user name and password:
Bluestudy_a (config) # username bluestudy password bluestudy
Bluestudy_a (config )#
Bluestudy_a # show running
Current configuration:
!
Version 12.0:
No service pad
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname bluestudy_a
!
Enable secret 5 $1 $ b1mb $ p6XgV/PY9WqvJy9MrHZFG/
Enable password bluestudy
!
Username bluestudy password 0 bluestudy
!
Ip subnet-zero
!
Interface FastEthernet0/1
!
Interface FastEthernet0/2
!
Interface FastEthernet0/3
!
Interface FastEthernet0/4
!
Interface FastEthernet0/5
!
Interface FastEthernet0/6
!
Interface FastEthernet0/24
!
Interface GigabitEthernet0/1
!
Interface GigabitEthernet0/2
!
Interface VLAN1
Ip address 172.16.1.3 255.255.255.0.0
No ip directed-broadcast
No ip route-cache
!
Access-list 2 permit 172.16.0.0 0.0.255.255
!
Line con 0
Password bluestudy
Transport input none
Stopbits 1
Line vty 0 4
Access-class 2 in
Password bluestudy
Login
Line vty 5 15
Access-class 2 in
Password bluestudy
Login
!
End
Bluestudy_a #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.