... | @@ -36,15 +36,20 @@ tbd |
... | @@ -36,15 +36,20 @@ tbd |
|
|
|
|
|
#### Set allowed VLANs on a switch port
|
|
#### Set allowed VLANs on a switch port
|
|
1. Change to configure mode.
|
|
1. Change to configure mode.
|
|
|
|
|
|
```
|
|
```
|
|
> enable
|
|
> enable
|
|
# configure
|
|
# configure
|
|
```
|
|
```
|
|
|
|
|
|
2. Define the VLANs
|
|
2. Define the VLANs
|
|
|
|
|
|
```
|
|
```
|
|
(config) vlan 1200-1710
|
|
(config) vlan 1200-1710
|
|
```
|
|
```
|
|
|
|
|
|
3. For each port add allowed VLANs (e.g. 0/25)
|
|
3. For each port add allowed VLANs (e.g. 0/25)
|
|
|
|
|
|
```
|
|
```
|
|
(config) interface gigabitethernet 0/25
|
|
(config) interface gigabitethernet 0/25
|
|
[ (config-if) show ]
|
|
[ (config-if) show ]
|
... | | ... | |