SmartSwitch Router Command Line Interface Reference Manual 9032553
Notice Notice Cabletron Systems reserves the right to make changes in specifications and other information contained in this document without prior notice. The reader should in all cases consult Cabletron Systems to determine whether any such changes have been made. The hardware, firmware, or software described in this manual is subject to change without notice.
Notice FCC Notice This device complies with Part 15 of the FCC rules. Operation is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. NOTE: This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to Part 15 of the FCC rules.
Notice DECLARATION OF CONFORMITY ADDENDUM Application of Council Directive(s): Manufacturerβs Name: Manufacturerβs Address: European Representative Name: European Representative Address: Conformance to Directive(s)/Product Standards: Equipment Type/Environment: 89/336/EEC 73/23/EEC Cabletron Systems, Inc. 35 Industrial Way PO Box 5005 Rochester, NH 03867 Mr. J.
Notice vi
Contents Chapter 1 acl Commands Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 acl apply interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 acl apply service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 acl permit|deny icmp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
cli set command completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2 cli set history. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-3 cli set terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-4 cli show history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-5 cli show terminal. . . . . . . . . .
filters show address-filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-8 filters show port-address-lock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-10 filters show secure-port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-11 filters show static-entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-12 Chapter 14 http Commands Command Summary . . . . . . . .
Chapter 18 ip-router Commands Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 ip-router authentication add key-chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-4 ip-router authentication create key-chain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-5 ip-router global add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-6 ip-router global set . . . . . . . . . . . .
ipx add sap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-3 ipx find rip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4 ipx find sap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-5 ipx show interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-6 ipx show tables . . . . . .
ospf create-monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-9 ospf monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-10 ospf set area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-13 ospf set ase-defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26-14 ospf set export-interval . . . . . . . . . .
qos show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29-22 Chapter 30 reboot Command Chapter 31 rip Commands Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-1 rip add . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31-3 rip set broadcast-state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
stp enable port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36-2 stp set bridging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36-3 stp set port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36-5 stp show bridging-info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface About This Manual This manual provides reference information for the commands in the SmartSwitch Router (SSR) Command Line Interface (CLI). For product information not available in this manual, see the manuals listed in βRelated Documentationβ on page xvi. Note: If you plan to use CoreWatch to configure or manage the SSR, see the Core- Watch Userβs Manual and the CoreWatch online help for information.
About This Manual Related Documentation The SSR-8 documentation set includes the following items. Refer to these other documents to learn more about your product. For Information About... xvi See the...
About This Manual CLI Parameter Types The following table describes all the parameter types you can use with the CLI. Data Type Descripton Example conditional A numerical conditional expression. Special symbols are used to describe a numerical condition: > (greater than), < (less than) and != (not equal to). <1024 or >2048 or !=4096 hexadecimal A hexadecimal number a7 or 0xa7 hostname Hostname of an IP host gauguin or john-pc hostname/IP Hostname or IP address of a host nagasaki or 10.43.1.
About This Manual xviii Data Type Descripton Example IPX network.node address An IPX network and node address of the form . where is the network address of a host and is the node or MAC address of the IPX host. For some commands, if the node address is not given, the node address is assumed to be a wildcard. a1b2c3d4.
About This Manual Data Type Descripton Example string A character string. To include spaces in a string, specify the entire string in double quotes (β). abc or βabc defβ URL A Uniform Resource Locator. The type of URL depends on the command where the URL is used. Currently, two URLs are supported: TFTP: tftp://host/pathname RCP: rcp://username@host/pathname tftp://10.1.4.5/test/abc.txt rcp://dave@ssr/test/abc.
About This Manual xx SSR Command Line Interface Reference Manual
Chapter 1 Chapter 1 acl Commands The acl commands allow you to create ACLs (Access Control Lists) and apply them to IP and IPX interfaces on the SSR. An ACL permits or denies switching of packets based on criteria such as the packetβs source address and destination address, TCP or UDP port number, and so on. When you apply an ACL to an interface, you can specify whether the ACL affects incoming traffic or outgoing traffic. You also can enable a log of the ACLβs use.
Chapter 1: acl Commands acl apply interface Purpose Apply an ACL to an interface. Format acl apply interface input|ouput [logging [on|off]] Mode Configure Description The acl apply interface command applies a previously defined ACL to an interface. When you apply an ACL to an interface, you implicitly enable access control on that interface. You can apply an ACL to filter out inbound traffic, outbound traffic, or both inbound and outbound traffic.
Chapter 1: acl Commands Restrictions You can apply only one ACL of each type (IP or IPX) to an interface at one time. For example, although you can define two ACLs, βipacl1β and βipacl2β, you cannot apply them both to the same interface. You can apply IP ACLs only to IP interfaces. Likewise, you can apply IPX ACLs only to IPX interfaces. Examples Here are some examples of ACL command for applying ACLs to interfaces.
Chapter 1: acl Commands acl apply service Purpose Apply an ACL to a service on the SSR. Format acl apply service [logging [on|off]] Mode Configure Description The acl apply service command applies a previously defined ACL to a service provided by the SSR. A service is typically a server or agent running on the SSR, for example, a Telnet server or SNMP agent. By applying an ACL to a service, you can control which host can access individual services on the SSR.
Chapter 1: acl Commands β’ telnet β Telnet server β’ tftp β TFTP server logging [on|off] Enables or disables ACL logging for this interface. You can specify one of the following keywords: β’ off β Disables logging. β’ on β Enables logging. Restrictions You can apply only one ACL of each type (IP or IPX) to a service at one time. For example, although you can define two ACLs, βipacl1β and βipacl2β, you cannot apply them both to the same service.
Chapter 1: acl Commands acl permit|deny icmp Purpose Create an ICMP ACL. Format acl permit|deny icmp Mode Configure Description The acl permit icmp and acl deny icmp commands define an ACL to allow or block ICMP traffic from entering or leaving the SSR. For each of the values describing a flow, you can use the keyword any to specify a wildcard (βdonβt careβ) condition.
Chapter 1: acl Commands Examples Here are some examples of ACL commands for permitting and denying ICMP traffic flows. ssr(config)# acl 310 deny icmp 10.24.5.0/24 any Creates an ACL to deny ICMP traffic from the subnet 10.24.5.0 (with a 24 bit netmask) to any destination. ssr(config)# acl 312 permit icmp 10.12.28.44 10.43.21.0/24 Creates an ACL to permit ICMP traffic from the host 10.12.28.44 to subnet 10.43.21.0.
Chapter 1: acl Commands acl permit|deny igmp Purpose Create an IGMP ACL. Format acl permit|deny igmp Mode Configure Description The acl permit igmp and acl deny igmp commands define an ACL to allow or block IGMP traffic from entering or leaving the SSR. For each of the values describing a flow, you can use the keyword any to specify a wildcard (βdonβt careβ) condition.
Chapter 1: acl Commands Examples Here are some examples of ACL commands for permitting and denying IGMP traffic flows. ssr(config)# acl 410 deny igmp 10.1.5.0/24 any Creates an ACL to deny IGMP traffic from the subnet 10.1.5.0 (with a 24 bit netmask) to any destination. ssr(config)# acl 714 permit igmp 10.33.34.44 10.11.21.0/24 Creates an ACL to permit IGMP traffic from the host 10.33.34.44 to subnet 10.11.21.0.
Chapter 1: acl Commands acl permit|deny ip Purpose Create an IP ACL. Format acl permit|deny ip Mode Configure Description The acl permit ip and acl deny ip commands define an Access Control List to allow or block IP traffic from entering or leaving the router. Unlike the more specific variants of the acl commands for tcp and udp, the ip version of the command includes IP-based protocols such as tcp, udp, icmp and igmp.
Chapter 1: acl Commands check the port value. The SSR checks only the source and destination IP addresses in the packet. You can specify a range of port numbers using operator symbols; for example, 10-20 (between 10 and 20 inclusive), >1024 (greater than 1024), <1024 (less than 1024), !=1024 (not equal to 1024). The port numbers of some popular services are already defined as keywords. For example, for Telnet, you can enter the port number 23 as well as the keyword telnet.
Chapter 1: acl Commands ssr(config)# acl allip permit ip Creates an ACL to permit all IP traffic. Since none of the ACL fields are specified, they are all assumed to be wildcards.
Chapter 1: acl Commands acl permit|deny ipx Purpose Create an IPX ACL. Format acl permit|deny ipx Mode Configure Description The acl permit ipx and acl deny ipx commands define an ACL to allow or block IPX traffic from entering or leaving the SSR. Parameters Name of this ACL. You can use a string of characters or a number. The source IPX address in .
Chapter 1: acl Commands Source network mask. This field specifies a group of networks for which the ACL applies. This mask field is ANDed with the network portion of and the source network of the incoming packets to determine a hit. The SSR will interpret this number in hexadecimal format. You do not need to use a β0xβ prefix. This is an optional argument and if you omit the argument, the SSR uses the hexadecimal value FFFFFFFF. Destination network mask.
Chapter 1: acl Commands acl permit|deny ipxrip Purpose Create an IPX RIP (Route Information Protocol) ACL. Format acl permit|deny ipxrip Mode Configure Description The acl permit ipxrip and acl deny ipxrip commands define an ACL to allow or block IPX RIP traffic from entering or leaving the SSR. Parameters Name of this ACL. You can use a string of characters or a number. The βfromβ IPX network address.
Chapter 1: acl Commands Examples Here is an example of an ACL command for permitting IPX RIP traffic. ssr(config)# acl 100 permit ipxrip AA000001 AAFFFFFF Creates an ACL to permit IPX RIP traffic from networks AA000001 to AAFFFFFF.
Chapter 1: acl Commands acl permit|deny ipxsap Purpose Create an IPX SAP (Service Advertisement Protocol) ACL. Format acl permit|deny ipxsap Mode Configure Description The acl permit ipxsap and acl deny ipxsap commands define an ACL to allow or block IPX SAP traffic from entering or leaving the SSR. Parameters Name of this ACL. You can use a string of characters or a number. The SAP serverβs IPX address in .
Chapter 1: acl Commands Examples Here are some examples of acl commands for permitting and denying IPX SAP traffic flows. ssr(config)# acl 100 permit ipxsap F6D5E4.01:20:0A:F3:24:5D 0004 FILESERVER Creates a SAP ACL to permit SAP information related to the server βFILESERVERβ whose IPX address is F6D5E4.01:20:0A:F3:24:5D. ssr(config)# acl 200 deny ipxsap F6D5E4.01:20:0A:F3:24:5C 0009 ARCHIVESERVER Creates a SAP ACL to deny SAP information related to the server βARCHIVESERVERβ whose IPX address is F6D5E4.
Chapter 1: acl Commands acl permit|deny tcp Purpose Create a TCP ACL. Format acl permit|deny tcp Mode Configure Description The acl permit tcp and acl deny tcp commands define an ACL to allow or block TCP traffic from entering or leaving the SSR. For each of the values describing a flow, you can use the keyword any to specify a wildcard (βdonβt careβ) condition.
Chapter 1: acl Commands are already defined as keywords. For example, for Telnet, you can enter the port number 23 as well as the keyword telnet. For TCP or UDP, the number of the destination TCP or UDP port. This field applies only to incoming TCP or UDP traffic. The same requirements and restrictions for apply to . IP TOS (Type of Service) value. You can specify a TOS from 0 β 15.
Chapter 1: acl Commands acl permit|deny udp Purpose Create a UDP ACL. Format acl permit|deny udp Mode Configure Description The acl permit udp and acl deny udp commands define an ACL to allow or block UDP traffic from entering or leaving the SSR. For each of the values describing a flow, you can use the keyword any to specify a wildcard (βdonβt careβ) condition.
Chapter 1: acl Commands ready defined as keywords. For example, for Telnet, you can enter the port number 23 as well as the keyword telnet. For TCP or UDP, the number of the destination TCP or UDP port. This field applies only to incoming TCP or UDP traffic. The same requirements and restrictions for apply to . IP TOS (Type of Service) value. You can specify a TOS from 0 β 15.
Chapter 2 Chapter 2 acl-edit Commands The acl-edit command activates the ACL Editor mode. The ACL Editor provides the administrator a more user-friendly interface for maintaining and manipulating rules in an ACL. Using the editor, the user can add, delete or re-order ACL rules. In addition, if the modified ACL is currently applied to an interface, the ACL is automatically βreappliedβ to the interface and takes effect immediately. To edit an ACL, one must enter the acl-edit command from Configuration mode.
Chapter 2: acl-edit Commands acl-edit Purpose Enter ACL Editor to edit the specified ACL. Format acl-edit Mode Configure Description The acl-edit command enters the ACL Editor to edit an ACL specified by the user. Once inside the ACL editor, the user can then add, delete or re-order ACL rules for that ACL. If the ACL happens to be applied to an interface, changes made to that ACL will automatically take effect when the changes are committed to the running system.
Chapter 2: acl-edit Commands acl permit|deny Purpose Create an ACL rule to permit or deny traffic. Format acl permit|deny ... Mode ACL Editor Description The acl permit|deny commands are equivalent to the same commands in the Configuration mode. You can use these commands to create rules for the ACL that you are editing. Just like the acl commands in Configuration mode, new rules are appended to the end of the rules. You can use the move command to re-order the rules.
Chapter 2: acl-edit Commands delete Purpose Deletes a rule from an ACL. Format delete Mode ACL Editor Description The delete commands allows the administrator to delete a specific rule from an ACL. When in the ACL Editor, each rule is displayed with its rule number. One can delete a specific rule from an ACL by specifying its rule number with the delete command. Parameters Number of the ACL rule to delete.
Chapter 2: acl-edit Commands exit Purpose Exit ACL Editor. Format exit Mode ACL Editor Description The exit command allows the user to exit the ACL Editor. Before exiting, if changes are made to this ACL, the system will prompt the user to see if the changes should be committed to the running system or discarded. If the user commits the changes then changes made to this ACL will take effect immediately. If the ACL is applied to an interface, the ACL is automatically re-applied to the interface.
Chapter 2: acl-edit Commands move Purpose Re-order ACL rules by moving a rule to another position. Format move after Mode ACL Editor Description The move command provides the user with the ability to re-order rules within an ACL. When new rules are entered in the ACL Editor, they are appended to the end of the rules. One can move these rules to the desired location by using the move command.
Chapter 2: acl-edit Commands save Purpose Save any changes made by the ACL Editor. Format save Mode ACL Editor Description The save command saves any non-committed changes made by the ACL Editor. If changes are made to this ACL, the changes will be saved and will take effect immediately. If the ACL is applied to an interface, the ACL is automatically re-applied to the interface. Packets going through this interface will be matched against the new rules in this ACL.
Chapter 2: acl-edit Commands show Purpose Displays the contents of the ACL in the current editing session. Format show Mode ACL Editor Description The show command displays the contents of the ACL currently being edited. Parameters None Restrictions None Examples ssr(acl-edit)# show 1*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2000-2002 any 2*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2003-2005 any Displays contents of the ACL currently being edited.
Chapter 3 Chapter 3 aging Commands The aging commands control aging of learned MAC address entries in the SSRβs L2 lookup tables. Using the aging commands, you can show L2 aging information, disable L2 aging on specific ports, and set the aging time on specific ports. Command Summary Table 3 lists the L2 aging commands. The sections following the table describe the command syntax.
Chapter 3: aging Commands aging l2 disable Purpose Disable aging of MAC addresses. Format aging l2 disable |all-ports Mode Configure Description By default, the SSR ages learned MAC addresses in the L2 lookup tables. Each port has its own L2 lookup table. When a learned entry ages out, the SSR removes the aged out entry. You can disable this behavior by disabling aging on all ports or on specific ports. Parameters |all-ports The port(s) on which you want to disable aging.
Chapter 3: aging Commands aging l2 set aging-timeout Purpose Set the aging time for learned MAC entries. Format aging l2 set |all-ports aging-timeout Mode Configure Description The aging l2 set aging-timeout command sets the aging time for learned MAC entries. When the aging time expires for a MAC address, the SSR removes the MAC address from the specified port(s). The aging time is specified in seconds.
Chapter 3: aging Commands aging l2 show status Purpose Show the L2 aging status for SSR ports. Format aging l2 show status Mode User Description The aging l2 show status command shows whether L2 aging is enabled or disabled on SSR ports. For ports on which L2 aging is enabled, this command also shows the aging time. Parameters None. Restrictions None.
Chapter 4 Chapter 4 arp Commands The arp commands enable you to add, display, and clear ARP entries on the SSR. Command Summary Table 4 lists the arp commands. The sections following the table describe the command syntax.
Chapter 4: arp Commands arp add Purpose Add an ARP entry. Format arp add mac-addr exit-port keep-time Mode Enable and Configure Description The arp add command lets you manually add ARP entries to the ARP table. Typically, the SSR creates ARP entries dynamically. Using the arp add command, you can create an ARP entry to last a specific amount of time or as a permanent ARP entry. This command exists in both Enable and Configure mode with a slight variation.
Chapter 4: arp Commands Examples Here are some examples of arp add commands. ssr# arp add 10.8.1.2 mac-addr 08:00:20:a2:f3:49 exit-port et.4.7 keep-time 15 Creates an ARP entry for the IP address 10.8.1.2 at port et.4.7 for 15 seconds. ssr(config)# arp add nfs2 mac-addr 080020:13a09f exit-port et.3.1 Creates a permanent ARP entry for the host nfs2 at port et.3.1.
Chapter 4: arp Commands arp clear Purpose Remove an ARP entry from the ARP table. Format arp clear |all Mode Enable Description The arp clear command lets you manually remove entries from the ARP table. The command can remove both dynamic and permanent entries. Parameters Hostname or IP address of the ARP entry to remove. all Remove all ARP entries, thus clearing the entire ARP table. Examples Here are some examples of arp clear commands. ssr# arp clear 10.8.1.
Chapter 4: arp Commands arp show all Purpose Display the ARP table. Format arp show |all Mode Enable Description The arp show command displays the entire ARP table. Parameters Shows the ARP entry for the specified IP address. all Shows all entries in the ARP table.
Chapter 4: arp Commands 4-6 SSR Command Line Interface Reference Manual
Chapter 5 Chapter 5 cli Commands The cli commands allows you to change the behavior of the CLI in terms of command completion and command history recall. Command Summary Table 5 lists the cli commands. The sections following the table describe the command syntax.
Chapter 5: cli Commands cli set command completion Purpose Turn on or off command completion support. Format cli set command completion on|off Mode User and Configure Description The cli set command completion command lets you enable or disable command completion support. This command works in both user and Configure mode. When executed in Configure mode, it turns on or off command completion support for the entire system.
Chapter 5: cli Commands cli set history Purpose Modify command history recall characteristics. Format cli set history size |default|maxsize Mode User and Configure Description The cli set history command lets you to set the size of the command history buffer. Each command stored in this buffer can be recalled without having the user type in the same, complete command again.
Chapter 5: cli Commands cli set terminal Purpose Modify current sessionβs terminal settings. Format cli set terminal [columns ] [rows ] Mode User Description The cli set terminal command lets you modify the terminal screen size of the current session. By telling the system the number of rows available on your terminal, the system will automatically pause when screen output fills the entire screen. Parameters columns Number of columns for your terminal. Minimum acceptable value is 20.
Chapter 5: cli Commands cli show history Purpose Display the command history from the current CLI session. Format cli show history Mode User Description The cli show history command shows the commands you have issued during the current CLI session. A number is associated with each command. A commandβs number is useful for re-entering, modifying, or negating the command. Note: You also can perform a command history recall by entering !* at any com- mand prompt. Parameters None.
Chapter 5: cli Commands cli show terminal Purpose Display information about the current terminal settings. Format cli show terminal Mode User Description The cli show terminal command shows information about the terminal settings. The terminal settings affect the display characteristics of your CLI session. Parameters None. Restrictions None.
Chapter 6 Chapter 6 configure Command The configure command places the CLI session in Configure mode. Configure mode allows you to set and change SSR parameters. Purpose Enter the CLIβs Configure mode. Format configure Mode Enable Description Enters the Configure mode. To exit Configure mode, use the exit command. Parameters None. Restrictions To enter Configure mode, you must already be in Enable mode.
Chapter 6: configure Command 6-2 SSR Command Line Interface Reference Manual
Chapter 7 Chapter 7 copy Command The copy command lets you copy a file. Purpose Copy configuration information or files. Format copy
Chapter 7: copy Command β’ rcp β For example, rcp://@/ Destination location of the information to copy. The options for the destination parameter are the same as the options for the
Chapter 8 Chapter 8 dvmrp Commands The dvmrp commands let you configure and display information about Distance Vector Multicast Routing Protocol (DVMRP) interfaces. Command Summary Table 6 lists the dvmrp commands. The sections following the table describe the command syntax.
Chapter 8: dvmrp Commands dvmrp create tunnel Purpose Create a DVMRP tunnel. Format dvmrp create tunnel local remote Mode Configure Description The dvmrp create tunnel command creates a DVMRP tunnel for sending multicast traffic between two end points. Parameters Name of this DVMRP tunnel. local IP address of the local end point of this tunnel. Note: The local IP address must already be configured on the SSR.
Chapter 8: dvmrp Commands dvmrp enable no-pruning Purpose Disable DVMRP pruning. Note: Pruning is enabled by default. Unless you have a good reason for disabling pruning, Cabletron Systems recommends that you leave it enabled. Format dvmrp enable no-pruning Mode Configure Description Disable DVMRP pruning. Parameters None. Restrictions None.
Chapter 8: dvmrp Commands dvmrp enable interface Purpose Enable DVMRP on an interface. Format dvmrp enable interface | Mode Configure Description The dvmrp enable interface command enables DVMRP on the specified interface. Parameters | IP address or tunnel name of the interface on which you are enabling DVMRP. β’ If you are enabling DVMRP on an interface that does not have a tunnel, specify the IP address.
Chapter 8: dvmrp Commands dvmrp set interface Purpose Configure various DVMRP parameters on an interface. Format dvmrp set interface | [metric ] [neighbor-timeout ] [prunetime ] [rate ] [scope ] [threshold ] Mode Configure Description The dvmrp set interface command sets DVMRP parameters on an IP interface. Parameters | IP address or hostname of the interface on which you are configuring DVMRP parameters.
Chapter 8: dvmrp Commands scope from being forwarded across an interface. This option therefore is a filtering mechanism. The threshold and the scope are two common mechanisms for implementing local simple filtering of a multicasting data. Specify an IP address and network mask. Examples: 230.2.3.4/255.255.0.0 or 230.2.3.4/16. threshold The multicast threshold of this interface.
Chapter 8: dvmrp Commands dvmrp show interface Purpose Display DVMRP interfaces. Format dvmrp show interface [] Mode Enable Description The dvmrp show interface command displays information about interfaces running DVMRP. Parameters IPaddr> Displays DVMRP information for the specified interface. Restrictions None. Examples Here is an example of the dvmrp show interface command. ssr# dvmrp show interface Address: 172.1.1.10 Subnet: 172.1.
Chapter 8: dvmrp Commands Address: 10.100.1.1 Subnet: 10.100.
Chapter 8: dvmrp Commands dvmrp show routes Purpose Display DVMRP unicast routing table. Format dvmrp show routes host |interface | net |router Mode Enable Description The dvmrp show routes command displays the contents of DVMRP unicast routing table. DVMRP routes show the topology information for the internet multicasting sites. It is independent of IP unicast routing table or protocol.
Chapter 8: dvmrp Commands Examples Here are some example of the dvmrp show routes command. ssr# dvmrp show routes router 10.50.3.42 Displays DVMRP routes offered by the next-hop router 10.50.3.42. The following is a fuller example. ssr# dvmrp show routes router Net: 207.182.216/22 Gateway: 207.135.122.10 Met: 11 Age: 50 Parent: mbone Children: mls15 leaf company leaf test downstream Net: 207.182.200/22 Gateway: 207.135.122.
Chapter 8: dvmrp Commands dvmrp start Purpose Start DVMRP multicast routing. Format dvmrp start Mode Configure Description The dvmrp start command starts DVMRP multicast routing on the configured multicast-enabled interfaces and tunnels. Note: Because DVMRP is the only multicasting protocol on the SSR, IGMP starts and stops along with DVMRP. DVMRP is by default not running. DVMRP does not interact with any unicast protocol.
Chapter 8: dvmrp Commands 8 - 12 SSR Command Line Interface Reference Manual
Chapter 9 Chapter 9 enable Command The enable command switches the CLI session from User mode to Enable mode. Format enable Mode User Description The enable command switches your CLI session from User mode to Enable mode. After you issue the command, the CLI will prompt you for a password if a password is configured. If no password is configured, a warning message advising you to configure a password is displayed.
Chapter 9: enable Command 9-2 SSR Command Line Interface Reference Manual
Chapter 10 Chapter 10 erase Command The erase command erases the contents of the scratchpad or Startup configuration files. Format erase scratchpad|startup Mode Config Description The erase scratchpad command erases the contents of the SSRβs command scratchpad. The erase startup command erases the Startup configuration from the Control Moduleβs NVRAM. Parameters scratchpad Erases the contents of the scratchpad.
Chapter 10: erase Command 10 - 2 SSR Command Line Interface Reference Manual
Chapter 11 Chapter 11 exit Command The exit command exits the current CLI mode to the previous mode. For example, if you are in the Enable mode, exit returns you to the User mode. If you are in Configure mode, exit returns you to Enable mode. If you are in User mode, exit closes your CLI session and logs you off the SSR. Format exit Mode All modes. Parameters None. Restrictions None.
Chapter 11: exit Command 11 - 2 SSR Command Line Interface Reference Manual
Chapter 12 Chapter 12 file Commands The file commands enable you to display a directory of the files on a storage device, display the contents of a file on the console, and delete a file. Command Summary Table 7 lists the file commands. The sections following the table describe the command syntax.
Chapter 12: file Commands file delete Purpose Delete a file. Format file delete Mode Enable Description The file delete command deletes the specified file. The filename can include a device name. By default, if a device name is not specified, it is assumed to be the bootflash: device which is where all configuration files are stored. Parameters Name of the file to delete. The filename can include a device name using this format: :.
Chapter 12: file Commands file dir Purpose Display contents of a file system. Format file dir Mode User. Description Displays a directory of the files on the specified storage device. Parameters Device name. You can specify one of the following: bootflash: The Control Moduleβs NVRAM. slot0: The PCMCIA flash card in slot 0 (the upper slot). slot1: The PCMCIA flash card in slot 1(the lower slot). Restrictions None.
Chapter 12: file Commands file type Purpose Display contents of a file. Format file type Mode Enable. Description Displays the contents of a file. Parameters Name of the file to display. The filename can include a device name using this format: :. By default, if a device name is not specified, it is assumed to be the bootflash: device. The bootflash device is the default device for storing configuration files. Restrictions None.
Chapter 13 Chapter 13 filters Commands The filters commands let you create and apply the following types of security filters: β’ Address filters β Address filters block traffic based on a frameβs source MAC address, destination MAC address, or both. Address filters are always configured and applied on the input port. β’ Static entry filters β Static entry filters allow or force traffic to go to a set of destination ports based on a frameβs source MAC address, destination MAC address, or both.
Chapter 13: filters Commands Table 8: filters commands (Continued) filters add static-entry name restriction allow|disallow|force source-mac dest-mac vlan in-port-list out-port-list filters show address-filter [all-source|all-destination|all-flow] [source-mac dest-mac ] [ports ] [vlan ] filters show port-address-lock ports [ports ] [vlan ] [source-mac ] filters show secure-por
Chapter 13: filters Commands filters add address-filter Purpose Applies an address filter. Format filters add address-filter name source-mac dest-mac vlan in-port-list Mode Configure Description The filters add address-filter command blocks traffic based on a frameβs source MAC address (source-mac), destination MAC address (dest-mac), or a flow (specified using both a source MAC address and a destination MAC address).
Chapter 13: filters Commands filters add port-address-lock Purpose Applies a port address lock. Format filters add port-address-lock name source-mac vlan in-port-list Mode Configure Description The filters add port-address-lock command locks a user (identified by the userβs MAC address) to a specific port or set of ports. The source MAC address will be allowed to reach only those stations and other ports that are connected to a port specified by in-port-list.
Chapter 13: filters Commands filters add secure-port Purpose Applies a port security filter. Format filters add secure-port name direction source|destination vlan in-port-list Mode Configure Description The filters add secure-port command shuts down Layer-2 access to the SSR from the ports specified by in-port-list. The SSR drops all traffic received from these ports.
Chapter 13: filters Commands filters add static-entry Purpose Applies a static entry.
Chapter 13: filters Commands dest-mac Specifies the destination MAC address. Use this option for destination or flow static entries. in-port-list Specifies the ports to which you want to apply the static entry. out-port-list Specifies the ports to which you are allowing, disallowing, or forcing packets. Restrictions You should apply flow filters (specified using both a source MAC address and a destination MAC address) only to ports that are using flow-based bridging.
Chapter 13: filters Commands filters show address-filter Purpose Displays the address filters. Format filters show address-filter [all-source|all-destination|all-flow] [source-mac dest-mac ] [ports ] [vlan ] Mode Enable Description The filters show address-filter command displays the address filters currently configured on the SSR. Parameters all-source|all-destination|all-flow Specifies the types of filters you want to display.
Chapter 13: filters Commands Restrictions None.
Chapter 13: filters Commands filters show port-address-lock Purpose Display the port address locks. Format filters show port-address-lock [ports ] [vlan ] [source-mac ] Mode Enable Description The filters show port-address-lock command displays the port-address-lock filters currently configured on the SSR. Parameters ports Restricts the display to only those port address locks that have been applied to the specified ports.
Chapter 13: filters Commands filters show secure-port Purpose Display the port security filters. Format filters show secure-port Mode Enable Description The filters show secure-port command displays the secure-port filters currently configured on the SSR. Parameters None. Restrictions None.
Chapter 13: filters Commands filters show static-entry Purpose Displays the static entry filters. Format filters show static-entry [all-source|all-destination|all-flow] ports vlan [source-mac dest-mac ] Mode Configure Description The filters show static-entry command displays the static-entry filters currently configured on the SSR. Parameters all-source|all-destination|all-flow Specifies the types of static entries you want to display.
Chapter 14 Chapter 14 http Commands The http commands allow you to display and change configuration information for the SSRβs HTTP server. Command Summary Table 9 lists the http commands. The sections following the table describe the command syntax.
Chapter 14: http Commands http disable authentication Purpose Disables authentication on the SSRβs HTTP server. Format http disable authentication Mode Config Description By default, the SSRβs HTTP server has authentication. However, if you use ACLs (Access Control Lists) to secure access to the SSR, you may want to disable the HTTP serverβs own authentication process. The http disable authentication command disables HTTP authentication. Parameters None. Restrictions None.
Chapter 14: http Commands http show Purpose Displays information about the SSRβs HTTP server. Format http show all|access|server|statistics Mode Enable Description The http show command displays the following information about the SSRβs HTTP server: β’ Last 5 requests made against the server. β’ Operational status of the server (enabled or disabled). β’ Usage and error statistics for the server. Parameters all Displays all the HTTP information (equivalent to using all the following keywords).
Chapter 14: http Commands http stop Purpose Stops the SSRβs HTTP server. Format http stop Mode Config Description If you want to stop the HTTP server, you can do so by entering the http stop command. When you issue this command TCP port 80 is closed and the resources it was using are released. Parameters None. Restrictions None.
Chapter 15 Chapter 15 igmp Commands The igmp commands let you display and set IGMP parameters. Command Summary Table 10 lists the igmp commands. The sections following the table describe the command syntax.
Chapter 15: igmp Commands igmp enable interface Purpose Enable IGMP on an interface. Format igmp enable interface Mode Configure Description The igmp enable interface command enable IGMP on the specified interface. Parameters IP address of the interface on which you are enabling IGMP. Restrictions IGMP is not enabled on tunnels. Examples Here is an example of the igmp enable interface command. ssr(config)# igmp enable interface 10.50.1.2 Enables IGMP on interface 10.50.1.2.
Chapter 15: igmp Commands igmp set interface Purpose Configure IGMP interface. Format igmp set interface [allowed-groups |not-allowed-groups ] [use-all-ports] Mode Configure Description Sets the IGMP Host Membership Query time interval. The interval you set applies to all ports on the SSR. Parameters allowed-groups Restricts the groups to only those specified. not-allowed-groups Allows any groups besides those specified.
Chapter 15: igmp Commands igmp set queryinterval Purpose Configure IGMP Host Membership Query interval. Format igmp set queryinterval Mode Configure Description Sets the IGMP Host Membership Query time interval. The interval you set applies to all ports on the SSR. Parameters A value from 20 β 3600. The default is 125. Restrictions None. Examples Here is an example of the igmp set queryinterval command. ssr(config)# igmp set queryinterval 30 Sets the query interval to 30 seconds.
Chapter 15: igmp Commands igmp set responsetime Purpose Configure IGMP Host Membership response wait time. Format igmp set responsetime Mode Configure Description Sets the wait time for IGMP Host Membership responses. The wait time you set applies to all ports on the SSR. Parameters Response wait time in seconds. Specify a number from 10 β 3599. The default is 10. Restrictions None. Examples Here is an example of the igmp set responsetime command.
Chapter 15: igmp Commands igmp show interfaces Purpose Shows the interfaces running IGMP. Format igmp show interfaces [group |interface ] Mode Enable Description The igmp show interfaces command shows interfaces by name or by group. When you use the command is to show interfaces by group, all interfaces containing the group membership are shown.
Chapter 15: igmp Commands Address: 10.135.89.10 Subnet: 10.135.89.0/25 Met: 1 Thr: 1 Name : test State: Up Querier Igmp Dvmrp Address: 207.135.122.11 Subnet: 207.135.122.8/29 Met: 1 Thr: 1 Name : mbone State: Up Igmp Dvmrp Groups : 224.0.1.11 224.0.1.12 224.2.127.254 239.255.255.255 224.2.127.
Chapter 15: igmp Commands igmp show memberships Purpose Display IGMP host memberships. Format igmp show memberships [group |port ] Mode Enable Description The igmp show memberships command displays IGMP host members on a specific interface and/or for a particular multicast group. Parameters group Address of the multicast group for which to display host memberships. port Port numbers on which the members reside. Restrictions None.
Chapter 15: igmp Commands Group : 224.0.1.24 Ports: et.5.1 Group : 224.1.127.255 Ports: et.5.1 Group : 224.2.127.253 Ports: et.1.1 et.5.1 Group : 224.2.127.254 Ports: et.1.1 et.5.1 Group : 239.255.255.255 Ports: et.1.
Chapter 15: igmp Commands igmp show timers Purpose Display IGMP timers. Format igmp show timers Mode Enable Description The igmp show timers command displays IGMP timers. Parameters None. Restrictions None.
Chapter 16 Chapter 16 interface Commands The interface commands let you create IP and IPX interfaces, add network mask and broadcast address information to existing IP interfaces, and display configuration information for IP and IPX interfaces. Command Summary Table 11 lists the interface commands. The sections following the table describe the command syntax.
Chapter 16: interface Commands interface add ip Purpose Configure secondary addresses for an existing interface. Format interface add ip address-mask [broadcast ] Mode Configure Description The interface add ip command configures secondary addresses for an existing IP interface. Note: The interface must already exist. To create an interface, enter the interface create ip command. Parameters Name of the IP interface; for example, ssr4.
Chapter 16: interface Commands Examples Here is an example of the interface add ip command. ssr(config)# interface add ip ssr4 address-mask 10.23.4.36/24 Configures a secondary address of 10.23.4.36 with a 24-bit netmask (255.255.255.0) on the IP interface ssr4.
Chapter 16: interface Commands interface create ip Purpose Create an IP interface. Format interface create ip address-mask [broadcast ] vlan |port mtu [output-mac-encapsulation ] [up|down] [mac-addr ] Mode Configure Description The interface create ip command creates and configures an IP interface.
Chapter 16: interface Commands mat (example: 10.1.2.3/255.255.0.0) or the CIDR format (example: 10.1.2.3/16). If you specify an address without mask information, the SSR uses the natural mask for the address ( /8 for Class A, /16 for Class B or /24 for Class C). vlan Name of the VLAN associated with this interface. port Port associated with this interface. mtu Sets the Maximum Transmission Unit (MTU) for this interface. up Sets the state of the interface to up.
Chapter 16: interface Commands ssr(config)# vlan add ports et.3.1-4 to IP3 ssr(config)# interface create ip ssr3 address-mask 10.20.3.42/24 vlan IP3 These commands create a VLAN called IP3, add ports et.3.1 through et.3.4 to the VLAN, then create an IP interface on the VLAN. ssr(config)# interface create ip ssr7 address-mask 10.50.89.88/ 16 port et.1.3 Creates an interface called βssr7β with the address 10.50.89.88 and a 16-bit subnet mask. The interface is associated with port et.1.3.
Chapter 16: interface Commands interface create ipx Purpose Create an IPX interface. Format interface create ipx address vlan | port [output-mac-encapsulation ] [up|down] [mac-addr ] Mode Configure Description The interface create ipx command creates and configures an IPX interface. Configuration of an IPX interface can include information such as the interfaceβs name, IPX address, VLAN, port, and output MAC encapsulation.
Chapter 16: interface Commands output-mac-encapsulation The output MAC encapsulation associated with this interface. You can specify one of the following: β’ ethernet_ii (the default) β’ ethernet_snap β’ ethernet_802.2_ipx mac-addr Sets the MAC address for this interface. You can specify one of the following: β’ A specific MAC address β specify the entire MAC address as follows: xx:xx:xx:xx:xx:xx β’ An offset from the base MAC address in the pool β specify the offset.
Chapter 16: interface Commands ssr(config)# interface create ipx ssr6 address 82af3d58 port et.1.4 mac-addr 00:01:02:03:04:05 Creates an interface called βssr6β with the MAC address 00:01:02:03:04:05 and IPX address 82af3d58 for port et.1.4. ssr(config)# interface create ipx ssr7 address 82af3d59 vlan IPXVLAN et.1.4 mac-addr basemac Creates an interface called βssr7β for a VLAN called βIPX-VLANβ on port et.1.4 with the MAC address at the base of the SSRβs MAC address pool.
Chapter 16: interface Commands interface show ip Purpose Display configuration of an IP interface. Format interface show ip | all Mode Enable Description The interface show ip command displays configuration information for an IP interface. Note: You can display exactly the same information from within the ip facility using the ip show interface command. Parameters | all Name of the IP interface; for example, ssr4.
Chapter 16: interface Commands interface show ipx Purpose Display configuration of an IPX interface. Format interface show ipx | all Mode Enable Description The interface show ipx command displays configuration information for an IPX interface. Note: You can display exactly the same information from within the ip facility using the ipx show interface command. Parameters | all Name of the IPX interface; for example, ssr9.
Chapter 16: interface Commands 16 - 12 SSR Command Line Interface Reference Manual
Chapter 17 Chapter 17 ip Commands The ip commands let you display route table entries and various IP related tables. Command Summary Table 12 lists the ip commands. The sections following the table describe the command syntax.
Chapter 17: ip Commands ip add route Purpose Configure a static route. Format ip add route |default gateway [host] [interface ] [preference ] [retain] [reject] [no-install] [blackhole] Mode Configure Description The ip add route command creates a static route entry in the route table. The static route can be a default route, a route to a network or a route a specific host.
Chapter 17: ip Commands shutdown. The retain option can be used to insure that some routing is available even when GateD is not running. reject If specified, install this route as a reject route. Instead of forwarding a packet like a normal route, reject routes cause packets to be dropped and unreachable messages to be sent to the originator of the packet.
Chapter 17: ip Commands ip helper-address Purpose Configure the router to forward specific UDP broadcast packets across interfaces. Format ip helper-address interface Mode Configure Description The ip helper-address command allows the user to forward specific UDP broadcast from one interface to another. Typically, broadcast packets from one interface are not forwarded (routed) to another interface.
Chapter 17: ip Commands Destination UDP port number of the broadcast packets to forward. If not specified, packets for the six default services will be forwarded to the helper address. Restrictions If you specify an interface name, the name must belong to an existing IP interface. Example ssr(config)# ip helper-address interface ssr1 10.1.4.5 Forward UDP broadcast packets on interface ssr1 to the host 10.1.4.5 for the six default UDP services.
Chapter 17: ip Commands ip show connections Purpose Show all TCP/UDP connections and services. Format ip show connections [no-lookup] Mode Enable Description The ip show connections command displays all existing TCP and UDP connections to the SSR as well as TCP/UDP services available on the SSR. Parameters no-lookup By default, when displaying an IP address, this command attempts to do a reverse DNS lookup to look for the hostname associated with the IP address and display the hostname instead.
Chapter 17: ip Commands ip show helper-address Purpose Display the configuration of IP helper addresses. Format ip show helper-address [] Mode Enable Description The ip show helper-address command displays the configuration of IP helper addresses configured on the system. One can specify the optional parameter, interfacename, to show only the IP helper addresses configured for that interface.
Chapter 17: ip Commands ip show interfaces Purpose Display the configuration of IP interfaces. Format ip show interfaces [] Mode Enable Description The ip show interfaces command displays the configuration of an IP interface. If you issue the command without specifying an interface name then the configuration of all IP interfaces is displayed. This command displays the same information as the interface show ip command.
Chapter 17: ip Commands ip show routes Purpose Display the IP routing table. Format ip show routes [no-lookup] [show-arps] [show-multicast] [verbose] Mode Enable Description The ip show routes command displays the IP routing table. Different command options can be used to show different aspects of the routing table.
Chapter 17: ip Commands Example ssr# ip show routes Destination ----------10.1.0.0/16 10.2.0.0/16 10.3.0.0/16 10.4.0.0/16 14.3.2.1 21.0.0.0/8 30.1.0.0/16 50.1.0.0/16 61.1.0.0/16 62.1.0.0/16 68.1.0.0/16 69.1.0.0/16 127.0.0.0/8 127.0.0.1 210.11.99.0/24 Gateway ------50.1.1.2 50.1.1.2 50.1.1.2 50.1.1.2 61.1.4.32 50.1.1.2 directly connected directly connected directly connected 50.1.1.2 directly connected 50.1.1.2 127.0.0.1 127.0.0.
Chapter 18 Chapter 18 ip-router Commands The ip-router commands let you configure and monitor features and functions that work across the various routing protocols. Command Summary Table 13 lists the ip-router commands. The sections following the table describe the command syntax.
Chapter 18: ip-router Commands Table 13: ip-router commands (Continued) ip-router policy create bgp-export-source ip-router policy create bgp-import-source ip-router policy create direct-export-source ip-router policy create filter ip-router policy create optional-attributes-list ip-router policy create ospf-export-destination ip-router policy create ospf-export-sourc
Chapter 18: ip-router Commands SSR Command Line Interface Reference Manual 18 - 3
Chapter 18: ip-router Commands ip-router authentication add key-chain Purpose Add a key to an existing key-chain. Format ip-router authentication add key-chain Mode Configure Parameters Specifies the options you are adding. Specify one of the following: key Adds a new key to an existing key-chain. The key can be up to 16 characters long. type primary|secondary Specifies whether the key is a primary key or a secondary key within the key chain. Restrictions None.
Chapter 18: ip-router Commands ip-router authentication create key-chain Purpose Create a key-chain and associate an identifier with it. Format ip-router authentication create key-chain Mode Configure Parameters Specifies the options you are adding. Specify one of the following: key Specifies a key to be included in this key chain. The key can be up to 16 characters long.
Chapter 18: ip-router Commands ip-router global add Purpose Add an interface or martian. Martians are invalid addresses that are rejected by the routing software. Format ip-router global add interface ip-router global add martian |default [host] [allow] Mode Configure Parameters interface Makes an interface known to the IP router. martian |default [host] [allow] Adds a martian.
Chapter 18: ip-router Commands ip-router global set Purpose Set various global parameters required by various protocols. Format ip-router global set Mode Configure Parameters Specify one of the following: autonomous-system loops The autonomous system number. sets the as number for the router. It is only required if the router is going to run BGP. Specify a number from 1 β 65534. controls the number of times the as may appear in the as-path.
Chapter 18: ip-router Commands β’ preference β Sets the preference for routes to this interface when it is up and functioning. Specify a number from 0 β 255. Default value is 0. β’ down-preference β Sets the preference for routes to this interface when it is down. Specify a number from 0 β 255. Default value is 255. β’ passive β Prevents changing of route preference to this interface if it is down.
Chapter 18: ip-router Commands ip-router global set trace-options Purpose Set various trace options. Format ip-router global set trace-options Mode Configure Parameters Specifies the trace options you are setting. Specify one or more of the following: β’ startup β Trace startup events. β’ parse β Trace lexical analyzer and parser of gate-d config files. β’ ydebug β Trace lexical analyzer and parser in detail. β’ adv β Trace allocation & freeing of policy blocks.
Chapter 18: ip-router Commands Restrictions None.
Chapter 18: ip-router Commands ip-router global set trace-state Purpose Enable or disable tracing. Format ip-router global set trace-state on|off Mode Configure Parameters on|off Specifies whether you are enabling or disabling tracing. Specify on to enable tracing or specify off to disable tracing. The default is off. Restrictions None.
Chapter 18: ip-router Commands ip-router global use provided_config Purpose Causes the SSR to use the configuration file stored in the Control Moduleβs NVRAM. Format ip-router global use provided_config Mode Configure Parameters None. This command requires that you first copy the GateD configuration into the Control Moduleβs NVRAM. To do this, enter the following command in Privilege mode: ssr# copy tftp-server to gated.conf TFTP server [10.50.89.88]? 10.50.89.88 Source filename [tmp/gated.
Chapter 18: ip-router Commands ip-router kernel trace Purpose Provides trace capabilities between the Routing Information Base and the Forwarding Information Base. Format ip-router kernel trace detail|send|receive Mode Configure Parameters Specifies the kernel trace options. Specify one or more of the following: packets Packets exchanged with the kernel. routes Routes exchanged with the kernel. redirect Redirect messages received from the kernel.
Chapter 18: ip-router Commands Informational messages received from the routing socket, such as TCP lossage, routing lookup failure, and route resolution request. Restrictions None.
Chapter 18: ip-router Commands ip-router policy add filter Purpose Adds a route filter. Routes are specified by a set of filters that will match a certain set of routes by destination, or by destination and mask. Format ip-router policy add filter network [exact|refines|between ][host-net] Mode Configure Parameters Specify one or more of the following: filter Specifies the identifier of the route filter.
Chapter 18: ip-router Commands host-net This option qualifies that the specified network is a host. To match, the address must exactly match the specified and the network mask must be a host mask (i.e. all ones). This is equivalent to a network specification of host/255.255.255.255 along with the exact option. Restrictions None.
Chapter 18: ip-router Commands ip-router policy add optional-attributes-list Purpose Expands a previously created optional-attributes-list. Format ip-router policy add optional-attributes-list Mode Configure Parameters Specifies the options. Specify one or more of the following: optional-attributes-list Specifies the identifier for the optional attributes list you are expanding.
Chapter 18: ip-router Commands no-export-subconfed Specifies that all routes received with this attribute value will not be advertised to external BGP peers (this includes peers in other members autonomous systems inside a BGP confederation). reserved-community Specifies one of the reserved communities which is not wellknown. A reserved community is one which is in one of the following ranges (0x0000000 - 0x0000FFFF) or (0xFFFF0000 - 0xFFFFFFFF). Restrictions None.
Chapter 18: ip-router Commands ip-router policy aggr-gen destination Purpose Creates an aggregate or generate route. Format ip-router policy aggr-gen destination [source [filter |[network [exact|refines|between ] [preference |restrict]]]] Mode Configure Parameters destination Is the identifier of the aggregate-destination that specifies the aggregate/summarized route.
Chapter 18: ip-router Commands refines This option specifies that the mask of the routes to be aggregated must be more specific (i.e. longer) than the supplied mask. This is used to match subnets. between Specifies that the mask of the destination must be as or more specific (i.e., as long as longer) than the lower limit (the first number parameter) and no more specific (i.e. as long as or shorter) than the upper limit (the second parameter).
Chapter 18: ip-router Commands ip-router policy create aggregate-export-source Purpose Creates a source for exporting aggregate routes into other protocols. Format ip-router policy create aggregate-export-source [metric |restrict] Mode Configure Parameters Specify one or more of the following options: Specifies the identifier of the aggregate export source. metric Specifies the metric to be associated with the exported routes.
Chapter 18: ip-router Commands ip-router policy create aggr-gen-dest Purpose Creates an aggregate-generation destination. An aggregate-generation destination is one of the building blocks needed to create an aggregate/generate route.
Chapter 18: ip-router Commands ip-router policy create aggr-gen-source Purpose Creates a source for the routes contributing to a aggregate/generate route.
Chapter 18: ip-router Commands tag Restricts selection of routes to those identified by a tag. preference Specifies the preference to assign to the contributing routes. restrict Indicates that these routes cannot contribute to the aggregate. Restrictions None.
Chapter 18: ip-router Commands ip-router policy create aspath-export-source Purpose Create an export source where routes to be exported are identified by the autonomous system path associated with them. This command applies only if you are using BGP. Format ip-router policy create aspath-export-source Mode Configure Parameters Specifies a name or number for the Autonomous System path export source.
Chapter 18: ip-router Commands Specifies whether the origin of the routes to be exported was an interior gateway protocol or an exterior gateway protocol. Specify one of the following: β’ any β’ igp β’ egp β’ incomplete metric Specifies metric associated with the exported routes. restrict Nothing is exported from the specified source. Note: You can specify metric or restrict even if you specified protocol, aspath-regular-expression, or origin. Restrictions None.
Chapter 18: ip-router Commands ip-router policy create bgp-export-destination Purpose Create an export destination for BGP routes. Format ip-router policy create bgp-export-destination Mode Configure Parameters Creates a BGP export destination and associates an identifier (tag) with it. Specifies the BGP export destination options you are setting.
Chapter 18: ip-router Commands sequence-number Specifies the relative position of this export-destination in a list of bgp export-destinations. Restrictions None.
Chapter 18: ip-router Commands ip-router policy create bgp-export-source Purpose Create a source for exporting bgp routes into other protocols. Format ip-router policy create bgp-export-source Mode Configure Parameters Creates a BGP export source and associates an identifier (tag) with it. Specifies the BGP export source options you are setting.
Chapter 18: ip-router Commands ip-router policy create bgp-import-source Purpose Create a source for importing BGP routes. Format ip-router policy create bgp-import-source Mode Configure Parameters Specifies the BGP import source options you are setting. Specify the following: Creates a BGP import source and associates an identifier (tag) with it.
Chapter 18: ip-router Commands β’ incomplete β Specifies that the origin attribute of the imported routes is incomplete. optional-attribute-list Specifies the identifier of the optional-attribute-list. This option allows the specification of import policy based on the path attributes found in the BGP update. If multiple communities are specified in the aspath-opt option, only updates carrying all of the specified communities will be matched.
Chapter 18: ip-router Commands ip-router policy create direct-export-source Purpose Creates an export source for interface routes. Format ip-router policy create direct-export-source [interface ][metric |restrict] Mode Configure Parameters Creates an source for exporting interface (direct) routes and associates an identifier with it. interface This option qualifies that the direct routes should be associated with the specific interface.
Chapter 18: ip-router Commands ip-router policy create filter Purpose Creates a route filter. Routes are filtered by specifying a set of filters that will match a certain set of routes by destination, or by destination and mask. Format ip-router policy create filter network [exact|refines|between ][host-net] Mode Configure Parameters Specify one or more of the following: filter Specifies the identifier of the route filter.
Chapter 18: ip-router Commands host-net This option qualifies that the specified network is a host. To match, the address must exactly match the specified and the network mask must be a host mask (i.e. all ones). This is equivalent to a network specification of host/255.255.255.255 along with the exact option. Restrictions None.
Chapter 18: ip-router Commands ip-router policy create optional-attributes-list Purpose Creates an optional-attributes-list for BGP. Format ip-router policy create optional-attributes-list Mode Configure Parameters Specifies the options you are setting. Specify the following: Specifies the identifier for the attributes list. community-id Specifies a community identifier portion of a community split.
Chapter 18: ip-router Commands no-export-subconfed Specifies that all routes received with this attribute value will not be advertised to external BGP peers (this includes peers in other members autonomous systems inside a BGP confederation). reserved-community Specifies one of the reserved communities which is not wellknown. A reserved community is one which is in one of the following ranges (0x0000000 - 0x0000FFFF) or (0xFFFF0000 - 0xFFFFFFFF). Restrictions None.
Chapter 18: ip-router Commands ip-router policy create ospf-export-destination Purpose Create a destination for exporting routes into OSPF. Format ip-router policy create ospf-export-destination [tag ][type 1|2][metric |restrict] Mode Configure Parameters Creates an OSPF export destination and associates an identifier with it. tag Tag to be associated with exported OSPF routes.
Chapter 18: ip-router Commands ip-router policy create ospf-export-source Purpose Create a source for exporting OSPF routes into other protocols. Format ip-router policy create ospf-export-source [type ospf|ospf-ase][metric |restrict] Mode Configure Parameters Creates an OSPF export source and associates an identifier with it. type ospf Exported routes are OSPF routes. type ospf-ase Exported routes are OSPF ASE routes.
Chapter 18: ip-router Commands ip-router policy create ospf-import-source Purpose Create a source for importing OSPF routes. Format ip-router policy create ospf-import-source [tag ][preference |restrict] Mode Configure Parameters Creates an OSPF import source and associates an identifier with it. tag Tag to be associated with the imported routes. preference Preference associated with the imported OSPF routes.
Chapter 18: ip-router Commands ip-router policy create rip-export-destination Purpose Create a destination for exporting routes into RIP. Format ip-router policy create rip-export-destination [interface |gateway ] [metric |restrict] Mode Configure Parameters Specifies an identifier for the RIP export destination: interface |all Specifies router interfaces over which to export routes.
Chapter 18: ip-router Commands ip-router policy create rip-export-source Purpose Create a source for exporting RIP routes into other protocols Format ip-router policy create rip-export-source [interface |gateway ][metric |restrict] Mode Configure Parameters Specifies an identifier for the RIP export source: interface Indicates that only routes learned over specified interfaces are exported.
Chapter 18: ip-router Commands ip-router policy create rip-import-source Purpose Create a source for importing RIP routes. Format ip-router policy create rip-import-source [interface |gateway ][preference |restrict] Mode Configure Parameters Specifies an identifier for the RIP import source: interface Indicates that only routes learned over specified interfaces are imported.
Chapter 18: ip-router Commands ip-router policy create static-export-source Purpose Creates a source for exporting static routes into other protocols. Format ip-router policy create static-export-source [interface ][metric |restrict] Mode Configure Parameters Creates a source for exporting static routes and associates an identifier with it. interface This option qualifies that the static routes should be associated with the specific interface.
Chapter 18: ip-router Commands ip-router policy create tag-export-source Purpose Create an export source where routes to be exported are identified by the tag associated with them. Format ip-router policy create tag-export-source protocol all|static|direct|aggregate|rip|ospf|bgp [tag ][metric |restrict] Mode Configure Parameters Specify one or more of the following: Specifies the identifier of an tag-export source.
Chapter 18: ip-router Commands Restrictions None.
Chapter 18: ip-router Commands ip-router policy export destination Purpose Creates an export policy from the various building blocks. Format ip-router policy export destination [source [filter |[network [exact|refines|between ] [metric |restrict]]]] Mode Configure Parameters Is the identifier of the export-destination which determines where the routes are to be exported.
Chapter 18: ip-router Commands exact This option specifies that the mask of the routes to be exported must match the supplied mask exactly. This is used to match a network, but not subnets or hosts of that network refines This option specifies that the mask of the routes to be exported must be more specific (i.e. longer) than the supplied mask. This is used to match subnets. between Specifies that the mask of the destination must be as or more specific (i.e.
Chapter 18: ip-router Commands ip-router policy import source Purpose Creates an import policy. Format ip-router policy import source [filter |[network [exact|refines|between ] [preference |restrict]]] Mode Configure Parameters Is the identifier of the import-source that determines the source of the imported routes. If no routes from a particular source are to be imported, then no additional parameters are required.
Chapter 18: ip-router Commands refines This option specifies that the mask of the routes to be imported must be more specific (i.e. longer) than the supplied mask. This is used to match subnets. between Specifies that the mask of the destination must be as or more specific (i.e., as long as longer) than the lower limit (the first number parameter) and no more specific (i.e. as long as or shorter) than the upper limit (the second parameter).
Chapter 18: ip-router Commands ip-router policy redistribute Purpose Creates a simple route redistribution policy Format ip-router policy redistribute from-proto to-proto [network [exact|refines|between ]] [metric |restrict] [source-as ] [target-as ] Mode Configure Parameters from-proto Specifies the protocol of the source routes.
Chapter 18: ip-router Commands exact This option specifies that the mask of the routes to be redistributed must match the supplied mask exactly. This is used to match a network, but not subnets or hosts of that network refines This option specifies that the mask of the routes to be redistributed must be more specific (i.e. longer) than the supplied mask. This is used to match subnets. between Specifies that the mask of the destination must be as or more specific (i.e.
Chapter 18: ip-router Commands ip-router show configuration file Purpose Display the active or startup configuration file in GateD format. Format ip-router show configuration-file active|permanent Mode Enable Parameters active Shows the active GateD configuration file in RAM; this is the default. permanent Shows the permanent GateD configuration file in NVRAM, if available. Restrictions None.
Chapter 18: ip-router Commands ip-router show state Purpose Displays the state of GateD. Format ip-router show state to-file|to-terminal Mode Enable Parameters to-file Saves the routing-process state in the gated.dmp file. to-terminal Displays the routing-process state on the console. Restrictions None.
Chapter 18: ip-router Commands 18 - 54 SSR Command Line Interface Reference Manual
Chapter 19 Chapter 19 ipx Commands The ipx commands let you add entries to the IPX SAP table for SAP servers and display the IPX forwarding database, RIP table, and SAP table. Command Summary Table 14 lists the ipx commands. The sections following the table describe the command syntax.
Chapter 19: ipx Commands ipx add route Purpose Add an IPX RIP route entry to the routing table. Format ipx add route Mode Configure Description The ipx add route command adds a route into the IPX RIP routing table. Parameters Destination network address. Next routerβs Network.Node address. The number of hops to this route. You can specify a number from 0 β 14. Ticks associated with this route.
Chapter 19: ipx Commands ipx add sap Purpose Add an IPX SAP entry to the routing table. Format ipx add sap Mode Configure Description The ipx add sap command adds an entry for an IPX server to the IPX SAP table. Parameters The type of service. Specify the service type using its hexadecimal value. Name of the IPX server. You can use any characters in the name except the following: " * .
Chapter 19: ipx Commands ipx find rip Purpose Find an IPX address in the routing table. Format ipx find rip
Mode Configure Description The ipx find rip command searches for an IPX address in the routing table. Parameters The IPX network address of this interface. Specify the IPX address using its hexadecimal value. Restrictions None. Example The command in the following example finds an IPX network in the route table.Chapter 19: ipx Commands ipx find sap Purpose Find a SAP entry in the routing table. Format ipx find rip Mode Configure Description The ipx find sap command searches for a SAP entry in the routing table. Parameters The types of entry you want to find. Specify one of the following: all β Finds static and dynamic SAP entries. dynamic β Finds only the dynamic SAP entries. static β Finds only the static SAP entries. The type of service.
Chapter 19: ipx Commands ipx show interfaces Purpose Display the configuration of IPX interfaces. Format ipx show interfaces Mode Enable Description The ipx show interfaces command displays the configuration of an IPX interface. If you issue the command without specifying an interface name then the configuration of all IPX interfaces is displayed. Parameters Name of the IPX interface; for example, ssr14.
Chapter 19: ipx Commands ipx show tables Purpose Show IPX routing information. Format ipx show tables routing|rip|sap Mode User Description The ipx show tables command displays the IPX forwarding information base, the IPX RIP table, or the IPX SAP table. Parameters routing Shows the IPX routing table. rip Shows the IPX RIP table. sap Shows the IPX SAP table. Restrictions None.
Chapter 19: ipx Commands 19 - 8 SSR Command Line Interface Reference Manual
Chapter 20 Chapter 20 l2-tables Commands The l2-tables commands let you display various L2 tables related to MAC addresses. Command Summary Table 15 lists the l2-tables commands. The sections following the table describe the command syntax.
Chapter 20: l2-tables Commands l2-tables show all-flows Purpose Show all L2 flows (for ports in flow-bridging mode). Format l2-tables show all-flows [vlan [source-mac ]] [undecoded] Mode User or Enable Description The l2-tables show all-flows command shows all the L2 flows learned by the SSR. The SSR learns flows on ports that are operating in flow-bridging mode. Parameters vlan The VLAN number associated with the flows. The VLAN number can be from 1 β 4095.
Chapter 20: l2-tables Commands l2-tables show all-macs Purpose Show all MAC addresses currently in the L2 tables. Format l2-tables show all-macs [verbose [undecoded]] [vlan ] [source] [destination] [multicast] Mode User or Enable Description The l2-tables show all-macs command shows how many MAC addresses the SSR has in its L2 tables. You can format the displayed information based on VLAN, source MAC address, destination MAC address or multicast.
Chapter 20: l2-tables Commands l2-tables show bridge-management Purpose Show information about all MAC addresses registered by the system. Format l2-tables show bridge-management Mode User or Enable Description The l2-tables show bridge-management command shows MAC addresses that have been inserted into the L2 tables for management purposes. Generally, these entries are configured so that a port forwards a frame to the Control Module if the management MAC matches the frameβs destination MAC.
Chapter 20: l2-tables Commands l2-tables show igmp-mcast-registrations Purpose Show information about multicast MAC addresses registered by IGMP. Format l2-tables show igmp-mcast-registrations [vlan ] Mode User or Enable Description The l2-tables show igmp-mcast-registrations command shows the multicast MAC addresses that IGMP has registered with the L2 tables. The SSR forwards the multicast MAC addresses only to the ports that IGMP specifies.
Chapter 20: l2-tables Commands l2-tables show mac Purpose Show information about a particular MAC address. Format l2-tables show mac vlan Mode User or Enable Description The l2-tables show mac command shows the port number on which the specified MAC address resides. Parameters Is a MAC address. You can specify the address in either of the following formats: xx:xx:xx:xx:xx:xx xxxxxx:xxxxxx vlan Displays the MAC address for this VLAN. Restrictions None.
Chapter 20: l2-tables Commands l2-tables show mac-table-stats Purpose Show statistics for the MAC addresses in the MAC address tables. Format l2-tables show mac-table-stats Mode User or Enable Description The l2-tables show mac-table-stats command shows statistics for the master MAC address table in the Control Module and the MAC address tables on the individual ports. Parameters None. Restrictions None.
Chapter 20: l2-tables Commands l2-tables show port-macs Purpose Show information about MACs residing in a port's L2 table. Format l2-tables show port-macs |all-ports [[vlan ] [source] [destination] [multicast] [undecoded] [no-stats] verbose] Mode User or Enable Description The l2-tables show port-macs command shows the information about the learned MAC addresses in individual L2 MAC address tables. Each port has its own MAC address table.
Chapter 20: l2-tables Commands its (example: Cabeltron:33:44:55). The default is undecoded (example: 00:11:22:33:44:55). no-stats Lists the MAC addresses without displaying any statistics. verbose Shows detailed statistics for each MAC address entry. Restrictions None.
Chapter 20: l2-tables Commands l2-tables show vlan-igmp-status Purpose Show whether IGMP is on or off on a VLAN. Format l2-tables show vlan-igmp-status vlan Mode Enable Description The l2-tables show vlan-igmp-status command shows the multicast MAC addresses that IGMP has registered with the L2 tables. This command also shows the ports to which the multicast MAC addresses are forwarded.
Chapter 21 Chapter 21 logout Command The logout command ends the CLI session. Format logout Mode All modes Description The logout command ends your CLI session. If you have uncommitted changes in the scratchpad, a message warns you that the changes are not saved and gives you an opportunity to cancel the logout and save the changes. Parameters None. Restrictions None.
Chapter 21: logout Command 21 - 2 SSR Command Line Interface Reference Manual
Chapter 22 Chapter 22 multicast Commands The multicast dvmrp commands let you display information about IP multicast interfaces. Command Summary Table 16 lists the multicast commands. The sections following the table describe the command syntax.
Chapter 22: multicast Commands multicast show interface Purpose Display information about IP multicast interfaces. Format multicast show interface [|] Mode Enable Description The multicast show interface command displays interfaces that are running IGMP or DVMRP. Note: This command is a superset of the dvmrp show interface and igmp show interface commands. Parameters | IP address or hostname of the interface. Restrictions None.
Chapter 22: multicast Commands 224.1.127.255 224.0.1.24 224.2.127.253 224.2.127.254 Address: 10.135.89.10 Subnet: 10.135.89.0/25 Met: 1 Thr: 1 Name : test State: Up Querier Igmp Dvmrp Peer : 10.135.89.67 Flags: 0xe Version: 3.255 Address: 190.1.0.1 Subnet: 190.1/16 Met: 1 Thr: 1 Name : rip State: Dis Address: 207.135.122.11 Subnet: 207.135.122.8/29 Met: 1 Thr: 1 Name : mbone State: Up Igmp Dvmrp Peer : 207.135.122.10 Flags: 0xe Version: 3.255 Groups : 224.0.1.11 224.0.1.12 224.2.127.254 239.255.255.
Chapter 22: multicast Commands multicast show mroutes Purpose Display the IP multicast routing table. Format multicast show mroutes [child ] [group ] [parent ] Mode Enable Description The multicast show mroutes command displays the IP multicast routing table entry for the specified multicast group address.
Chapter 22: multicast Commands Examples Here is an example of the multicast show mroutes command. ssr# multicast show mroutes group 225.0.0.10 Displays the IP multicast route entry for the group 225.0.0.10. Here is a fuller example of the output from this command. ssr# multicast show mroutes Network: 130.207.8/24 Group: 224.2.1.1 Age: 99s Parent : mbone Child: test downstream Source : 130.207.8.82 Pkts: 383 Flows: 1 Network: 131.120.63/24 Group: 224.2.1.
Chapter 22: multicast Commands 22 - 6 SSR Command Line Interface Reference Manual
Chapter 23 Chapter 23 mtrace Command Purpose Trace multicast path between a source and a receiver Format mtrace
Chapter 23: mtrace Command Examples Here are some examples of mtrace commands. ssr# mtrace 2.2.2.2 Display the multicast path from IP address 2.2.2.2 to the SSR. ssr# mtrace 1.1.1.1 destination x.y.z.w group 239.1.1.1 Display the multicast path from 1.1.1.1 to x.y.z.w for the group 239.1.1.1.
Chapter 24 Chapter 24 negate Command The negate command negates a command in the scratchpad or the active configuration. Format negate [scratchpad|active-config] Mode Configure Description The negate command allows you to negate one or more commands by specifying the command number of the commands you want to negate. The command number for each command can be found using the Configure mode show command.
Chapter 24: negate Command 24 - 2 SSR Command Line Interface Reference Manual
Chapter 25 Chapter 25 no Command The no command removes a configuration command from the active configuration of the running system. Format no Mode Configure Description The no command allows you to negate a previously executed command. Following the keyword no, one can specify the command to negate in its entirety or use the wildcard character (*) to negate a group of commands.
Chapter 25: no Command 25 - 2 SSR Command Line Interface Reference Manual
Chapter 26 Chapter 26 ospf Commands The ospf commands let you display and set parameters for the Open Shortest Path First (OSPF) routing protocol. Command Summary Table 17 lists the ospf commands. The sections following the table describe the command syntax.
Chapter 26: ospf Commands Table 17: ospf commands (Continued) ospf set interface |all [state disable|enable] [cost ] [no-multicast] [retransmit-interval ] [transit-delay ] [priority ] [hello-interval ] [router-dead-interval ] [poll-interval ] [key-chain ] ospf set monitor-auth-method none|simple|md5 ospf set trace-options [lsa-build] [spf] [lsa-transmit] [lsa-receive] [state] [hello] [dd] [request] [lsu] [ack] ospf set virtual-link
Chapter 26: ospf Commands ospf add interface Purpose Associates an interface with an OSPF area. Format ospf add interface [to-area |backbone] [type broadcast|non-broadcast] Mode Configure Parameters An interface name or an IP address. to-area |backbone OSPF Area with which this interface is to be associated. type Specifies whether the interface is broadcast or non-broadcast.
Chapter 26: ospf Commands ospf add nbma-neighbor Purpose Specifies an OSPF NBMA Neighbor. Format ospf add nbma-neighbor to-interface [eligible] Mode Configure Parameters to-interface Adds the neighbor to the specified OSPF interface. eligible Specifies whether an OSPF NBMA Neighbor is eligible for becoming a designated router. Restrictions None.
Chapter 26: ospf Commands ospf add network Purpose Configures summary-ranges on Area Border Routers (ABRs). This allows you to reduce the amount of routing information propagated between areas. On the SSR, summary-ranges are created using the ospf add network command β the networks specified using this command describe the scope of an area. Intra-area Link State Advertisements (LSAs) that fall within the specified ranges are not advertised into other areas as inter-area routes.
Chapter 26: ospf Commands ospf add stub-host Purpose Adds a stub-host to an OSPF area. Format ospf add stub-host [to-area |backbone] [cost ] Mode Configure Parameters to-area |backbone OSPF Area to which you are adding a stub host. cost The cost that should be advertised for this directly attached stub host. Specify a number from 0 β 65535. Restrictions None.
Chapter 26: ospf Commands ospf add virtual-link Purpose Creates an OSPF Virtual Link. Format ospf add virtual-link [neighbor ] [transit-area ] Mode Configure Parameters A number or character string identifying the virtual link. neighbor The IP address of an OSPF virtual link neighbor. transit-area The Area ID of the transit area. Restrictions None.
Chapter 26: ospf Commands ospf create area Purpose Create an OSPF area. Format ospf create area |backbone Mode Configure Parameters |backbone The Area ID. Normally, Area IDs are formatted like IP addresses: .... backbone Specifies that the Area you are adding is the backbone area. Restrictions None.
Chapter 26: ospf Commands ospf create-monitor Purpose Create an OSPF monitor destination. Format ospf create-monitor destination Mode Enable Parameters destination Specifies the destination whose OSPF activity is to be monitored. Restrictions None.
Chapter 26: ospf Commands ospf monitor Purpose Monitor OSPF.
Chapter 26: ospf Commands ported as the number of intra-area routes, inter-area routes, and AS external data base entries. errors Shows the various error conditions which can occur between OSPF routing neighbors and the number of occurrences for each. next-hop-list Shows information about all valid next hops mostly derived from the SPF calculation. interfaces Shows information about all interfaces configured for OSPF.
Chapter 26: ospf Commands type networks-in-area β Shows routes to networks in this area. type networks-other-areas β Shows routes to networks in other areas. type as-routes β Shows AS routes to non-OSPF networks. lsa Displays the link state advertisement. Area_Id is the OSPF area for which the query is directed. Adv_Rtr is the router -id of the router which originated this link state advertisement. Type specifies the type of advertisement to request. area-id β Specifies the OSPF area.
Chapter 26: ospf Commands ospf set area Purpose Sets the parameters for an OSPF area. Format ospf set area [stub] [stub-cost ] [authentication-method none|simple|md5] Mode Configure Parameters The Area ID. stub Makes this Area a stub area. stub-cost Specifies the cost to be used to inject a default route into the area. Specify a number from 0 β 65535. authentication-method none|simple|md5 Specifies the authentication method used within the area.
Chapter 26: ospf Commands ospf set ase-defaults Purpose Sets the defaults used when importing OSPF ASE routes into the routing table and exporting routes from the routing table into OSPF ASEs. Format ospf set ase-defaults [preference ] [cost ] [type ] [inherit-metric] Mode Configure Parameters preference Specifies the preference of OSPF ASE routes. Specify a number between 0 and 255. cost Specifies the cost used when exporting non-OSPF route into OSPF as an ASE.
Chapter 26: ospf Commands ospf set export-interval Purpose Specifies the interval at which ASE LSAs will be generated and flooded into OSPF. The default is once per second. Format ospf set export-interval Mode Configure Parameters The interval in seconds. Specify a number equal to or greater than 1. The default is 1 (once per second). Restrictions None.
Chapter 26: ospf Commands ospf set export-limit Purpose Specifies how many ASEs will be generated and flooded in each batch. Format ospf set export-limit Mode Configure Parameters The export limit. Specify a number equal to or greater than 1. The default is 100. Restrictions None.
Chapter 26: ospf Commands ospf set interface Purpose Sets parameters for an OSPF interface. Format ospf set interface |all [state disable|enable] [cost ] [no-multicast] [retransmit-interval ] [transit-delay ] [priority ] [hello-interval ] [router-dead-interval ] [poll-interval ] [key-chain ] Mode Configure Parameters |all The OSPF interface for which you are setting OSPF parameters.
Chapter 26: ospf Commands priority A number between 0 and 255 specifying the priority for becoming the designated router on this interface. When two routers attached to a network both attempt to become the designated router, the one with the higher priority wins. A router whose router priority is set to 0 is ineligible to become designated router. Specify a number from 0 β 255. The default is 0.
Chapter 26: ospf Commands ospf set monitor-auth-method Purpose You can query the OSPF state using the OSPF-Monitor utility. This utility sends nonstandard OSPF packets that generate a text response from OSPF. By default these requests are not authenticated. If you specify an authentication key, the incoming requests must match the specified authentication key.
Chapter 26: ospf Commands ospf set trace-options Purpose Sets various OSPF trace options. Format ospf set trace-options lsa-build|spf|lsa-transmit|lsa-receive ospf set trace-options hello|dd|request|lsu|ack [detail] [send] [receive] Mode Configure Parameters 26 - 20 lsa-build Traces Link State Advertisement Creation. spf Traces Shortest Path First (SPF) calculations. lsa-transmit Traces Link State Advertisement (LSA) transmission. lsa-receive Traces Link State Advertisement (LSA) reception.
Chapter 26: ospf Commands Restrictions None.
Chapter 26: ospf Commands ospf set virtual-link Purpose Sets the parameters for an OSPF virtual link. Format ospf set virtual-link [state disable|enable] [cost ] [no-multicast] [retransmitinterval ] [transit-delay ] [priority ] [hello-interval ] [router-dead-interval ] [poll-interval ] Mode Configure Parameters 26 - 22 The identifier for this virtual link. state disable|enable Enables or disables the virtual link.
Chapter 26: ospf Commands work both attempt to become the designated router, the one with the higher priority wins. A router whose router priority is set to 0 is ineligible to become designated router. Specify a number from 0 β 255. hello-interval The length of time, in seconds, between hello packets that the router sends on this virtual link. Specify a number from 0 β 255. The default is 60 seconds.
Chapter 26: ospf Commands ospf show Purpose Show OSPF information. Format ospf show Mode Enable Parameters Specifies the OSPF information you want to display. Specify one or more of the following: β’ all β Displays all OSPF tables. β’ globals β Displays OSPF globals. β’ timers β Displays OSPF timers. β’ areas β Displays OSPF areas. β’ interfaces β Displays OSPF interfaces. β’ next-hop-list β Displays valid next hop entries. β’ import-policies β Displays OSPF import policies.
Chapter 26: ospf Commands Note: The areas, virtual-links, summary-asb, AS-external-LDSB, and exported-routes options can be used with the following display options: β’ to file β Saves output in the file /gatedtrc/gated.dmp. β’ to terminal β Display output on the console. This is the default.
Chapter 26: ospf Commands ospf start|stop Purpose Start or stop the OSPF protocol. OSPF is disabled by default on the SSR. Format ospf start|stop Mode Configure Parameters start Starts OSPF. stop Stops OSPF. Restrictions None.
Chapter 27 Chapter 27 ping Command The ping command tests connection between the SSR and an IP host. Format ping packets size wait [flood] [dontroute] Mode User or Enable Description The ping command test connection between the SSR and an IP host. The ping command sends ICMP echo packets to the host you specify. β’ If the packets reach the host, the host sends a ping response to the SSR and the CLI displays messages stating that the host can be reached.
Chapter 27: ping Command Restrictions If you enter this command from the User mode, the only parameter you can use is . To use any of the other parameters, you must be in Enable mode.
Chapter 28 Chapter 28 port Commands The port commands set and display the following parameters: β’ Port state (enabled or disabled) β’ Bridging status (flow-based or address-based) β’ Port operating mode (half duplex or full duplex) β’ Port speed for the 10/100 ports (10-Mbps or 100-Mbps) β’ Port mirroring (used for analyzing network traffic) Command Summary Table 18 lists the port commands. The sections following the table describe the command syntax.
Chapter 28: port Commands port disable Purpose Disable a port. Format port disable Mode Configure Description The port disable command disables the specified ports. Disabled ports do not send or receive any traffic. You might want to disable unused ports to prevent network users from inadvertently or unscrupulously connecting to unoccupied but enabled ports on the SSR. Parameters port Specifies the ports you are disabling. Restrictions None.
Chapter 28: port Commands port flow-bridging Purpose Set ports to use flow-based bridging. Format port flow-bridging |all-ports Mode Configure Description The port flow-bridging command changes the specified ports from using addressbased bridging to using flow-based bridging. A port can use only one type of bridging at a time. Each port has an L2 lookup table where MAC address or flows are stored.
Chapter 28: port Commands If the ports are configured for flow-based bridging: β’ MAC addresses A->B β’ MAC addresses B->A β’ MAC addresses B->C β’ MAC addresses A->C β’ MAC addresses C->A β’ MAC addresses C->B β’ MAC addresses A->broadcast β’ MAC addresses B->broadcast β’ MAC addresses C->broadcast Parameters | all-ports Specifies the ports you are changing to flowbased bridging. The keyword all-ports changes all the ports on the SSR to flow-based bridging. Restrictions None.
Chapter 28: port Commands port mirroring Purpose Mirror traffic to a port for external analysis. Format port mirroring to cpu-port-traffic | traffic-from [|any] traffic-to [|any] Mode Configure Description The port mirroring command mirrors the type of traffic you specify to a port. By attaching a protocol analyzer to the port, you can observe and analyze the mirrored traffic. Parameters Specifies the port to which you want to send the mirrored traffic.
Chapter 28: port Commands Restrictions Note the following restrictions: β’ Unless you are mirroring the traffic form the Control Module, you must specify either an input port or an output slot. β’ You cannot specify the any keyword with both the traffic-from and traffic-to options at the same time. β’ None of the ports on the slot containing the protocol analyzer port can send or receive traffic while port mirroring is taking place.
Chapter 28: port Commands port set Purpose Set port operating mode and port speed. Format port set [|all-ports] [duplex full|half] [speed 10Mbps|100Mbps] [auto-negotiation on|off] [hash-mode m0|m1|m2|m3] Mode Configure Description Depending on the media type of a port, the port set command lets you set various parameters of each port. For 10/100-Mbps Ethernet, you can set the following: β’ Operating mode (half-duplex or full-duplex). β’ Port speed (10-Mbps or 100-Mbps).
Chapter 28: port Commands speed 10Mbps|100Mbps Sets the port speed to 10-Mbps or 100-Mbps. This option is valid for 10/100 Mbps Ethernet only. auto-negotiation on|off Turn on or off auto-negotiation for Gigabit Ethernet. hash-mode m0|m1|m2|m3 Set the Layer 2 hash mode for this port.
Chapter 28: port Commands port show bridging-status Purpose Display the bridging status of SSR ports. Format port show bridging-status |all-ports Mode Enable Description The port show bridging-status command lets you display bridging-status information for SSR ports. Parameters |all-ports Specifies the ports for which you want to display information. The all-ports keyword displays the selected information for all the SSR ports. Restrictions None.
Chapter 28: port Commands port show port-status Purpose Display various information about specified ports. Format port show port-status |all-ports Mode Enable Description The port show port-status command lets you display port-status information for SSR ports. Parameters |all-ports Specifies the ports for which you want to display information. The all-ports keyword displays the selected information for all the SSR ports. Restrictions None.
Chapter 28: port Commands port show stp-info Purpose Display Spanning Tree (STP) information for SSR ports. Format port show stp-info |all-ports Mode Enable Description The port show stp-info command lets you display Spanning-Tree information for SSR ports. Parameters |all-ports Specifies the ports for which you want to display information. The all-ports keyword displays the selected information for all the SSR ports. Restrictions None.
Chapter 28: port Commands port show vlan-info Purpose Display VLAN information for SSR ports. Format port show vlan-info |all-ports Mode Enable Description The port show vlan-info command lets you display VLAN information about SSR ports. Parameters |all-ports Specifies the ports for which you want to display information. The all-ports keyword displays the selected information for all the SSR ports. Restrictions None Example Here is an example of a port show vlan-info command.
Chapter 28: port Commands port show mirroring-status Purpose Show the port mirroring status for slots in the SSR chassis.
Chapter 28: port Commands 28 - 14 SSR Command Line Interface Reference Manual
Chapter 29 Chapter 29 qos Commands The qos commands define and display Quality of Service (QOS) parameters. Use the command to classify Layer 2, Layer 3, and Layer 4 traffic into the following priorities: β’ control β’ high β’ medium β’ low By assigning priorities to network traffic, you can ensure that critical traffic will reach its destination even if the exit ports for the traffic are experiencing greater than maximum utilization.
Chapter 29: qos Commands Queuing Policies You can use one of two queuing policies on the SSR: β’ strict priority β assures the higher priorities of throughput but at the expense of lower priorities. For example, during heavy loads, low-priority traffic can be dropped to preserve throughout of control-priority traffic, and so on. β’ weighted fair queuing β distributes priority throughput among the four priorities (control, high, medium, and low) based on percentages.
Chapter 29: qos Commands Table 19: qos commands (Continued) qos show l2 all-destination all-flow ports vlan source-mac dest-mac SSR Command Line Interface Reference Manual 29 - 3
Chapter 29: qos Commands qos precedence ip Purpose Set the precedence of the IP flow fields. Format qos precedence ip [sip ] [dip ] [srcport ] [destport ] [tos ] [protocol ] [intf ] Mode Configure Description The qos precedence ip command lets you set the QOS precedence for various flow fields in IP traffic.
Chapter 29: qos Commands Parameters sip Specifies the precedence of the source address field in IP flows. Specify a precedence from 1 β 7. dip Specifies the precedence of the destination address field in IP flows. Specify a precedence from 1 β 7. srcport Specifies the precedence of the source port field in IP flows. Specify a precedence from 1 β 7. dstport Specifies the precedence of the destination port field in IP flows. Specify a precedence from 1 β 7.
Chapter 29: qos Commands qos precedence ipx Purpose Set the precedence of the IPX flow fields. Format qos precedence ipx [srcnet ] [srcnode ] [srcport ] [dstnet ] [dstnode ] [dstport ] [intf ] Mode Configure Description The qos precedence ipx command lets you set the precedence of the following fields in IPX flows.
Chapter 29: qos Commands Parameters srcnet Specifies the precedence of the source network field in IPX flows. Specify a precedence from 1 β 7. srcport Specifies the precedence of the source port field in IPX flows. Specify a precedence from 1 β 7. srcnode Specifies the precedence of the source node field in IPX flows. Specify a precedence from 1 β 7. dstnet Specifies the precedence of the destination network field in IPX flows. Specify a precedence from 1 β 7.
Chapter 29: qos Commands qos set ip Purpose Set a priority for an IP flow.
Chapter 29: qos Commands β’ high β Assigns high priority to the IP flow parameters you have specified. β’ medium β Assigns medium priority to the IP flow parameters you have specified. β’ low β Assigns low priority to the IP flow parameters you have specified. This is the default. |any Specifies the source IP address and network mask for which you are assigning a priority. You can specify the mask using the traditional IP address format (β255.255.0.0β) or the CIDR format (β/16β).
Chapter 29: qos Commands ity. Specify a port number from 1 β 65535 or any to allow any value. |any Specifies the TOS for which you are assigning a priority. Specify a number from 0β 15 or any to allow any value. |any Specifies one or more IP interface names for which you are assigning priority. If you specify a list, delimit the interface names with commas. Specifies the transport layer protocol for which you are assigning priority.
Chapter 29: qos Commands qos set ipx Purpose Set a priority for an IPX flow.
Chapter 29: qos Commands β’ high β Assigns high priority to the IP flow parameters you have specified. β’ medium β Assigns medium priority to the IP flow parameters you have specified. β’ low β Assigns low priority to the IP flow parameters you have specified. This is the default. |any Specifies the IPX source network and node address. Specify them in the following format: .; for example: a1b2c3d4.aa:bb:cc:dd:ee:ff. If you specify any instead of a .
Chapter 29: qos Commands Restrictions None. Examples Here is an example of a qos set ipx command. ssr(config)# qos set ipx abc high 12345678.00:01:00:00:00:00 0000ff00 55 22222222.02:00:00:00:00:00 0000ff00 65 mls1 Creates an IPX flow called βabcβ. This flow gives a high priority to IPX traffic on interface mls1 from network 12345678.00:01:00:00:00:00, mask 0000ff00, port 55 to network 22222222.02:00:00:00:00:00, mask 0000ff00, port 65.
Chapter 29: qos Commands qos set l2 Purpose Configure priority for a Layer 2 flow. Format qos set l2 name source-mac dest-mac vlan in-port-list priority control | high | medium | low | Mode Configure Description The qos set l2 command lets you set QOS priority on a Layer 2 flow.
Chapter 29: qos Commands following formats: xx:xx:xx:xx:xx:xx xxxxxx:xxxxxx dest-mac Specifies the L2 destination MAC address. vlan Specifies the name of a VLAN. in-port-list Specifies the SSR ports for which you are setting priority for this flow. The priority applies when the L2 packet enters the SSR on one of the specified ports. The priority does not apply to exit ports.
Chapter 29: qos Commands qos set queuing-policy Purpose Change the queueing policy from strict priority to weighted fair. Format qos set queuing-policy weighted-fair Mode Configure Description The qos set queuing-policy command lets you override the default queuing policy (strict priority) in favor of weighted fair queuing. The queuing policy applies to all the QOS settings in SSR. Only one type of queuing policy can be active at a time.
Chapter 29: qos Commands qos set weighted-fair Purpose Set percentages for weighted-fair queuing. Format qos set weighted-fair control high medium low Mode Configure Description The qos set weighted-fair command lets you set the percentage of SSR bandwidth allocated to the control, high, medium, and low priorities. The percentages apply to all ports. Make sure the total percentages for all four priorities equals 100. you cannot set a priority to 0%.
Chapter 29: qos Commands qos show ip Purpose Show QOS information for IP flows. Format qos show ip Mode Enable Description The qos show ip command lets you display QOS information for IP flows. Parameters None. Restrictions None.
Chapter 29: qos Commands qos show ipx Purpose Show QOS information for IPX flows. Format qos show ipx Mode Enable Description The qos show ipx command lets you display QOS information for IPX flows. Parameters None. Restrictions None.
Chapter 29: qos Commands qos show l2 Purpose Show QOS information for L2 flows. Format qos show l2 all-destination all-flow ports vlan source-mac dest-mac Mode Enable Description The qos show l2 command lets you display QOS information for L2 flows.
Chapter 29: qos Commands Restrictions None.
Chapter 29: qos Commands qos show Purpose Show QOS information for L2, IP, and IPX flows. Format qos show ip | ipx | l2 all-destination all-flow ports vlan source-mac dest-mac Mode User or Enable Description The qos show command lets you display QOS information for IP, IPX, and L2 flows. The command shows information for all IP and IPX flows.
Chapter 29: qos Commands dest-mac Filters the display to show L2 priority information for specific destination MAC addresses. Restrictions None.
Chapter 29: qos Commands 29 - 24 SSR Command Line Interface Reference Manual
Chapter 30 Chapter 30 reboot Command The reboot command reboots the SSR. Format reboot Mode Enable. Parameters None. Restrictions None.
Chapter 30: reboot Command 30 - 2 SSR Command Line Interface Reference Manual
Chapter 31 Chapter 31 rip Commands The Routing Information Protocol, Version 1 and Version 2, (RIPv1 and RIPv2) is the most commonly used interior gateway protocol. RIP selects the route with the lowest metric as the best route. The metric is a hop count representing the number of gateways through which data must pass in order to reach its destination. The longest path that RIP accepts is 15 hops. If the metric is greater than 15, a destination is considered unreachable and the SSR discards the route.
Chapter 31: rip Commands Table 20: rip commands rip trace [packets|request|response|] [detail] [send|receive] 31 - 2 SSR Command Line Interface Reference Manual
Chapter 31: rip Commands rip add Purpose Adds RIP entities. Note: By default, RIP is disabled on all SSR interfaces. To enable RIP on an interface, you must use the rip add interface command.
Chapter 31: rip Commands The interface name or IP address of the interface, router, or gateway. You can specify a list or use the keyword all to specify all SSR interfaces. The hostname or IP address of the source or trusted gateway. Restrictions None.
Chapter 31: rip Commands rip set broadcast-state Purpose Determines if RIP packets will be broadcast regardless of the number of interfaces present. This is useful when propagating static routes or routes learned from another protocol into RIP. In some cases, the use of broadcast when only one network interface is present can cause data packets to traverse a single network twice.
Chapter 31: rip Commands rip set check-zero Purpose Specifies whether RIP should make sure that reserved fields in incoming RIP V1 packets are zero. Normally RIP will reject packets where the reserved fields are nonzero. Format rip set check-zero disable | enable Mode Configure Description The rip set check-zero command specifies whether RIP should make sure that reserved fields in incoming RIP V1 packets are zero. RIP will reject packets where the reserved fields are non-zero.
Chapter 31: rip Commands rip set default-metric Purpose Defines the metric used when advertising routes via RIP that were learned from other protocols. If not specified, the default value is 16 (unreachable). This choice of values requires you to explicitly specify a metric in order to export routes from other protocols into RIP. This metric may be overridden by a metric specified in the export command. Note: The metric 16 is equivalent in RIP to βinfiniteβ and makes a route unreach- able.
Chapter 31: rip Commands rip set interface Purpose Set the RIP state, version, type of update messages, metric and authentication scheme used for each interface running RIP.
Chapter 31: rip Commands receive-rip enable|disable Specifies whether the interface(s) can receive RIP updates. Specify enable if you want to receive RIP updates on the interface. Otherwise, select disable. The default is enable. Note: This option affects RIP updates sent from trusted gateways. If you specify disable, the SSR will not receive any RIP updates, including those sent from trusted gateways.
Chapter 31: rip Commands multicast Causes RIP V2 packets to be multicasted on this interface; this is the default. authentication-method none|(simple|md5 key-chain ) The authentication method the interface uses to authenticate RIP updates. Specify one of the following: β’ none β The interface does not use any authentication. β’ simple β The interface uses a simple pass- word in which an authentication key of up to 8 characters is included in the packet.
Chapter 31: rip Commands rip set preference Purpose Sets the preference of routes learned from RIP. The default preference is 100. This preference may be overridden by a preference specified in the import command. Format rip set preference Mode Configure Description The rip set preference command sets the preference for destinations learned through RIP. The preference you specify applies to all IP interfaces for which RIP is enabled on the SSR. The default preference is 100.
Chapter 31: rip Commands rip show Purpose Display RIP information. Format rip show Mode Enable Description The rip show command displays RIP information. Parameters Specifies the RIP dump information you want to display. Specify one or more of the following: β’ all β Displays all RIP tables. β’ globals β Displays RIP globals. β’ timers β Displays RIP timers. β’ interface β Displays RIP interfaces. β’ active-gateways β Displays active gateways running RIP.
Chapter 31: rip Commands rip start Purpose Start RIP on the SSR. Note: RIP is disabled by default. Format rip start Mode Configure Description The rip start command starts RIP on all IP interfaces on the SSR for which RIP is enabled. Parameters None. Restrictions None.
Chapter 31: rip Commands rip stop Purpose Stop RIP on the SSR. Format rip stop Mode Configure Description The rip stop command stops RIP on all IP interfaces on the SSR for which RIP is enabled. Parameters None. Restrictions None.
Chapter 31: rip Commands rip trace Purpose Trace RIP packets. Format rip trace [packets|request|response|] [detail] [send|receive] Mode Configure Description The rip trace command traces the following sets of RIP packets: β’ RIP request packets sent or received by the SSR β’ RIP response packets sent or received by the SSR Depending on the options you specify, you can trace all packets, request packets only, or receive packets only.
Chapter 31: rip Commands Shows information about traced RIP packets sent by the SSR. send Note: The default is to show both send and receive packets. β’ β Sets trace options for this protocol only. These trace options are inherited from those set by the ip-router global set trace options command, or you can override them here. all β Turns on all tracing. general β Turns on normal and route tracing. state β Traces state machine transitions in the protocols.
Chapter 32 Chapter 32 save Command The save command saves the configuration changes you have entered during the current CLI session. You can save the configuration commands in the scratchpad to the active configuration, thus activating changes. You then can save the active changes to the Startup configuration.
Chapter 32: save Command 32 - 2 SSR Command Line Interface Reference Manual
Chapter 33 Chapter 33 show Command Purpose The show command displays the configuration of your running system. Format show Mode Configure Description The show command displays the configuration of your running system as well as any non-committed changes in the scratchpad. Each CLI command is preceded with a number. This number can be used with the negate command to negate one or more commands.
Chapter 33: show Command The command shows when the running system was last modified (Jan 15) and from where (Console). It also shows that there are seven commands currently used to configure the system. In addition, command #7 is shown as having an error condition (E) possibly because the VLAN name abc is not defined. The actual cause of the error should have been displayed earlier when the command was first committed to the running system. This is the time when the error was first detected.
Chapter 34 Chapter 34 snmp Commands The SNMP commands let you set and show SNMP parameters including SNMP community names and IP host targets for SNMP traps. Command Summary Table 21 lists the snmp commands. The sections following the table describe the command syntax.
Chapter 34: snmp Commands snmp disable trap Purpose Disable specific SNMP trap types. Format snmp disable trap authentication|link-up-down Mode Configure Description The snmp disable trap command controls the types of traps the SSR emits based trap type. You can disable the following trap types: β’ Authentication β use the authentication keyword to prevent the SSR from sending a trap each time it receives an invalid community string or invalid Telnet password.
Chapter 34: snmp Commands snmp set chassis-id Purpose Set the SSRβs chassis ID using SNMP. Format snmp set chassis-id Mode Configure Description The snmp set chassis-id command lets you set a string to give the SSR an SNMP identity. Parameters Is a string describing the SSR. Restrictions None.
Chapter 34: snmp Commands snmp set community Purpose Set an SNMP community string and specify the access privileges for that string. Format snmp set community privilege read|read-write Mode Configure Description The snmp set community command sets a community string for SNMP access to the SSR. SNMP management stations that want to access the SSR must supply a community string that is set on the switch. This command also sets the level of access to the SSR to read-only or read-write.
Chapter 34: snmp Commands snmp set target Purpose Sets the target IP address and community string for SNMP traps. Format snmp set target community [status enable|disable] Mode Configure Description The snmp set target command specifies the IP address of the target server to which you want the SSR to send SNMP traps. Trap targets ar enabled by default but you can use the status argument to disable or re-enable a target.
Chapter 34: snmp Commands snmp show Purpose Shows SNMP information. Format snmp show access|all|chassis-id|community|statistics|trap Mode Enable Description The snmp show command shows the following SNMP information: β’ Community strings set on the SSR β’ SNMP Statistics β’ IP address of SNMP trap target server Parameters access|all|chassis-id|community|statistics|trap The information you want to show. Specify one of the following: β’ access β Displays the last five SNMP clients to access the SSR.
Chapter 34: snmp Commands Examples ssr(confg)# snmp show access SNMP Last 5 Clients: 10.15.1.2 Tue Feb 10 18:42:59 10.15.1.2 Tue Feb 10 18:42:55 10.15.1.2 Tue Feb 10 18:42:56 10.15.1.2 Tue Feb 10 18:42:57 10.15.1.2 Tue Feb 10 18:42:58 1998 1998 1998 1998 1998 Displays a log of SNMP access to the SSR. The host that accessed the SSR and the SSR system time when the access occurred are listed. ssr(confg)# snmp show chassis-id SNMP Chassis Identity: s/n 123456 Displays the SNMP identity of the SSR.
Chapter 34: snmp Commands snmp stop Purpose Stop SNMP access to the device. Format snmp stop Mode Configure Description The snmp stop command stops SNMP access to the SSR. The SSR will still finish all active requests but will then disregard future requests. When you issue this command, UDP port 161 is closed. Parameters None. Restrictions None.
Chapter 35 Chapter 35 statistics Commands The statistics commands let you display statistics for various SSR features. You also can clear some statistics. Command Summary Table 22 lists the statistics commands. The sections following the table describe the command syntax. Table 22: statistics commands statistics clear port-errors | port-stats | rmon statistics show [] Note: Not all statistic types accept a port list.
Chapter 35: statistics Commands statistics clear Purpose Clear statistics. Format statistics clear Mode Enable Description The statistics clear command clears port statistics, error statistics, or RMON statistics. When you clear statistics, the SSR sets the counters for the cleared statistics to 0, then begins accumulating the statistics again. Parameters Type of statistics you want to clear.
Chapter 35: statistics Commands statistics show Purpose Display statistics. Format statistics show Mode User or Enable Purpose Parameters The type of statistics you want to display. Specify one of the following. Some statistics options apply system-wide while others apply only to the Control Module. System-wide statistics: β’ port-errors β Shows error statistics for ports. β’ port-stats β Shows normal (non-error) port statistics.
Chapter 35: statistics Commands β’ input β If specified following one of the three options listed above, displays only input statistics for that option. Both input and output statistics are displayed by default. β’ output β If specified following one of the three options listed above, displays only output statistics for that option. β’ verbose β Displays all statistics. Control-Module statistics: β’ icmp β Shows ICMP statistics. β’ ip β Shows IP statistics. β’ ip-routing β Shows IP unicast routing statistics.
Chapter 36 Chapter 36 stp Commands The stp commands let you display and change settings for the Spanning Tree Protocol STP). Command Summary Table 23 lists the stp commands. The sections following the table describe the command syntax.
Chapter 36: stp Commands stp enable port Purpose Enable STP on one or more ports. Format stp enable port Mode Configure Description The stp enable port command enables STP on the specified ports. Parameters The ports on which you are enabling STP. You can specify a single port or a comma-separated list of ports. Example: et.1.3,et.(1-3).(4,6-8).
Chapter 36: stp Commands stp set bridging Purpose Set STP bridging parameters. Format stp set bridging [forward-delay ] [hello-time ] [max-age ] [priority ] Mode Configure Description The stp set bridging command lets you configure the following STP parameters: β’ Bridging priority β’ Hello time β’ Maximum age β’ Forward delay Parameters forward-delay Sets the STP forward delay for the SSR. The forward delay is measured in seconds. Specify a number from 4β 30. The default is 15.
Chapter 36: stp Commands Examples Here is an example of the stp set bridging command. ssr(config)# stp set bridging priority 1 Sets the bridging priority of Spanning Tree for the entire SSR to 1.
Chapter 36: stp Commands stp set port Purpose Set STP port priority and port cost for ports. Format stp set port priority port-cost Mode Configure Description The stp set port command sets the STP priority and port cost for individual ports. Parameters port The port(s) for which you are setting STP parameters. You can specify a single port or a comma-separated list of ports. Example: et.1.3,et.(1-3).(4,6-8).
Chapter 36: stp Commands stp show bridging-info Purpose Display STP bridging information. Format stp show bridging-info Mode Enable Description The stp show bridging-info command displays STP bridging information for the SSR. Parameters None. Restrictions None.
Chapter 37 Chapter 37 system Commands The system commands let you display and change system parameters. Command Summary Table 24 lists the system commands. The sections following the table describe the command syntax.
Chapter 37: system Commands system image add Purpose Copy a system software image to the SSR. Format system image add Mode Enable Description The system image add command copies a system software image from a TFTP server into the PCMCIA flash card on the Control Module. Parameters The IP address or host name of the TFTP server or a TFTP URL. The file name of the system software image file. Restrictions None.
Chapter 37: system Commands system image choose Purpose Select a system software image file. Format system image choose Mode Enable Description The system image choose command specifies the system software image file on the PCMCIA flash card that you want the SSR to use the next time you reboot the system. Parameters The file name of the system software image file. Restrictions None.
Chapter 37: system Commands system image delete Purpose Deletes a system software image file from the PCMCIA flash card. Format system image delete Mode Enable Description The system image delete command deletes a system software image file from the PCMCIA flash card on the Control Module. Parameters The file name of the system software image file you want to delete. Restrictions None.
Chapter 37: system Commands system image list Purpose Lists the system software image files on the PCMCIA flash card. Format system image list Mode Enable Description The system image list command lists the system software image files contained on the PCMCIA flash card on the Control Module. Parameters None. Restrictions None.
Chapter 37: system Commands system promimage upgrade Purpose Upgrades the boot PROM software on the Control Module. Format system promimage upgrade Mode Enable Description The system promimage upgrade command copies and installs a boot PROM software image from a TFTP server onto the internal memory on the Control Module. The boot PROM software image is loaded when you power on the SSR and in turn loads the system software image file.
Chapter 37: system Commands system set bootprom Purpose Sets parameters for the boot PROM. Format system set bootprom netaddr netmask tftp-server [tftp-gateway ] Mode Configure Description The system set bootprom command sets parameters to aid in booting the SSRβs system software image remotely over the network. You can use this command to set the SSRβs IP address, subnet mask, TFTP boot server address, and gateway address.
Chapter 37: system Commands tftp-server 10.50.89.
Chapter 37: system Commands system set contact Purpose Set the contact name and information for this SSR. Format system set contact Mode Configure Description The system set contact command sets the name and contact information for the network administrator responsible for this SSR. Parameters A string listing the name and contact information for the network administrator responsible for this SSR.
Chapter 37: system Commands system set date Purpose Set the system time and date. Format system set date year month day hour min second Mode Enable Description The system set date command sets the system time and date for the SSR. The SSR keeps the time in a battery-backed realtime clock. To display the time and date, enter the system show date command. Parameters year Four-digit number for the year.
Chapter 37: system Commands system set dns Purpose Configure the SSR to reach up to three DNS servers. Format system set dns server [,[,]] domain Mode Configure Description The system set dns command configures the SSR to reach up to three DNS servers. You also can specify the domain name to use for each DNS query by SSR. Parameters [,[,]] IP address of the DNS server. Specify the address in dotted-decimal notation.
Chapter 37: system Commands system set location Purpose Set the system location. Format system set location Mode Configure Description The system set location command adds a string describing the location of the SSR. The system name and location can be accessed by SNMP managers. Parameters A string describing the location of the SSR. If the string contains blanks or commas, you must use quotation marks around the string. (Example: βBldg C, network control roomβ.
Chapter 37: system Commands system set name Purpose Set the system name. Format system set name Mode Configure Description The system set name command configures the name of the SSR. The SSR name will use the name as part of the command prompt. Parameters The hostname of the SSR. If the string contains blanks or commas, you must use quotation marks around the string. (Example: βMega-Corp SSR #27β.) Restrictions None.
Chapter 37: system Commands system set password Purpose Set passwords for various CLI access modes. Format system set password |none Mode Configure Description The system set password command sets or changes the passwords for the Login and Enable access modes. Note: If a password is configured for the Enable mode, the SSR prompts for the password when you enter the enable command.
Chapter 37: system Commands Restrictions The SSR stores passwords in the Startup configuration file. If you copy a configuration file from one SSR to another, the passwords in the file also are copied and will be required on the new SSR.
Chapter 37: system Commands system set poweron-selftest Purpose Specify the type of Power-On-Self-Test (POST) to perform during system bootup. Format system set poweron-selftest [on|quick] Mode Configure Description The system set poweron-selftest command configures the type of Power-OnSelf-Test (POST) the SSR should perform during the next system bootup. By default, no POST is performed during system bootup. To perform POST, you must use this command to specify which type of test to run, quick or full.
Chapter 37: system Commands system set syslog Purpose Identify a Syslog server to which the SSR can send Syslog messages Format system set syslog [server ] [level ] [facility ] [buffer-size ] Mode Configure Description The system set syslog command identifies the Syslog server to which the SSR should send system messages. You can control the type of messages to send as well as the facility under which the message is sent.
Chapter 37: system Commands info Logs all messages, including informational messages. Type of facility under which you want messages to be sent. By default, unless specified otherwise, messages are sent under facility local7.
Chapter 37: system Commands system set terminal Purpose Sets global terminal parameters. Format system set terminal baud |columns |rows Mode Configure Description The system set terminal command globally sets parameters for a serial consoleβs baud rate, output columns, and output rows. Parameters baud Sets the baud rate.
Chapter 37: system Commands system show Purpose Show system information.
Chapter 37: system Commands Parameters System parameter you want to display.
Chapter 37: system Commands Restrictions None.
Chapter 38 Chapter 38 traceroute Command Traces the path a packet takes to reach a remote host. Format traceroute [max-ttl ] [probes ] [size ] [source ] [tos ] [wait-time ] [verbose] [noroute] Mode User Description The traceroute command traces the route taken by a packet to reach a remote IP host. The traceroute command examines the route taken by a packet traveling from a source to a destination. By default, the source of the packet is the SSR router.
Chapter 38: traceroute Command noroute Ignores the routing table and sends a probe to a host on a directly attached network. If the destination is not on the local network, an error is returned. Restrictions None. Example Here is an example of a traceroute command. ssr# traceroute debi-pc verbose Displays the route from the SSR to the host debi-pc in verbose mode.
Chapter 39 Chapter 39 vlan Commands The vlan commands let you perform the following tasks: β’ Create VLANs β’ List VLANs β’ Add ports to VLANs β’ Change the port membership of VLANs β’ Make a VLAN port either a trunk port or an access port Command Summary Table 25 lists the vlan commands. The sections following the table describe the command syntax.
Chapter 39: vlan Commands vlan add ports Purpose Add ports to a VLAN. Format vlan add ports to Mode Configure Description The vlan add ports command adds ports to an existing VLAN. You do not need to specify the VLAN type when you add ports. You specify the VLAN type when you create the VLAN (using the vlan create command). Parameters The ports you are adding to the VLAN. You can specify a single port or a comma-separated list of ports. Example: et.1.3,et.(1-3).
Chapter 39: vlan Commands vlan create Purpose Create a VLAN based on ports or protocol. Format vlan create id Mode Configure Description The vlan create command creates a VLAN definition. You can create a port-based VLAN or a protocol-based VLAN. Parameters Name of the VLAN. The VLAN name is a string up to 32 characters long. Note: The VLAN name cannot begin with an under- score ( _ ) or the word βSYS_β. The type of VLAN you are adding.
Chapter 39: vlan Commands id ID of this VLAN. The ID must be unique. You can specify a number from 2 β 4093. If more than one SSR will be configured with the same VLAN, you must specify the same VLAN ID on each SSR. Restrictions None.
Chapter 39: vlan Commands vlan list Purpose List all VLANs active on the SSR. Format vlan list Mode User or Enable Description The vlan list command lists all the VLANs that have been configured on the SSR. Parameters None. Restrictions None.
Chapter 39: vlan Commands vlan make Purpose Configures the specified ports into either trunk or access ports. Format vlan make Mode Configure Description The vlan make command turns a port into a VLAN trunk or VLAN access port. A VLAN trunk port can forward traffic for multiple VLANs. Use trunk ports when you want to connect SSR switches together and send traffic for multiple VLANs on a single network segment connecting the switches. Parameters The port type.