Home > Database > Mysql Tutorial > 思科3500系列交换机的基本配置命令

思科3500系列交换机的基本配置命令

WBOY
Release: 2016-06-07 15:04:22
Original
2214 people have browsed it

Catalyst 3524 switch IP 地址的配置 直接进入默认的VLAN 1中进行配置命令如下: interface VLAN1 ip address 172.16.1.3 255.255.0.0 即可。 在Catalyst 中控制对Telnet的访问 bluestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定义标

  Catalyst 3524 switch IP 地址的配置

  直接进入默认的VLAN 1中进行配置命令如下:

  interface VLAN1

  ip address 172.16.1.3 255.255.0.0

  即可。

  在Catalyst 中控制对Telnet的访问

  bluestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定义标准的访问列表)

  bluestudy_a(config)#line vty 0 15(进入telnet端口,最多允许16个telnet的会话)

  bluestudy_a(config-line)#access-class 2 in(应用上述定义的访问列表,即只有172.16.0.0/16的网段可以实现对交换机的telnet会话)

  设置交换机的enable 密码

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.
Copy after login

  注:对于如上的密码,secret的优先级更高,优先起作用。

  设置console口密码

bluestudy_a(config)#line con 0
bluestudy_a(config-line)#password bluestudy
bluestudy_a(config-line)#
Copy after login

  设置对telnet的密码:

bluestudy_a(config)#line vty 0 15
bluestudy_a(config-line)#login
bluestudy_a(config-line)#password bluestudy
bluestudy_a(config-line)#
Copy after login

  设置登陆用户名和密码:

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template