gv天堂gv无码男同在线,欧美视频你懂的,毛片一级毛片毛片一级一级毛毛片,亚洲黄色视频免费播放,满18岁免费看的尤物视频,日本欧美三级片免费看,亚洲综合伊人影视在线播放

  • 首 頁
  • 采購(gòu)市場(chǎng)
  • 企業(yè)查詢
  • 營(yíng)銷建站
  • 營(yíng)銷推廣
  • 行業(yè)資訊
  • 發(fā)布信息
  • 思科交換機(jī)的所有命令?

    懸賞分:20|
    思科交換機(jī)的所有命令,盡量詳細(xì)點(diǎn)。
    知識(shí)庫(kù)標(biāo)簽: |列兵
    Switch>enable //一般模式
    Switch#configure terminal //特權(quán)模式
    Enter configuration commands, one per line. End with CNTL/Z.
    Switch(config)#interface fastEthernet 0/2 //進(jìn)入端口
    Switch(config-if)#switchport mode access //該端口設(shè)置成二層模式
    Switch(config-if)#switchport access vlan 10 //劃入VLAN10
    Switch#show vlan //類似一張身份證
    為最佳答案評(píng)分?
    100% (1)
    不好 0% (0)
    (目前有 1 個(gè)人評(píng)價(jià))

    其 他 回 答共6條

    1樓

    百度思科的手冊(cè)。。。
    知識(shí)庫(kù)標(biāo)簽: |列兵

    2樓


    1. 交換機(jī)支持的命令:
    交換機(jī)基本狀態(tài):
    switch: ;ROM狀態(tài), 路由器是rommon>
    hostname> ;用戶模式
    hostname# ;特權(quán)模式
    hostname(config)# ;全局配置模式
    hostname(config-if)# ;接口狀態(tài)
    交換機(jī)口令設(shè)置:
    switch>enable ;進(jìn)入特權(quán)模式
    switch#config terminal ;進(jìn)入全局配置模式
    switch(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名
    switch(config)#enable secret xxx ;設(shè)置特權(quán)加密口令
    switch(config)#enable password xxa ;設(shè)置特權(quán)非密口令
    switch(config)#line console 0 ;進(jìn)入控制臺(tái)口
    switch(config-line)#line vty 0 4 ;進(jìn)入虛擬終端
    switch(config-line)#login ;允許登錄
    switch(config-line)#password xx ;設(shè)置登錄口令xx
    switch#exit ;返回命令
    交換機(jī)VLAN設(shè)置:
    switch#vlan database ;進(jìn)入VLAN設(shè)置
    switch(vlan)#vlan 2 ;建VLAN 2
    switch(vlan)#no vlan 2 ;刪vlan 2
    switch(config)#int f0/1 ;進(jìn)入端口1
    switch(config-if)#switchport access vlan 2 ;當(dāng)前端口加入vlan 2
    switch(config-if)#switchport mode trunk ;設(shè)置為干線
    switch(config-if)#switchport trunk allowed vlan 1,2 ;設(shè)置允許的vlan
    switch(config-if)#switchport trunk encap dot1q ;設(shè)置vlan 中繼
    switch(config)#vtp domain ;設(shè)置發(fā)vtp域名
    switch(config)#vtp password ;設(shè)置發(fā)vtp密碼
    switch(config)#vtp mode server ;設(shè)置發(fā)vtp模式
    switch(config)#vtp mode client ;設(shè)置發(fā)vtp模式
    交換機(jī)設(shè)置IP地址:
    switch(config)#interface vlan 1 ;進(jìn)入vlan 1
    switch(config-if)#ip address ;設(shè)置IP地址
    switch(config)#ip default-gateway ;設(shè)置默認(rèn)網(wǎng)關(guān)
    switch#dir flash: ;查看閃存
    交換機(jī)顯示命令:
    switch#write ;保存配置信息
    switch#show vtp ;查看vtp配置信息
    switch#show run ;查看當(dāng)前配置信息
    switch#show vlan ;查看vlan配置信息
    switch#show interface ;查看端口信息
    switch#show int f0/0 ;查看指定端口信息
    知識(shí)庫(kù)標(biāo)簽: |列兵

    3樓


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

    交換機(jī)口令設(shè)置: switch>enable ;進(jìn)入特權(quán)模式switch#config terminal ;進(jìn)入全局配置模式switch(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名switch(config)#enable secret xxx ;設(shè)置特權(quán)加密口令switch(config)#enable password xxa ;設(shè)置特權(quán)非密口令switch(config)#line console 0 ;進(jìn)入控制臺(tái)口switch(config-line)#line vty 0 4 ;進(jìn)入虛擬終端switch(config-line)#login ;允許登錄switch(config-line)#password xx ;設(shè)置登錄口令xxswitch#exit ;返回命令
    交換機(jī)VLAN設(shè)置:
    switch#vlan database ;進(jìn)入VLAN設(shè)置switch(vlan)#vlan 2 ;建VLAN 2switch(vlan)#no vlan 2 ;刪vlan 2switch(config)#int f0/1 ;進(jìn)入端口1switch(config-if)#switchport access vlan 2 ;當(dāng)前端口加入vlan 2switch(config-if)#switchport mode trunk ;設(shè)置為干線switch(config-if)#switchport trunk allowed vlan 1,2 ;設(shè)置允許的vlanswitch(config-if)#switchport trunk encap dot1q ;設(shè)置vlan 中繼switch(config)#vtp domain ;設(shè)置發(fā)vtp域名switch(config)#vtp password ;設(shè)置發(fā)vtp密碼switch(config)#vtp mode server ;設(shè)置發(fā)vtp模式switch(config)#vtp mode client ;設(shè)置發(fā)vtp模式
    交換機(jī)設(shè)置IP地址:
    switch(config)#interface vlan 1 ;進(jìn)入vlan 1switch(config-if)#ip address ;設(shè)置IP地址switch(config)#ip default-gateway ;設(shè)置默認(rèn)網(wǎng)關(guān)switch#dir flash: ;查看閃存
    交換機(jī)顯示命令:
    switch#write ;保存配置信息switch#show vtp ;查看vtp配置信息switch#show run ;查看當(dāng)前配置信息switch#show vlan ;查看vlan配置信息switch#show interface ;查看端口信息switch#show int f0/0 ;查看指定端口信息
    2. 路由器支持的命令:
    路由器顯示命令:
    router#show run ;顯示配置信息router#show interface ;顯示接口信息router#show ip route ;顯示路由信息router#show cdp nei ;顯示鄰居信息router#reload ;重新起動(dòng)
    路由器口令設(shè)置:
    router>enable ;進(jìn)入特權(quán)模式router#config terminal ;進(jìn)入全局配置模式router(config)#hostname ;設(shè)置交換機(jī)的主機(jī)名router(config)#enable secret xxx ;設(shè)置特權(quán)加密口令router(config)#enable password xxb ;設(shè)置特權(quán)非密口令router(config)#line console 0 ;進(jìn)入控制臺(tái)口router(config-line)#line vty 0 4 ;進(jìn)入虛擬終端router(config-line)#login ;要求口令驗(yàn)證router(config-line)#password xx ;設(shè)置登錄口令xxrouter(config)#(Ctrl+z) ; 返回特權(quán)模式router#exit ;返回命令
    路由器配置:
    router(config)#int s0/0 ;進(jìn)入Serail接口router(config-if)#no shutdown ;激活當(dāng)前接口router(config-if)#clock rate 64000 ;設(shè)置同步時(shí)鐘router(config-if)#ip address ;設(shè)置IP地址router(config-if)#ip address second ;設(shè)置第二個(gè)IProuter(config-if)#int f0/0.1 ;進(jìn)入子接口router(config-subif.1)#ip address ;設(shè)置子接口IProuter(config-subif.1)#encapsulation dot1q ;綁定vlan中繼協(xié)議router(config)#config-register 0x2142 ;跳過配置文件router(config)#config-register 0x2102 ;正常使用配置文件router#reload ;重新引導(dǎo)
    路由器文件操作:
    router#copy running-config startup-config ;保存配置router#copy running-config tftp ;保存配置到tftprouter#copy startup-config tftp ;開機(jī)配置存到tftprouter#copy tftp flash: ;下傳文件到flashrouter#copy tftp startup-config;下載配置文件ROM狀態(tài):
    Ctrl+Break ;進(jìn)入ROM監(jiān)控狀態(tài)
    rommon>confreg 0x2142 ;跳過配置文件
    rommon>confreg 0x2102 ;恢復(fù)配置文件
    rommon>reset ;重新引導(dǎo)
    rommon>copy xmodem: flash: ;從console傳輸文件
    rommon>IP_ADDRESS=10.65.1.2 ;設(shè)置路由器IP
    rommon>IP_SUBNET_MASK=255.255.0.0 ;設(shè)置路由器掩碼
    rommon>TFTP_SERVER=10.65.1.1 ;指定TFTP服務(wù)器IP
    rommon>TFTP_FILE=c2600.bin ;指定下載的文件
    rommon>tftpdnld ;從tftp下載
    rommon>dir flash: ;查看閃存內(nèi)容
    rommon>boot ;引導(dǎo)IOS
    靜態(tài)路由:
    ip route ;命令格式router(config)#ip route 2.0.0.0 255.0.0.0 1.1.1.2 ;靜態(tài)路由舉例router(config)#ip route 0.0.0.0 0.0.0.0 1.1.1.2 ;默認(rèn)路由舉例
    動(dòng)態(tài)路由:
    router(config)#ip routing ;啟動(dòng)路由轉(zhuǎn)發(fā)router(config)#router rip ;啟動(dòng)RIP路由協(xié)議。router(config-router)#network ;設(shè)置發(fā)布路由router(config-router)#negihbor ;點(diǎn)對(duì)點(diǎn)幀中繼用。
    幀中繼命令:
    router(config)#frame-relay switching ;使能幀中繼交換router(config-s0)#encapsulation frame-relay ;使能幀中繼router(config-s0)#fram-relay lmi-type cisco ;設(shè)置管理類型router(config-s0)#frame-relay intf-type DCE ;設(shè)置為DCErouter(config-s0)#frame-relay dlci 16 ;router(config-s0)#frame-relay local-dlci 20 ;設(shè)置虛電路號(hào)router(config-s0)#frame-relay interface-dlci 16 ;router(config)#log-adjacency-changes ;記錄鄰接變化router(config)#int s0/0.1 point-to-point ;設(shè)置子接口點(diǎn)對(duì)點(diǎn)router#show frame pvc ;顯示永久虛電路router#show frame map ;顯示映射
    基本訪問控制列表:
    router(config)#access-list permit|deny router(config)#interface ;default:deny anyrouter(config-if)#ip access-group in|out ;default:out例1:
    router(config)#access-list 4 permit 10.8.1.1
    router(config)#access-list 4 deny 10.8.1.0 0.0.0.255
    router(config)#access-list 4 permit 10.8.0.0 0.0.255.255
    router(config)#access-list 4 deny 10.0.0.0 0.255.255.255
    router(config)#access-list 4 permit any
    router(config)#int f0/0
    router(config-if)#ip access-group 4 in
    擴(kuò)展訪問控制列表: access-list permit|deny icmp wild>[type]access-list permit|deny tcp wild>[port]例3:router(config)#access-list 101 deny icmp any 10.64.0.2 0.0.0.0 echorouter(config)#access-list 101 permit ip any anyrouter(config)#int s0/0router(config-if)#ip access-group 101 in例3:router(config)#access-list 102 deny tcp any 10.65.0.2 0.0.0.0 eq 80router(config)#access-list 102 permit ip any anyrouter(config)#interface s0/1router(config-if)#ip access-group 102 out
    刪除訪問控制例表:
    router(config)#no access-list 102
    router(config-if)#no ip access-group 101 in
    路由器的nat配置
    Router(config-if)#ip nat inside ;當(dāng)前接口指定為內(nèi)部接口Router(config-if)#ip nat outside ;當(dāng)前接口指定為外部接口Router(config)#ip nat inside source static [p] <私有IP><公網(wǎng)IP> [port]Router(config)#ip nat inside source static 10.65.1.2 60.1.1.1Router(config)#ip nat inside source static tcp 10.65.1.3 80 60.1.1.1 80Router(config)#ip nat pool p1 60.1.1.1 60.1.1.20 255.255.255.0Router(config)#ip nat inside source list 1 pool p1Router(config)#ip nat inside destination list 2 pool p2Router(config)#ip nat inside source list 2 interface s0/0 overloadRouter(config)#ip nat pool p2 10.65.1.2 10.65.1.4 255.255.255.0 type rotaryRouter#show ip nat translationrotary 參數(shù)是輪流的意思,地址池中的IP輪流與NAT分配的地址匹配。overload參數(shù)用于PAT 將內(nèi)部IP映射到一個(gè)公網(wǎng)IP不同的端口上。
    外部網(wǎng)關(guān)協(xié)議配置:
    routerA(config)#router bgp 100routerA(config-router)#network 19.0.0.0routerA(config-router)#neighbor 8.1.1.2 remote-as 200
    配置PPP驗(yàn)證:
    RouterA(config)#username password RouterA(config)#int s0RouterA(config-if)#ppp authentication {chap|pap}
    3.PIX防火墻命令
    Pix525(config)#nameif ethernet0 outside security0 ;命名接口和級(jí)別Pix525(config)#interface ethernet0 auto ;設(shè)置接口方式Pix525(config)#interface ethernet1 100full ;設(shè)置接口方式Pix525(config)#interface ethernet1 100full shutdownPix525(config)#ip address inside 192.168.0.1 255.255.255.0Pix525(config)#ip address outside 133.0.0.1 255.255.255.252Pix525(config)#global (if_name) natid ip-ip ;定義公網(wǎng)IP區(qū)間Pix525(config)#global (outside) 1 7.0.0.1-7.0.0.15 ;例句Pix525(config)#global (outside) 1 133.0.0.1 ;例句Pix525(config)#no global (outside) 1 133.0.0.1 ;去掉設(shè)置Pix525(config)#nat (if_name) nat_id local_ip [netmark]Pix525(config)#nat (inside) 1 0 0內(nèi)網(wǎng)所有主機(jī)(0代表0.0.0.0)可以訪問global 1指定的外網(wǎng)。Pix525(config)#nat (inside) 1 172.16.5.0 255.255.0.0內(nèi)網(wǎng)172.16.5.0/16網(wǎng)段的主機(jī)可以訪問global 1指定的外網(wǎng)。Pix525(config)#route if_name 0 0 gateway_ip [metric] ;命令格式Pix525(config)#route outside 0 0 133.0.0.1 1 ;例句Pix525(config)#route inside 10.1.0.0 255.255.0.0 10.8.0.1 1 ;例句Pix525(config)#static (inside, outside) 133.0.0.1 192.168.0.8表示內(nèi)部ip地址192.168.0.8,訪問外部時(shí)被翻譯成133.0.0.1全局地址。Pix525(config)#static (dmz, outside) 133.0.0.1 172.16.0.8中間區(qū)域ip地址172.16.0.8,訪問外部時(shí)被翻譯成133.0.0.1全局地址。
    知識(shí)庫(kù)標(biāo)簽: |列兵

    4樓


    登陸到交換機(jī),然后打“?”就會(huì)顯示出來
    知識(shí)庫(kù)標(biāo)簽: 交換機(jī)   |列兵

    5樓


    9999個(gè)字不夠?qū)?。?/div>
    知識(shí)庫(kù)標(biāo)簽: |列兵

    我來回答這個(gè)問題

    立即登陸回答獲取會(huì)員積分,提高用戶級(jí)別