Cisco Enhanced Device Interface User Guide, 2.2
Translating Commands Using Commands Translator
Downloads: This chapterpdf (PDF - 406.0KB) The complete bookPDF (PDF - 2.66MB) | Feedback

Translating Commands Using Command Translator

Table Of Contents

Translating Commands Using Command Translator

Components Used

Prerequisites

Launching Command Translator

Using the Command Translator

Untranslated CatOS Commands


Translating Commands Using Command Translator


Cisco EDI Command Translator enables you to translate Cisco Catalyst Operating System (CatOS) configurations to equivalent supported Cisco IOS® configurations.

This is because configuration management and network migration systems, need differentiated configuration applications to handle complex network transitions.

The Command Translator provides targeted Cisco IOS configuration for a given CatOS configuration file. This application enables network administrators who have expertise in CatOS configuration commands to learn Cisco IOS configuration commands.

The Command Translator increases productivity, even if you are not familiar with the Cisco IOS configuration commands.

Feature
Benefit

QoS command output based on module presence on the device.

Helps to learn QoS configuration commands based upon various module QoS configurations.

Edit CatOS configurations

Allows you to simultaneously edit changes to CatOS configuration files in order to compare Cisco IOS.


This section has the following topics:

Components Used

Prerequisites

Launching Command Translator

Using the Command Translator

Untranslated CatOS Commands

Components Used

The information in this document is based on these software and hardware versions:

CatOS version 8.5.1 and earlier

Cisco IOS Software Release 12.2.18SXF3

Cisco IOS Software Release 12.2.18.SXF5


Note If your network is live, make sure that you understand the potential impact of any command.


Prerequisites

Complete these key steps in order to plan a migration from CatOS to Cisco IOS:

Verify the hardware and software support for the new system:

Cisco IOS images typically require larger amounts of flash memory.

Use the release notes in order to verify the line card and feature set support in the target image.

Understand these operational differences:

System image name conventions and boot file locations

Management network interfaces

QoS behavior

VLAN Trunking Protocol

Launching Command Translator

Command Translator is packaged with Cisco E-DI, and will be available after you have installed Cisco E-DI. To install Cisco E-DI, see:

Installation Guide and Setup Guide for Enhanced Device Interface, 2.2 on Windows

Installation Guide and Setup Guide for Enhanced Device Interface, 2.2 on Linux


Note Before you start Command Translator, ensure that the EDI Service is running.
To start this service:
On Windows, go to Start > Programs > Cisco E-DI > E-DI Service > Start.
On Linux, navigate to E-DI Install Location /Cisco-EDI/bin and enter ./start at the command prompt.


Before you launch Command Translator: These steps are optional.


Step 1 Go to the command prompt and navigate to your Eclipse folder (where eclipse.exe resides).

Step 2 Run the command eclipse -clean

This ensures that the cache is cleaned.


Follow these steps to launch Command Translator:


Step 1 On Windows:

Choose Start > Programs > Cisco E-DI > E-DI Service > Device Configuration Manager.

Or

Navigate to the directory E-DI Install Location\Cisco EDI\edi\dist\ui_products\configmanager and double-click on launcher .exe.

On Linux:

Navigate to E-DI Install Location/Cisco EDI/edi/dist/ui_products/configmanager and enter ./launcher

Step 2 E-DI prompts you to log in to the E-DI server.

By default, DCM connects to the port 2323 on the server.

If the server Telnet port is not 2323, you should change this value in the eclipse.ini file. This file is located in the following location:

On Windows: E-DI Install Location\edi\dist\ui_products\configmanager.

On Linux: E-DI Install Location/edi/dist/ui_products/configmanager

Step 3 After you log in, Device Configuration Manager opens. This has three perspectives (which appear as buttons):

Config Manager (default perspective, which is highlighted.)

Macro Command Manager

Command Translator

Step 4 Click Command Translator.

The Command Translator perspective opens.


Using the Command Translator

You can load the configuration file into Command Translator translate a CatOS configuration into a Cisco IOS configuration.

To do this:


Step 1 Launch Command Translator. See Launching Command Translator.

Step 2 From the Main Menu, select Translator > Open File to open the configuration file that you want to translate.

