... | ... | @@ -36,7 +36,7 @@ tbd |
|
|
|
|
|
### configure mode
|
|
|
|
|
|
#### Set allowed VLANs on a switch port
|
|
|
__Task: Set allowed VLANs on a switch port__
|
|
|
1. Change to configure mode.
|
|
|
|
|
|
```
|
... | ... | @@ -47,16 +47,21 @@ tbd |
|
|
2. Define the VLANs
|
|
|
|
|
|
```
|
|
|
(config) vlan 1200-1710
|
|
|
(config)# vlan 1200-1710
|
|
|
```
|
|
|
|
|
|
3. For each port add allowed VLANs (e.g. 0/25)
|
|
|
|
|
|
```
|
|
|
(config) interface gigabitethernet 0/25
|
|
|
[ (config-if) show ]
|
|
|
(config-if) switchport trunk allowed vlan add 1200-1710
|
|
|
(config-if) write
|
|
|
[ (config-if) top ]
|
|
|
(config)# interface gigabitethernet 0/25
|
|
|
[ (config-if)# show ]
|
|
|
(config-if)# switchport trunk allowed vlan add 1200-1710
|
|
|
(config-if)# write
|
|
|
[ (config-if)# top ]
|
|
|
```
|
|
|
|
|
|
__Task: Set Ports controlled by OpenFlow__
|
|
|
```
|
|
|
(config)# openflow openflow-id 1
|
|
|
(config-of)# openflow-interface remove tengigabitethernet 0/50
|
|
|
``` |
|
|
\ No newline at end of file |