偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

詳細介紹路由器交換機設置命令

網(wǎng)絡 路由交換
可能很多人對路由器交換機設置還不是特別的了解,這里我們主要介紹路由器交換機設置命令,在這里拿出來和大家分享一下,希望對大家有用。

了解一些路由器交換機設置還是非常有幫助的,于是我研究了一下路由器交換機設置命令,在這里拿出來和大家分享一下,希望對大家有用。,交換機支持的命令:

路由器交換機設置基本狀態(tài):

switch: ;ROM狀態(tài), 路由器是rommon>
hostname> ;用戶模式
hostname# ;特權模式
hostname(config)# ;全局配置模式
hostname(config-if)# ;接口狀態(tài)

路由器交換機設置口令設置:

switch>enable ;進入特權模式
switch#config terminal ;進入全局配置模式
switch(config)#hostname  ;設置交換機的主機名
switch(config)#enable secret xxx ;設置特權加密口令
switch(config)#enable password xxa ;設置特權非密口令
switch(config)#line console 0 ;進入控制臺口
switch(config-line)#line vty 0 4 ;進入虛擬終端
switch(config-line)#login ;允許登錄
switch(config-line)#password xx ;設置登錄口令xx
switch#exit ;返回命令

路由器交換機設置VLAN設置:

switch#vlan database ;進入VLAN設置
switch(vlan)#vlan 2 ;建VLAN 2
switch(vlan)#no vlan 2 ;刪vlan 2
switch(config)#int f0/1 ;進入端口1
switch(config-if)#switchport access vlan 2 ;當前端口加入vlan 2
switch(config-if)#switchport mode trunk ;設置為干線
switch(config-if)#switchport trunk allowed vlan 1,2 ;設置允許的vlan
switch(config-if)#switchport trunk encap dot1q ;設置vlan 中繼
switch(config)#vtp domain  ;設置發(fā)vtp域名
switch(config)#vtp password  ;設置發(fā)vtp密碼
switch(config)#vtp mode server ;設置發(fā)vtp模式
switch(config)#vtp mode client ;設置發(fā)vtp模式

路由器交換機設置IP地址:

switch(config)#interface vlan 1 ;進入vlan 1
switch(config-if)#ip address   ;設置IP地址
switch(config)#ip default-gateway  ;設置默認網(wǎng)關
switch#dir flash: ;查看閃存

路由器交換機設置顯示命令:

switch#write ;保存配置信息
switch#show vtp ;查看vtp配置信息
switch#show run ;查看當前配置信息
switch#show vlan ;查看vlan配置信息
switch#show interface ;查看端口信息
switch#show int f0/0 ;查看指定端口信息  

路由器顯示命令:

router#show run ;顯示配置信息
router#show interface ;顯示接口信息
router#show ip route ;顯示路由信息
router#show cdp nei ;顯示鄰居信息
router#reload   ;重新起動

路由器口令設置:

router>enable ;進入特權模式
router#config terminal ;進入全局配置模式
router(config)#hostname  ;設置交換機的主機名
router(config)#enable secret xxx ;設置特權加密口令
router(config)#enable password xxb ;設置特權非密口令
router(config)#line console 0 ;進入控制臺口
router(config-line)#line vty 0 4 ;進入虛擬終端
router(config-line)#login ;要求口令驗證
router(config-line)#password xx ;設置登錄口令xx
router(config)#(Ctrl+z) ; 返回特權模式
router#exit ;返回命令

責任編輯:王曉東 來源: 計世網(wǎng)
相關推薦

2009-10-15 16:04:49

路由器變交換機

2010-03-11 14:46:49

無線交換機

2011-09-02 10:26:56

2009-12-17 16:15:00

CCNP交換機設置

2010-07-02 13:47:43

設置交換機SSH

2009-11-26 09:56:39

Cisco路由器配置命交換機配置命令

2009-12-03 13:24:46

路由器交換機區(qū)別

2017-06-01 14:33:04

交換機路由器網(wǎng)絡設備

2011-03-24 14:05:14

Nagios監(jiān)控

2009-11-27 10:22:13

交換機和路由器

2009-11-27 09:44:21

Cisco路由器交換機

2011-09-13 14:06:03

2009-12-03 11:43:30

路由器交換機區(qū)別

2013-01-28 10:13:27

交換機路由器路由功能

2013-02-26 10:29:47

交換機系統(tǒng)優(yōu)化

2010-01-12 09:36:07

華為路由器交換機

2010-01-12 09:03:30

華為路由器交換機配置

2009-12-03 09:31:55

交換機路由器 功能

2014-06-05 14:36:53

SDN交換機服務器

2013-05-20 14:10:13

Cisco路由器交換機
點贊
收藏

51CTO技術棧公眾號