The file appears in the left pane.

Step 3 Select the source OS version from the Source OS drop-down box.

Step 4 Select the target OS from the Target OS drop-down box.

If you need to add hardware related information that is required for the translation, click on Include Show Module Output. A text box appears and you can paste or enter your hardware related information into this box.

Step 5 Select and output format that is displayed as ordered or line by line. Even after the translation is complete, you can toggle between the line by line format and the ordered format.

Step 6 Click the Translate button.

Step 7 The translated configuration appears in the right pane.

Green color indicates commands that are properly translated.

Red color indicates the commands that are not properly translated.


Untranslated CatOS Commands

This section contains a list of the CatOS commands which are not translated by the Command Translator.

set authorization <enable |commands |exec> disable [<both |console |telnet>]
set authorization <enable |commands |exec> <enable|config|all> 
<if-authenticated|none|tacacs+> 
-----------------------------------------------------------------------------------
set boot auto-config <device:file_name> [<mod>]
-----------------------------------------------------------------------------------
set boot device <bootdevice[:bootdevice-qualifier]>[,bootdevice[:bootdevice-qualifier]] [ 
-----------------------------------------------------------------------------------
set boot config-register auto-config sync <enable|disable>
set boot config-register auto-config <recurring|non-recurring> [<mod>]
set boot config-register auto-config <append|overwrite>
set boot config-register baud <9600|4800|38400|19200> [<mod>]
set boot config-register boot <bootflash|rommon|system> [<mod>]
set boot config-register ignore-config <enable|disable> [<mod>]
set boot config-register <value> <mod>
-----------------------------------------------------------------------------------
set boot sync now
set boot sync timer <time>
-----------------------------------------------------------------------------------
set boot system flash <device:file_name> prepend [<mod>]
-----------------------------------------------------------------------------------
set cam <dynamic> <mac_address> <port-list> [<vlan>]
-----------------------------------------------------------------------------------
set cam dynamic filter <mac_address> <vlan> @vasu
-----------------------------------------------------------------------------------
set cam notification added <enable|disable> <port-list>
set cam notification removed <enable|disable> <port-list>
set cam notification threshold <enable|disable>
set cam notification threshold interval <120..4294967295>
set cam notification threshold limit <0..100>
set cam notification historysize <0..500>
set cam notification interval <time>
-----------------------------------------------------------------------------------
set cdp version v1
set cdp format device-id <mac-address|other>
-----------------------------------------------------------------------------------
set config acl nvram
-----------------------------------------------------------------------------------
set config checkpoint device <device>
set config checkpoint name <name> device <device>
set config checkpoint
-----------------------------------------------------------------------------------
set config rollback <name>
-----------------------------------------------------------------------------------
set config mode binary
set config mode text nvram
set config mode text <device:file-id>
set config mode text auto-save <enable|disable>
set config mode text auto-save interval <time-min>
-----------------------------------------------------------------------------------
set errdisable-timeout <enable|disable>
[ bcast-suppression |
cam-monitor |
crossbar-fallback |
duplex-mismatch |
gl2pt-ingress-loop |
gl2pt-threshold-exceed |
gl2pt-cdp-threshold-exceed|
gl2pt-stp-threshold-exceed|
gl2pt-vtp-threshold-exceed|
link-inerrors |
link-rxcrc |
link-txcrc |
packet-buffer-error |
other |
all ]
-----------------------------------------------------------------------------------
set errordetection inband <enable|disable>
-----------------------------------------------------------------------------------
set errordetection link-errors <enable|disable>
set errordetection link-errors action <errordisable|port-failover>
set errordetection link-errors interval <time>
-----------------------------------------------------------------------------------
set errordetection link-errors threshold <inerrors|rxcrc|txcrc> [[high <value>] low 
<value>]
set errordetection link-errors threshold <inerrors|rxcrc|txcrc> [[low <value>] high 
<value>]
-----------------------------------------------------------------------------------
set errordetection link-errors sampling <count>
-------------------------------------------------------------------------------
set errordetection memory <enable|disable>
-----------------------------------------------------------------------------------
set errordetection portcounters <enable|disable>
-----------------------------------------------------------------------------------
set interface sc0 dhcp <release|renew>
set interface <sc1|sl0> <up|down>
set interface <sc1> [<vlan>] <<<ip_addr> [<ip_mask>]> | <<ip_addr/ip_mask> 
[<bcast_addr>]>>
set interface trap <sc1|sl0> <enable|disable>
set interface sl0 <slip_addr> <ip_addr>
-----------------------------------------------------------------------------------
set ip fragmentation <enable|disable>
set ip permit redirect <enable|disable>
set ip unreachable <enable|disable>
-----------------------------------------------------------------------------------
set lcperroraction <ignore|operator|system>
-----------------------------------------------------------------------------------
set localuser authentication <disable|enable>
-----------------------------------------------------------------------------------
set logging callhome <enable|disable>
set logging callhome severity <0..7>
set logging level <all | acl | callhome | cdp | cops | dhcp-snooping |
diag | dtp | dvlan | earl | ethc | filesys | gl2pt |
gvrp | ip | kernel | ld | mcast | mgmt | mls | protfilt |
pruning | privatevlan | qos | radius | rsvp | security |
snmp | spantree | sys | tac | tcp | telnet | tftp |
trace | udld | vmps | vtp> <1..7> [default]
set logging <session |telnet> <enable|disable>
-----------------------------------------------------------------------------------
set module autoshut <enable |disable> <mod>
set module name <mod> [ <name> ]
set module shutdown <all |<mod>>
-----------------------------------------------------------------------------------
set protocolfilter <enable|disable>
-----------------------------------------------------------------------------------
set pvlan <primary_vlan> <secondary_vlan> sc0
-----------------------------------------------------------------------------------
set qos acl default-action trust-override <enable |disable>
set qos acl default-action ip <trust-cos |trust-dscp |trust-ipprec | <dscp <0..63>>>
[[microflow <micro_policer_name>] aggregate <agg_policer_name>] [input |output]
set qos acl default-action mac <<dscp <dscp>> | trust-cos>
[aggregate <agg_policer_name>] [input |output]
set qos acl mac <acl-name> <<dscp <dscp>> |trust-cos>
[aggregate <agg_policer_name>]
< any | <mac_address> | host <mac_address> >
< any | <mac_address> | host <mac_address> >
[ <0x0, 0x05ff - 0xffff> |
aarp | banyan-vines-echo | dec-mop-dump | dec-mop-remote-console |
dec-phase-iv | dec-lat | dec-diagnostic-protocol | dec-lavc-sca |
dec-amber | dec-mumps | dec-lanbridge | dec-dsm | dec-netbios |
dec-msdos | ethertalk | ipv4 | ipx-arpa | xerox-ns-idp ]
[vlan <vlan>] [cos <cos>] [capture] [before | modifiy <position>]
-----------------------------------------------------------------------------------
set qos autoqos
set qos cos-cos-map <cos1> <cos2> <cos3> <cos4> <cos5> <cos6> <cos7> <cos8>
set qos mac-cos <mac_addr> <vlan_list> <cos>
set qos policy-source <cops|local>
set qos rsvp <disable|enable>
set qos rsvp local-policy <forward|reject>
set qos rsvp policy-timeout <1-65535>
-----------------------------------------------------------------------------------
set port qos <port-list> autoqos trust <cos|dscp>
set port qos <port-list> autoqos voip <ciscoipphone|ciscosoftphone>
set port qos <port-list> policy-source <cops|local>
set port qos <port-list> trust-device <ciscoipphone|none>
-----------------------------------------------------------------------------------
set rspan disable <source|destination> session <session-num>
-----------------------------------------------------------------------------------
set security acl adjacency <name> <vlan> <dest_mac_address>
[[<src_mac_address>] mtu <size>]
-----------------------------------------------------------------------------------
set security acl cram auto [<sec>]
set security acl cram <run|testrun>
-----------------------------------------------------------------------------------
set security acl statistics < all | <acl-name> >
set security acl feature ratelimit <rate>
set security acl log maxflow <flows>
-----------------------------------------------------------------------------------
set security acl arp-inspection address-validation enable [drop [log]]
set security acl arp-inspection address-validation disable
-----------------------------------------------------------------------------------
set security acl ip <acl-name> <eapoudp |url-redirect> [<before |modify> <position>]
set security acl ip <acl-name> <permit |deny> arp-inspection [log] [<before|modify> 
<position>]
set security acl ip <acl-name> <permit |deny> auto-fragment
-----------------------------------------------------------------------------------
set security acl map <acl_name> <port-list> [ statistics <enable |disable> ]
-----------------------------------------------------------------------------------
set snmp community-ext <community_string> <read-only|read-write|read-write-all>
[view <name>] [ access <number> ]
set snmp inform <<hostname> | <ip-address> > <recvr-comm-string>
[port <port>] index <index>
set snmp rmon <enable|disable>
set snmp trap <enable |disable>
[<$trap = autoshutdown |callhomestp |entityfru |inlinepower |ippermit
|l2tunnel |linkerrhigh |linkerrlow | |noauthfailvlan
|noguestvlan |redundancy |system |sysinfolog |vmps>]
set snmp community <read-only|read-write|read-write-all>
set snmp community read-write-all <string>
set snmp community index < <indexname> | "-hex <hexformat>" >
name < <comm-string> | "-hex <hexformat>" >
security < <sec-string> | "-hex <hexformat>" >
[context < <context-string> | "-hex <hexformat>" > ]
[volatile|nonvolatile]
[transporttag < [<tag-value>]+ | "-hex [<hexformat>"]+ >]
set snmp targetaddr < <addrname> | "-hex <hexformat>" >
param < <paramname> | "-hex <hexformat>" > <ip_addr>
[ ipmask < <value> | "-hex <hexformat>" > ]
[ maxmsgsize <value> ] [ retries <value> ] [ timeout <value> ]
[ volatile|novolatile] [taglist [<tag> | "-hex <hexvalue>"]+ ]
notes: need "show snmp targetaddr" output
set snmp access < <groupname> | "-hex <hexformat>" > security-model
v3 <authentication|noauthentication|privacy>
context < <groupname> | "-hex <hexformat>" > prefix
[notify < <groupname> | "-hex <hexformat>" >]
[read < <groupname> | "-hex <hexformat>" >]
[write < <groupname> | "-hex <hexformat>" >]
[volatile|nonvalatile]
set snmp notify < <notifyname> | "-hex <hexformat>" >
tag < <notifytag> | "-hex <hexformat>" >
[<inform|trap> <volatile|novolatile>]
notes: need "show snmp notify" output
set snmp extendedrmon netflow <enable|disable> <mod>
set snmp alias <ifIndex> <ifAlias>
set snmp rmonmemory <0..100>
-----------------------------------------------------------------------------------
set span permit-list <enable|disable>
set span permit-list <port-list> <include|exclude>
-----------------------------------------------------------------------------------
set spantree bpdu-filter <port_list> default
set spantree bpdu-guard <port_list> default
set spantree bpdu-skewing <port_list> <enable|disable>
set spantree channelvlancost <channel_id> <cost>
set spantree defaultcostmode <short|long>
set spantree enable mistp-instance all
set spantree enable mistp-instance <mistp_instance_list>
set spantree fwddelay <fwd_delay 4..30> mistp-instance <mistp_instance_list>
set spantree hello <hello 1..10> mistp-instance <mistp_instance_list>
set spantree link-type <port_list> auto
set spantree maxage <maxage 6..40> mistp-instance <mistp_instance_list>
set spantree mode <mistp|mistp-pvst+>
set spantree mst link-type <port_list> auto
set spantree portinstancecost <port_list> cost <cost> <mistp_instance_list>
set spantree portinstancecost <port_list> <mistp_instance_list>
set spantree portinstancecost <port_list> cost <cost>
set spantree portinstancepri <port_list> <priority> <mistp_instance_list>
set spantree portinstancepri <port_list> <priority>
set spantree priority <priority> mistp <instance_list mistp>
set spantree priority <priority>
set spantree root mistp-instance <mistp_instance> [dia <diameter>] [hello <hello_time 
1..10>]
-----------------------------------------------------------------------------------
set system syslog-dump <enable|disable>
set system syslog-file <device:file_name>
set system countrycode [ <code> ]
set system crossbar-fallback <bus-mode|none>
set system highavailability versioning <enable|disable>
set system info-log command <command> [ <position> ]
set system info-log <disable|enable>
set system info-log interval <interval>
set system info-log <ftp|tftp> < <ip_addr> | <name> > <file>
set system info-log rcp <username> < <ip_addr> | <name> > <file>
set system modem <enable|disable>
set system profile <enable|disable> <mod>
set system profile <device:file_name>
set system redundancy-history <size>
set system supervisor-update [automatic|disable|force]
set system highavailability disable
-----------------------------------------------------------------------------------
set time <day_of_week>
set time <hh:mm:ss>
set time <mm/dd/yy>
-----------------------------------------------------------------------------------
set trunk <port-list> [<none | <vlan>] [<on|off|desirable|auto|nonegotiate>] 
[<dot10|lane>]
-----------------------------------------------------------------------------------
set vlan <vlan_list> [pvlan-type none] [ring <0x3EE .. 0xFFF>] [mistp-instance <<instance 
1..set vlan <vlan-list> firewall-vlan <mod 1..9,15..16> msfc-fwsm-interface
set vlan verify-port-provisioning <enable|disable>
-----------------------------------------------------------------------------------
set vtp primary [vlan|mst] [force]
set vtp pruneeligible <vlan>
set vtp version 3
set vtp mode <client|off|server|transparent> <vlan|mst|unknown>
set vtp passwd <passwd> <hidden|secret>
-----------------------------------------------------------------------------------
set cops domain-name <domain-name>
set cops reconnect [diff-serv |rsvp]
set spantree enable mistp-instance <mistp_instance_list>
set spantree fwddelay <fwd_delay 4..30> mistp-instance <mistp_instance_list>
set spantree hello <hello 1..10> mistp-instance <mistp_instance_list>
set spantree link-type <port_list> auto
set spantree maxage <maxage 6..40> mistp-instance <mistp_instance_list>
set spantree mode <mistp|mistp-pvst+>
set spantree mst link-type <port_list> auto
set spantree portinstancecost <port_list> cost <cost> <mistp_instance_list>
set spantree portinstancecost <port_list> <mistp_instance_list>
set spantree portinstancecost <port_list> cost <cost>
set spantree portinstancepri <port_list> <priority> <mistp_instance_list>
set spantree portinstancepri <port_list> <priority>
set spantree priority <priority> mistp <instance_list mistp>
set spantree priority <priority>
set spantree root mistp-instance <mistp_instance> [dia <diameter>] [hello <hello_time 
1..10>]
-----------------------------------------------------------------------------------
set system syslog-dump <enable|disable>
set system syslog-file <device:file_name>
set system countrycode [ <code> ]
set system crossbar-fallback <bus-mode|none>
set system highavailability versioning <enable|disable>
set system info-log command <command> [ <position> ]
set system info-log <disable|enable>
set system info-log interval <interval>
set system info-log <ftp|tftp> < <ip_addr> | <name> > <file>
set system info-log rcp <username> < <ip_addr> | <name> > <file>
set system modem <enable|disable>
set system profile <enable|disable> <mod>
set system profile <device:file_name>
set system redundancy-history <size>
set system supervisor-update [automatic|disable|force]
set system highavailability disable
-----------------------------------------------------------------------------------
set time <day_of_week>
set time <hh:mm:ss>
set time <mm/dd/yy>
-----------------------------------------------------------------------------------
set trunk <port-list> [<none | <vlan>] [<on|off|desirable|auto|nonegotiate>] 
[<dot10|lane>]
-----------------------------------------------------------------------------------
set vlan <vlan_list> [pvlan-type none] [ring <0x3EE .. 0xFFF>] [mistp-instance <<instance 
1..set vlan <vlan-list> firewall-vlan <mod 1..9,15..16> msfc-fwsm-interface
set vlan verify-port-provisioning <enable|disable>
-----------------------------------------------------------------------------------
set vtp primary [vlan|mst] [force]
set vtp pruneeligible <vlan>
set vtp version 3
set vtp mode <client|off|server|transparent> <vlan|mst|unknown>
set vtp passwd <passwd> <hidden|secret>
-----------------------------------------------------------------------------------
set cops domain-name <domain-name>
set cops reconnect [diff-serv |rsvp]
set cops retry-interval <initial> <increment> <maximum>
set cops server <ip_address> [<1-65535>] [rsva] [primary] [diff-serv]
-----------------------------------------------------------------------------------
set dot1x radius-accounting <enable|disable>
set dot1x radius-keepalive <enable|disable>
set dot1x radius-vlan-assignment <enable|disable>
set dot1x shutdown-timeout <0..65535>
set dot1x vlan-group <group-name> <vlan-list>
-----------------------------------------------------------------------------------
set feature <agg-link-partner|mdg> <disable|enable>
-----------------------------------------------------------------------------------
set gmrp [fwdall] <enable|disable> [<port-list>]
set gmrp registration <fixec|forbidden|normal> <port-list>
set gmrp timer all <join-value> <leave-value> <leaveall-value>
set gmrp timer join <time>
set gmrp timer <leave>
set gmrp timer <leaveall>
-----------------------------------------------------------------------------------
set igmp leave-query-type <auto-mode | general-query | mac-gen-query>
set igmp querier <vlan-list> <value>
-----------------------------------------------------------------------------------
set mls cef per-prefix-stats <enable|disable>
set mls nde version 1
set mls netflow-entry-create <enable|disable> <vlan-list>
set mls netflow-per-interface <enable|disable>
set mls rate <rate>
set mls statistics protocol <ip|ipnip|icmp|igmp|tcp|udp|<0..255>>
<dns|ftp|smtp|telnet|x|www|<1..65535>>
-----------------------------------------------------------------------------------
set msfcautostate <enable|disable>
set msfcautostate exclude <port-list>
set msfcautostate track <enable|disable> <vlan>
set msfcautostate track <port-list>
-----------------------------------------------------------------------------------
set ntp timezone [<hours> [<minutes>]]
set ntp timezone <zone_name>
set timezone <hours> [<minutes>]
set ntp key <public_keynum> trusted md4 <secret_keystring>
set ntp key <public_keynum> untrusted [md5 <secret_keystring>]
-----------------------------------------------------------------------------------
set pbf
set pbf arp-inspection <name>
set pbf client <name> <ip_addr> <mac_addr> <vlan>
set pbf gw <name> <ip_addr> <ip_mask> <mac_addr> <vlan>
set pbf mac <mac_address>
set pbf vlan <vlan>
-----------------------------------------------------------------------------------
set vmps config-file auto-save <enable|disable>
set vmps config-file <device:file_name>
set vmps downloadmethod rcp [<username>]
set vmps downloadmethod tftp
set vmps downloadserver < <hostname> | <ip_address> > [<filename>]
set vmps server reconfirminterval <1..120>
set vmps server retry <1..10>
set vmps server < <hostname> | <ip_address> > [primary]
set vmps state <disable|enable>
-----------------------------------------------------------------------------------
set acllog ratelimit <1..9>
-----------------------------------------------------------------------------------
set authentication login lockout <0 |<301..43200>>
[<$interface = console |telnet>]
set authentication enable lockout <0 |30..43200>> [<$interface = console |telnet>]
set authentication enable attempt <$num-attempts = 0 |3..10>
[<$interface = console |telnet>]
-----------------------------------------------------------------------------------
set autoshut frequency <times>
set autoshut period <minutes>
-----------------------------------------------------------------------------------
set default portstatus <enable|disable>
-----------------------------------------------------------------------------------
set fan-tray-version <version>
-----------------------------------------------------------------------------------
set filename-alias <name> <value>
-----------------------------------------------------------------------------------
set garp timer all <join-value> <leave-value> <leaveall-value>
set garp timer join <time>
set garp timer <leave>
set garp timer <leaveall>
-----------------------------------------------------------------------------------
set gvrp applicant <normal|active> <port-list>
set gvrp <enable|disable> [<port-list>]
set gvrp dynamic-vlan-creation <disable|enable>
set gvrp registration <fixed|forbidden|normal> <port-list>
set gvrp timer join <timer-value>
set gvrp timer leave <timer-value>
set gvrp timer leaveall <timer-value>
-----------------------------------------------------------------------------------
set image-verification [copy|boot|reset] <enable|disable>
-----------------------------------------------------------------------------------
set inlinpower defaultallocation <4000..15400>
set inlinepower notify-threshold <1..99> module <mod>
-----------------------------------------------------------------------------------
set macro ciscosmartports
-----------------------------------------------------------------------------------
set multicast router <port-list>
-----------------------------------------------------------------------------------
set pbf-map <name> <name>
-----------------------------------------------------------------------------------
set poll <enable|disable>
-----------------------------------------------------------------------------------
set rate-limit <l2port-security> <enable |disable>
set rate-limit <l2port-security> rate <rate>
set rate-limit <l2port-security> burst <rate>
-----------------------------------------------------------------------------------
set test diagfail-action <offline|ignore>
-----------------------------------------------------------------------------------
set port arp-inspection <port-list> drop-threshold <0-1000>
-----------------------------------------------------------------------------------
set port auxiliaryvlan <port-list> <vlan-list>
set port auxiliaryvlan <port-list> <vlan-list> cdpverify disable
set port auxiliaryvlan <port-list> <vlan-list> cdpverify enable
set port auxiliaryvlan <mod> <vlan-list>
set port auxiliaryvlan <mod> <vlan-list> cdpverify disable
set port auxiliaryvlan <mod> <vlan-list> cdpverify enable
-----------------------------------------------------------------------------------
set port channel all distribution <ip-vlan-session> <both |source |destination>
set port channel all mode off
set port channel <port-list> mode off
-----------------------------------------------------------------------------------
set port cops <port-list> roles {<role-name>}+
-----------------------------------------------------------------------------------
set port dhcp-snooping <port-list> source-guard <enable|disable>
-----------------------------------------------------------------------------------
set port dot1q-all-tagged <port-list> <enable|disable>
-----------------------------------------------------------------------------------
set port dot1x <port-list> port-control-direction <in|both>
set port dot1x <port-list> shutdown-timeout <disable|enable>
set port dot1x <port-list> <auth-fail-vlan | guest-vlan> <none | <vlan>>
set port dot1x <port-list> multiple-authentication <enable|disable>
set port dot1x <port-list> critical <enable|disable>
set port dot1x <port-list> test-eapol-capable
-----------------------------------------------------------------------------------
set port errordetection <port-list> <inerrors|rxcrc|txcrc> <enable|disable>
set port errdisable-timeout <port-list> <enable |disable>
-----------------------------------------------------------------------------------
set port <gmrp|gvrp> <port-list> <enable|disable>
-----------------------------------------------------------------------------------
set port lacp-channel <port-list> mode <off|on>
-----------------------------------------------------------------------------------
set port membership <port-list> <static|dynamic>
-----------------------------------------------------------------------------------
set port protocol <port-list> <group|ip|ipx> <auto|on|off>
-----------------------------------------------------------------------------------
set port rsvp <port-list> dsbm-election <enable|disable> [<128..255>]
-----------------------------------------------------------------------------------
set port security auto-configure <enable|disable>
-----------------------------------------------------------------------------------
set port macro <port-list> <ciscoswitch|ciscorouter> nativevlan <vlan> [allowedvlans 
<vlan>]
set port macro <port-list> ciscosoftphone vlan <vlan> [allowedvlans <vlan>]
set port macro <port-list> ciscodesktop vlan <vlan>
set port macro <port-list> ciscoipphone vlan <vlan> [auxvlan 
<none|dot1p|none|untagged|<vlan>]
-----------------------------------------------------------------------------------
set port security-acl <port-list> <merge|port-based|vlan-based>
-----------------------------------------------------------------------------------
set port voice interface < <mod>|<port-list> > enable
set port voice interface < <mod>|<port-list> > <disable|enable>
< <ip_addr/mask> | < <ip_addr> <mask> > >
vlan <vlan_num> gateway <ip_addr> tftp <ip_addr> dns <ip_addr> <domain_name>
set port voice interface < <mod>|<port-list> > <disable|enable>
< <ip_addr/mask> | < <ip_addr> <mask> > >
tftp <ip_addr> dns <ip_addr> <domain_name>
-----------------------------------------------------------------------------------
set port vtp <port-list> <enable|disable>
-----------------------------------------------------------------------------------