Changes between Initial Version and Version 1 of Internal/OpenFlow/SwitchConfiguration


Ignore:
Timestamp:
Jul 1, 2009, 9:46:01 PM (15 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/SwitchConfiguration

    v1 v1  
     1= Configuring the NEC Switch =
     2Here is a list of configurations that are useful for this topic. There are configuration guides but they might not be too useful, as they are all in Japanese.
     3
     4== Overview ==
     5All configuration steps assume privelaged mode. [BR]
     6The configuration for the following topics are covered here:
     7 
     8 * Relay agent
     9 * Trunks
     10 * Native VLANs
     11
     12== Native VLANs ==
     13 1. Make a VLAN. name it appropriately. This will be the native VLAN. 
     14{{{
     15(config)# vlan 1
     16(config-vlan)# name "Network"
     17!(config-vlan)# exit
     18}}}
     19 2. Configure ports to be trunk ports, then specify the native VLAN
     20{{{
     21!(config)# interface gi 0/48
     22!(config-if)# switchport mode trunk
     23!(config-if)# switchport trunk native vlan 1
     24}}}
     25 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. Since this port had already been assigned other allowed 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:
     26{{{
     27!(config-if)# swi trunk allowed vlan add 1
     28}}}
     29so now the configurations for port 0/48 look like this:
     30{{{
     31!(config-if)# sh
     32interface gigabitethernet 0/48
     33  switchport mode trunk
     34  switchport trunk allowed vlan 1,3,27-28
     35  switchport trunk native vlan 1
     36!
     37}}}