cisco-cheat-sheet
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cisco-cheat-sheet [2022/08/07 09:40] – created baumi | cisco-cheat-sheet [2024/03/30 09:24] (current) – [Delete VLAN] baumi | ||
---|---|---|---|
Line 19: | Line 19: | ||
< | < | ||
configure terminal | configure terminal | ||
- | vlan 100 Description | + | vlan database |
+ | vlan <nn> name < | ||
+ | end | ||
</ | </ | ||
Line 25: | Line 27: | ||
< | < | ||
configure terminal | configure terminal | ||
- | no vlan 100 | + | vlan database |
+ | no vlan <nn> | ||
</ | </ | ||
+ | |||
+ | ==== Assign VLAN to Access Port ==== | ||
+ | < | ||
+ | configure terminal | ||
+ | interface gi6 | ||
+ | switchport access vlan 100 | ||
+ | </ | ||
+ | |||
+ | ==== Add VLAN to Trunk Port ==== | ||
+ | < | ||
+ | configure terminal | ||
+ | interface gi1 | ||
+ | switchport trunk allowed vlan add 100 | ||
+ | </ | ||
+ | |||
+ | ==== Remove VLAN from Trunk Port ==== | ||
+ | < | ||
+ | configure terminal | ||
+ | interface gi1 | ||
+ | switchport trunk allowed vlan remove 100 | ||
+ | </ | ||
+ | |||
{{tag>kb cisco}} | {{tag>kb cisco}} |
cisco-cheat-sheet.1659858018.txt.gz · Last modified: 2022/08/07 09:40 by baumi