CCIE学习(7)——VLAN相关命令汇总
生活随笔
收集整理的這篇文章主要介紹了
CCIE学习(7)——VLAN相关命令汇总
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
●相關操作命令:<?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地址表的相關信息。 2)show interface [interface-id | vlan vlan-id] switchport | trunk]:顯示與接口上VLAN配置相關的信息。 3)show vlan [brief | id vlan-id | name vlan-name | summary]:顯示VLAN的相關信息。 4)show vlan [vlan]:顯示VLAN信息。 5)show vtp status:顯示VTP配置和狀態信息。 6)switchport mode {access | dot1q-tunnel | dynamic {auto | desirable} | trunk}:設置非中繼、中繼以及動態中繼參數。 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}:當端口中繼時設置參數的接口子命令。 9)switchport access vlan vlan-id:靜態配置端口屬于某個VLAN的接口子命令。
?
●VLAN數據庫配置模式和一般配置模式命令列表:| VLAN數據庫配置模式 | 一般配置模式 |
| 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 | ? |
轉載于:https://blog.51cto.com/riser/53001
總結
以上是生活随笔為你收集整理的CCIE学习(7)——VLAN相关命令汇总的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Windows系统中让硬盘更快的九大绝招
- 下一篇: 狼的故事14:必死的狮子