DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enters the openflow configuration mode.openflow
Example:
RP/0/RSP0/CPU0:router(config)# openflow
Step 2
Enters the logical switch configuration mode. For L2-only
switch, the pipeline number is 129.
switch switch -id pipeline pipeline-number
Example:
RP/0/RSP0/CPU0:router(config-openflow)# switch
1 pipeline 129
Step 3
Enters the TLS configuration mode. Configures the local and
remote trustpoints.
tls trust-point local local-tp-name remote
remote-tp-name
Example:
RP/0/RSP0/CPU0:router(config-openflow-switch)#
tls trust-point local tp1 remote tp2
Step 4
Configures the bridge-domain for the openflow switch. For
layer2, the bridge-domain can be configured in the openflow
bridge-group SDN-id bridge-domain switch-id
Example:
RP/0/RSP0/CPU0:router (config-openflow) #
bridge-group SDN-1 bridge-domain of2
Step 5
switch and the interfaces of the bridge-domain will be learnt
by the openflow switch.
Configures the Openflow controller for the logical switch.
controller ipv4 ip-address security [tls | none]
Step 6
Example:
RP/0/RSP0/CPU0:router(config-openflow-switch)#
controller ipv4 5.0.1.1 port 6633 security
tls
Configures the Openflow controller for the logical switch. Once
the controller command is entered, a connection to the
OpenFlow controller is started for the logical switch. The tls
keyword enables the TLS connection, whereas the none
keyword enables the TCP connection.
The OpenFlow Agent can connect to a single
Controller or up to 8 Controllers. Repeat this step if
you need to configure additional Controllers. An
openflow switch can communicate to multiple
controllers ( the support for high-availability is a
controller functionality).
Note
Adds the Layer 2 logical switch configuration for the OpenFlow
agent to the running configuration.
commit
Example:
RP/0/RSP0/CPU0:router(logical-switch)# commit
Step 7
commit
Step 8
Cisco ASR 9000 Series Aggregation Services Router System Management Configuration Guide, Release 5.1.x
288
Implementing Open Flow Agent
Configuring a Layer 2 Logical Switch for the OpenFlow Agent