国产探花免费观看_亚洲丰满少妇自慰呻吟_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#

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 山阳县| 伊金霍洛旗| 黄浦区| 封开县| 榆社县| 始兴县| 佳木斯市| 阳新县| 米易县| 美姑县| 揭西县| 项城市| 长垣县| 永安市| 和林格尔县| 武宁县| 会宁县| 通渭县| 永春县| 平安县| 安丘市| 乌鲁木齐县| 江口县| 海淀区| 周宁县| 噶尔县| 梅河口市| 宣城市| 长沙县| 隆安县| 陆丰市| 冕宁县| 华蓥市| 乐至县| 黎川县| 临猗县| 宜宾市| 灵山县| 亚东县| 米泉市| 四平市|