CCIE学习(7)——VLAN相关命令汇总
生活随笔
收集整理的這篇文章主要介紹了
CCIE学习(7)——VLAN相关命令汇总
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
●相關(guān)操作命令:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 1)show mac address-table [aging-time | count | dynamic | static] [address hw-addr] [interface interface-id] [vlan vlan-id]:顯示MAC地址表的相關(guān)信息。 2)show interface [interface-id | vlan vlan-id] switchport | trunk]:顯示與接口上VLAN配置相關(guān)的信息。 3)show vlan [brief | id vlan-id | name vlan-name | summary]:顯示VLAN的相關(guān)信息。 4)show vlan [vlan]:顯示VLAN信息。 5)show vtp status:顯示VTP配置和狀態(tài)信息。 6)switchport mode {access | dot1q-tunnel | dynamic {auto | desirable} | trunk}:設(shè)置非中繼、中繼以及動(dòng)態(tài)中繼參數(shù)。 7)switchport nonegotiate:屏蔽DTP消息的接口子命令(接口必須配置為trunk或access端口)。 8)switchport trunk {allowed vlan vlan-list} | {encapsulation {dot1q | isl | negotiate}} | {native vlan vlan-id} | {pruning vlan vlan-list}:當(dāng)端口中繼時(shí)設(shè)置參數(shù)的接口子命令。 9)switchport access vlan vlan-id:靜態(tài)配置端口屬于某個(gè)VLAN的接口子命令。
?
●VLAN數(shù)據(jù)庫(kù)配置模式和一般配置模式命令列表:| VLAN數(shù)據(jù)庫(kù)配置模式 | 一般配置模式 |
| vtp {domain domain-name | password password | pruning | v2-mode | {server | client | transparent}} | vtp {domain domain-name | file filename | interface name | mode {client | server | transparent} | password password | pruning | version number} |
| vlan vlan-id [backupcrf {enable | disable}] [mtu mtu-size] [name vlan-name] [parent parent-vlan-id] [state {suspend | active}] | vlan vlan-id |
| show {current | proposed | difference} | ? |
| apply | abort | reset | ? |
轉(zhuǎn)載于:https://blog.51cto.com/riser/53001
總結(jié)
以上是生活随笔為你收集整理的CCIE学习(7)——VLAN相关命令汇总的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Windows系统中让硬盘更快的九大绝招
- 下一篇: 狼的故事14:必死的狮子