Hirschmann PowerMICE Reference Manual

Hirschmann PowerMICE Reference Manual

Command line interface industrial ethernet (gigabit-) switch
Hide thumbs Also See for PowerMICE:

Advertisement

Reference Manual

Command Line Interface
Industrial ETHERNET (Gigabit-) Switch
PowerMICE, MACH 4000
Layer 3 Enhanced
Release 2.0 07/06
© 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
Technical Support
HAC-Support@hirschmann.de
1

Advertisement

Table of Contents
loading

Summary of Contents for Hirschmann PowerMICE

  • Page 1: Reference Manual

    Reference Manual Command Line Interface Industrial ETHERNET (Gigabit-) Switch PowerMICE, MACH 4000 Layer 3 Enhanced Technical Support Release 2.0 07/06 HAC-Support@hirschmann.de © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 2 This publication has been created by Hirschmann Automation and Control GmbH according to the best of our knowledge. Hirschmann reserves the right to change the contents of this manual without prior notice. Hirschmann can give no guarantee in respect of the correctness or accuracy of the details in this publication.
  • Page 3: Table Of Contents

    INDEX ..........54 © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 4: Command Structure

    Entering Ctrl-Z will return you to the root level command prompt. 1.1.2 Parameters Parameters are order dependent. Parameters are displayed in this document in , which must be replaced with a name or italic font number. Command Structure © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 5 See “Unit-Slot-Port Naming Convention” on page 7. Character strings Use double quotation marks to identify character strings, for example, “System Name with Spaces”. An empty string (“”) is not valid. Command Structure © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 6: Special Characters

    Certain special key combinations speed up use of the CLI. They are listed in this section. Also, help is available for the CLI by typing HELP: delete previous character Ctrl-A go to beginning of line Command Structure © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 7: Physical Ports

    LAG interfaces are only used for bridging functions. Each LAG interface consists of a set of up to eight physical ports identified by their own Slot/Port. VLAN routing interfaces are only used for routing functions. Command Structure © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 8: Quick Start Up

    Use “enable” to networking device to the Privileged EXEC mode from User EXEC. Use “configure” to switch to the Global Config mode from Privileged EXEC. Use “exit” to return to the previous mode. Quick Start up © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 9: System Setup

    ‘user’ user has Read Only access. There can only be one Read/Write user and up to five Read Only users. Displays all of the login session information show loginsession (User EXEC Mode) Quick Start up © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 10 (User EXEC Mode) IP Address - IP Address of the interface Default IP is 0.0.0.0 Subnet Mask - IP Subnet Mask for the interface Default is 0.0.0.0 Quick Start up © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 11 The user can reset the networking device or cold boot the net- (Privileged EXEC Mode) working device, both work effectively. Quick Start up © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 12: Mode-Based Command Line Interface

    To exit to the Glo- Mode Config mode, bal Config mode, enter the enter the exit command. To lineconfig command. return to the User EXEC mode, enter Ctrl-Z Mode-based Command Line Interface © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 13 Config mode bal Config mode, enter the enter the exit command. To access-list return to the User extended com- EXEC mode, <name> mand. enter Ctrl-Z Mode-based Command Line Interface © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 14: Mode-Based Topology

    Router RIP MAC Access List Policy Class Config Config Access to all commands in the Privileged EXEC mode and below are restricted through a password. Mode-based Command Line Interface © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 15: Mode-Based Command Hierarchy

    Command Prompt: Switch(Interface The resulting prompt for the interface configuration command entered in the Global Configu- ration mode is shown below: Switch(Config)# interface 2/1 Switch(Interface 2/1)# Mode-based Command Line Interface © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 16: No" Form Of A Command

    Use the command without the keyword “no” to re- enable a disabled feature or to enable a feature that is disabled by default. Mode-based Command Line Interface © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 17: Routing Commands

    Format ip proxy-arp Mode Interface Config 4.1.2.1 no ip proxy-arp This command disables proxy ARP on a router interface. Format no ip proxy-arp Mode Interface Config Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 18: Arp Cachesize

    Format arp resptime <1-10> Mode Global Config 4.1.6.1 no arp resptime This command configures the default ARP request response timeout. Format no arp resptime Mode Global Config Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 19: Arp Retries

    ARP entries. To view the total ARP entries, the operator should view the results in show arp conjunction with the results. show arp switch Format show arp Mode Privileged EXEC Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 20 ARP table. Static Entry Count Current / Max Field listing the static entry count in the ARP table and maximum static entry count in the ARP table. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 21: Ip Routing

    This command enables the IP Router Admin Mode for the master switch. Format ip routing Mode Global Config 4.2.2.1 no ip routing This command disables the IP Router Admin Mode for the master switch. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 22 Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 23: Ip Route Default

    Format no ip route distance Mode Global Config 4.2.7 ip forwarding This command enables forwarding of IP frames. Default enabled Format ip forwarding Mode Global Config Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 24: Show Ip Brief

    Is the burned in physical address of the specified interface. The format is 6 two-digit hexadecimal numbers that are separated by colons. Encapsulation Type Is the encapsulation type for the specified interface. The types are: Ethernet or SNAP. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 25: Show Ip Interface Brief

    The total number of routes in the route table. For each Next Hop Next Hop Intf The outgoing router interface to use when forwarding traffic to the next destination. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 26: Show Ip Route Entry

    4.2.15 show ip stats This command displays IP statistical information. Refer to RFC 1213 for more information about the fields that are displayed. Format show ip stats Modes Privileged EXEC Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 27: Router Discovery Protocol Commands

    This command configures the value, in seconds, of the holdtime field of the router advertisement sent from this interface. The range is the maxadvertinterval to 9000 seconds. Default 3 * maxinterval Format ip irdp holdtime <maxadvertinterval-9000> Mode Interface Config Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 28: Ip Irdp Maxadvertinterval

    4.3.6.1 no ip irdp preference This command configures the default preferability of the address as a default router address, relative to other router addresses on the same subnet. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 29: Virtual Lan Routing Commands

    Mode VLAN Database 4.4.2 show ip vlan This command displays the VLAN routing information for all VLANs with routing enabled in the system. Format show ip vlan Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 30: Virtual Router Redundancy Protocol (Vrrp) Commands

    Mode Global Config 4.5.2.1 no ip vrrp This command disables the global administrative mode of VRRP in the router. Format no ip vrrp Mode Global Config Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 31: Ip Vrrp Mode

    The parameter specifies the authorization type for virtual router {none | simple} configured on the specified interface. The parameter is optional, it is only required when [key] Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 32: Ip Vrrp Preempt

    This command sets the virtual router advertisement value for an interface. The value for advinterval is time used for VRRP advertisement in seconds. The parameter <vrID> is the virtual router ID which has an integer value range from 1 to 255. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 33: Show Ip Vrrp Interface Stats

    'auth type' not equal to locally configured one for this virtual router. Packet Length Errors Represents the total number of VRRP packets received with packet length less than length of VRRP header. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 34: Show Ip Vrrp

    Modes Privileged EXEC User EXEC Interface Valid slot and port number separated by forward slashes. VRID Represents the router ID of the virtual router. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 35 IP Address The primary virtual router IP address. Mode Represents whether the virtual router is enabled or disabled. State Represents the state (Master/backup) of the virtual router. Routing Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 36: Routing Information Protocol (Rip) Commands

    This command enables the RIP auto-summarization mode. Default disabled Format auto-summary Mode Router RIP Config 4.6.3.1 no auto-summary This command disables the RIP auto-summarization mode. Format no auto-summary Mode Router RIP Config © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 37: Distance Rip

    <1-199> out {ospf | bgp | static | connected} Mode Router RIP Config 4.6.7.1 no distribute-list out This command is used to specify the access list to filter routes received from the source protocol. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 38: Ip Rip Authentication

    {rip1 | rip2 | both | none} Mode Interface Config 4.6.9.1 no ip rip receive version This command configures the interface to allow RIP control packets of the default version(s) to be received. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 39: Ip Rip Send Version

    {none | simple | poison} Mode Router RIP Config 4.6.12.1 no split-horizon This command sets the default RIP split horizon mode. Format no split-horizon Mode Router RIP Config © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 40: Show Ip Rip

    Sets a default for the metric of redistributed routes.This field displays the default metric if one has already been set or blank if not configured earlier. The valid values are (1 to 15) © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 41: Show Ip Rip Interface Brief

    Bad Routes Received The number of routes contained in valid RIP packets that were ignored for any reason. Updates Sent The number of triggered RIP updates actually sent on this interface. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 42 © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 43: Quality Of Service (Qos) Commands

    5.1.1.1 no mac access-list extended This command deletes a MAC ACL identified by <name> from the system. Format no mac access-list extended <name> Mode Global Config Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 44 0x809B 0x0806 ibmsna 0x80D5 ipv4 0x0800 ipv6 0x86DD 0x8037 mplsmcast 0x8848 mplsucast 0x8847 netbios 0x8191 novell 0x8137, 0x8138 pppoe 0x8863, 0x8864 rarp 0x8035 Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 45 MAC ACL to display. [name] Format show mac access-lists [name] Mode Privileged EXEC Rule Number The ordered rule number identifier defined within the MAC ACL. Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 46: Ip Access Control List (Acl) Commands

    The command specifies a source ipaddress and source mask for match condition of the IP ACL rule specified by the srcip and srcmask parameters. Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 47 Default none Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 48 A lower number indicates higher precedence order. If a sequence number is already in Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 49 Valid range is (1 to 4294967295). Quality of Service (QoS) Commands © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 50: Class Of Service (Cos) Commands

    The switch supports 8 queues per interface. A value from 0-100 (percentage of link rate) must be specified for each supported queue, with 0 indicating no maximum bandwidth is in effect. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 51 That is, any WRR queue must start at class 0 and be consecutive. Format no cos-queue strict <queue-id-1> [<queue-id-2> … <queue-id-n>] Modes Global Config Interface Config © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 52: Show Classofservice Trust

    This command displays the class-of-service queue configuration for the specified interface. The slot/ port parameter is optional. If specified, the class-of-service queue configuration of the interface is displayed. If omitted, the most recent global configuration settings are displayed. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 53 This is a configured value. Scheduler Type Indicates whether this queue is scheduled for transmission using a strict priority or a weighted scheme. This is a configured value. © 2001- 2006 Hirschmann Automation and Control GmbH. All Rights Reserved.
  • Page 54: Index

    ip rip authentication 38 INDEX ip rip receive version 38 ip rip send version 39 ip route default 23 Symbols ip route distance 23 {deny|permit} 44 ip routing 21 ip vrrp 30 access-list 46 ip vrrp authentication 31 areaid 5 ip vrrp ip 31 arp 17 ip vrrp mode 31...
  • Page 55 show ip route preferences 26 show ip stats 26 show ip vrrp 34 show ip vrrp interface 34 show ip vrrp interface brief 34 show ip vrrp interface stats 39 show mac access-lists 45 show router rip interface 41 slot/port 5 splithorizon 39 vlan routing 29...
  • Page 56 Hirschmann Competence In the longterm, product excellence alone is not an absolute guarantee of a successful project implementation. Comprehensive service makes a difference worldwide. In the current scenario of global competition, the Hir- schmann Competence Center stands head and shoulders above the competition with its comprehensive spec-...

This manual is also suitable for:

Mach 4000

Table of Contents