Basic configuration commands for Cisco 3500 series switches

Source: Internet
Author: User
The Catalyst3524switchIP address is configured directly in the default VLAN1. The configuration command is as follows: interfacevlan1ipaddress172.16.1.32.16255.255.0.0. Controlling access to Telnet in a Catalyst bluestudy_a (config) # access-list2permit172.16.0.00.0.255.255 (defining labels

The configuration of the switch IP address of Catalyst 3524 directly enters the default VLAN 1. The configuration command is as follows: interface VLAN1 ip address 172.16.1.3 255.255.0.0. Control Telnet access in the Catalyst bluestudy_a (config) # access-list 2 permit 172.16.0.0 0.0.255.255 (definition mark

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.255.255 (define the standard access list)

Bluestudy_a (config) # line vty 0 15 (enter the telnet port and allow up to 16 telnet sessions)

Bluestudy_a (config-line) # access-class 2 in (applying the access list defined above, that is, only the network segment 172.16.0.0/16 can implement telnet sessions on the switch)

Set the enable password of the vswitch

bluestudy_a(config)#enable password bluestudybluestudy_a(config)#enable secret bluestudyThe 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 0bluestudy_a(config-line)#password bluestudybluestudy_a(config-line)#

Set the password for telnet:

bluestudy_a(config)#line vty 0 15bluestudy_a(config-line)#loginbluestudy_a(config-line)#password bluestudybluestudy_a(config-line)#

Set the login user name and password:

Bluestudy_a (config) # username bluestudy password bluestudybluestudy_a (config) # bluestudy_a # show runningCurrent configuration :! Version 12.0no service padservice timestamps debug uptimeservice timestamps log uptimeno 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 VLAN1ip address 172.16.1.3 255.255.0.0no ip directed-broadcastno ip route-cache! Access-list 2 permit 172.16.0.0 0.0.255.255! Line con 0 password bluestudytransport input nonestopbits 1 line vty 0 4access-class 2 inpassword bluestudyloginline vty 5 15access-class 2 inpassword bluestudylogin! Endbluestudy_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.