enableC.addSC("cd", "Set default flash device"); enableC.addSC("clear", "Clear, use 'clear help' for more info"); enableC.clear.addSC("alias", "Clear aliases of commands"); enableC.clear.addSC("arp", "Clear ARP table entries"); enableC.clear.addSC("banner", "Clear Message Of The Day banner"); enableC.clear.addSC("boot", "Clear booting environment variable"); enableC.clear.addSC("cam", "Clear CAM table entries"); enableC.clear.addSC("cgmp", "Clear CGMP statistics"); enableC.clear.addSC("channel", "Clear PagP statistical information"); enableC.clear.addSC("config", "Clear configuration and reset system"); enableC.clear.config.addSC("all", "Clear all configurations"); enableC.clear.config.addSC("pvlan", "Clear Private Vlan Configuration"); enableC.clear.config.addSC("snmp", "Clear SNMP"); enableC.clear.config.addSC("rmon", "Clear RMON"); enableC.clear.config.addSC("", "Clear configuration of a module"); enableC.clear.addSC("counters", "Clear MAC and Port counters"); enableC.clear.addSC("dot1x", "Clear Dot1x feature"); enableC.clear.addSC("gmrp", "Clear GMRP statistics"); enableC.clear.addSC("gvrp", "Clear GVRP statistics"); enableC.clear.addSC("ip", "Clear IP, use 'clear ip help' for more info"); enableC.clear.ip.addSC("alias", "Clear IP address aliases"); enableC.clear.ip.addSC("dns", "Clear IP DNS information"); enableC.clear.ip.addSC("permit", "Clear IP permit list"); enableC.clear.ip.addSC("route", "Clear IP routing table entries"); enableC.clear.ip.route.addSC("all", "Clear all IP routes"); enableC.clear.ip.route.addSC("", "Clear IP route destination"); enableC.clear.addSC("kerberos", "Clear Kerberos configuration information"); enableC.clear.addSC("key", "Clear config-key string"); enableC.clear.addSC("log", "Clear log information"); enableC.clear.addSC("logging", "Clear system logging information"); enableC.clear.addSC("multicast", "Clear multicast router port"); enableC.clear.addSC("netstat", "Clear network statistics"); enableC.clear.addSC("ntp", "Clear NTP servers and timezone"); enableC.clear.addSC("port", "Clear port features"); enableC.clear.port.addSC("host", "Clear port host"); enableC.clear.port.host.addSC("all", "Clear port host for all ports"); enableC.clear.port.host.addSC("", "Module number and Port number(s)"); enableC.clear.port.addSC("security", "Clear secure MAC addresses"); enableC.clear.addSC("pvlan", "Clear Private Vlan Mappings"); enableC.clear.pvlan.addSC("mapping", "Clear private vlan mappings"); enableC.clear.pvlan.mapping.addSC("", "Primary Vlan"); enableC.clear.pvlan.mapping[""].addSC("", "Isolated Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.pvlan.mapping[""].addSC("", "Community Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.pvlan.mapping[""].addSC("", "TwoWay Community Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.pvlan.mapping.addSC("", "Clear all mappings from port"); enableC.clear.pvlan.mapping[""].addSC("", "Isolated Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.pvlan.mapping[""].addSC("", "Community Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.pvlan.mapping[""].addSC("", "TwoWay Community Vlan"); enableC.clear.pvlan.mapping[""][""].addSC("", "Ports"); enableC.clear.addSC("qos", "Clear QoS features"); enableC.clear.addSC("radius", "Clear radius information"); enableC.clear.addSC("rcp", "Clear RCP information for other copy"); enableC.clear.addSC("snmp", "Clear SNMP trap receiver address"); enableC.clear.addSC("spantree", "Clear spantree parameters"); enableC.clear.spantree.addSC("portinstancecost", "Clear spantree port instance cost"); enableC.clear.spantree.addSC("portinstancepri", "Clear spantree port instance priority"); enableC.clear.spantree.addSC("portvlancost", "Clear spantree port vlan cost"); enableC.clear.spantree.portvlancost.addSC("", "Module number and Port number(s)"); enableC.clear.spantree.portvlancost[""].addSC("", "VLAN numbers for PVST+"); enableC.clear.spantree.addSC("portvlanpri", "Clear spantree port vlan priority"); enableC.clear.spantree.addSC("root", "Restore STP parameters to default values"); enableC.clear.spantree.root.addSC("mistp-instance", "Clear root for MISTP instance"); enableC.clear.spantree.root.addSC("", "VLAN numbers for PVST+"); enableC.clear.spantree.addSC("statistics", "Clear spantree statistics information"); enableC.clear.spantree.addSC("uplinkfast", "Clear uplinkfast groups"); enableC.clear.addSC("tacacs", "Clear TACACS server host/key"); enableC.clear.addSC("timezone", "Clear timezone"); enableC.clear.addSC("top", "Clear TopN report"); enableC.clear.addSC("trunk", "Clear trunk ports"); enableC.clear.trunk.addSC("", "Module number and Port number(s)"); enableC.clear.trunk[""].addSC("", "VLAN number"); enableC.clear.addSC("vlan", "Clear VLAN information"); enableC.clear.vlan.addSC("mapping", "Clear the 802.1Q to ISL Vlan Mapping"); enableC.clear.vlan.addSC("", "Vlan Number(s)"); enableC.clear.addSC("vmps", "Clear VMPS information"); enableC.clear.addSC("vtp", "Clear VTP statistics"); enableC.clear.vtp.addSC("pruneeligible", "Clear VTP pruning eligibility"); enableC.clear.vtp.addSC("statistics", "Clear VTP pruning statistics"); enableC.addSC("configure", "Configure system from network"); enableC.configure.addSC("", "IP address or hostname"); enableC.configure[""].addSC("", "File name"); enableC.configure[""][""].addSC("rcp", "Download configuration by RCP method"); enableC.configure.addSC("network", "Get host/file name interactively"); enableC.addSC("copy", "Copy files between TFTP/RCP/module/flash devices"); enableC.copy.addSC("config", "Copy configuration to a device"); enableC.copy.config.addSC("flash", "Copy from config to flash"); enableC.copy.config.addSC("rcp", "Copy from config to RCP server"); enableC.copy.config.addSC("tftp", "Copy from config to TFTP server"); enableC.copy.config.addSC("", "File name"); enableC.copy.addSC("flash", "Copy from flash"); enableC.copy.flash.addSC("config", "Copy from flash to configuration"); enableC.copy.flash.addSC("rcp", "Copy from flash to RCP server"); enableC.copy.flash.addSC("tftp", "Copy from flash to TFTP server"); enableC.copy.flash.addSC("", "File name"); enableC.copy.addSC("rcp", "Copy from RCP server"); enableC.copy.addSC("tftp", "Copy from TFTP server"); enableC.copy.tftp.addSC("config", "Copy from TFTP server to configuration"); enableC.copy.tftp.addSC("flash", "Copy from TFTP server to flash"); enableC.copy.tftp.addSC("", "File name"); enableC.copy.addSC("", "File name"); enableC.copy[""].addSC("config", "Copy from file to configuration"); enableC.copy[""].addSC("flash", "Copy from file to flash"); enableC.copy[""].addSC("rcp", "Copy from file to RCP server"); enableC.copy[""].addSC("tftp", "Copy from file to TFTP server"); enableC.addSC("delete", "Delete a file on flash device"); enableC.addSC("dir", "Show list of files on flash device"); enableC.addSC("disable", "Disable privileged mode"); enableC.addSC("disconnect", "Disconnect user session"); enableC.addSC("download", "Download code to a processor"); enableC.addSC("enable", "Enable privileged mode"); enableC.addSC("format", "Format a flash device"); enableC.addSC("help", "Show this help screen"); enableC.addSC("history", "Show contents of history substitution buffer"); enableC.addSC("l2trace", "Layer2 trace between hosts"); enableC.addSC("ping", "Send echo packets to hosts"); enableC.ping.addSC("-s", "Ping parameter"); enableC.ping["-s"].addSC("", "IP address or hostname"); enableC.ping["-s"][""].addSC("", "Size of the packet (56..1472 bytes)"); enableC.ping["-s"][""][""].addSC("", "Number of packets"); enableC.ping.addSC("", "IP address or hostname"); enableC.addSC("pwd", "Show default flash device"); enableC.addSC("quit", "Exit from the Admin session"); enableC.addSC("reconfirm", "Reconfirm VMPS"); enableC.addSC("reset", "Reset system or module"); enableC.addSC("session", "Tunnel to ATM or Router module"); enableC.addSC("set", "Set commands, use 'set help' for more info"); enableC.set.addSC("accounting", "Set accounting"); enableC.set.addSC("alias", "Set alias for command"); enableC.set.addSC("arp", "Set ARP table entry"); enableC.set.addSC("authentication", "Set authentication"); enableC.set.addSC("authorization", "Set authorization"); enableC.set.addSC("banner", "Set system banner"); enableC.set.banner.addSC("motd", "Set message of the day"); enableC.set.banner.motd.addSC("[text]", "Message text"); enableC.set.banner.motd["[text]"].addSC("[text]", "Message text"); enableC.set.addSC("boot", "Set booting environment variable"); enableC.set.addSC("cam", "Set CAM table entry"); enableC.set.addSC("cdp", "Set cdp, use 'set cdp help' for more info"); enableC.set.addSC("cgmp", "Set CGMP (enable/disable)"); enableC.set.addSC("channel", "Set channel, use 'set channel help' for more info"); enableC.set.channel.addSC("cost", "Set channel path cost"); enableC.set.channel.cost.addSC("all", "All channels"); enableC.set.channel.cost.all.addSC("", "Channel cost"); enableC.set.channel.cost.addSC("", "Channel id"); enableC.set.channel.cost[""].addSC("", "Channel cost"); enableC.set.channel.addSC("vlancost", "Set channel vlancost"); enableC.set.channel.vlancost.addSC("", "Channel id"); enableC.set.channel.vlancost[""].addSC("", "Channel vlan cost"); enableC.set.addSC("config", "Set system configuration parameters"); enableC.set.addSC("dot1q-all-tagged", "Set the tag to be dot1q only"); enableC.set.addSC("dot1x", "Set dot1x timers and variables"); enableC.set.addSC("enablepass", "Set privilege mode password"); enableC.set.addSC("errdisable-timeout", "Set errdisable timeout"); enableC.set.addSC("errordetection", "Set various error detections"); enableC.set.addSC("feature", "Set feature"); enableC.set.addSC("garp", "Set GARP timer"); enableC.set.addSC("gmrp", "Set GMRP (enable/disable)"); enableC.set.addSC("gvrp", "Set GVRP (enable/disable)"); enableC.set.addSC("inlinepower", "Set default allocation for inline power"); enableC.set.addSC("interface", "Set network interface configuration"); enableC.set.interface.addSC("me1", "Set me1 interface"); enableC.set.interface.me1.addSC("down", "Shut down the interface"); enableC.set.interface.me1.addSC("up", "Bring up the interface"); enableC.set.interface.me1.addSC("", "IP address"); enableC.set.interface.me1[""].addSC("", "IP subnet mask (must be in dot format)"); enableC.set.interface.me1[""][""].addSC("", "Broadcast interface IP address"); enableC.set.interface.addSC("sc0", "Set sc0 interface"); enableC.set.interface.sc0.addSC("dhcp", "Set dhcp interface"); enableC.set.interface.sc0.dhcp.addSC("release", "Release DHCP address"); enableC.set.interface.sc0.dhcp.addSC("renew", "Renew DHCP address"); enableC.set.interface.sc0.addSC("down", "Shut down the interface"); enableC.set.interface.sc0.addSC("up", "Bring up the interface"); enableC.set.interface.sc0.addSC("", "ip_addr/netmask or ip_addr/maskbit"); enableC.set.interface.sc0[""].addSC("", "Broadcast interface IP address"); enableC.set.interface.sc0.addSC("", "IP address"); enableC.set.interface.sc0[""].addSC("", "Broadcast interface IP address"); enableC.set.interface.sc0.addSC("", "VLAN number"); enableC.set.interface.sc0[""].addSC("", "Broadcast interface IP address"); enableC.set.interface.addSC("sl0", "Set sl0 interface"); enableC.set.interface.sl0.addSC("down", "Shut down the interface"); enableC.set.interface.sl0.addSC("up", "Bring up the interface"); enableC.set.interface.sl0.addSC("", "IP address"); enableC.set.interface.sl0[""].addSC("", "Destination IP address"); enableC.set.interface.addSC("trap", "Set interface trap"); enableC.set.interface.trap.addSC("me1", "Set me1 interface"); enableC.set.interface.trap.me1.addSC("disable", "Disable trap on the interface"); enableC.set.interface.trap.me1.addSC("enable", "Enable trap on the interface"); enableC.set.interface.trap.addSC("sc0", "Set sc0 interface"); enableC.set.interface.trap.sc0.addSC("disable", "Disable trap on the interface"); enableC.set.interface.trap.sc0.addSC("enable", "Enable trap on the interface"); enableC.set.interface.trap.addSC("sl0", "Set sl0 interface"); enableC.set.interface.trap.sl0.addSC("disable", "Disable trap on the interface"); enableC.set.interface.trap.sl0.addSC("enable", "Enable trap on the interface"); enableC.set.addSC("ip", "Set IP, use 'set ip help' for more info"); enableC.set.ip.addSC("alias", "Set alias for IP Address"); enableC.set.ip.addSC("dns", "Set DNS information"); enableC.set.ip.addSC("fragmentation", "Set IP fragmentation enable/disable"); enableC.set.ip.addSC("http", "Set IP HTTP server information"); enableC.set.ip.addSC("permit", "Set IP Permit List"); enableC.set.ip.permit.addSC("disable", "Disable IP permit"); enableC.set.ip.permit.disable.addSC("telnet", "Disable/Enable telnet permit"); enableC.set.ip.permit.disable.addSC("snmp", "Disable/Enable snmp permit"); enableC.set.ip.permit.disable.addSC("ssh", "Disable/Enable ssh permit"); enableC.set.ip.permit.addSC("enable", "Enable IP permit"); enableC.set.ip.permit.enable.addSC("telnet", "Disable/Enable telnet permit"); enableC.set.ip.permit.enable.addSC("snmp", "Disable/Enable snmp permit"); enableC.set.ip.permit.enable.addSC("ssh", "Disable/Enable ssh permit"); enableC.set.ip.permit.addSC("", "IP address or hostname"); enableC.set.ip.permit[""].addSC("", "Set IP permit mask"); enableC.set.ip.permit[""][""].addSC("telnet", "Set telnet permit entry"); enableC.set.ip.permit[""][""].addSC("snmp", "Set snmp permit entry"); enableC.set.ip.permit[""][""].addSC("ssh", "Set ssh permit entry"); enableC.set.ip.permit[""].addSC("telnet", "Set telnet permit entry"); enableC.set.ip.permit[""].addSC("snmp", "Set snmp permit entry"); enableC.set.ip.permit[""].addSC("ssh", "Set ssh permit entry"); enableC.set.ip.addSC("redirect", "Set ICMP redirect enable/disable"); enableC.set.ip.addSC("route", "Set IP routing table entry"); enableC.set.ip.route.addSC("default", "Set default route"); enableC.set.ip.route["default"].addSC("", "IP address"); enableC.set.ip.route["default"][""].addSC("primary", "Specify as primary"); enableC.set.ip.route.addSC("", "IP address or hostname"); enableC.set.ip.route[""].addSC("", "IP address"); enableC.set.ip.route.addSC("", "ip_addr or ip_addr/netmask or ip_addr/maskbit"); enableC.set.ip.route[""].addSC("", "IP address"); enableC.set.ip.addSC("unreachable", "Set ICMP unreachable messages"); enableC.set.ip.unreachable.addSC("disable", "Disable IP unreachable message"); enableC.set.ip.unreachable.addSC("enable", "Enable IP unreachable message"); enableC.set.addSC("kerberos", "Set Kerberos configuration"); enableC.set.addSC("key", "Set DES key for storing the password"); // enableC.set.addSC("length", "Set number of lines (0 to disable 'more')"); enableC.set.addSC("logging", "Set system logging configuration information"); enableC.set.addSC("logout", "Set number of minutes before automatic logout"); enableC.set.addSC("module", "Set module, use 'set module help' for more info"); enableC.set.module.addSC("disable", "Disable module"); enableC.set.module.disable.addSC("", "Module number"); enableC.set.module.addSC("enable", "Enable module"); enableC.set.module.enable.addSC("", "Module number"); enableC.set.module.addSC("name", "Set module name"); enableC.set.module.name.addSC("", "Module number"); enableC.set.addSC("multicast", "Set multicast router port"); enableC.set.addSC("ntp", "Set NTP information"); enableC.set.addSC("nvramenv", "Set environment variable"); enableC.set.addSC("password", "Set console password"); enableC.set.addSC("port", "Set port features"); enableC.set.port.addSC("auxiliaryvlan", "Set auxiliary vlan for applicable ports"); enableC.set.port.addSC("channel", "Set port channel (on/off)"); enableC.set.port.channel.addSC("", "Port list (ex: 2/1-4 or 2/1-2 or 2/5,2/6)"); enableC.set.port.channel[""].addSC("", "Admin group"); enableC.set.port.channel[""].addSC("mode", "Channel mode"); enableC.set.port.channel[""].mode.addSC("auto", "Channel auto mode"); enableC.set.port.channel[""].mode.auto.addSC("silent", "silent mode"); enableC.set.port.channel[""].mode.auto.addSC("non-silent", "non-silent mode"); enableC.set.port.channel[""].mode.addSC("desirable", "Channel desirable mode"); enableC.set.port.channel[""].mode.desirable.addSC("silent", "silent mode"); enableC.set.port.channel[""].mode.desirable.addSC("non-silent", "non-silent mode"); enableC.set.port.channel[""].mode.addSC("off", "Turn off Channelling"); enableC.set.port.channel[""].mode.addSC("on", "Turn on Channelling"); enableC.set.port.channel.addSC("all", "Globally configure all ports"); enableC.set.port.channel.all.addSC("distribution", "Channel distribution"); enableC.set.port.channel.all.distribution.addSC("mac", "Channel distribution mac"); enableC.set.port.channel.all.distribution.mac.addSC("both", "Channel distribution both"); enableC.set.port.channel.all.addSC("mode", "Turn off channeling on all ports"); enableC.set.port.channel.all.mode.addSC("off", "Turn off channeling on all ports"); enableC.set.port.addSC("disable", "Disable a port"); enableC.set.port.disable.addSC("", "Module number and Port number(s)"); enableC.set.port.addSC("duplex", "Set port transmission type (full/half duplex)"); enableC.set.port.duplex.addSC("", "Module number and Port number(s)"); enableC.set.port.duplex[""].addSC("full", "Full duplex"); enableC.set.port.duplex[""].addSC("half", "Half duplex"); enableC.set.port.addSC("enable", "Enable a port"); enableC.set.port.enable.addSC("", "Module number and Port number(s)"); enableC.set.port.addSC("dot1x", "Set port dot1x attributes"); enableC.set.port.addSC("flowcontrol", "Set port traffic flowcontrol"); enableC.set.port.addSC("gmrp", "Set port gmrp (enable/disable)"); enableC.set.port.addSC("gvrp", "Set port gvrp (enable/disable)"); enableC.set.port.addSC("host", "Set port host"); enableC.set.port.host.addSC("all", "Set all ports"); enableC.set.port.host.addSC("", "Module number and Port number(s)"); enableC.set.port.addSC("inlinepower", "Set inline power for a port"); enableC.set.port.addSC("level", "Set port priority level (normal/high)"); enableC.set.port.addSC("membership", "Set vlan membership assignment to a port"); enableC.set.port.membership.addSC("", "Module number and Port number(s)"); enableC.set.port.membership[""].addSC("dynamic", "Dynamic Vlan"); enableC.set.port.membership[""].addSC("static", "Static Vlan"); enableC.set.port.addSC("name", "Set port name"); enableC.set.port.name.addSC("", "Module number and Port number(s)"); enableC.set.port.name[""].addSC("", "Name string"); enableC.set.port.addSC("negotiation", "Set port negotiation"); enableC.set.port.addSC("protocol", "Set port protocol membership"); enableC.set.port.protocol.addSC("", "Module number and Port number(s)"); enableC.set.port.protocol[""].addSC("group", "Set protocol group"); enableC.set.port.protocol[""].group.addSC("auto", "AUTO mode"); enableC.set.port.protocol[""].group.addSC("off", "Off mode"); enableC.set.port.protocol[""].group.addSC("on", "On mode"); enableC.set.port.protocol[""].addSC("ip", "Set protocol IP"); enableC.set.port.protocol[""].ip.addSC("auto", "AUTO mode"); enableC.set.port.protocol[""].ip.addSC("off", "Off mode"); enableC.set.port.protocol[""].ip.addSC("on", "On mode"); enableC.set.port.protocol[""].addSC("ipx", "Set protocol IPX"); enableC.set.port.protocol[""].ipx.addSC("auto", "AUTO mode"); enableC.set.port.protocol[""].ipx.addSC("off", "Off mode"); enableC.set.port.protocol[""].ipx.addSC("on", "On mode"); enableC.set.port.addSC("security", "Set port security attributes"); enableC.set.port.addSC("speed", "Set port transmission speed (4/10/16/100 Mbps)"); enableC.set.port.speed.addSC("", "Module number and Port number(s)"); enableC.set.port.speed[""].addSC("auto", "Set speed to auto"); enableC.set.port.speed[""].addSC("", "Port speed (10, 100, 1000)"); enableC.set.port.addSC("trap", "Set port up/down trap (enable/disable)"); enableC.set.port.trap.addSC("", "Module number and Port number(s)"); enableC.set.port.trap[""].addSC("disable", "Disable port trap"); enableC.set.port.trap[""].addSC("enable", "Enable port trap"); enableC.set.addSC("power", "Set power supplies budget"); enableC.set.addSC("prompt", "Set prompt"); enableC.set.prompt.addSC("", "String used as prompt"); enableC.set.addSC("protocolfilter", "Set protocol filtering"); enableC.set.addSC("pvlan", "Set Private Vlan Config"); enableC.set.pvlan.addSC("", "Set association/ Add ports to Private Vlan"); enableC.set.pvlan[""].addSC("", "Isolated Vlan"); enableC.set.pvlan[""][""].addSC("", "Ports"); enableC.set.pvlan[""][""].addSC("sc0", "SC0 port"); enableC.set.pvlan[""].addSC("", "Community Vlan"); enableC.set.pvlan[""][""].addSC("", "Ports"); enableC.set.pvlan[""][""].addSC("sc0", "SC0 port"); enableC.set.pvlan[""].addSC("", "TwoWay Community Vlan"); enableC.set.pvlan[""][""].addSC("", "Ports"); enableC.set.pvlan[""][""].addSC("sc0", "SC0 port"); enableC.set.pvlan.addSC("mapping", "Set Private Vlan Mapping"); enableC.set.pvlan.mapping.addSC("", "Primary Vlan"); enableC.set.pvlan.mapping[""].addSC("", "Isolated Vlan"); enableC.set.pvlan.mapping[""][""].addSC("", "Ports"); enableC.set.pvlan.mapping[""].addSC("", "Community Vlan"); enableC.set.pvlan.mapping[""][""].addSC("", "Ports"); enableC.set.pvlan.mapping[""].addSC("", "TwoWay Community Vlan"); enableC.set.pvlan.mapping[""][""].addSC("", "Ports"); enableC.set.addSC("qos", "Set QOS information"); enableC.set.addSC("radius", "Set RADIUS parameters"); enableC.set.addSC("rcp", "Set rcp username"); enableC.set.addSC("rspan", "Set remote switch port analyzer"); enableC.set.addSC("snmp", "Set SNMP, use 'set snmp help' for more info"); enableC.set.addSC("span", "Set switch port analyzer"); enableC.set.span.addSC("disable", "Disable port monitoring"); enableC.set.span.disable.addSC("all", "Disable SPAN on all ports"); enableC.set.span.disable.addSC("", "Module number and Port number(s)"); enableC.set.span.addSC("", "Source module and port numbers"); enableC.set.span[""].addSC("", "Destination module and port numbers"); enableC.set.span[""][""].addSC("both", "Both receiving and transmitting traffic"); enableC.set.span[""][""].addSC("create", "Creating new SPAN session"); enableC.set.span[""][""].addSC("filter", "Monitor traffic on selected vlans"); enableC.set.span[""][""].addSC("inpkts", "Enable/disable destination port incoming packets"); enableC.set.span[""][""].addSC("learning", "Enable/disable MAC address learning"); enableC.set.span[""][""].addSC("rx", "Receiving traffic"); enableC.set.span[""][""].addSC("tx", "Transmitting traffic"); enableC.set.span.addSC("", "Source VLAN numbers"); enableC.set.span[""].addSC("", "Destination module and port numbers"); enableC.set.span[""][""].addSC("both", "Both receiving and transmitting traffic"); enableC.set.span[""][""].addSC("create", "Creating new SPAN session"); enableC.set.span[""][""].addSC("filter", "Monitor traffic on selected vlans"); enableC.set.span[""][""].addSC("inpkts", "Enable/disable destination port incoming packets"); enableC.set.span[""][""].addSC("learning", "Enable/disable MAC address learning"); enableC.set.span[""][""].addSC("rx", "Receiving traffic"); enableC.set.span[""][""].addSC("tx", "Transmitting traffic"); enableC.set.addSC("spantree", "Set spanning tree information"); enableC.set.spantree.addSC("backbonefast", "Enable or disable fast convergence"); enableC.set.spantree.addSC("bpdu-skewing", "Set spantree BPDU skewing"); enableC.set.spantree.addSC("defaultcostmode", "Set spantree port cost mode"); enableC.set.spantree.addSC("disable", "Disable spanning tree"); enableC.set.spantree.disable.addSC("all", "Disable spanning tree all"); enableC.set.spantree.disable.addSC("mistp-instance", "Disable MISTP instances"); enableC.set.spantree.disable.addSC("", "VLAN numbers for PVST+"); enableC.set.spantree.addSC("enable", "Enable spanning tree"); enableC.set.spantree.enable.addSC("all", "Enable spanning tree all"); enableC.set.spantree.enable.addSC("mistp-instance", "Enable MISTP instances"); enableC.set.spantree.enable.addSC("", "VLAN numbers for PVST+"); enableC.set.spantree.addSC("fwddelay", "Set spantree forward delay"); enableC.set.spantree.addSC("guard", "Set spantree guard"); enableC.set.spantree.addSC("hello", "Set spantree hello interval"); enableC.set.spantree.addSC("macreduction", "Set spantree mac address reduction"); enableC.set.spantree.addSC("maxage", "Set spantree max aging time"); enableC.set.spantree.addSC("mode", "Set spantree mode"); enableC.set.spantree.mode.addSC("pvst+", "Run Per VLAN Spanning Tree"); enableC.set.spantree.mode.addSC("mistp", "Run Per Instance Spanning Tree"); enableC.set.spantree.mode.addSC("mistp-pvst+", "Run MISTP but allow remote PVST+"); enableC.set.spantree.addSC("portcost", "Set spantree port cost"); enableC.set.spantree.portcost.addSC("", "Module number and Port number(s)"); enableC.set.spantree.portcost[""].addSC("", "Port cost"); enableC.set.spantree.addSC("portfast", "Set spantree port fast start"); enableC.set.spantree.portfast.addSC("", "Module number and Port number(s)"); enableC.set.spantree.portfast[""].addSC("disable", "Disable port fast start"); enableC.set.spantree.portfast[""].addSC("enable", "Enable port fast start"); enableC.set.spantree.portfast.addSC("bpdu-guard", "Portfast BPDU guard"); enableC.set.spantree.portfast.addSC("bpdu-filter", "Portfast BPDU filter"); enableC.set.spantree.addSC("portpri", "Set spantree port priority"); enableC.set.spantree.addSC("portvlancost", "Set spantree port cost per vlan"); enableC.set.spantree.addSC("portvlanpri", "Set spantree port vlan priority"); enableC.set.spantree.addSC("portinstancecost", "Set spantree port cost per instance"); enableC.set.spantree.addSC("portinstancepri", "Set spantree port instance priority"); enableC.set.spantree.addSC("priority", "Set spantree priority"); enableC.set.spantree.priority.addSC("", "Bridge priority number"); enableC.set.spantree.priority[""].addSC("mistp-instance", "Set bridge priority for MISTP instance"); enableC.set.spantree.priority[""].addSC("", "VLAN numbers for PVST+"); enableC.set.spantree.addSC("root", "Set switch as primary or secondary root"); enableC.set.spantree.root.addSC("secondary", "Specify as secondary root"); enableC.set.spantree.root.addSC("mistp-instance", "Set spantree root for MISTP instance"); enableC.set.spantree.root.addSC("", "VLAN numbers for PVST+"); enableC.set.spantree.root[""].addSC("dia", "Specify network diameter"); enableC.set.spantree.root[""].addSC("hello", "Specify hello time"); enableC.set.spantree.addSC("uplinkfast", "Enable or disable uplinkfast groups"); enableC.set.spantree.uplinkfast.addSC("disable", "Disable spanning tree uplink fast"); enableC.set.spantree.uplinkfast.addSC("enable", "Enable spanning tree uplink fast"); enableC.set.addSC("summertime", "Set summertime"); enableC.set.addSC("switchacceleration", "Enable/Disable switch acceleration"); enableC.set.addSC("system", "Set system, use 'set system help' for more info"); enableC.set.system.addSC("baud", "Set system console port baud rate"); enableC.set.system.baud.addSC("", "Baud rate (600,1200,2400,4800,9600,19200,38400)"); enableC.set.system.addSC("contact", "Set system contact"); enableC.set.system.addSC("countrycode", "Set system country code"); enableC.set.system.addSC("location", "Set system location"); enableC.set.system.addSC("modem", "Set system modem control (enable/disable)"); enableC.set.system.addSC("name", "Set system name"); enableC.set.system.name.addSC("", "Name for the system"); enableC.set.addSC("tacacs", "Set TACACS information"); enableC.set.addSC("test", "Set test, use 'set test help' for more info"); enableC.set.addSC("time", "Set time"); enableC.set.addSC("timezone", "Set timezone"); enableC.set.addSC("traffic", "Set traffic, use 'set traffic help' for more info"); enableC.set.addSC("trunk", "Set trunk ports"); enableC.set.trunk.addSC("all", "Turn off trunking on all ports"); enableC.set.trunk.all.addSC("off", "Turn off trunking on all ports"); enableC.set.trunk.addSC("", "Module number and Port number(s)"); enableC.set.trunk[""].addSC("", "Trunk mode (on,off,desirable,auto,nonegotiate)"); enableC.set.trunk[""][""].addSC("", "Trunk type (dot1q)"); enableC.set.trunk[""][""].addSC("", "VLAN number"); enableC.set.trunk[""].addSC("", "Trunk type (dot1q)"); enableC.set.trunk[""][""].addSC("", "Trunk type (dot1q)"); enableC.set.trunk[""][""].addSC("", "VLAN number"); enableC.set.trunk[""].addSC("", "VLAN number"); enableC.set.trunk[""][""].addSC("", "Trunk type (dot1q)"); enableC.set.trunk[""][""].addSC("", "VLAN number"); enableC.set.addSC("udld", "Set uni-directional link detection"); enableC.set.addSC("vlan", "Set virtual LAN information"); enableC.set.vlan.addSC("mapping", "Map an 802.1Q vlan to an Ethernet vlan"); enableC.set.vlan.addSC("", "Vlan number(s)"); enableC.set.vlan[""].addSC("aremaxhop", "Set Tokenring vlan ARE max hop"); enableC.set.vlan[""].aremaxhop.addSC("", "ARE max hop count (1..13)"); enableC.set.vlan[""].addSC("backupcrf", "Set Tokenring backupcrf vlan"); enableC.set.vlan[""].backupcrf.addSC("off", "Turn off backup Token Ring TRCRF"); enableC.set.vlan[""].backupcrf.addSC("on", "Turn on backup Token Ring TRCRF"); enableC.set.vlan[""].addSC("bridge", "Set vlan bridge"); enableC.set.vlan[""].bridge.addSC("", "Bridge number (0x1..0xf)"); enableC.set.vlan[""].addSC("decring", "Set vlan ring (decimal number)"); enableC.set.vlan[""].decring.addSC("", "RING number in decimal (1..4095)"); enableC.set.vlan[""].addSC("mistp-instance", "Set a vlan for an MISTP instance"); enableC.set.vlan[""]["mistp-instance"].addSC("", "MISTP instance number(1..16)"); enableC.set.vlan[""]["mistp-instance"].addSC("none", "Unmap vlans to any instance"); enableC.set.vlan[""].addSC("mode", "Set vlan mode"); enableC.set.vlan[""].mode.addSC("", "Bridge mode (srt, srb)"); enableC.set.vlan[""].addSC("mtu", "Set vlan MTU"); enableC.set.vlan[""].mtu.addSC("", "MTU number"); enableC.set.vlan[""].addSC("name", "Set vlan name"); enableC.set.vlan[""].name.addSC("", "VLAN name"); enableC.set.vlan[""].addSC("parent", "Set vlan parent"); enableC.set.vlan[""].parent.addSC("", "VLAN number"); enableC.set.vlan[""].addSC("pvlan-type", "Set private vlan type"); enableC.set.vlan[""]["pvlan-type"].addSC("community", "Set private vlan as community vlan"); enableC.set.vlan[""]["pvlan-type"].addSC("isolated", "Set private vlan as isolated vlan"); enableC.set.vlan[""]["pvlan-type"].addSC("none", "Set vlan to be a normal vlan"); enableC.set.vlan[""]["pvlan-type"].addSC("primary", "Set private vlan as primary vlan"); enableC.set.vlan[""]["pvlan-type"].addSC("twoway-community", "Set private vlan as twoway community vlan"); enableC.set.vlan[""].addSC("ring", "Set vlan ring (hex number)"); enableC.set.vlan[""].ring.addSC("", "RING number (0x1..0xfff)"); enableC.set.vlan[""].addSC("rspan", "Set remote span for vlan"); enableC.set.vlan[""].rspan.addSC("name", "Set vlan name"); enableC.set.vlan[""].rspan.name.addSC("", "VLAN name"); enableC.set.vlan[""].rspan.name[""].addSC("state", "Set vlan state"); enableC.set.vlan[""].rspan.addSC("state", "Set vlan state"); enableC.set.vlan[""].rspan.state.addSC("active", "set VLAN state to active"); enableC.set.vlan[""].rspan.state.active.addSC("name", "Set vlan name"); enableC.set.vlan[""].rspan.state.addSC("suspend", "set VLAN state to suspend"); enableC.set.vlan[""].rspan.state.suspend.addSC("name", "Set vlan name"); enableC.set.vlan[""].addSC("said", "Set vlan said"); enableC.set.vlan[""].said.addSC("", "SAID number"); enableC.set.vlan[""].addSC("state", "Set vlan state"); enableC.set.vlan[""].state.addSC("", "VLAN state (active, suspend)"); enableC.set.vlan[""].addSC("stemaxhop", "Set Tokenring vlan STE max hop"); enableC.set.vlan[""].stemaxhop.addSC("", "STE max hop count (1..13)"); enableC.set.vlan[""].addSC("stp", "Set vlan STP"); enableC.set.vlan[""].stp.addSC("", "STP type (ieee, ibm, auto)"); enableC.set.vlan[""].addSC("translation", "Set vlan translation"); enableC.set.vlan[""].translation.addSC("", "Translation number (1..1005)"); enableC.set.vlan[""].addSC("type", "Set vlan type"); enableC.set.vlan[""].type.addSC("", "VLAN type (ethernet, fddi, fddinet, trcrf, trbrf)"); enableC.set.vlan[""].addSC("", "Module number and Port number(s)"); enableC.set.addSC("vmps", "Set VMPS information"); enableC.set.addSC("vtp", "Set VLAN Trunk Information"); enableC.set.vtp.addSC("domain", "Set VTP domain"); enableC.set.vtp.domain.addSC("", "Domain name"); enableC.set.vtp.addSC("mode", "Set VTP mode"); enableC.set.vtp.mode.addSC("client", "VTP client mode"); enableC.set.vtp.mode.addSC("server", "VTP server mode"); enableC.set.vtp.mode.addSC("transparent", "VTP transparent mode"); enableC.set.vtp.addSC("passwd", "Set VTP password"); enableC.set.vtp.passwd.addSC("", "Password (0 to clear)"); enableC.set.vtp.addSC("pruneeligible", "Set VTP pruning"); enableC.set.vtp.pruneeligible.addSC("", "VLAN number"); enableC.set.vtp.addSC("pruning", "Set VTP pruning"); enableC.set.vtp.pruning.addSC("disable", "Disable VTP pruning"); enableC.set.vtp.pruning.addSC("enable", "Enable VTP pruning"); enableC.set.vtp.addSC("v2", "Set VTP version 2"); enableC.set.vtp.v2.addSC("disable", "Disable VTP version 2"); enableC.set.vtp.v2.addSC("enable", "Enable VTP version 2"); enableC.addSC("show", "Show commands, use 'show help' for more info"); enableC.show.addSC("accounting", "Show accounting information"); enableC.show.addSC("alias", "Show aliases for commands"); enableC.show.addSC("arp", "Show ARP table"); enableC.show.addSC("authentication", "Show authentication information"); enableC.show.addSC("authorization", "Show authorization information"); enableC.show.addSC("banner", "Show system banner"); enableC.show.addSC("boot", "Show booting environment variables"); enableC.show.addSC("cam", "Show CAM table"); enableC.show.addSC("cdp", "Show Cisco Discovery Protocol Information"); enableC.show.addSC("cgmp", "Show CGMP info"); enableC.show.addSC("channel", "Show channel information"); enableC.show.addSC("config", "Show system configuration"); enableC.show.addSC("counters", "Show port counters"); enableC.show.addSC("dot1q-all-tagged", "Show dot1q tag status"); enableC.show.addSC("dot1x", "Show dot1x port capability & version"); enableC.show.addSC("dvlan", "Show dynamic vlan statistics"); enableC.show.addSC("environment", "Show environment information"); enableC.show.addSC("errdisable-timeout", "Show err-disable timeout config"); enableC.show.addSC("errordetection", "Show errordetection settings"); enableC.show.addSC("file", "Show contents of file"); enableC.show.addSC("flash", "Show file information on flash device"); enableC.show.addSC("garp", "Show GARP information"); enableC.show.addSC("gmrp", "Show GMRP information"); enableC.show.addSC("gvrp", "Show GVRP information"); enableC.show.addSC("imagemib", "Show image mib information"); enableC.show.addSC("interface", "Show network interfaces"); enableC.show.addSC("ip", "Show IP Information"); enableC.show.ip.addSC("alias", "Show IP address aliases"); enableC.show.ip.addSC("dns", "Show IP DNS information"); enableC.show.ip.addSC("http", "Show IP HTTP information"); enableC.show.ip.addSC("permit", "Show IP permit list"); enableC.show.ip.addSC("route", "Show IP routing table"); enableC.show.addSC("kerberos", "Show kerberos configuration information"); enableC.show.addSC("log", "Show log information"); enableC.show.addSC("logging", "Show system logging information"); enableC.show.addSC("mac", "Show MAC information"); enableC.show.mac.addSC("", "Module number"); enableC.show.mac.addSC("", "Module number and Port number(s)"); enableC.show.addSC("mls", "Show multilayer switching information"); enableC.show.mls.addSC("entry", "Show MLS entries"); enableC.show.mls.addSC("nde", "Show Netflow Data Export information"); enableC.show.mls.addSC("include", "Show routers included as MLS-RP"); enableC.show.mls.addSC("multicast", "Show MLS feature info for multicast"); enableC.show.mls.addSC("rp", "Show information for MLS-RP"); enableC.show.mls.addSC("statistics", "Show MLS statistics"); enableC.show.addSC("module", "Show module info"); enableC.show.module.addSC("", "Module number"); enableC.show.addSC("multicast", "Show multicast information"); enableC.show.addSC("netstat", "Show network statistics"); enableC.show.addSC("ntp", "Show ntp statistics"); enableC.show.addSC("nvramenv", "Show environment variables"); enableC.show.addSC("port", "Show port information"); enableC.show.port.addSC("auxiliaryvlan", "Show port auxiliary vlan information"); enableC.show.port.addSC("cdp", "Show port CDP information"); enableC.show.port.addSC("capabilities", "Show port capabilities"); enableC.show.port.addSC("channel", "Show port channel information"); enableC.show.port.addSC("counters", "Show port counters"); enableC.show.port.addSC("dot1x", "Show port dot1x information"); enableC.show.port.addSC("flowcontrol", "Show port traffic flowcontrol"); enableC.show.port.addSC("ifindex", "Show port IfIndex information"); enableC.show.port.addSC("inlinepower", "Show inline power for port(s)"); enableC.show.port.addSC("mac", "Show port MAC counters"); enableC.show.port.addSC("negotiation", "Show port negotiation"); enableC.show.port.addSC("protocol", "Show port protocol membership"); enableC.show.port.addSC("security", "Show port security information"); enableC.show.port.addSC("spantree", "Show port spantree information"); enableC.show.port.addSC("status", "Show port status"); enableC.show.port.addSC("trap", "Show port trap information"); enableC.show.port.addSC("trunk", "Show port trunk information"); enableC.show.port.addSC("", "Module number"); enableC.show.port.addSC("", "Module number and Port number(s)"); enableC.show.addSC("proc", "Show cpu and processes utilization"); enableC.show.addSC("protocolfilter", "Show protocolfilter information"); enableC.show.addSC("pvlan", "Show Private Vlan Information"); enableC.show.pvlan.addSC("", "Show Private Vlan's Config"); enableC.show.pvlan.addSC("capability", "Determine if a Port can be made a private port"); enableC.show.pvlan.addSC("community", "Show Config for Community Private Vlans"); enableC.show.pvlan.addSC("isolated", "Show Config for Isolated Private Vlans"); enableC.show.pvlan.addSC("mapping", "Show Private Vlan Mappings"); enableC.show.pvlan.addSC("primary", "Show Config for Primary Private Vlans"); enableC.show.pvlan.addSC("twoway-community", "Show Config for Twoway Community Private Vlans"); enableC.show.addSC("qos", "Show QOS information"); enableC.show.addSC("radius", "Show RADIUS information"); enableC.show.addSC("rcp", "Show rcp information"); enableC.show.addSC("reset", "Show schedule reset information"); enableC.show.addSC("rspan", "Show remote switch port analyzer information"); enableC.show.addSC("running-config", "Show system runtime configuration"); enableC.show.addSC("snmp", "Show SNMP information"); enableC.show.addSC("span", "Show switch port analyzer information"); enableC.show.addSC("spantree", "Show spantree information"); enableC.show.spantree.addSC("active", "Show active ports in spanning tree"); enableC.show.spantree.addSC("backbonefast", "Show spanning tree backbone fast"); enableC.show.spantree.addSC("blockedports", "Show ports that are blocked"); enableC.show.spantree.addSC("bpdu-skewing", "Show spanning tree bpdu skewing statistics"); enableC.show.spantree.addSC("conflicts", "Show spanning tree conflicting info for vlan"); enableC.show.spantree.addSC("defaultcostmode", "Show spanning tree port cost mode"); enableC.show.spantree.addSC("guard", "Show spanning tree guard info"); enableC.show.spantree.addSC("mapping", "Show spanning tree vlan and instance mapping"); enableC.show.spantree.addSC("mistp-instance", "Show spantree info for MISTP instance"); enableC.show.spantree.addSC("portfast", "Show spanning tree port fast info"); enableC.show.spantree.addSC("portinstancecost", "Show spanning tree port instance cost"); enableC.show.spantree.addSC("portvlancost", "Show spanning tree port vlan cost"); enableC.show.spantree.addSC("statistics", "Show spanning tree statistic info"); enableC.show.spantree.addSC("summary", "Show spanning tree summary"); enableC.show.spantree.addSC("uplinkfast", "Show spanning tree uplink fast"); enableC.show.spantree.addSC("", "Module number and Port number(s)"); enableC.show.spantree.addSC("", "VLAN number for PVST+"); enableC.show.addSC("startup-config", "Show system startup configuration"); enableC.show.addSC("summertime", "Show state of summertime information"); enableC.show.addSC("switchacceleration", "Show switch acceleration status"); enableC.show.addSC("system", "Show system information"); enableC.show.addSC("tacacs", "Show TACACS information"); enableC.show.addSC("tech-support", "Show system information for Tech-Support"); enableC.show.addSC("test", "Show results of diagnostic tests"); enableC.show.addSC("time", "Show time of day"); enableC.show.addSC("timezone", "Show the current timezone offset"); enableC.show.addSC("top", "Show TopN report"); enableC.show.addSC("traffic", "Show Traffic information"); enableC.show.addSC("trunk", "Show trunk ports"); enableC.show.trunk.addSC("detail", "Show detailed information"); enableC.show.trunk.addSC("", "Module number"); enableC.show.trunk.addSC("", "Module number and Port number(s)"); enableC.show.addSC("udld", "Show Uni-directional Link Detection information"); enableC.show.addSC("users", "Show active Admin sessions"); enableC.show.addSC("version", "Show version information"); enableC.show.addSC("vlan", "Show Virtual LAN information"); enableC.show.vlan.addSC("mapping", "Show Vlan 802.1Q mapping"); enableC.show.vlan.addSC("trunk", "Show Vlan including trunk ports"); enableC.show.vlan.addSC("", "Vlan type (ethernet, fddi, fddinet, trbrf, trcrf)"); enableC.show.vlan.addSC("", "Vlan Number(s)"); enableC.show.addSC("vmps", "Show VMPS information"); enableC.show.addSC("vtp", "Show VTP Information"); enableC.show.vtp.addSC("domain", "Show VTP domain information"); enableC.show.vtp.addSC("statistics", "Show VTP statistic information"); enableC.addSC("slip", "Attach/detach Serial Line IP interface"); enableC.addSC("squeeze", "Reclaim space used by deleted files"); enableC.addSC("telnet", "Telnet to a remote host"); enableC.telnet.addSC("encrypt", "Perform encryption"); enableC.telnet.encrypt.addSC("kerberos", "Perform kerberos authentication"); enableC.telnet.encrypt.kerberos.addSC("", "Specify the host name"); enableC.telnet.encrypt.kerberos[""].addSC("", "Specify the port number"); enableC.telnet.addSC("", "Specify the host name"); enableC.telnet[""].addSC("", "Specify the port number"); enableC.addSC("test", "Test command, use 'test help' for more info"); enableC.addSC("traceroute", "Trace the route to a host"); enableC.traceroute.addSC("-i", "Specify the initial TTL"); enableC.traceroute.addSC("-m", "Specify maximum TTL"); enableC.traceroute.addSC("-n", "No DNS lookup"); enableC.traceroute.addSC("-p", "Specify base UDP destination port number"); enableC.traceroute.addSC("-q", "Specify number of queries"); enableC.traceroute.addSC("-t", "Specify TOS"); enableC.traceroute.addSC("-w", "Specify wait time"); enableC.traceroute.addSC("", "IP address or hostname"); enableC.traceroute[""].addSC("", "Size of the packet (0..1420)"); enableC.addSC("undelete", "Undelete a file on flash device"); enableC.addSC("upload", "Upload code from a processor"); enableC.addSC("verify", "Verify checksum of file on flash device"); enableC.addSC("wait", "Wait for x seconds"); enableC.addSC("whichboot", "Which file booted"); enableC.addSC("write", "Write system configuration to terminal/network"); enableC.write.addSC("memory", "Write to NV memory"); enableC.write.addSC("network", "Write to network"); enableC.write.addSC("terminal", "Write to terminal"); enableC.write.terminal.addSC("all", "Write default and non-default config"); enableC.write.addSC("tech-support", "Write tech-support"); enableC.write.addSC("", "IP address or hostname");