Manage the SDN Switch
The switch is accessible using the IPMI network or the SDN network. Therefore you have to connect to a host which can access one of those two networks.
telnet 10.1.0.14 OR telnet 10.1.3.14
If you log in as operator, you are in the most save mode where you can e.g. print the configuration or the current status.
This operator-mode is signed by
!PFS1> as prompt.
To switch to the administrator-mode execute the command
enable and you will see
!PFS1# as a prompt. In this mode additional commands are available. To go back enter
From the administrator-mode you can enter the configure-mode where you can set the switch configuration. Therefore enter
configure within an administrator-mode. In this mode you have different commands available which are e.g. sub-menus of the configuration (backwards using
top). You can leave the configure-mode with
? prints always possible commands at the current mode (see above).
||list flow tables|
||list information like connection status to the sdn controller|
||show current network connections|
||list vlans with current status (Up/Down)|
||show details about vlan 1200|
Task: Set allowed VLANs on a switch port
- Change to configure mode.
> enable # configure
- Define the VLANs
(config)# vlan 1200-1710
- 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 ]
Task: Set Ports controlled by OpenFlow
(config)# openflow openflow-id 1 (config-of)# openflow-interface remove tengigabitethernet 0/50