meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| network:switches:cisco:cli:vlan [2024/07/18 13:22] – niziak | network:switches:cisco:cli:vlan [2024/08/19 12:42] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== vlan ====== | ====== vlan ====== | ||
| - | |||
| ===== VLAN ===== | ===== VLAN ===== | ||
| Line 34: | Line 33: | ||
| no switchport access vlan | no switchport access vlan | ||
| end | end | ||
| + | </ | ||
| + | |||
| + | ==== put one port in VLAN ==== | ||
| + | |||
| + | < | ||
| + | conf term | ||
| + | interface Gi1/48 | ||
| + | switchport access vlan 28 | ||
| + | end | ||
| + | wr | ||
| </ | </ | ||
| Line 62: | Line 71: | ||
| < | < | ||
| + | sh int vlan 28 | ||
| + | |||
| Vlan28 is up, line protocol is down | Vlan28 is up, line protocol is down | ||
| </ | </ | ||
| Line 85: | Line 96: | ||
| wr | wr | ||
| </ | </ | ||
| + | |||
| + | Also solution switch all other ports to trunks | ||
| + | |||
| + | < | ||
| + | C3560G-2(config)# | ||
| + | C3560G-2(config)# | ||
| + | C3560G-2(config)# | ||
| + | C3560G-2(config-if-range)# | ||
| + | C3560G-2(config-if-range)# | ||
| + | C3560G-2(config-if-range)# | ||
| + | </ | ||
| + | |||
| + | ??? So 48 was already in trunk mode, so it looks that switch needs 2 trunk ports UP to put vlan28 up ? | ||
| + | |||
| + | |||