This command enables configuration content for OpenFlow Hybrid Switch compatibility.
The no form of the command removes the OpenFlow configuration from the context.
This command creates an OpenFlow switch instance.
The no form of the command deletes the OpenFlow switch instance from the context.
no of-switch
This command enables auxiliary connections for the given H-OFS instance. If enabled, the H-OFS switch sets up a statistics auxiliary channel (Auxiliary ID 1) and a packet-in auxiliary channel (Auxiliary ID 2) for the main connection to every configured OpenFlow controller.
The no form of this command disables auxiliary connections.
no aux-channel-enable
This command allows the user to configure a description string for the specified OpenFlow controller instance.
The no form of this command deletes the description of the specified OpenFlow controller instance.
no description
This command configures the Echo Request interval for monitoring the OpenFlow control channels to the controllers for this OpenFlow switch instance.
The no form of this command restores default value.
echo-interval 10
This command configures the number of consecutive Echo Reply messages that must be lost to declare OF control channel down.
The no form of this command restores default value.
echo-multiple 3
This command configures the flow table parameters for this OpenFlow switch instance.
The no form of this command restores flow table configuration default settings.
no flowtable
This command configures the size for the specified flow table. The OpenFlow switch instance must be shutdown to modify this parameter.
The no form of this command restores the default size.
max-size 1000
This command configures the action for the flow table when a packet does not match any entry for the controller.
The no form of this command restores the default action.
no-match-action fall-through
This command enables OpenFlow switch-defined Flow Table cookie encoding for flowtable 0 that allows multi-service operation.
The no form of the command disables the above function.
no switch-defined-cookie
This command enables status change reporting to the OpenFlow controller for the specified logical port type. To report on multiple logical port types, the command needs to be executed multiple times with different logical port specified as required.
The no form of this command disables status reporting for specified or all (no argument) logical ports.
no logical-port-status
This command configures the OpenFlow controller for this OpenFlow switch and creates a context for the configuration of additional OpenFlow control channel parameters. Up to two controllers can be configured per OpenFlow switch instance.
The no form of this command deletes the controller for this OpenFlow switch instance.
This command configures the use of Transport Layer Security (TLS) on the control channel to a given OpenFlow controller for this OpenFlow switch.
The no form of this command deletes removed TLS from the control channel.
This command specifies the service-id of the VPRN to use for the OpenFlow control channel. The loopback address for the OF control channel in the VPRN is specified using the ofc-loopback option.
The no form of this command reverts the control channel to using base routing.
This command administratively enables or disables the OpenFlow switch instance. Disabling the switch purges all flowtable entries.
shutdown
The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.
Displays OpenFlow switch hybrid information.
This command displays information related to H-OFS configuration and operations as per the parameters specified.
If no parameter is specified, this command displays a summary for H-OFS instances configured.
The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.
This command enables dumping of the OpenFlow information.
This command can be used to dump information for a given OpenFlow switch or its flowtable. Priority and cookie filters are provided no focus on part of a flow table.
Usage examples:
a. tools>dump>open-flow>of-switch ofs-test — This command displays detailed flow information for a given OpenFlow switch. If the switch has switch-defined-cookie enabled, the flows with all cookie-types are displayed.
b. tools>dump>open-flow>of-switch ofs summary — This command displays a summary of each cookie context and the number of flows in it for the switch that has switch-defined-cookie enabled. If switch-defined-cookie is disabled, then the total number of entries is displayed (single context).
c. Options like grt, system, service-id, sap-id, cookie, and priority can be used to limit display entries to the specified options.
sap-id | null | port-id | bundle-id | bpgrp-id | lag-id | aps-id> | |
dot1q | port-id | bundle-id | bpgrp-id | lag-id | aps-id | pw-id>:qtag1 | ||
qinq | port-id | bundle-id | bpgrp-id | lag-id | pw-id>:qtag1.qtag2 | ||
atm | <port-id | aps-id>[:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id] | ||
cp | keyword | ||
conn-prof-id | 1..8000 | ||
frame | port-id | aps-id:dlci | ||
cisco-hdlc | slot/mda/port.channel | ||
cem | slot/mda/port.channel | ||
ima-grp | bundle-id>[:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id] | ||
cp | keyword | ||
conn-prof-id | 1..8000 | ||
port-id | slot/mda/port[.channel] | ||
bundle-id | bundle-<type>-slot/mda.bundle-num | ||
bundle | keyword | ||
type | ima, fr, ppp | ||
bundle-num | 1..336 | ||
bpgrp-id | bpgrp-<type>-<bpgrp-num> | ||
bpgrp | keyword | ||
type | ima, ppp | ||
bpgrp-num | 1..2000 | ||
aps-id | aps-<group-id>[.channel] | ||
aps | keyword | ||
group-id | 1..64 | ||
ccag-id | ccag-id.path-id[cc-type]<cc-id | ||
ccag | keyword | ||
id | 1..8 | ||
path-id | a, b | ||
cc-type | .sap-net, .net-sap | ||
cc-id | 0..4094 | ||
eth-tunnel | eth-tunnel-id[:eth-tun-sap-id] | ||
id | 1..1024 | ||
eth-tun-sap-id | 0..4094 | ||
lag-id | lag-id | ||
lag | keyword | ||
id | 1..800 | ||
pw-id | pw-id | ||
pw | keyword | ||
id | 1..10239 | ||
qtag1 | *, 0..4094 | ||
qtag2 | * | 0..4094 | ||
vpi | 0..4095 (NNI) | ||
0..255 (UNI) | |||
vci | 1, 2, 5..65535 | ||
dlci | 16..1022 | ||
tunnel-id | tunnel-id.private | public:tag | ||
tunnel | keyword | ||
id | 1..16 | ||
tag | 0..4094 |