国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

思科3500系列交換機的基本配置命令

2019-11-05 01:29:09
字體:
來源:轉載
供稿:網友
Catalyst 3524 switch ip 地址的配置

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

interface VLAN1

ip address 172.16.1.3 255.255.0.0

即可。

在Catalyst 中控制對Telnet的訪問

luestudy_a(config)#access-list 2 permit 172.16.0.0 0.0.255.255 (定義標準的訪問列表)

luestudy_a(config)#line vty 0 15(進入telnet端口,最多答應16個telnet的會話)

luestudy_a(config-line)#access-class 2 in(應用上述定義的訪問列表,即只有172.16.0.0/16的網段可以實現對交換機的telnet會話

設置交換機的enable 密碼

luestudy_a(config)#enable passWord bluestudy

luestudy_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.

注:對于如上的密碼,secret的優先級更高,優先起作用。

設置console口密碼

luestudy_a(config)#line con 0

luestudy_a(config-line)#password bluestudy

luestudy_a(config-line)#

設置對telnet的密碼:

luestudy_a(config)#line vty 0 15

luestudy_a(config-line)#login

luestudy_a(config-line)#password bluestudy

luestudy_a(config-line)#

設置登陸用戶名和密碼:

luestudy_a(config)#username bluestudy password bluestudy

luestudy_a(config)#

luestudy_a#show running

Current configuration:

!

version 12.0

o service pad

ervice timestamps debug uptime

ervice timestamps log uptime

o 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.0.0

o ip directed-broadcast

o ip route-cache

!

access-list 2 permit 172.16.0.0 0.0.255.255

!

line con 0

assword bluestudy

transport input none

topbits 1

line vty 0 4

access-class 2 in

assword bluestudy

login

line vty 5 15

access-class 2 in

assword bluestudy

login

!

end

luestudy_a#

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 疏附县| 马尔康县| 临潭县| 龙里县| 天峻县| 宝兴县| 雅安市| 陕西省| 瑞昌市| 巫溪县| 高州市| 滁州市| 舒城县| 亳州市| 华亭县| 玉树县| 成安县| 元氏县| 靖边县| 德钦县| 苏州市| 九寨沟县| 凤阳县| 邵阳县| 海门市| 泰兴市| 汝城县| 延边| 手游| 武安市| 凤山市| 黑河市| 霍邱县| 隆德县| 师宗县| 丹棱县| 武清区| 铁岭县| 台州市| 襄城县| 滕州市|