Changes between Version 2 and Version 3 of Internal/OpenFlow/SwitchConfiguration
- Timestamp:
- Jul 7, 2009, 9:36:03 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/SwitchConfiguration
v2 v3 32 32 33 33 == Native VLANs == 34 1. Make a VLAN. name it appropriately. This will be the native VLAN.34 1. Make a VLAN. Name the native VLAN. 35 35 {{{ 36 36 (config)# vlan 1 … … 38 38 !(config-vlan)# exit 39 39 }}} 40 2. Configure ports to be trunk ports, then specify the native VLAN 40 2. Assign static IP address to the interface. we needed to find the switch's IP address 41 {{{ 42 !(config-vlan)# interface vlan 1 43 !(config-if)# ip address 172.16.19.253 255.255.0.0 44 }}} 45 3. Configure ports to be trunk ports, then specify the native VLAN 41 46 {{{ 42 47 !(config)# interface gi 0/48 … … 44 49 !(config-if)# switchport trunk native vlan 1 45 50 }}} 46 3. Specify which VLANs are allowed on the trunk. This includes all VLANs that converge to this trunk, as well as the native VLAN for this trunk. If the port is already made to allow other VLANs, instead of using command `switchport trunk allowed vlan 1,3,27,28` you can just add VLAN 1 by using the `vlan add <vlan ID>` context:51 4. Specify which VLANs are allowed on the trunk. This includes all VLANs that converge to this trunk, as well as the native VLAN for this trunk. If the port is already made to allow other VLANs, instead of using command `switchport trunk allowed vlan 1,3,27,28` you can just add VLAN 1 by using the `vlan add <vlan ID>` context: 47 52 {{{ 48 53 !(config-if)# swi trunk allowed vlan add 1