Transition Networks SM12DP2XA Cli Reference Manual

Transition Networks SM12DP2XA Cli Reference Manual

Managed gigabit ethernet fiber switch 12 100/1000base-x sfp slots + 2 1g/10g sfp+ slots + 2 10/100/1000base-t
Hide thumbs Also See for SM12DP2XA:

Advertisement

Transition Networks 
SM12DP2XA
Managed Gigabit Ethernet Fiber Switch
(12) 100/1000Base-X SFP Slots + (2) 1G/10G SFP+ slots + (2)
10/100/1000Base-T
CLI Reference
33753 Rev. A 
33753 Rev. A
 
 
 
https://www.transition.com
 
 
 
 
 
 
SM12DP2XA CLI Reference 
 
Page 1 of 254 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SM12DP2XA and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Transition Networks SM12DP2XA

  • Page 1 Transition Networks                SM12DP2XA CLI Reference  SM12DP2XA Managed Gigabit Ethernet Fiber Switch (12) 100/1000Base-X SFP Slots + (2) 1G/10G SFP+ slots + (2) 10/100/1000Base-T       CLI Reference 33753 Rev. A  33753 Rev. A https://www.transition.com Page 1 of 254 ...
  • Page 2 Transition Networks                SM12DP2XA CLI Reference  Trademarks All trademarks and registered trademarks are the property of their respective owners.  Copyright Notice/Restrictions Copyright© 2018 Transition Networks. All rights reserved. No part of this work may be reproduced or used  in any form or by any means (graphic, electronic or mechanical) without written permission from Transition  Networks. Printed in the U.S.A.  SM12DP2XA Managed Gigabit Ethernet Fiber Switch CLI Reference 33753 Rev. A  Contact Information Transition Networks  10900 Red Circle Drive  Minnetonka, MN 55343 USA  tel: +1.952.941.7600 | toll free: 1.800.526.9267 | fax: 952.941.2322  sales@transition.com | techsupport@transition.com | customerservice@transition.com  Revision History Rev  Date  Description  A  6/20/18  Initial release at FW v7.10.1423 2018‐05‐16.      33753 Rev. A https://www.transition.com Page 2 of 254 ...
  • Page 3: Table Of Contents

    Transition Networks                SM12DP2XA CLI Reference  Contents  1 ‐ Introduction  .............................. 5  1‐1 Key Features ............................ 5  1‐2 Related Manuals  ............................ 5  1‐3 For More Information .......................... 6  1–4 CLI Management  ............................. 6  1‐5 Login ................................ 6  1‐6 CLI Command Modes .......................... 7  1‐7 Global CLI Commands  .......................... 8  2 – Clear Commands  ............................ 12  3 – Configure Commands .......................... 24  3‐1 access‐list............................... 95  3‐2 no  ................................. 103  3‐3 qos ............................... 131  3‐4 snmp‐server  ............................ 138  3‐5 spanning‐tree ............................ 146  4 ‐ Copy Commands  ............................ 151 ...
  • Page 4 Transition Networks                SM12DP2XA CLI Reference  22‐1 Recording Device and System Information .................. 250  22‐2 Limited Lifetime Warranty ........................ 251  22‐3 Contact Us ............................ 251  Appendix A ‐ DHCP Per Port .......................... 252  Configure DHCP Per Port via the CLI ...................... 252    33753 Rev. A https://www.transition.com Page 4 of 254 ...
  • Page 5: 1 - Introduction

     ICMP, TCP flag    LLDP (Link Layer Discovery Protocol)     IP Source Guard, Port Security     Port Mirroring     Firmware Update through TFTP/HTTP and console     Syslog     1RU high, compact form factor   Extended operating temperature: ‐20°C to + 60°C   1‐2 Related Manuals  SM12DP2XA Quick Start Guide, 33750   SM12DP2XA Install Guide, 33751     SM12DP2XA Web User Guide, 33752   SM12DP2XA CLI Reference, 33753 (this manual)   33753 Rev. A https://www.transition.com Page 5 of 254 ...
  • Page 6: For More Information

    Transition Networks                SM12DP2XA CLI Reference  1‐3 For More Information  A printed Quick Start Guide is shipped with each unit.    For Transition Networks Drivers, Firmware, etc. go to the Product Support webpage (logon required).    For Transition Networks Manuals, Brochures, Data Sheets, etc. go to the Support Library (no logon  required). For SFP manuals see Transition Networks SFP webpage.    Note: Information in this document is subject to change without notice. Note that this manual provides  links to third party web sites for which Transition Networks is not responsible.  1–4 CLI Management    A brief description of the network connection is provided below.    The RJ‐45 cable is used for connecting a terminal or terminal emulator to the Switch’s RJ‐45 port to access  the command line interface. Attach the RJ‐45 serial port on the switch’s front panel which used to connect  to the switch for console configuration. Attach the other end of the DB‐9 cable to an ASCII terminal  emulator or PC Com‐1, 2 port (e.g., a PC running Microsoft Windows HyperTerminal utility).    At the “Com Port Properties” Menu, configure the parameters Baud rate=115200, Stop bits=1, Data bits=8,  Parity=N, Flow control=none.  1‐5 Login    The command‐line interface (CLI) is a text‐based interface. User can access the CLI through either a direct  serial connection to the device or a Telnet session. The default user and password to login into the  Managed Switch are Username: admin and Password: admin.    After you login successfully, the prompt will be shown as “<sys_name>#“. This means you can perform as  an administrator and have the privilege for setting the Managed Switch. If not logged in as the  administrator, the prompt will be shown as “<sys_name>>”, which means you can perform as a guest and  are only allowed for setting the system under the administrator. Each CLI command has a specific privilege ...
  • Page 7: Cli Command Modes

    Transition Networks                SM12DP2XA CLI Reference  1‐6 CLI Command Modes  The CLI is divided into several modes. If a user has enough privilege to run a particular command, you can  run the command if in the correct mode. To see the commands of a mode, enter a question mark (?) after  the system prompt, then all commands will be listed in the screen. The command modes are listed below:        Mode  Prompt  Command Function in This Mode  Display current configuration,  Exec  <sys_name>#  diagnostics, maintenance.  Configure features other than those  Config  <sys_name>(config)#  below.  Config‐if  <sys_name>(config‐interface)#  Configure ports.  Config‐if‐vlan  <sys_name>(config‐if‐vlan)#  Configure static VLAN.  Config‐line  <sys_name>(config‐line)#  Line configuration.  Config‐impc‐profile  <sys_name>(config‐impc‐profile)#  Configure IPMC Profile.  Config‐snmp‐host ...
  • Page 8: Global Cli Commands

    Transition Networks                SM12DP2XA CLI Reference  1‐7 Global CLI Commands    Exec mode commands are listed with the ? (question mark) command as shown below.  SM12DP2XA# ?  CableDiag     Cable Diagnostic keyword  clear         Reset functions  configure     Enter configuration mode  copy          Copy from source to destination  delete        Delete one file in flash: file system  dir           Directory of all files in flash: file system  disable       Turn off privileged commands  do            To run exec commands in config mode  dot1x         IEEE Standard for port‐based Network Access Control  enable        Turn on privileged commands  exit          Exit from EXEC mode  firmware      Firmware upgrade/swap  help          Description of the interactive help system  ip            IPv4 commands  ipv6          IPv6 configuration commands  logout        Exit from EXEC mode  more          Display file  no            Negate a command or set its defaults  ping          Send ICMP echo messages  platform      Platform configuration  reload        Reload system.  send          Send a message to other tty lines  show          Show running system information  terminal      Set terminal line parameters  traceroute    traceroute program  SM12DP2XA#   ...
  • Page 9       SM12DP2XA CLI Reference  CableDiag Cable Diagnostic keyword. This command runs the built-in Cable Diagnostics. It takes about 5-15 seconds. When completed, the cable diagnostics results display in the cable status table. Note that Cable Diagnostics is only accurate for cables of length 7 -140 meters.
  • Page 10 Transition Networks                SM12DP2XA CLI Reference  Exit Exit from Config mode back to Exec mode. Syntax: exit Parameters: None. Example: SM12DP2XA# configure terminal  SM12DP2XA(config)# exit  SM12DP2XA#  Help Description of the interactive help system. Syntax: help Parameters: None. Example: SM12DP2XA# help  Help may be requested at any point in a command by entering ...
  • Page 11 Transition Networks                SM12DP2XA CLI Reference  Go back to EXEC mode. Syntax: end Example: SM12DP2XA(config)# end  SM12DP2XA#    SM12DP2XA(config)# vlan 10  SM12DP2XA(config‐vlan)# ?      do      To run exec commands in config mode      end     Go back to EXEC mode      exit    Exit from current mode      help    Description of the interactive help system      name    ASCII name of the VLAN      no  SM12DP2XA(config‐vlan)# exit  SM12DP2XA(config)# interface ?      *                    All switches or All ports      GigabitEthernet      1 Gigabit Ethernet Port      10GigabitEthernet    10 Gigabit Ethernet Port      vlan                 VLAN interface configurations  SM12DP2XA(config)# interface vlan ?      <vlan_list>    List of VLAN interface numbers, 1~4095  SM12DP2XA(config)# interface vlan 100 ?      <cr>  SM12DP2XA(config)# interface vlan 100  SM12DP2XA(config‐if‐vlan)# end ...
  • Page 12: 2 - Clear Commands

    Transition Networks                SM12DP2XA CLI Reference  2 – Clear Commands  Table : CLEAR Commands access    Access management  access‐list  Access list  dot1x    IEEE Standard for port‐based Network Access Control  ip    Interface Internet Protocol config commands  ipv6    IPv6 configuration commands  lacp    Clear LACP statistics  lldp    Clears LLDP statistics.  logging    System logging message  mac    MAC Address Table ...
  • Page 13 Transition Networks                SM12DP2XA CLI Reference  access-list Access list. Syntax: Clear access-list ace statistics Parameters: Access list entry statistics Traffic statistics Example: SM12DP2XA# clear access‐list ?      ace    Access list entry  SM12DP2XA# clear access‐list ace statistics ?      <cr>  SM12DP2XA# clear access‐list ace statistics  SM12DP2XA# show access‐list ace statistics    Switch access‐list ace number: 0  SM12DP2XA#    dot1x IEEE Standard for port-based Network Access Control.
  • Page 14               SM12DP2XA CLI Reference  Interface Internet Protocol config commands Syntax   clear ip arp clear ip dhcp detailed statistics { server | client | snooping | relay | helper | all } [ interface ( <port_type>...
  • Page 15 Transition Networks                SM12DP2XA CLI Reference      detailed    Detailed statistics      relay       DHCP relay agent configuration      server      Miscellaneous DHCP server information      snooping    DHCP snooping  SM12DP2XA# clear ip igmp ?      snooping    Snooping IGMP  SM12DP2XA# clear ip igmp snooping ?      statistics    Running IGMP snooping counters      vlan          Search by VLAN  SM12DP2XA# clear ip statistics ?      icmp         IPv4 ICMP traffic      icmp‐msg     IPv4 ICMP traffic for designated message type      interface    Select an interface to configure      system       IPv4 system traffic      <cr>  SM12DP2XA# clear ip statistics  SM12DP2XA#    33753 Rev. A https://www.transition.com Page 15 of 254 ...
  • Page 16             SM12DP2XA CLI Reference  ipv6 IPv6 configuration commands. Syntax clear ipv6 mld snooping [ vlan <v_vlan_list> ] statistics clear ipv6 neighbors clear ipv6 statistics [ system ] [ interface vlan <v_vlan_list> ] [ icmp ] [ icmp-msg <type> ]...
  • Page 17 Transition Networks                SM12DP2XA CLI Reference  lacp Clear LACP statistics Syntax Clear lacp statistics Parameters statistics Clear all LACP statistics EXAMPLE SM12DP2XA# clear lacp statistics  SM12DP2XA#  lldp Clears LLDP statistics. Syntax Clear lldp statistics Clear lldp statistics| begin | exclude | include >< LINE >...
  • Page 18 Transition Networks                SM12DP2XA CLI Reference  logging Clear Syslog. Syntax clear logging [ info ] [ warning ] [ error ] [ switch <switch_list> ] Parameters alert crit debug emerg error info notice warning EXAMPLE SM12DP2XA# clear logging ?      alert      Severity 1: Action must be taken immediately ...
  • Page 19 Transition Networks                SM12DP2XA CLI Reference  Clear MAC Address Table. Syntax Clear mac address-table Parameters address-table Flush MAC Address table. EXAMPLE SM12DP2XA# clear mac address‐table  SM12DP2XA#  Clear Multicast VLAN Registration configuration. Syntax clear mvr [ vlan <v_vlan_list> | name <mvr_name> ] statistics...
  • Page 20 Transition Networks                SM12DP2XA CLI Reference  port-security Clear port security.  Syntax clear port‐security sticky { All | interface ( <port_type> [ <plist> ] ) }  Parameters sticky      port security sticky function per interface  All      clear all sticky mac at all ports  interface    Choose port  *      All switches or All ports  GigabitEthernet        1 Gigabit Ethernet Port  10GigabitEthernet      10 Gigabit Ethernet Port  <port_type_list>     ...
  • Page 21 Transition Networks                SM12DP2XA CLI Reference  SM12DP2XA# clear port‐security sticky all  SM12DP2XA#  sflow Statistics flow. Syntax clear sflow statistics { receiver [ <receiver_index_list> ] | samplers [ interface [ <samplers_list> ] ( <port_type> [ <v_port_type_list> ] ) ] } Parameters receiver Clear statistics for receiver.
  • Page 22             SM12DP2XA CLI Reference  spanning-tree STP Bridge. Syntax clear spanning-tree { { statistics [ interface ( <port_type> [ <v_port_type_list> ] ) ] } | { detected-protocols [ interface ( <port_type> [ <v_port_type_list_1> ] ) ] } }...
  • Page 23 Transition Networks                SM12DP2XA CLI Reference  statistics Clear statistics for one or more given interfaces. Syntax   clear statistics interface <port_type> <port_type_list>   clear statistics <port_type> <port_type_list> Parameters <port_type> GigabitEthernet <port_type_list> Port list in 1/1-14 for Gigabitethernet, Port list in 1/1-2 for 10Gigabitethernet EXAMPLE SM12DP2XA# clear statistics ? ...
  • Page 24: 3 - Configure Commands

    Transition Networks                SM12DP2XA CLI Reference     3 – Configure Commands Table : Config Mode Commands terminal    Enter config mode from Exec mode.  aaa      Authentication, Authorization and Accounting  access      Access management  access‐list    Access list  aggregation    Aggregation mode  banner      Define a login banner  clock   ...
  • Page 25 Transition Networks                SM12DP2XA CLI Reference   privilege    Command privilege parameters  qos      Quality of Service  radius‐server    Configure RADIUS  rmon      Remote Monitoring  sflow      Statistics flow.  smtp      Set email information  snmp‐server    Set SNMP server's configurations  spanning‐tree    Spanning Tree protocol  system   ...
  • Page 26         SM12DP2XA CLI Reference   Configure Authentication, Authorization and Accounting. You can use RADIUS or TACACS+ for authentication. SYNTAX aaa authentication login { console | telnet | ssh | http } { { local | radius | tacacs } [ { local | radius | tacacs } [ { local | radius...
  • Page 27 Transition Networks                SM12DP2XA CLI Reference       exec        Enable EXEC accounting  SM12DP2XA(config)# aaa accounting console tacacs commands ?      <0‐15>    Command privilege level. Commands equal and above this level are                accounted  SM12DP2XA(config)# aaa accounting console tacacs commands 13 ?      exec    Enable EXEC accounting      <cr>  SM12DP2XA(config)# aaa accounting console tacacs commands 13 exec  SM12DP2XA(config)#  SM12DP2XA(config)# aaa accounting http ?      tacacs    Use TACACS+ for accounting  SM12DP2XA(config)# aaa authorization ?      console    Configure Console command authorization      http       Configure HTTP command authorization      ssh        Configure SSH command authorization      telnet     Configure Telnet command authorization  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 27 of 254 ...
  • Page 28             SM12DP2XA CLI Reference   access Configure Access management via the web, SNMP, telnet, or all. SYNTAX access management access management <access_id> <access_vid> <start_addr> [ to <end_addr> ] { [ web ] [ snmp ] [ telnet ] | all }...
  • Page 29         SM12DP2XA CLI Reference   aggregation Configure Aggregation mode. You can bundle more than one port with the same speed, full duplex and the same MAC to be a single logical port, thus the logical port aggregates the bandwidth of these ports.
  • Page 30 Transition Networks                SM12DP2XA CLI Reference   banner Define a login banner or Message of the Day banner. SYNTAX banner [ motd ] <banner> banner exec <banner> banner login <banner> Parameters <LINE> c banner-text c, where 'c' is a delimiting character...
  • Page 31               SM12DP2XA CLI Reference   clock Configure clock date and time-of-day, Timezone, and daylight savings time. SYNTAX clock set <icliDate> <icliTime> clock summer-time <word16> date [ <start_month_var> <start_date_var> <start_year_var> <start_hour_var> <end_month_var> <end_date_var> <end_year_var> <end_hour_var> [ <offset_var> ] ] clock summer-time <word16>...
  • Page 32 Transition Networks                SM12DP2XA CLI Reference       <cr>  SM12DP2XA(config)# clock set 2018/04/20 02:14:30    SM12DP2XA(config)# clock timezone ?      <word16>    name of time zone  SM12DP2XA(config)# clock timezone 1 ?      <‐23‐23>    Hours offset from UTC  SM12DP2XA(config)# clock summer ?      <word16>    name of time zone in summer  SM12DP2XA(config)# clock summer 23 ?      date         Configure absolute summer time      recurring    Configure recurring summer time  SM12DP2XA(config)#  EXAMPLE 2 SM12DP2XA(config)# clock ?      set            set clock      summer‐time    Configure summer (daylight savings) time      timezone       Configure time zone  SM12DP2XA(config)# clock set ?      <word10>    yyyy/mm/dd  SM12DP2XA(config)# clock set 2018/04/20 ?      <word8>    hh:mm:ss  SM12DP2XA(config)# clock set 2018/04/20 02:14:30 ?      <cr>  SM12DP2XA(config)# clock set 2018/04/20 02:14:30  Message: Network error: Software caused connection abort      33753 Rev. A https://www.transition.com...
  • Page 33 Transition Networks                SM12DP2XA CLI Reference   default Set access-list rate-limiter to its defaults. SYNTAX default access-list rate-limiter [ <rate_limiter_list> ] Parameters access-list Access list rate-limiter Rate limiter <RateLimiterId : 1-16> Rate limiter ID EXAMPLE SM12DP2XA(config)# default ?      access‐list    Access list ...
  • Page 34         SM12DP2XA CLI Reference       Set DMS modes. The built-in Device Management System (DMS) lets you manage connected devices. This command lets you enable or disable the DMS function, or select "high-priority" to make this device the Master (Controller) switch.
  • Page 35 Transition Networks                SM12DP2XA CLI Reference   To run Exec mode commands in Config mode. SYNTAX do < LINE >{[< LINE >]} Parameters <LINE> Exec Command EXAMPLE SM12DP2XA(config)# do ?      <line>    Exec Command  SM12DP2XA(config)# do show ?      <line>    Exec Command      <cr>  SM12DP2XA(config)# do show vlan  VLAN  Name                              Interfaces  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  1     default                           Gi 1/1‐14 10G 1/1‐2   ...
  • Page 36         SM12DP2XA CLI Reference   dot1x 802.1X is the IEEE Standard for port-based Network Access Control. This command lets you configure the Network Access Server (NAS) parameters. A NAS server can be employed to connect users to a variety of resources including Internet access, conference calls, printing documents on shared printers, or by simply logging on to the Internet.
  • Page 37         SM12DP2XA CLI Reference   supplicant The switch remembers if an EAPOL frame was received on the port for the life-time of the port. Once the switch considers whether to enter the Guest VLAN, it will first check if this option is enabled or disabled.
  • Page 38 Transition Networks                SM12DP2XA CLI Reference   enable Modify enable password parameters. SYNTAX enable password [ <level> <1-15> ] <WORD> enable secret { 0 | 5 } [< level> <1-15> ] <WORD> Parameter password Assign the privileged level clear password...
  • Page 39           SM12DP2XA CLI Reference   event Configure Trap event severity levels. SYNTAX event group <group_name> { level <lvl> | syslog { enable | disable } | trap { enable | disable} | smtp { enable | disable } |...
  • Page 40 Transition Networks                SM12DP2XA CLI Reference   exit Exit from current mode. SYNTAX exit <cr> Parameters SM12DP2XA(config)# exit?      exit    Exit from current mode      <cr>  SM12DP2XA(config)# exit ?      <cr>  SM12DP2XA(config)# exit  SM12DP2XA#  gvrp Configure the GVRP feature. GVRP (GARP VLAN Registration Protocol) is used for dynamically registering VLANs on ports, as specified in IEEE 802.1Q-2005, clause 11.
  • Page 41 Transition Networks                SM12DP2XA CLI Reference       <1‐20>    join‐time in units of centi seconds. Range is 1‐20. Default is                20.  SM12DP2XA(config)# gvrp time join‐time 6 ?      leave‐all‐time    Set GARP protocol parameter LeaveAllTime.      leave‐time        Set GARP protocol parameter LeaveTime.      <cr>  SM12DP2XA(config)# gvrp time join‐time 6 leave‐all‐time ?      <1000‐5000>    leave‐all‐time in units of centi seconds Range is 1000‐5000.                     Default is 1000.  SM12DP2XA(config)# gvrp time join‐time 6 leave‐all‐time 2000 ?      leave‐time    Set GARP protocol parameter LeaveTime.      <cr>  SM12DP2XA(config)# gvrp time join‐time 6 leave‐all‐time 2000  leave‐time ?      <60‐300>    leave‐time in units of centi seconds. Range is 60‐300. Default is 60.  SM12DP2XA(config)# gvrp time join‐time 6 leave‐all‐time 2000  leave‐time 100  SM12DP2XA(config)#  hostname Set system's network name. SYNTAX hostname < WORD > Parameter WORD Set this system's network name.
  • Page 42 Transition Networks                SM12DP2XA CLI Reference   interface Configure a selected interface. SYNTAX interface ( <port_type> [ <plist> ] ) interface vlan <vlist> Parameters <port_type> * or GigabitEthernet or 10GigabitEthernet All switches or All ports GigabitEthernet 1 Gigabit Ethernet Port...
  • Page 43 Transition Networks                SM12DP2XA CLI Reference   rmon                        sflow  shutdown                    spanning‐tree  speed                       switchport  udld  SM12DP2XA(config‐if)#  EXAMPLE 2: Show all interface config commands available: SM12DP2XA(config‐if)# ?      access‐list                   Access list      aggregation                   Create an aggregation      broadcast‐storm‐protection    Broadcast Storm Protection      description                   Configures port description      do                            To run exec commands in config mode      dot1x                         IEEE Standard for port‐based Network Access Control      duplex                        Interface duplex      end                           Go back to EXEC mode      excessive‐restart            Restart backoff algorithm after 16 collisions (No                                      excessive‐restart means discard frame after 16 collisions)      exit                          Exit from current mode      flowcontrol                   Traffic flow control.      frame‐length‐check           Drop frames with mismath between EtherType/Length field and                                      actually payload size.      gvrp                          Enable GVRP on interface or interfaces      help                          Description of the interactive help system ...
  • Page 44 Transition Networks                SM12DP2XA CLI Reference       pvlan                         Private VLAN      qos                           Quality of Service      rmon                          Configure Remote Monitoring on an interface      sflow                         Statistics flow.      shutdown                      Shutdown of the interface.      spanning‐tree                 Spanning Tree protocol      speed                         Configures interface speed. If you use 10, 100, or 1000 keywords                                      with the auto keyword the port will only advertise the specified                                      speeds.      switchport                    Switching mode characteristics      udld                          UDLD configurations.  SM12DP2XA(config‐if)#  EXAMPLE 3: Configure switchport: SM12DP2XA(config‐if)# switchport <tab>  access     forbidden  hybrid     mode       trunk      vlan       voice  SM12DP2XA(config‐if)# switchport mode ?      access    Set mode to ACCESS unconditionally      hybrid    Set mode to HYBRID unconditionally      trunk     Set mode to TRUNK unconditionally  SM12DP2XA(config‐if)# switchport access ?      vlan    Set VLAN when interface is in access mode  SM12DP2XA(config‐if)# switchport access vlan ?      <vlan_id>    VLAN ID of the VLAN when this port is in access mode  SM12DP2XA(config‐if)# switchport access vlan 10 ?      <cr>  SM12DP2XA(config‐if)#   33753 Rev. A https://www.transition.com...
  • Page 45 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE 4: Configure interface VLAN: SM12DP2XA(config)# interface vlan ?      <vlan_list>    List of VLAN interface numbers, 1~4095  SM12DP2XA(config)# interface vlan 10 ?      <cr>  SM12DP2XA(config)# interface vlan 10  SM12DP2XA(config‐if‐vlan)# ?      do      To run exec commands in config mode      end     Go back to EXEC mode      exit    Exit from current mode      help    Description of the interactive help system      ip      Interface Internet Protocol config commands      ipv6    IPv6 configuration commands      no      Negate a command or set its defaults  SM12DP2XA(config‐if‐vlan)#      EXAMPLE 5: Configure port security for an interface: SM12DP2XA(config‐if)# port‐security? ...
  • Page 46 Transition Networks                SM12DP2XA CLI Reference   SM12DP2XA(config‐if)# port‐security sticky ?      <mac_addr>    48 bit MAC address: xx:xx:xx:xx:xx:xx      <cr>  SM12DP2XA(config‐if)# port‐security sticky 00‐c0‐f2‐49‐38‐bb ?      vlan    VLAN keyword  SM12DP2XA(config‐if)# port‐security sticky 00‐c0‐f2‐49‐38‐bb vlan ?      <vlan_id>    VLAN IDs 1‐4095  SM12DP2XA(config‐if)# port‐security sticky 00‐c0‐f2‐49‐38‐bb vlan 2 ?      <cr>  SM12DP2XA(config‐if)# port‐security sticky 00‐c0‐f2‐49‐38‐bb vlan 2  SM12DP2XA(config‐if)# port‐security ?      maximum      Maximum number of MAC addresses that can be learned on this                   set of interfaces.      sticky       Enable/disable port security sticky function per interface.      violation    The action involved with exceeding the limit.      <cr>  SM12DP2XA(config‐if)# port‐security maximum?      maximum    Maximum number of MAC addresses that can be learned on this set of interfaces.      <cr>  SM12DP2XA(config‐if)# port‐security maximum ?      <1‐1024>    Number of addresses      <cr>  SM12DP2XA(config‐if)# port‐security maximum 500 ?      <cr>  SM12DP2XA(config‐if)# port‐security maximum 500  SM12DP2XA(config‐if)# port‐security sticky ?      <mac_addr>    48 bit MAC address: xx:xx:xx:xx:xx:xx      <cr>  SM12DP2XA(config‐if)# port‐security sticky 00‐c0‐f2‐49‐38‐bb ?      vlan    VLAN keyword ...
  • Page 47 Transition Networks                SM12DP2XA CLI Reference       protect          Don't do anything      shutdown         Shutdown the port      trap             Send an SNMP trap      trap‐shutdown    Send an SNMP trap and shutdown the port  SM12DP2XA(config‐if)# port‐security violation trap‐shutdown ?      <cr>  SM12DP2XA(config‐if)# port‐security violation trap‐shutdown  SM12DP2XA(config‐if)# end  SM12DP2XA# show port‐security ?      port      Show MAC Addresses learned by Port Security      switch    Show Port Security status.  SM12DP2XA# show port‐security port ?      |            Output modifiers      interface      <cr>  SM12DP2XA# show port‐security port  GigabitEthernet 1/1  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  <none>    GigabitEthernet 1/2  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  <none>    GigabitEthernet 1/3  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ...
  • Page 48 Transition Networks                SM12DP2XA CLI Reference   MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  SM12DP2XA# show port‐security switch ?      |            Output modifiers      interface      <cr>  SM12DP2XA# show port‐security switch  Users:  L = Limit Control  8 = 802.1X  V = Voice VLAN  Interface                Users  State          MAC Cnt  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐  GigabitEthernet 1/1      L‐‐    Ready                0  GigabitEthernet 1/2      L‐‐    Ready                0  GigabitEthernet 1/3      L‐‐    Ready                0  GigabitEthernet 1/4      L‐‐    Ready                0  GigabitEthernet 1/5      L‐‐    Ready                0  GigabitEthernet 1/6      ‐‐‐    No users             0  GigabitEthernet 1/7      ‐‐‐    No users             0  GigabitEthernet 1/8      ‐‐‐    No users             0  GigabitEthernet 1/9      ‐‐‐    No users             0  GigabitEthernet 1/10     ‐‐‐    No users             0  GigabitEthernet 1/11     ‐‐‐    No users             0  GigabitEthernet 1/12     ‐‐‐    No users             0  GigabitEthernet 1/13     ‐‐‐    No users             0  GigabitEthernet 1/14     ‐‐‐    No users             0  10GigabitEthernet 1/1    ‐‐‐    No users             0  10GigabitEthernet 1/2    ‐‐‐    No users             0  SM12DP2XA# ...
  • Page 49 Transition Networks                SM12DP2XA CLI Reference     EXAMPLE 6: Negate port security for an interface: SM12DP2XA(config‐if)# no port‐security ?      maximum      Maximum  number  of  MAC  addresses  that  can  be  learned  on  this  set  of  interfaces.      sticky       Enable/disable port security sticky function per interface.      violation    The action involved with exceeding the limit.      <cr>  SM12DP2XA(config‐if)# no port‐security  SM12DP2XA(config‐if)#  SM12DP2XA(config‐if)# no port‐security? ...
  • Page 50               SM12DP2XA CLI Reference   Configure Internet Protocol parameters. SYNTAX ip arp inspection ip arp inspection entry interface <port_type> <in_port_type_id> <vlan_var> <mac_var> <ipv4_var> ip arp inspection translate [ interface <port_type> <in_port_type_id> <vlan_var> <mac_var> <ipv4_var> ] ip arp inspection vlan <in_vlan_list>...
  • Page 51 Transition Networks                SM12DP2XA CLI Reference   Parameters Address Resolution Protocol dhcp Dynamic Host Configuration Protocol Domain Name System helper-address DHCP relay server http Hypertext Transfer Protocol igmp Internet Group Management Protocol link-local Link-Local address binding interface...
  • Page 52 Transition Networks                SM12DP2XA CLI Reference   server Enable DHCP server snooping DHCP snooping proxy DNS proxy service secure-redirect Secure HTTP web rediction secure-server Secure HTTP web server snooping Snooping IGMP <word16> Profile name in 16 char's...
  • Page 53 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# ip ?      arp               Address Resolution Protocol      dhcp              Dynamic Host Configuration Protocol      dns               Domain Name System      domain            IP DNS Resolver      helper‐address    DHCP relay server      http              Hypertext Transfer Protocol      igmp              Internet Group Management Protocol      link‐local        Link‐Local address binding interface      name‐server       Domain Name System      route             Add IP route      routing           Enable routing for IPv4 and IPv6      source            source command      ssh               Secure Shell      telnet            TELNET      verify            verify command  SM12DP2XA(config)# ip arp inspection ?      entry        ARP inspection entry      translate    ARP inspection translate all entries      vlan         arp inspection VLAN setting      <cr>  SM12DP2XA(config)# ip arp inspection  SM12DP2XA(config)# ip dhcp relay  SM12DP2XA(config)# ip dns proxy  SM12DP2XA(config)# ip helper‐address 192.168.1.77  SM12DP2XA(config)# ip http sec  secure‐certificate  secure‐server  SM12DP2XA(config)# ip http secure‐server port ?      <1‐65534>    Port number ...
  • Page 54 Transition Networks                SM12DP2XA CLI Reference     EXAMPLE SM12DP2XA(config)# ip link‐local?      link‐local    Link‐Local address binding interface  SM12DP2XA(config)# ip link‐local ?      interface    Select an interface to configure  SM12DP2XA(config)# ip link‐local interface ?      <vlan_id>    VLAN IDs 1‐4095  SM12DP2XA(config)# ip link‐local interface 10 ?      <cr>  SM12DP2XA(config)# ip link‐local interface 10  SM12DP2XA(config)# ip link‐local interface 10  VLAN ID 10 is not existed. Please create it and set its IP.  SM12DP2XA(config)# ip link‐local interface 2  VLAN ID 2 is not existed. Please create it and set its IP.  SM12DP2XA(config)# ip link‐local interface 1  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 54 of 254 ...
  • Page 55               SM12DP2XA CLI Reference   ipmc IPv4/IPv6 multicast configuration. IPMC (IP MultiCast) supports IPv4 and IPv6 multicasting (IPMCv4 and IPMCv6). SYNTAX ipmc profile ipmc profile <profile_name> ipmc range <entry_name> { <v_ipv4_mcast> [ <v_ipv4_mcast_1> ] | <v_ipv6_mcast> [ <v_ipv6_mcast_1> ] }...
  • Page 56 Transition Networks                SM12DP2XA CLI Reference   ipv6 IPv6 configuration commands. SYNTAX ipv6 mld host-proxy [ leave-proxy ] ipv6 mld snooping ipv6 mld snooping vlan <v_vlan_list> ipv6 mld ssm-range <v_ipv6_mcast> <ipv6_prefix_length> ipv6 mld unknown-flooding ipv6 route <v_ipv6_subnet> { <v_ipv6_ucast> | interface vlan <v_vlan_id> <v_ipv6_addr> }...
  • Page 57         SM12DP2XA CLI Reference   lacp Configure LACP (Link Aggregation Control Protocol) settings. LACP (Link Aggregation Control Protocol) is an IEEE 802.3ad standard protocol that allows bundling several physical ports together to form a single logical port. An LACP trunk group with more than one ready member ports is a “real trunked”...
  • Page 58 Transition Networks                SM12DP2XA CLI Reference   line Configure a terminal line. SYNTAX line { <0~16> | console 0 | vty <0~15> } Parameters <0~16> List of line numbers console Console terminal line Console Line number Virtual terminal <0~15>...
  • Page 59         SM12DP2XA CLI Reference   lldp Configure LLDP parameters. LLDP is an IEEE 802.1ab standard protocol. The Link Layer Discovery Protocol(LLDP) specified in this standard allows stations attached to an IEEE 802 LAN to advertise, to other stations attached to the...
  • Page 60 Transition Networks                SM12DP2XA CLI Reference   Parameters holdtime Sets LLDP hold time (The neighbor switch will discarded the LLDP information after "hold time" multiplied with "timer" seconds ). Media Endpoint Discovery. reinit LLDP tx reinitialization delay in seconds.
  • Page 61 Transition Networks                SM12DP2XA CLI Reference   landmark Landmark or vanity address - Example: Columbia University. additional-info Additional location info - Example: South Wing. name Name (residence and office occupant) - Example: Flemming Jahn. zip-code Postal/zip code - Example: 2791.
  • Page 62 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# lldp holdtime ?      <2‐10>    2‐10 seconds.  SM12DP2XA(config)# lldp holdtime 5  SM12DP2XA(config)# lldp med fast 5  SM12DP2XA(config)# lldp reinit 3  SM12DP2XA(config)# lldp transmission‐delay 333  Note: According to IEEE 802.1AB‐clause 10.5.4.2 the transmission‐delay must not be larger than LLDP  timer * 0.25. LLDP timer changed to 1332  SM12DP2XA(config)#    SM12DP2XA(config)# lldp med?      med    Media Endpoint Discovery.  SM12DP2XA(config)# lldp med <tab>  datum              fast               location‐tlv       media‐vlan‐policy  SM12DP2XA(config)# lldp med datum ?      nad83‐mllw      Mean lower low water datum 1983      nad83‐navd88    North American vertical datum 1983      wgs84           World Geodetic System 1984  SM12DP2XA(config)# lldp med datum wgs84 ?      <cr>  SM12DP2XA(config)# lldp med datum wgs84  SM12DP2XA(config)# lldp med location‐tlv altitude ?      floors    Specify the altitude in floor.      meters    Specify the altitude in meters.  SM12DP2XA(config)# lldp med location‐tlv altitude floors ?      <word11>    Altitude value. Valid range ‐2097151.9 to 2097151.9  SM12DP2XA(config)# lldp med location‐tlv altitude floors 34 ?      <cr>  SM12DP2XA(config)# lldp med location‐tlv altitude floors 34 ...
  • Page 63 Transition Networks                SM12DP2XA CLI Reference   logging Configure Syslog parameters. SYNTAX logging host { <ipv4_addr> | <domain_name> } logging on logging port <port_no> Parameters host host <ipv4_ucast> IP address of the log server <hostname> Donain name of the log server Enable syslog server port <port_no>...
  • Page 64 Transition Networks                SM12DP2XA CLI Reference   loop-protect Configure Loop protection parameters. SYNTAX loop-protect loop-protect shutdown-time <0-604800> loop-protect transmit-time <1-10> Parameter shutdown-time Loop protection shutdown time interval <0-604800> Shutdown time in second transmit-time Loop protection transmit time interval <1-10>...
  • Page 65 Transition Networks                SM12DP2XA CLI Reference   Configure MAC table entries. SYNTAX mac address-table aging-time <0,10-1000000> mac address-table static <mac_addr> vlan <vlan_id> interface <port_type> <port_type_list> Parameters address-table Mac Address Table aging-time Mac address aging time <0,10-1000000> Aging time in seconds, 0 disables aging...
  • Page 66 Transition Networks                SM12DP2XA CLI Reference       <vlan_list>  SM12DP2XA(config)# mac address‐table learning vlan 1  SM12DP2XA(config)# mac address‐table static ?      <mac_addr>    48 bit MAC address: xx:xx:xx:xx:xx:xx  SM12DP2XA(config)# mac address‐table static 00‐c0‐f2‐49‐38‐bb ?      vlan    VLAN keyword  SM12DP2XA(config)# mac address‐table static 00‐c0‐f2‐49‐38‐bb vlan ?      <vlan_id>    VLAN IDs 1‐4095  SM12DP2XA(config)# mac address‐table static 00‐c0‐f2‐49‐38‐bb vlan 1  Error: MAC address exists (system address)  Could not add mac address  SM12DP2XA(config)# mac address‐table static 00‐c0‐f2‐49‐38‐bb vlan 10  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 66 of 254 ...
  • Page 67             SM12DP2XA CLI Reference   monitor Configure monitor (mirror) parameters. SYNTAX monitor session <session_number> [ destination { interface ( <port_type> [ <di_list> ] ) | remote vlan <drvid> reflector-port <port_type> <rportid> } | source { interface ( <port_type> [ <si_list> ] ) [ both | rx | tx ] | remote vlan <srvid >...
  • Page 68 Transition Networks                SM12DP2XA CLI Reference       *                    All switches or All ports      GigabitEthernet      1 Gigabit Ethernet Port      10GigabitEthernet    10 Gigabit Ethernet Port  SM12DP2XA(config)# $tor session 1 destination interface GigabitEthernet ?      <port_type_list>    Port list in 1/1‐14  SM12DP2XA(config)# $tor session 1 destination interface GigabitEthernet 1/1  SM12DP2XA(config)# monitor session 1 source ?      interface    MIRROR source interface      remote       MIRROR source Remote      vlan         MIRROR source VLAN  SM12DP2XA(config)# monitor session 1 source vlan ?      <vlan_list>    MIRROR source VLAN  SM12DP2XA(config)# monitor session 1 source vlan 10,20 ?      <cr>  SM12DP2XA(config)# monitor session 1 source vlan 10,20  SM12DP2XA(config)#  Message: % Interface GigabitEthernet 1/2 already configured as destination port.    33753 Rev. A https://www.transition.com Page 68 of 254 ...
  • Page 69         SM12DP2XA CLI Reference   Configure Multicast VLAN Registration. The MVR (Multicast VLAN Registration) protocol for Layer 2 (IP)-networks enables multicast-traffic from a source VLAN to be shared with subscriber-VLANs. MVR is used to save bandwidth by preventing duplicate multicast streams being sent in the core network; instead the streams are received on the MVR-VLAN and forwarded to the VLANs where hosts have requested them.
  • Page 70 Transition Networks                SM12DP2XA CLI Reference   compatible Compatible MVR operation mode vlan MVR multicast vlan <vlan_list> MVR multicast VLAN list channel MVR channel configuration <word16> Profile name in 16 char's frame MVR control frame in TX...
  • Page 71 Transition Networks                SM12DP2XA CLI Reference       SM12DP2XA(config)# mvr name mvr1 channel ch1  % Invalid operation.    % Failed to set MVR interface channel.    SM12DP2XA(config)#  Message: W mvr 23:07:50 53/_mvr_vlan_warning_handler#4034: Warning: Please adjust the management VLAN ports overlapped with MVR source ports! W lacp 23:07:50 33/rx_stev#766: Warning: An illegal loopback occurred on port 13 Meaning: The Management VLAN ports overlapped with MVR source ports.
  • Page 72       SM12DP2XA CLI Reference   Configure NTP. NTP (Network Time Protocol) is used for synchronizing the clocks of computer systems. NTP uses UDP (datagrams) as transport layer. NTP is used to sync with the network time based Greenwich Mean Time (GMT).
  • Page 73         SM12DP2XA CLI Reference   port-security Enable/disable port security globally. You can use the Port Security commands to restrict input to an interface by limiting and identifying MAC addresses. Note that you can also configure port security for an interface.
  • Page 74             SM12DP2XA CLI Reference   privilege Configure command privilege level parameters. SYNTAX privilege { exec | configure | config-vlan | line | interface | if-vlan | ipmc-profile | snmps-host | stp-aggr | dhcp-pool | rfc2544-profile } level <privilege> <cmd>...
  • Page 75 Transition Networks                SM12DP2XA CLI Reference   radius-server Configure RADIUS server parameters. Up to 5 servers are supported. SYNTAX radius-server attribute 32 <id> radius-server attribute 4 <ipv4> radius-server attribute 95 <ipv6> radius-server deadtime <minutes> radius-server host <host_name> [ auth-port <auth_port> ] [ acct-port <acct_port> ] [ timeout <seconds> ] [ retransmit <retries>...
  • Page 76 Transition Networks                SM12DP2XA CLI Reference   <1-1000> Number of retries for a transaction EXAMPLE SM12DP2XA(config)# radius‐server ?      attribute     NAS attributes      deadtime      Time to stop using a RADIUS server that doesn't respond      host          Specify a RADIUS server      key           Set RADIUS encryption key      retransmit    Specify the number of retries to active server      timeout       Time to wait for a RADIUS server to reply  SM12DP2XA(config)# radius‐server attribute ?      32    attribute number 32 = NAS‐Identifier      4     attribute number 4 = NAS‐IP‐Address      95    attribute number 95 = NAS‐IPv6‐Address  SM12DP2XA(config)# radius‐server attribute 32 ?      <line1‐253>    NAS‐Identifier  SM12DP2XA(config)# radius‐server attribute 32 a  <line1‐253>  <cr>  SM12DP2XA(config)# radius‐server attribute 32 a  SM12DP2XA(config)# radius‐server host d  <word1‐255>  <cr>  SM12DP2XA(config)# radius‐server host device ?      acct‐port     UDP port for RADIUS accounting server      auth‐port     UDP port for RADIUS authentication server      key           Server specific key (overrides default) ...
  • Page 77             SM12DP2XA CLI Reference   rmon Configure Remote Monitoring alarms and events. SYNTAX rmon alarm <id> { ifInOctets | ifInUcastPkts | ifInNUcastPkts | ifInDiscards | ifInErrors | ifInUnknownProtos | ifOutOctets | ifOutUcastPkts | ifOutNUcastPkts | ifOutDiscards | ifOutErrors } <ifIndex> <interval> { absolute | delta } rising- threshold <rising_threshold>...
  • Page 78               SM12DP2XA CLI Reference   ifInUnknownProtos Number of the inbound packets discarded for unknown or un-support protocol ifOutOctets The number of octets transmitted out of the interface , including framing characters ifOutUcastPkts The number of uni-cast packets that request to transmit...
  • Page 79 Transition Networks                SM12DP2XA CLI Reference                            event the packets is normal      ifOutErrors          The The number of outbound packets that could not be                           transmitted because of errors      ifOutNUcastPkts      The number of broad‐cast and multi‐cast packets that                           request to transmit      ifOutOctets          The number of octets transmitted out of the interface                           , including framing characters      ifOutUcastPkts       The number of uni‐cast packets that request to                           transmit  SM12DP2XA(config)# rmon alarm 1 ifOutErrors ?      <uint>    Interface index  SM12DP2XA(config)# rmon alarm 1 ifOutErrors 1 ?      <1‐2147483647>    Sample interval  SM12DP2XA(config)# rmon alarm 1 ifOutErrors 1 50000 ?      absolute    Test each sample directly      delta       Test delta between samples  SM12DP2XA(config)# rmon alarm 1 ifOutErrors 1 50000 absolute ?      rising‐threshold    Configure the rising threshold  SM12DP2XA(config)# $arm 1 ifOutErrors 1 50000 absolute rising‐threshold ?      <‐2147483648‐2147483647>    rising threshold value  SM12DP2XA(config)# $tErrors 1 50000 absolute rising‐threshold 10000 ?      <0‐65535>            Event to fire on rising threshold crossing      falling‐threshold    Configure the falling threshold  SM12DP2XA(config)# rmon ?      alarm    Configure an RMON alarm      event    Configure an RMON event  SM12DP2XA(config)# rmon event ?      <1‐65535>    Event entry ID  SM12DP2XA(config)# rmon event 1 ?      description    Specify a description of the event ...
  • Page 80 Transition Networks                SM12DP2XA CLI Reference       <cr>  SM12DP2XA(config)# rmon event 1 log trap ?      <word127>    SNMP community string  SM12DP2XA(config)# rmon event 1 log trap cxvlk ?      description    Specify a description of the event      <cr>  SM12DP2XA(config)# rmon event 1 log trap cxvlk  SM12DP2XA(config)  33753 Rev. A https://www.transition.com Page 80 of 254 ...
  • Page 81           SM12DP2XA CLI Reference   sflow Configure Statistics flow. sFlow is an industry standard technology for monitoring switched networks through random sampling of packets on switch ports and time-based sampling of port counters. The sampled packets and counters (referred to as flow samples and counter samples, respectively) are sent as sFlow UDP datagrams to a central network traffic monitoring server.
  • Page 82 Transition Networks                SM12DP2XA CLI Reference       collector‐port       Collector UDP port      max‐datagram‐size    Maximum datagram size.      timeout              Receiver timeout measured in seconds. The switch                           decrements the timeout once per second, and as long as                           it is non‐zero, the receiver receives samples. Once                           the timeout reaches 0, the receiver and all its                           configuration is reset to defaults.  SM12DP2XA(config)# sflow agent‐ip ipv4  192.168.1.30  SM12DP2XA(config)# sflow collector‐port 3  SM12DP2XA(config)# sflow max‐datagram‐size ?      <200‐1468>    bytes  SM12DP2XA(config)# sflow max‐datagram‐size 333  SM12DP2XA(config)# sflow timeout ?      <0‐2147483647>    Number of seconds.  SM12DP2XA(config)# sflow timeout 3333  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 82 of 254 ...
  • Page 83         SM12DP2XA CLI Reference   SMTP Configure email parameters. Simple Mail Transfer Protocol is the message-exchange standard for the Internet. Configure the Switch as an SMTP client; the server is a remote device that will receive messages from the switch that alarm events occurred.
  • Page 84 Set SNMP server configuration parameters. SYNTAX snmp-server access <word32> snmp-server community v2c v3 snmp-server contact <line255> contact string SM12DP2XA(config)# snmp-server engine-id local Set SNMP local engine ID snmp-server engine-id local <word10-64> local engine ID snmp-server host <word32> Name of the host configuration snmp-server location <line255>...
  • Page 85 Transition Networks                SM12DP2XA CLI Reference       do          To run exec commands in config mode      end         Go back to EXEC mode      exit        Exit from current mode      help        Description of the interactive help system      host        host configuration      informs     Send Inform messages to this host      no          Negate a command or set its defaults      shutdown    Disable the trap configuration      version     Set SNMP trap version  SM12DP2XA(config‐snmps‐host)# informs ?      retries    retires inform messages  SM12DP2XA(config‐snmps‐host)# informs retries 50 timeout 300  SM12DP2XA(config‐snmps‐host)# end  SM12DP2XA# con ter  SM12DP2XA(config)# snmp‐server ?      access               access configuration      community            Set the SNMP community      contact              Set the SNMP server's contact string      engine‐id            Set SNMP engine ID      host                 Set SNMP host's configurations      location             Set the SNMP server's location string      security‐to‐group    security‐to‐group configuration      trap                 Set trap's configurations      user                 Set the SNMPv3 user's configurations      version              Set the SNMP server's version      view                 MIB view configuration      <cr>  SM12DP2XA(config)# snmp‐server access ?      <word32>    group name  SM12DP2XA(config)# snmp‐server trap ...
  • Page 86 Transition Networks                SM12DP2XA CLI Reference   system Set system parameters.  SYNTAX contact Set the SNMP server's contact string description Configure System Description location Set the SNMP server's location string name Set the SNMP server's system model name string...
  • Page 87 Transition Networks                SM12DP2XA CLI Reference       disable    Disable Switch Reboot      enable     Enable Switch Reboot  sm12dp2xa 4 docs(config)# system name SM12DP2XA  SM12DP2XA(config)#    33753 Rev. A https://www.transition.com Page 87 of 254 ...
  • Page 88               SM12DP2XA CLI Reference   tacacs-server Configure TACACS+. TACACS+ provides separate authentication, authorization and accounting services. Up to 5 servers are supported. SYNTAX tacacs-server deadtime <minutes> tacacs-server host <host_name> [ port <port> ] [ timeout <seconds> ] [ key <key> ] tacacs-server key <key>...
  • Page 89 Transition Networks                SM12DP2XA CLI Reference   tzidx Configure timezone city/area.    SYNTAX  tzidx <idx_var>  Parameters  <int>        index of city/area  EXAMPLE  SM12DP2XA(config)# tzidx?      tzidx    Configure timezone city/area  SM12DP2XA(config)# tzidx 1  SM12DP2XA(config)# clock timezone test  8  SM12DP2XA(config)# tzidx 0  SM12DP2XA(config)# tzidx 1  SM12DP2XA(config)# tzidx 2  SM12DP2XA(config)#  udld Enable UDLD in aggressive or normal mode and set the configurable message timer on all fiber‐optic ports.  Uni Directional Link Detection monitors the configuration of links between UDLD devices and ports.  SYNTAX  udld { aggressive | enable | message time‐interval <v_interval> }  Parameters  aggressive  Enables UDLD in aggressive mode on all fiber‐optic ports.  enable   ...
  • Page 90 Transition Networks                SM12DP2XA CLI Reference   upnp (Universal Plug and Play) Configure UPnP ( ) parameters. SYNTAX upnp upnp advertising-duration <66-86400> upnp ttl <1-255> Parameters advertising-duration Set advertising duration Set TTL value <100-86400> advertising duration <1-255> TTL value EXAMPLE SM12DP2XA(config)# upnp? ...
  • Page 91 Transition Networks                SM12DP2XA CLI Reference   username Establish User Name Authentication. SYNTAX username <username> privilege <priv> password encrypted <encry_password> username <username> privilege <priv> password none username <username> privilege <priv> password unencrypted <password> Parameters <Username : word31>...
  • Page 92               SM12DP2XA CLI Reference   vlan Configure VLAN parameters. SYNTAX vlan <vlan_list> vlan ethertype s-custom-port <0x0600-0xffff> vlan protocol { { eth2 { <0x600-0xffff> | arp | ip | ipx | at } } | { snap { <0x0-0xffffff> | rfc_1042 | snap_8021h } <0x0-0xffff> } | { llc <0x0-0xff>...
  • Page 93         SM12DP2XA CLI Reference   voice Configure Voice VLAN parameters. Voice VLAN is VLAN configured specially for voice traffic. By adding the ports with voice devices attached to voice VLAN, we can perform QoS-related configuration for voice data, ensuring the transmission priority of voice traffic and voice quality.
  • Page 94               SM12DP2XA CLI Reference   Configure web privilege levels. SYNTAX web privilege group <CWORD> level { [ cro <0-15> ] [ crw <0-15> ] [ sro <0-15> ] [ srw <0-15> ] } Parameters privilege Web privilege...
  • Page 95: Access-List

              SM12DP2XA CLI Reference   3-1 access-list These commands configure the Access Control List (ACL), which is made up of the ACEs defined on this switch.. The maximum number of ACEs is 512 on each switch. An ACL (Access Control List) is the list table of ACEs, containing access control entries that specify individual users or groups permitted or denied to specific traffic objects, such as a process or a program.
  • Page 96 Transition Networks                SM12DP2XA CLI Reference       10pps     10 packets per second      25kbps    25k bits per second  SM12DP2XA(config)# access‐list rate‐limiter 1 25kbps ?      <0‐400000>    Rate value  SM12DP2XA(config)# access‐list rate‐limiter 1 25kbps 6000  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 96 of 254 ...
  • Page 97           SM12DP2XA CLI Reference   Access list entry. SYNTAX access-list ace{ update<1-256> | <1-256> } [action< deny | filter | permit >] access-list ace{ update<1-256> | <1-256> } [dmac-type < any | broadcast | multicast | unicast >] access-list ace{ update<1-256>...
  • Page 98 Transition Networks                SM12DP2XA CLI Reference   tag-priority Tag priority VID field deny Deny filter Filter permit Permit Don't-care the type of destination MAC address broadcast Broadcast destination MAC address multicast Multicast destination MAC address unicast Unicast destination MAC address...
  • Page 99 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# access‐list ?      ace             Access list entry      rate‐limiter    Rate limiter  SM12DP2XA(config)# access‐list ace ?      <1‐512>    ACE ID      update     Update an existing ACE  SM12DP2XA(config)# access‐list ace 1 ?      action          Access list action      dmac‐type       The type of destination MAC address      frame‐type      Frame type      ingress         Ingress      logging         Logging frame information. Note: The logging feature only                      works when the packet length is less than 1518 (without                      VLAN tags) and the System Log memory size and logging rate                      is limited.      mirror          Mirror frame to destination mirror port      next            insert the current ACE before the next ACE ID      policy          Policy      rate‐limiter    Rate limiter      redirect        Redirect frame to specific port      shutdown        Shutdown incoming port. The shutdown feature only works                      when the packet length is less than 1518 (without VLAN                      tags).      tag             Tag      tag‐priority    Tag priority      vid             VID field      <cr>  SM12DP2XA(config)# access‐list ace 1 action ?      deny      Deny ...
  • Page 100 Transition Networks                SM12DP2XA CLI Reference       GigabitEthernet      1 Gigabit Ethernet Port      10GigabitEthernet    10 Gigabit Ethernet Port  SM12DP2XA(config)# $‐list ace 1 action filter interface GigabitEthernet 1/2 ?      *                    All switches or All ports      GigabitEthernet      1 Gigabit Ethernet Port      10GigabitEthernet    10 Gigabit Ethernet Port      dmac‐type            The type of destination MAC address      frame‐type           Frame type      ingress              Ingress      logging              Logging frame information. Note: The logging feature                           only works when the packet length is less than 1518                           (without VLAN tags) and the System Log memory size and                           logging rate is limited.      mirror               Mirror frame to destination mirror port      next                 insert the current ACE before the next ACE ID      policy               Policy      rate‐limiter         Rate limiter      redirect             Redirect frame to specific port      shutdown             Shutdown incoming port. The shutdown feature only                           works when the packet length is less than 1518                           (without VLAN tags).      tag                  Tag      tag‐priority         Tag priority      vid                  VID field      <cr>  SM12DP2XA(config)# $1 action filter interface GigabitEthernet 1/2 policy ?      <0‐255>    Policy ID  SM12DP2XA(config)# $1 action filter interface GigabitEthernet 1/2 policy 1 ?      dmac‐type         The type of destination MAC address      frame‐type        Frame type ...
  • Page 101 Transition Networks                SM12DP2XA CLI Reference       next              insert the current ACE before the next ACE ID      policy‐bitmask    The bitmask for policy ID      rate‐limiter      Rate limiter      redirect          Redirect frame to specific port      shutdown          Shutdown incoming port. The shutdown feature only works                        when the packet length is less than 1518 (without VLAN                        tags).      tag               Tag      tag‐priority      Tag priority      vid               VID field      <cr>  SM12DP2XA(config)# $interface GigabitEthernet 1/2 policy 1 rate‐limiter ?      <1‐16>     Rate limiter ID      disable    Disable rate‐limiter  SM12DP2XA(config)# $interface GigabitEthernet 1/2 policy 1 rate‐limiter 1 ?      dmac‐type       The type of destination MAC address      frame‐type      Frame type      ingress         Ingress      logging         Logging frame information. Note: The logging feature only                      works when the packet length is less than 1518 (without                      VLAN tags) and the System Log memory size and logging rate                      is limited.      mirror          Mirror frame to destination mirror port      next            insert the current ACE before the next ACE ID      redirect        Redirect frame to specific port      shutdown        Shutdown incoming port. The shutdown feature only works                      when the packet length is less than 1518 (without VLAN                      tags).      tag             Tag      tag‐priority    Tag priority ...
  • Page 102 Transition Networks                SM12DP2XA CLI Reference       dmac‐type       The type of destination MAC address      frame‐type      Frame type      logging         Logging frame information. Note: The logging feature only                      works when the packet length is less than 1518 (without                      VLAN tags) and the System Log memory size and logging rate                      is limited.      mirror          Mirror frame to destination mirror port      next            insert the current ACE before the next ACE ID      redirect        Redirect frame to specific port      shutdown        Shutdown incoming port. The shutdown feature only works                      when the packet length is less than 1518 (without VLAN                      tags).      tag             Tag      tag‐priority    Tag priority      vid             VID field      <cr>  SM12DP2XA(config)# $GigabitEthernet 1/2 policy 1 rate‐limiter 1 ingress any  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 102 of 254 ...
  • Page 103 Transition Networks                SM12DP2XA CLI Reference   3-2 no Negate a command or set its defaults in Config mode. Table : configure – no Commands Command Function Authentication, Authorization and Accounting access Access management access-list Access list...
  • Page 104 Transition Networks                SM12DP2XA CLI Reference   Negate Authentication, Authorization and Accounting.   SYNTAX no aaa authentication login {console | telnet | ssh | http } Parameters authentication Authentication login Login console Disable Console http Disable HTTP...
  • Page 105 Transition Networks                SM12DP2XA CLI Reference   access-list Negate Access list   SYNTAX no access-list ace <1~256> Parameters Access list entry <AceId : 1-256> ACE ID EXAMPLE  no  SM12DP2XA(config)# access‐list ace 1  SM12DP2XA(config)#  aggregation NegateAggregation mode   SYNTAX no aggregation mode...
  • Page 106 Transition Networks                SM12DP2XA CLI Reference   banner Define a login banner   SYNTAX no banner [ motd ] no banner exec no banner login Parameters exec Set EXEC process creation banner login Set login banner motd...
  • Page 107 Transition Networks                SM12DP2XA CLI Reference   dot1x IEEE Standard for port-based Network Access Control   SYNTAX no dot1x authentication timer inactivity no dot1x authentication timer re-authenticate no dot1x feature { [ guest-vlan ] [ radius-qos ] [ radius-vlan ] }...
  • Page 108 Specifies an UNENCRYPTED password will follow Specifies an ENCRYPTED password will follow level Set exec level password <1-15> Level number EXAMPLE SM12DP2XA(config)# no enable secret level 15  SM12DP2XA(config)# no enable password level 15  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com Page 108 of 254 ...
  • Page 109 Transition Networks                SM12DP2XA CLI Reference   hostname Set system's network name.   SYNTAX no hostname EXAMPLE   SM12DP2XA(config)# no hostname  SM12DP2XA(config)#  interface SYNTAX no interface vlan < vlan_list > Parameters vlan Vlan interface configurations <vlan_list> Vlan list EXAMPLE  ...
  • Page 110 Transition Networks                SM12DP2XA CLI Reference   Set system's network name.   SYNTAX no ip arp inspection no ip arp inspection entry interface Gigabitethernet <port_type_id> <vlan_id> <mac_ucast> <ipv4_ucast> no ip arp inspection vlan <vlan_list> [logging] no dhcp execluded-address [<ip_address> [<ip_address>]] no dhcp pool <WORD>...
  • Page 111 Transition Networks                SM12DP2XA CLI Reference   10Gigabitethernet <vlan_id> Select a VLAN id to configure <mac_ucast> Select a MAC address to configure <ipv4_ucast> Select an IP Address to configure vlan arp inspection vlan setting <vlan_list> arp inspection vlan list...
  • Page 112   SM12DP2XA(config)# no ip dhcp relay information option    SM12DP2XA(config)# no ip dhcp relay information option  SM12DP2XA(config)# no ip dns proxy  SM12DP2XA(config)# no ip helper-address  SM12DP2XA(config)# no ip http secure-redirect  SM12DP2XA(config)# no ip igmp snooping  SM12DP2XA(config)# no ip name-server  SM12DP2XA(config)# no ip routing  SM12DP2XA(config)# no ip ssh  SM12DP2XA(config)# no ip verify source ...
  • Page 113 <Profilename : word16> Profile name in 16 char's range A range of IPv4/IPv6 multicast addresses for the profile <Entryname : word16> Range entry name in 16 char's EXAMPLE SM12DP2XA(config)# no ipmc profile  SM12DP2XA(config)#  ipv6 IPv6 configuration commands SYNTAX no ipv6 mld host-proxy [ leave-proxy ] no ipv6 mld snooping no ipv6 mld snooping [vlan <vlan_list>...
  • Page 114 IPv6 unicast address (except link-local address) of next-hop interface Select an interface to configure vlan VLAN Interface <vlan_id> VLAN identifier(s): VID <ipv6_linklocal> IPv6 link-local address of next-hop EXAMPLE SM12DP2XA(config)# no ipv6 mld snooping  SM12DP2XA(config)#  lacp LACP settings SYNTAX no lacp system-priority <1-65535> Parameters system-priority System priority <1-65535>...
  • Page 115 Transition Networks                SM12DP2XA CLI Reference   lldp LLDP configurations.. SYNTAX no lldp holdtime no lldp med datum no lldp med fast no lldp med location-tlv altitude no lldp med location-tlv civic-addr { country | state | county | city | district | block | street | leading-street-direction |...
  • Page 116 Trailing street suffix - Example: SW. zip-code Postal/zip code - Example: 2791. <0~31> Policy to delete. EXAMPLE SM12DP2XA(config)# no lldp holdtime  SM12DP2XA(config)# no lldp med location-tlv civic-addr floor  SM12DP2XA(config)# no lldp reinit  SM12DP2XA(config)# no lldp timer  SM12DP2XA(config)# no lldp transmission-delay  SM12DP2XA(config)#  33753 Rev. A https://www.transition.com...
  • Page 117 Syslog. SYNTAX no logging host no logging on Parameters host host Enable syslog server EXAMPLE SM12DP2XA(config)# no logging host  SM12DP2XA(config)# no logging on  SM12DP2XA(config)#  loop-protect Loop protection configuration SYNTAX no loop-protect no loop-protect shutdown-time no loop-protect transmit-time Parameters shutdown-time...
  • Page 118 Transition Networks                SM12DP2XA CLI Reference   MAC table entries/configuration SYNTAX no mac address-table aging-time [<0,10-1000000> ] no mac address-table static <mac_addr> vlan <vlan_id> interface {*|Gigabitethernet [<port_type_list>]} Parameter address-table Mac table entries configuration/table aging-time Mac address aging time <0,10-1000000>...
  • Page 119 Transition Networks                SM12DP2XA CLI Reference   <port_type_list> Port list in 1/1-14 for Gigabitethernet, Port list in 1/1-2 for 10Gigabitethernet EXAMPLE SM12DP2XA(config)# no monitor destination    SM12DP2XA(config)# no monitor source cpu  SM12DP2XA(config)#  Multicast VLAN Registration configuration. SYNTAX no mvr no mvr name <word16> channel no mvr name <word16>...
  • Page 120 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# no mvr vlan 12 mode  SM12DP2XA(config)#  Configure NTP. SYNTAX no ntp no ntp server <1-5> Parameters server Configure NTP server <1-5> index number EXAMPLE SM12DP2XA(config)# no ntp server 2  SM12DP2XA(config)#  port-security Enable/disable port security globally. SYNTAX no port-security...
  • Page 121 Specify the number of retries to active server timeout Time to wait for a RADIUS server to reply EXAMPLE SM12DP2XA(config)# no radius-server attribute 4  SM12DP2XA(config)# no radius-server deadtime SM12DP2XA(config)# no radius-server key  SM12DP2XA(config)# no radius-server retransmit  SM12DP2XA(config)# no radius-server timeout ...
  • Page 122 Receiver timeout measured in seconds. The switch decrements the timeout once per second, and as long as it is non-zero, the receiver receives samples. Once the timeout reaches 0, the receiver and all its configuration is reset to defaults. EXAMPLE SM12DP2XA(config)# no sflow agent-ip  SM12DP2XA(config)# no sflow collector-address  33753 Rev. A https://www.transition.com...
  • Page 123           SM12DP2XA CLI Reference   SM12DP2XA(config)# no sflow collector-port  SM12DP2XA(config)# no sflow max-datagram-size  SM12DP2XA(config)# no sflow timeout  snmp-server Enable SNMP server. SYNTAX no snmp-server no snmp-server access <Groupname : word32> model { v1 | v2c | v3 | any } level { auth | noauth | priv } no snmp-server community v2c no snmp-server community v3 <Community : word127>...
  • Page 124 <Viewname : word32> MIB view name <Oidsubtree : word255> MIB view OID EXAMPLE SM12DP2XA(config)# no snmp-server access 333 model any level auth  SM12DP2XA(config)# no snmp-server community v2c SM12DP2XA(config)# no snmp-server engined-id local  SM12DP2XA(config)# no snmp-server host 333  SM12DP2XA(config)# no snmp-server location ...
  • Page 125 Transition Networks                SM12DP2XA CLI Reference   spanning-tree STP Bridge. SYNTAX no spanning-tree edge bpdu-filter no spanning-tree edge bpdu-guard no spanning-tree mode no spanning-tree mst <instance> priority no spanning-tree mst <instance> vlan no spanning-tree mst forward-time no spanning-tree mst max-age...
  • Page 126             SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# no spanning-tree edge bpdu-filter  SM12DP2XA(config)# no spanning-tree mode SM12DP2XA(config)# no spanning-tree mst max-age  SM12DP2XA(config)# no spanning-tree recovery interval  SM12DP2XA(config)# no spanning-tree transmit hold-count  SM12DP2XA(config)#   tacacs-server Configure TACACS+. SYNTAX no tacacs-server deadtime no tacacs-server host <host_name>...
  • Page 127 Transition Networks                SM12DP2XA CLI Reference   upnp Set UPnP's configurations. SYNTAX no upnp no upnp advertising-duration no upnp ttl Parameters advertising-duration Set advertising duration Set TTL value EXAMPLE SM12DP2XA(config)# no upnp advertising‐duration  SM12DP2XA(config)# no upnp ttl  SM12DP2XA(config)#   username Establish User Name Authentication.
  • Page 128             SM12DP2XA CLI Reference   vlan Vlan commands. SYNTAX no vlan protocol { { eth2 { <0x600-0xffff> | arp | ip | ipx | at } } | { snap { <0x0-0xffffff> | rfc_1042 | snap_8021h } <0x0-0xffff>...
  • Page 129 Transition Networks                SM12DP2XA CLI Reference   voice Voice appliance attributes. SYNTAX no voice vlan no voice vlan aging-time no voice vlan class no voice vlan oui <oui> no voice vlan vid Parameters vlan Vlan for voice traffic...
  • Page 130 ‘’Green_Ethernet' 'IP2' 'IPMC_Snooping' 'LACP' 'LLDP' 'Loop_Protect' 'MAC_Table' 'MEP' 'MVR' 'Maintenance' 'Mirroring' 'NTP''Ports' 'Private_VLANs' 'QoS' 'RPC' 'Security' 'Spanning_Tree' 'System' 'Timer' 'UPnP' 'VCL' 'VLANs' 'Voice_VLAN' ‘XXRP’ 'sFlow' level Web privilege group level EXAMPLE SM12DP2XA(config)# no web privilege group LACP level  SM12DP2XA(config)#     33753 Rev. A https://www.transition.com Page 130 of 254 ...
  • Page 131: Qos

    Transition Networks                SM12DP2XA CLI Reference   3-3 qos Table : configure – qos Commands Command  Function  map    Global QoS Map/Table  qce    QoS Control Entry  storm    Storm policer  wred    Weighted Random Early Discard  Configure Global QoS Map/Table parameters. SYNTAX qos map cos-dscp <0~7> dpl <dpl : 0~1> dscp { <DscpNum : 0-63> | { be | af11 | af12 | af13 | af21 | af22 | af23 | af31 | af32 | af33 | af41 | af42 | af43 | cs1 | cs2 | cs3 | cs4 | cs5 | cs6 | cs7 | ef | va } } qos map dscp-classify { <dscpNum : 0~63>...
  • Page 132 Class Selector PHB CS6 precedence 6(DSCP 48) Class Selector PHB CS7 precedence 7(DSCP 56) Expedited Forwarding PHB(DSCP 46) Voice Admit PHB(DSCP 44) EXAMPLE SM12DP2XA(config)# qos map cos-dscp 5 dpl 1 dscp 20  SM12DP2XA(config)#   33753 Rev. A https://www.transition.com Page 132 of 254 ...
  • Page 133       SM12DP2XA CLI Reference   Configure QoS Control Entries. A QoS Control List (QCL) is made up of QCEs. A QCE (QoS Control Entry) describes QoS class associated with a particular QCE ID. There are six QCE frame types: Ethernet Type, VLAN, UDP/TCP Port, DSCP, TOS, and Tag Priority.
  • Page 134 Transition Networks                SM12DP2XA CLI Reference   Specify class of service Specify drop precedence level dscp Specify DSCP Specify class of service <Cos : 0-7> Specific class of service default Keep default class of service <Dpl : 0-1>...
  • Page 135 Transition Networks                SM12DP2XA CLI Reference   etype Ethernet frames ipv4 IPv4 frames ipv6 IPv6 frames LLC frames snap SNAP frames <Etype : 0x600-0x7ff,0x801-0x86dc,0x86de-0xffff> Specific EtherType interface Interfaces <Next : 1-256> The next QCE ID <Pcp : pcp>...
  • Page 136         SM12DP2XA CLI Reference   storm Configure QoS storm parameters. There is a unicast storm policer, multicast storm policer, and a broadcast storm policer. These only affect flooded frames, i.e. frames with a (VLAN ID, DMAC) pair not present in the MAC Address table.
  • Page 137           SM12DP2XA CLI Reference   wred Configure Weighted Random Early Detection (WRED) parameters. Through different RED configuration for the queues (QoS classes) it is possible to obtain Weighted Random Early Detection (WRED) operation between queues. The settings are global for all ports in the switch.
  • Page 138: Snmp-Server

              SM12DP2XA CLI Reference   3-4 snmp-server Configure SNMP server parameters. Any Network Management System (NMS) running the Simple Network Management Protocol (SNMP) can manage managed devices equipped with an SNMP agent, provided that the Management Information Base (MIB) is installed correctly on the managed devices. The SNMP protocol is used to govern the transfer of information between SNMP manager and agent and traverses the Object Identity (OID) of the management Information Base (MIB), described in the form of SMI syntax.
  • Page 139             SM12DP2XA CLI Reference   access access configuration. SYNTAX snmp-server access <GroupName : word32> model { v1 | v2c | v3 | any } level { auth | noauth | priv } [ read <ViewName : word255> ] [ write <WriteName : word255> ] Parameters <GroupName : word32>...
  • Page 140 Transition Networks                SM12DP2XA CLI Reference   community Set the SNMP community. SYNTAX snmp-server community v2c <Community : word127> [ ro | rw ] snmp-server community v3 <word127> [ <ipv4_addr> <ipv4_netmask> ] Parameters SNMPv2c <Community : word127>...
  • Page 141 Transition Networks                SM12DP2XA CLI Reference   contact Set the SNMP server's contact string. SYNTAX snmp-server contact <line255> Parameters contact Set the SNMP server's contact string <line255> contact string EXAMPLE SM12DP2XA(config)# snmp‐server contact text  SM12DP2XA(config)#  engine-id Set SNMP engine ID.
  • Page 142 Transition Networks                SM12DP2XA CLI Reference   host Set SNMP host's configurations. SYNTAX snmp-server host <word32> Parameter <word32> Name of the host configuration EXAMPLE SM12DP2XA(config)# snmp‐server host text  SM12DP2XA(config)#  location Set the SNMP server's location string. SYNTAX snmp-server location <line255>...
  • Page 143 Transition Networks                SM12DP2XA CLI Reference   security-to-group security-to-group configuration. SYNTAX snmp-server security-to-group model { v1 | v2c | v3 } name <SecurityName : word32> group <GroupName : word32> Parameters model security model v1 security model v2c security model...
  • Page 144             SM12DP2XA CLI Reference   user Set the SNMPv3 user's configurations. SYNTAX snmp-server user <Username : word32> engine-id <Engineid : word10-32> [ { md5 <Md5Passwd : word8-32> | sha <ShaPasswd : word8-40> } [ priv { des | aes } <word8-32> ] ] Parameters <Username : word32>...
  • Page 145 Transition Networks                SM12DP2XA CLI Reference   version Set the SNMP server's version. SYNTAX snmp-server version { v1 | v2c | v3 } Parameters SNMPv1 SNMPv2c SNMPv3 EXAMPLE SM12DP2XA(config)# snmp‐server version v2c  SM12DP2XA(config)#  view MIB view configuration. SYNTAX snmp-server view <ViewName : word32> <OidSubtree : word255> { include | exclude } Parameters <ViewName : word32>...
  • Page 146: Spanning-Tree

    Transition Networks                SM12DP2XA CLI Reference   3-5 spanning-tree Configure Spanning Tree Protocol (STP) parameters. Table : Configure spanning‐tree Commands  Command    Function  aggregation          Aggregation mode  edge                       ...
  • Page 147 Transition Networks                SM12DP2XA CLI Reference   EXAMPLE SM12DP2XA(config)# spanning‐tree  aggregation  SM12DP2XA(config‐stp‐aggr)# ?      do               To run exec commands in config mode      end              Go back to EXEC mode      exit             Exit from current mode      help             Description of the interactive help system      no               Negate a command or set its defaults      spanning‐tree    Spanning Tree protocol  SM12DP2XA(config‐stp‐aggr)#    edge Edge ports. SYNTAX spanning-tree edge bpdu-filter spanning-tree edge bpdu-guard Parameters bpdu-filter Enable BPDU filter (stop BPDU tx/rx) bpdu-guard...
  • Page 148 Transition Networks                SM12DP2XA CLI Reference   mode STP protocol mode. SYNTAX spanning-tree mode { stp | rstp | mstp } Parameters mstp Multiple Spanning Tree (802.1s) rstp Rapid Spanning Tree (802.1w) 802.1D Spanning Tree EXAMPLE SM12DP2XA(config)# spanning‐tree mode stp ...
  • Page 149 Transition Networks                SM12DP2XA CLI Reference   Configure STP bridge instance. SYNTAX spanning-tree mst <instance> priority <prio> spanning-tree mst <instance> vlan <v_vlan_list> spanning-tree mst forward-time <fwdtime> spanning-tree mst hello-time <hellotime> spanning-tree mst max-age <maxage> [ forward-time <fwdtime> ] spanning-tree mst max-hops <maxhops>...
  • Page 150 Transition Networks                SM12DP2XA CLI Reference   recovery Configure Spanning Tree error recovery intertval. SYNTAX spanning-tree recovery interval <Interval : 30-86400> Parameters interval The interval <Interval : 30-86400> Range in seconds EXAMPLE SM12DP2XA(config)# spanning‐tree recovery interval 50  SM12DP2XA(config)#  transmit BPDUs to transmit.
  • Page 151: 4 - Copy Commands

                SM12DP2XA CLI Reference   4 ‐ Copy Commands  Copy from source to destination. SYNTAX copy { startup-config | running-config | <source_path> } { startup-config | running-config | <destination_path> } [ syntax-check ] [ { merge | replace } ] Parameters <url_file>...
  • Page 152: 5 - Platform Debug Commands

    Transition Networks                SM12DP2XA CLI Reference   5 – Platform Debug Commands  Debug command settings. Warning: The use of 'debug' commands may negatively impact system behavior.  Do not enable unless instructed to. (Use 'platform debug deny' to disable debug commands.)  Note: 'debug' command syntax, semantics and behavior are subject to change without notice.  SYNTAX platform debug allow  platform debug deny  Parameters allow    Allow debug commands  deny    Deny debug commands  EXAMPLE SM12DP2XA# platform  debug allow ?      <cr>  SM12DP2XA# platform  debug allow  WARNING: The use of 'debug' commands may negatively impact system behavior. Do not enable unless  instructed to. (Use 'platform debug deny' to disable debug commands.)  NOTE: 'debug' command syntax, semantics and behavior are subject to change without notice.  SM12DP2XA#  SM12DP2XA# show platform ?      debug    Debug command setting      phy      PHYs' information  SM12DP2XA# show platform debug  Platform debug command function is denied.  SM12DP2XA# show platform phy  Port   API Inst   WAN/LAN/1G Mode       Duplex     Speed      Link  ‐‐‐‐   ‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐  ‐‐‐‐       ‐‐‐‐‐‐     ‐‐‐‐‐      ‐‐‐‐ ...
  • Page 153: 6 - Delete Commands

    Transition Networks                SM12DP2XA CLI Reference   6 – Delete Commands  Delete one file in flash: file system   SYNTAX Delete <Path : word> Parameters <Path : word> Name of file to delete EXAMPLE SM12DP2XA# delete ?      <url_file>    File in FLASH. Syntax: <flash:filename>. A valid file name is                    a text string drawn from alphabet (A‐Za‐z), digits (0‐9), dot                    (.), hyphen (‐), under score(_). The maximum length is 63 and                    hyphen must not be first character. The file name content                    that only contains '.' is not allowed. ...
  • Page 154: 7 - Dir Commands

    Transition Networks                SM12DP2XA CLI Reference   7 ‐ DIR Commands    Directory of all files in flash: file system. SYNTAX Dir [ | begin | exclude | include <LINE>] Parameters Output modifiers begin Begin with the line that matches...
  • Page 155: 8 - Disable Commands

    Transition Networks                SM12DP2XA CLI Reference   8 ‐ Disable Commands    Turn off privileged commands. SYNTAX disable <0-15> disable [ <new_priv> ] Parameters <0-15> Privilege level <cr> EXAMPLE SM12DP2XA# disable ?      <0‐15>      <cr>  SM12DP2XA# disable 10  SM12DP2XA#        33753 Rev. A https://www.transition.com...
  • Page 156: 9 - Do Commands

    Transition Networks                SM12DP2XA CLI Reference   9 ‐ Do Commands    To run exec commands in config mode. SYNTAX Do <LINE>{[LINE]} Parameters <line> Exec Command EXAMPLE SM12DP2XA# do show clock  System Time     : 2011‐01‐01T03:08:54+00:00    SM12DP2XA# con ter  SM12DP2XA(config)# do show clock  System Time     : 2011‐01‐01T03:09:09+00:00    SM12DP2XA(config)#        33753 Rev. A https://www.transition.com...
  • Page 157: 10 - Dot1X Commands

    Transition Networks                SM12DP2XA CLI Reference   10 ‐ Dot1X Commands  Configure IEEE Standard for port-based Network Access Control. SYNTAX dot1x initialize [ interface ( <port_type> [ <plist> ] ) ] Parameters authentication Authentication feature Globally enables/disables a dot1x feature functionality...
  • Page 158: 11 - Enable Commands

    Transition Networks                SM12DP2XA CLI Reference   11 ‐ Enable Commands  Turn on privileged commands. Syntax Enable <1-15> Parameters <0-15> Choose privileged level EXAMPLE SM12DP2XA# enable?      enable    Turn on privileged commands      <cr>  SM12DP2XA# enable ?      <0‐15>    Choose privileged level      <cr>  SM12DP2XA# enable 10 ?      <cr>  SM12DP2XA# enable 10  SM12DP2XA#      33753 Rev. A https://www.transition.com...
  • Page 159: 12 - Firmware Commands

    Transition Networks                SM12DP2XA CLI Reference   12 ‐ Firmware Commands  Firmware upgrade/swap. Syntax firmware swap firmware upgrade <protocol>://[<username>[:<password>]@]<host>[:<port>][/<path>]/<file_name> Parameters swap Swap between Active and Alternate firmware image. upgrade Firmware upgrade <protocol>:// Protocol [<username> User name. [:<password>] Password @]<host> Hostname [:<port>]...
  • Page 160: 13 - No Commands

      Transition Networks    SM12DP2XA CLI Reference 13 ‐ No Commands    Negate a command or set its defaults Syntax no debug interrupt-monitor source <source> no debug ipv6 nd no debug trace hunt no port-security shutdown [ interface ( <port_type> [ <v_port_type_list> ] ) ] no terminal editing...
  • Page 161: 14 - Ping Commands

      Transition Networks    SM12DP2XA CLI Reference 14 ‐ Ping Commands  Send ICMP echo messages. Syntax ping ip { <v_ip_addr> | <v_ip_name> } [ repeat <count> ] [ size <size> ] [ interval <seconds> ] ping ipv6 { <v_ipv6_addr> | <v_ipv6_name> } [ repeat <count> ] [ size <size> ] [ interval <seconds> ] [ interface vlan <v_vlan_id>...
  • Page 162   Transition Networks    SM12DP2XA CLI Reference 64 bytes from 192.168.1.77: icmp_seq=2, time=0ms  64 bytes from 192.168.1.77: icmp_seq=3, time=0ms  64 bytes from 192.168.1.77: icmp_seq=4, time=0ms  Sent 5 packets, received 5 OK, 0 bad  SM12DP2XA#      33753 Rev. A https://www.transition.com Page 162 of 254...
  • Page 163: 15 - Reload Commands

      Transition Networks    SM12DP2XA CLI Reference 15 ‐ Reload Commands  Reload system. Syntax reload { { { cold | warm } [ sid <usid> ] } | { defaults [ keep-ip ] } } Parameters cold Reload cold (i.e., reboot). defaults Reload defaults without rebooting.
  • Page 164: 16 - Send Commands

      Transition Networks    SM12DP2XA CLI Reference 16 ‐ Send Commands  Send a message to other tty lines. Syntax send { * | <session_list> | console 0 | vty <vty_list> } <message> Parameters All tty lines <0~16> Send a message to multiple lines console Primary terminal line...
  • Page 165: 17 - Show Commands

      Transition Networks    SM12DP2XA CLI Reference 17 ‐ Show Commands  Show running system information. Table : Show Commands   Command      Function                                               ...
  • Page 166   Transition Networks    SM12DP2XA CLI Reference Show Login methods. SYNTAX show aaa [ | {begin | exclude | include } <LINE>] Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE>...
  • Page 167   Transition Networks    SM12DP2XA CLI Reference access Show Access management. SYNTAX show access management [ statistics | <access_id_list> ] Parameters management Access management configuration statistics Statistics data <AccessidList : 1~16> ID of access management entry Output modifiers begin Begin with the line that matches...
  • Page 168   Transition Networks    SM12DP2XA CLI Reference access-list Show Access list. SYNTAX show access-list [ interface [ ( <port_type> [ <v_port_type_list> ] ) ] ] [ rate-limiter [ <rate_limiter_list> ] ] [ ace statistics [ <ace_list> ] ] show access-list ace-status [ static ] [ link-oam ] [ loop-protect ] [ dhcp ] [ ptp ] [ upnp ] [ arp-inspection ] [ evc ] [ mep ] [ ipmc ] [ ip-source-guard ] [ ip-mgmt ] [ tt-loop ] [ y1564 ] [ dms-client ] [ dms-server ] [ dms-ssdp ] [ dms-onvif ] [ agv-car ] [ dms-mdns ] [ ztp ] [ rapid-ring ] [ lacp-on-air ] [ conflicts ] [ switch <switch_list>...
  • Page 169   Transition Networks    SM12DP2XA CLI Reference Switch access‐list rate limiter ID 7 is 10 pps  Switch access‐list rate limiter ID 8 is 10 pps  Switch access‐list rate limiter ID 9 is 10 pps  Switch access‐list rate limiter ID 10 is 10 pps  Switch access‐list rate limiter ID 11 is 10 pps  Switch access‐list rate limiter ID 12 is 10 pps  Switch access‐list rate limiter ID 13 is 10 pps  Switch access‐list rate limiter ID 14 is 10 pps  Switch access‐list rate limiter ID 15 is 10 pps  Switch access‐list rate limiter ID 16 is 10 pps  SM12DP2XA#  aggregation Show Aggregation port configuration. SYNTAX show aggregation [ mode ] [ | {begin | exclude | include } <LINE>] Parameters mode Traffic distribution mode...
  • Page 170   Transition Networks    SM12DP2XA CLI Reference bcs protection Display Broadcast Storm Protection config. SYNTAX show bcs-protection [ interface ( <port_type> [ <v_port_type_list> ] ) ] Parameters Output modifiers GigabitEthernet 1 Gigabit Ethernet Port 10GigabitEthernet 10 Gigabit Ethernet Port EXAMPLE SM12DP2XA# show broadcast‐storm‐protection ?      |            Output modifiers      interface    Select an interface to configure ...
  • Page 171   Transition Networks    SM12DP2XA CLI Reference clock Show time-of-day clock. SYNTAX show clock [detail] Parameter detail Display detailed clock information EXAMPLE SM12DP2XA# show clock ?      detail    Display detailed information      <cr>  SM12DP2XA# show clock  System Time     : 2011‐01‐01T15:32:09+00:00    SM12DP2XA# show clock detail  System Time     : 2011‐01‐01T15:32:15+00:00    Timezone : Timezone Offset : 0 ( 0 minutes)  Timezone Acronym :    Daylight Saving Time Mode : Disabled.  Daylight Saving Time Start Time Settings :          Week: 1          Day: 1          Month: 1          Date: 1          Year: 2014          Hour: 0          Minute: 0 ...
  • Page 172   Transition Networks    SM12DP2XA CLI Reference dot1x Show parameters for IEEE Standard for port-based Network Access Control. SYNTAX show dot1x statistics { eapol | radius | all } [ interface ( <port_type> [ <v_port_type_list> ] ) ] show dot1x status [ interface ( <port_type> [ <v_port_type_list> ] ) ] [ brief ]...
  • Page 173   Transition Networks    SM12DP2XA CLI Reference event Show trap event configuration SYNTAX show event EXAMPLE SM12DP2XA# show event ?      port    Show event port configuration      <cr>  SM12DP2XA# show event port  SM12DP2XA# show event  Group Name                        Severity Level    Syslog Mode   Trap Mode    SMTP Mode  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ACL                               Info              enable        disable    disable  ACL‐Log                           Info              enable        disable    disable  Access‐Mgmt                       Info              enable        disable    disable  Auth‐Failed                       Warning           enable        disable    disable  BCS‐Protection                    Info              enable        disable    disable  Cold‐Start                        Warning           enable        disable    disable ...
  • Page 174   Transition Networks    SM12DP2XA CLI Reference history Display the session command history. SYNTAX show history [ | {begin | exclude | include } <LINE>] Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE>...
  • Page 175   Transition Networks    SM12DP2XA CLI Reference interface Display Interface status and configuration. SYNTAX show interface ( <port_type> [ <in_port_list> ] ) switchport [ access | trunk |hybrid ] show interface ( <port_type> [ <v_port_type_list> ] ) CableDiag show interface ( <port_type> [ <v_port_type_list> ] ) capabilities [ detail ] show interface ( <port_type>...
  • Page 176   Transition Networks    SM12DP2XA CLI Reference SM12DP2XA# show interface vlan  VLAN1    LINK: 00‐c0‐f2‐49‐38‐bb Mtu:1500 <UP BROADCAST RUNNING MULTICAST>    IPv4: 192.168.1.77/24 192.168.1.255    IPv4: 169.254.130.72/16 169.254.255.255    IPv6: fe80::2c0:f2ff:fe49:38bb/64 <UP RUNNING>    VLAN4096    LINK: 00‐c0‐f2‐49‐38‐bb Mtu:1500 <BROADCAST MULTICAST>    VLAN4097    LINK: 00‐c0‐f2‐49‐38‐bb Mtu:1500 <BROADCAST MULTICAST>  SM12DP2XA#  SM12DP2XA# show interface *  capabilities    GigabitEthernet 1/1 Capabilities:       Tx Central                                  Mon1      Mon2         Mon3  Port Wavelength  Bit Rate   Temperature   Vcc   (Bias)   (Tx PWR)     (Rx PWR)  ‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐    Name/Model:            None    Type:                  None    Speed:                 100,1000,auto    Duplex:                full,auto    Trunk encap. type:     802.1Q    Trunk mode:            access,hybrid,trunk    Channel:               yes    Broadcast suppression: no    Flowcontrol:           yes    Fast Start:            no    QoS scheduling:        tx‐(8q)    CoS rewrite:           yes    ToS rewrite:           yes    UDLD:                  no    Inline power:          no    RMirror:               yes    PortSecure:            yes ...
  • Page 177   Transition Networks    SM12DP2XA CLI Reference Name: GigabitEthernet 1/1  Administrative mode: access  Access Mode VLAN: 1  Trunk Native Mode VLAN: 1  Administrative Native VLAN tagging: disabled  Allowed VLANs: 1‐4095  Hybrid port configuration  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  Port Type: C‐Port  Acceptable Frame Type: All  Ingress filter: Disabled  Egress tagging: All except‐native  Hybrid Native Mode VLAN: 1  Hybrid VLANs Enabled: 1‐4095    Name: GigabitEthernet 1/2  Administrative mode: access  Access Mode VLAN: 1  Trunk Native Mode VLAN: 1  Administrative Native VLAN tagging: disabled  Allowed VLANs: 1‐4095  Hybrid port configuration  ‐‐ more ‐‐, next page: Space, continue: g, quit: ^C  33753 Rev. A https://www.transition.com Page 177 of 254...
  • Page 178   Transition Networks    SM12DP2XA CLI Reference Display Internet Protocol information. SYNTAX show ip arp show ip arp inspection [ interface ( <port_type> [ <in_port_type_list> ] ) | vlan <in_vlan_list> ] show ip arp inspection entry [ dhcp-snooping | static ] [ interface ( <port_type> [ <in_port_type_list> ] ) ] show ip dhcp detailed statistics { server | client | snooping | relay | normal-forward | combined } [ interface ( <port_type>...
  • Page 179   Transition Networks    SM12DP2XA CLI Reference http Hypertext Transfer Protocol server HTTP web server secure Secure status Status igmp Internet Group Management Protocol snooping Snooping IGMP vlan Search by VLAN <vlan_list> VLAN identifier(s): VID group-database Multicast group database from IGMP sfm-information Including source filter multicast information from IGMP...
  • Page 180   Transition Networks    SM12DP2XA CLI Reference   Frags: 0 reassemble (0 reassembled, 0 couldn't reassemble)           0 fragment (0 fragmented, 0 couldn't fragment)           0 fragment created    Mcast: 155772 received in 7649660 bytes           153974 sent in 7463602 bytes    Bcast: 155658 received, 153974 sent    IP interface statistics:      IPv4 Statistics on Interface VLAN: 1    Rcvd:  157604 total in 7907241 bytes           79718 local destination, 0 forwarding  ‐‐ more ‐‐, next page: Space, continue: g, quit: ^C    SM12DP2XA# show ip ?      arp            Address Resolution Protocol      dhcp           Dynamic Host Configuration Protocol      domain         Default domain name      http           Hypertext Transfer Protocol      igmp           Internet Group Management Protocol      interface      IP interface status and configuration      link‐local      name‐server    Domain Name System      route          Display the current IP routing table      source         source command      ssh            Secure Shell      statistics     Traffic statistics      telnet         TELNET      verify         verify command  SM12DP2XA# show ip link‐local?      link‐local  SM12DP2XA# show ip link‐local ?      interface    show Link‐Local address binding interface  SM12DP2XA# show ip link‐local interface ?      |       Output modifiers      <cr> ...
  • Page 181   Transition Networks    SM12DP2XA CLI Reference ipmc Show IPv4/IPv6 multicast configuration. SYNTAX show ipmc profile [ <profile_name> ] [ detail ] show ipmc range [ <entry_name> ] Parameters profile IPMC profile configuration range A range of IPv4/IPv6 multicast addresses for the profile <ProfileName : word16>...
  • Page 182   Transition Networks    SM12DP2XA CLI Reference ipv6 Show IPv6 configuration commands. SYNTAX show ipv6 interface [ vlan <vlan_list> { brief | statistics } ] [ | {begin | exclude | include } <LINE>] show ipv6 mld snooping [ vlan <vlan_list> ] [ group-database [ interface <port_type> <port_type_list> ] [ sfm-information ] ]...
  • Page 183   Transition Networks    SM12DP2XA CLI Reference <LINE> String to match output lines EXAMPLE SM12DP2XA# show ipv6 statistics system    IPv6 statistics:      Rcvd:  0 total in 0 byte           0 local destination, 0 forwarding           0 header error, 0 address error, 0 unknown protocol           0 no route, 0 truncated, 0 discarded    Sent:  10 total in 656 bytes           14 generated, 0 forwarded           0 no route, 0 discarded    Frags: 0 reassemble (0 reassembled, 0 couldn't reassemble)           0 fragment (0 fragmented, 0 couldn't fragment)           0 fragment created    Mcast: 0 received in 0 byte           10 sent in 656 bytes    Bcast: 0 received, 0 sent  SM12DP2XA#  33753 Rev. A https://www.transition.com Page 183 of 254...
  • Page 184   Transition Networks    SM12DP2XA CLI Reference lacp Display LACP configuration/status. SYNTAX show lacp { internal | statistics | system-id | neighbour } [ | {begin | exclude | include } <LINE>] Parameters internal Internal LACP configuration statistics Internal LACP statistics system-id LACP system ID...
  • Page 185   Transition Networks    SM12DP2XA CLI Reference line Show TTY line information. SYNTAX show line [ alive ] [ | {begin | exclude | include } <LINE>] Parameters alive Display information about alive lines begin Begin with the line that matches exclude Exclude lines that match...
  • Page 186   Transition Networks    SM12DP2XA CLI Reference lldp Display LLDP neighbors information.. SYNTAX show lldp [ interface ( <port_type> [ <v_port_type_list> ] ) ] show lldp med media-vlan-policy [ <v_0_to_31> ] show lldp med remote-device [ interface ( <port_type> [ <port_list> ] ) ] show lldp neighbors [ interface ( <port_type>...
  • Page 187   Transition Networks    SM12DP2XA CLI Reference logging Display Syslog information. SYNTAX show logging <log_id> [ switch <switch_list> ] show logging [ info ] [ warning ] [ error ] [ emerg ] [ alert ] [ crit ] [ notice ] [ debug ] [ switch <switch_list> ] Parameters <1-4294967295>...
  • Page 188   Transition Networks    SM12DP2XA CLI Reference loop-protect Loop protection configuration. SYNTAX show loop-protect [ interface ( <port_type> [ <plist> ] ) ] Parameters interface Interface status and configuration <port_type > GigabitEthernet All Switches or All ports Gigabitethernet 1 Gigabit Ethernet Port 10GigabitEthernet 10 Gigabit Ethernet Port <port_type_list>...
  • Page 189   Transition Networks    SM12DP2XA CLI Reference Display Mac Address Table information. SYNTAX show mac address-table [ conf | static | aging-time | { { learning | count } [ interface ( <port_type> [ <v_port_type_list> ] ) | vlan <v_vlan_id_2> ] } | { address <v_mac_addr> [ vlan <v_vlan_id> ] } | vlan <v_vlan_id_1> | interface ( <port_type>...
  • Page 190   Transition Networks    SM12DP2XA CLI Reference monitor Display monitor Mirror session. SYNTAX show monitor [ session { <session_number> | all | remote } ] Parameters <1> MIRROR session number Show all MIRROR sessions remote Show only Remote MIRROR sessions EXAMPLE SM12DP2XA# show monitor   ...
  • Page 191   Transition Networks    SM12DP2XA CLI Reference Display Multicast VLAN Registration configuration. SYNTAX show mvr [ vlan <v_vlan_list> | name <mvr_name> ] [ group-database [ interface ( <port_type> [ <v_port_type_list> ] ) ] [ sfm-information ] ] [ detail ] Parameters vlan Search by VLAN <vlan_list>...
  • Page 192   Transition Networks    SM12DP2XA CLI Reference show NTP status. SYNTAX show ntp status Parameters status status EXAMPLE SM12DP2XA# show ntp status  NTP Mode : disabled  Idx   Server IP host address (a.b.c.d) or a host name string  ‐‐‐   ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  1  2  3  4  5  SM12DP2XA#  33753 Rev. A https://www.transition.com Page 192 of 254...
  • Page 193   Transition Networks    SM12DP2XA CLI Reference platform Display Platform specific information. SYNTAX show platform debug show platform phy [ interface ( <port_type> [ <v_port_type_list> ] ) ] show platform phy id [ interface ( <port_type> [ <v_port_type_list> ] ) ] show platform phy instance show platform phy mode [ interface ( <port_type>...
  • Page 194   Transition Networks    SM12DP2XA CLI Reference % Note: Feature  is only supported on 10G PHYs on port: 5  % Note: Feature  is only supported on 10G PHYs on port: 6  % Note: Feature  is only supported on 10G PHYs on port: 7  % Note: Feature  is only supported on 10G PHYs on port: 8  % Note: Feature  is only supported on 10G PHYs on port: 9  % Note: Feature  is only supported on 10G PHYs on port: 10  % Note: Feature  is only supported on 10G PHYs on port: 11  % Note: Feature  is only supported on 10G PHYs on port: 12  % Note: Feature  is only supported on 10G PHYs on port: 13  % Note: Feature  is only supported on 10G PHYs on port: 14  % Note: Feature  is only supported on 10G PHYs on port: 15  % Note: Feature  is only supported on 10G PHYs on port: 16  % Error: failed to get Oper‐mode  SM12DP2XA#  33753 Rev. A https://www.transition.com Page 194 of 254...
  • Page 195   Transition Networks    SM12DP2XA CLI Reference port-security Show port security. SYNTAX show port-security port [ interface ( <port_type> [ <v_port_type_list> ] ) ] show port-security switch [ interface ( <port_type> [ <v_port_type_list> ] ) ] Parameter port Show MAC Addresses learned by Port Security switch Show Port Security status.
  • Page 196   Transition Networks    SM12DP2XA CLI Reference EXAMPLE 2   SM12DP2XA# show port‐security port  GigabitEthernet 1/1  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  <none>    GigabitEthernet 1/2  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  <none>    GigabitEthernet 1/3  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  <none>    GigabitEthernet 1/4  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  MAC Address        VID   State       Added                      Age/Hold Time  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  SM12DP2XA# show port‐security switch  Users:  L = Limit Control  8 = 802.1X  V = Voice VLAN  Interface                Users  State          MAC Cnt  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐  GigabitEthernet 1/1      ‐‐‐    No users             0  GigabitEthernet 1/2      ‐‐‐    No users             0  GigabitEthernet 1/3      ‐‐‐    No users             0 ...
  • Page 197   Transition Networks    SM12DP2XA CLI Reference privilege SYNTAX show privilege [ | {begin | exclude | include } <LINE> Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match EXAMPLE SM12DP2XA# show privilege  SM12DP2XA# ...
  • Page 198   Transition Networks    SM12DP2XA CLI Reference process Display ongoing process data. SYNTAX show process list [ detail ] show process load Parameters list list load load EXAMPLE SM12DP2XA# show process?  show process list [ detail ]  show process load  SM12DP2XA# show process list  ID  State SetPrio CurPrio Name                   1sec Load 10sec Load Stack Base Size  Used  ‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐  DSR N/A       N/A     N/A DSR Context                  N/A        N/A        N/A   N/A   N/A  129 Exit        7       7 Telnet CLI 2                 N/A        N/A 0x81268c00 65536  4688  132 Exit        7       7 SSH Child 1                  N/A        N/A 0x8288a370 16384  9568  133 Exit        7       7 SSH CLI 1                    N/A        N/A 0x82847c90 65536  6560    3 Sleep       6       6 Network alarm support        N/A        N/A 0x832e54d0  4096  1808    4 Sleep       7       7 Network support              N/A        N/A 0x832e3d40  5328  2312    5 Susp       15      15 pthread.00000800             N/A        N/A 0x832fa1c8  7828   292    6 Sleep       7       7 Main                         N/A        N/A 0x826c86d4 16384  1628    7 Sleep       7       7 Critd                        N/A        N/A 0x826de07c  8192   556 ...
  • Page 199   Transition Networks    SM12DP2XA CLI Reference pvlan Display PVLAN status. SYNTAX show pvlan [ <pvlan_list> ] show pvlan isolation [ interface ( <port_type> [ <plist> ] ) ] Parameters <range_list> PVLAN id to show configuration for isolation show isolation configuration <port_type >...
  • Page 200   Transition Networks    SM12DP2XA CLI Reference GigabitEthernet 1/7               Disabled  GigabitEthernet 1/8               Disabled  GigabitEthernet 1/9               Disabled  GigabitEthernet 1/10              Disabled  GigabitEthernet 1/11              Disabled  GigabitEthernet 1/12              Disabled  GigabitEthernet 1/13              Disabled  GigabitEthernet 1/14              Disabled  10GigabitEthernet 1/1             Disabled  10GigabitEthernet 1/2             Disabled  SM12DP2XA#    33753 Rev. A https://www.transition.com Page 200 of 254...
  • Page 201   Transition Networks    SM12DP2XA CLI Reference Display Quality of Service data. SYNTAX show qos [ { interface [ ( <port_type> [ <port> ] ) ] } | wred | { maps [ dscp-cos ] [ dscp-ingress-translation ] [ dscp-classify ] [ cos-dscp ] [ dscp-egress-translation ] } | storm | { qce [ <qce> ] } ]...
  • Page 202   Transition Networks    SM12DP2XA CLI Reference radius-server Display RADIUS Server statistics. SYNTAX show radius-server [ statistics ] Parameters statistics RADIUS statistics Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE> String to match output lines EXAMPLE SM12DP2XA# show radius‐server statistics ...
  • Page 203   Transition Networks    SM12DP2XA CLI Reference       Type            : logandtrap        Community       : public        LastSent        : Never  SM12DP2XA# show rmon history    History ID :     1  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐      Data Source         : .1.3.6.1.2.1.2.2.1.1.1      Data Bucket Request : 50      Data Bucket Granted : 50      Data Interval       : 1800  SM12DP2XA# show rmon statistics    Statistics ID :     1  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐      Data Source : .1.3.6.1.2.1.2.2.1.1.1      etherStatsDropEvents          : 0      etherStatsOctets              : 0      etherStatsPkts                : 0      etherStatsBroadcastPkts       : 0      etherStatsMulticastPkts       : 0      etherStatsCRCAlignErrors      : 0      etherStatsUndersizePkts       : 0      etherStatsOversizePkts        : 0      etherStatsFragments           : 0      etherStatsJabbers             : 0      etherStatsCollisions          : 0      etherStatsPkts64Octets        : 0      etherStatsPkts65to127Octets   : 0      etherStatsPkts128to255Octets  : 0      etherStatsPkts256to511Octets  : 0      etherStatsPkts512to1023Octets : 0      etherStatsPkts1024to1518Octets: 0  SM12DP2XA#  33753 Rev. A https://www.transition.com...
  • Page 204   Transition Networks    SM12DP2XA CLI Reference running-config Show running system information. SYNTAX show running-config [ all-defaults ] show running-config feature <feature_name> [ all-defaults ] show running-config interface ( <port_type> [ <list> ] ) [ all-defaults ] show running-config interface vlan <list> [ all-defaults ] show running-config line { console | vty } <list>...
  • Page 205   Transition Networks    SM12DP2XA CLI Reference !  snmp‐server host SnmpTrap‐1   no shutdown   host 192.168.1.30 162 informs   version v3 probe None  !  snmp‐server host SnmpTrap‐2   no shutdown   host 192.168.1.40 162 informs  !  snmp‐server host Trapv1   no shutdown   host 192.168.1.50 162 traps   version v1 public  !  ip route 0.0.0.0 0.0.0.0 192.168.1.254  vlan protocol eth2 ip group grp1  ip arp inspection  ip source binding interface GigabitEthernet 1/2 10 192.168.1.77 00‐c0‐f2‐49‐38‐b  b  clock timezone test 8  tzidx 2  mac address‐table aging‐time 0  mac address‐table static 00:00:00:00:00:00 vlan 1 interface GigabitEthernet 1/2  spanning‐tree mode stp  spanning‐tree mst hello‐time 4  spanning‐tree transmit hold‐count 8  spanning‐tree recovery interval 70000  spanning‐tree mst name Charlie revision 1  spanning‐tree mst 1 vlan 10  spanning‐tree mst 2 vlan 20‐40,90  qos storm unicast 12345678 fps  qos storm multicast 99999 fps  qos storm broadcast 5 kfps  qos wred group 1 queue 0 dpl 2 min‐fl 0 max 50  qos wred group 1 queue 1 dpl 3 min‐fl 0 max 50 fill‐level ...
  • Page 206   Transition Networks    SM12DP2XA CLI Reference sflow Display Statistics flow (sFlow) data. SYNTAX show sflow statistics { receiver [ <rcvr_idx_list> ] | samplers [ interface [ <samplers_list> ] ( <port_type> [ <v_port_type_list> ] ) ] } Parameters statistics sFlow statistics. receiver Show statistics for receiver.
  • Page 207   Transition Networks    SM12DP2XA CLI Reference smtp Display SMTP configurations. SYNTAX show smtp EXAMPLE SM12DP2XA# show smtp  Mail Server     : 192.168.1.77  User Name       : jeffs  Password        : ********  Sender          : smtp1  Return Path     : sm12@hotmail.com  Email Adress 1  : jeffs@transition.com  Email Adress 2  : support@transition.com  Email Adress 3  :  Email Adress 4  :  Email Adress 5  :  Email Adress 6  :  SM12DP2XA#  snmp Display SNMP configurations. SYNTAX show snmp show snmp access [ <group_name> { v1 | v2c | v3 | any } { auth | noauth | priv } ] show snmp community v3 [ <community>...
  • Page 208   Transition Networks    SM12DP2XA CLI Reference <ConfName : word32> Name of the host configuration system System event group switch Switch event group interface Interface event group AAA event group security-to-group security-to-group configuration <SecurityName : word32> security group name user User <UserName : word32>...
  • Page 209   Transition Networks    SM12DP2XA CLI Reference spanning-tree Display STP Bridge. SYNTAX show spanning-tree [ summary | active | { interface ( <port_type> [ <v_port_type_list> ] ) } | { detailed [ interface ( <port_type> [ <v_port_type_list_1> ] ) ] } | { mst [ configuration | { <instance> [ interface ( <port_type> [ <v_port_type_list_2> ] ) ] } ] } ]...
  • Page 210   Transition Networks    SM12DP2XA CLI Reference switchport Display switching mode characteristics. SYNTAX show switchport forbidden [ { vlan <vlan_list> } | { name <name> } ] Parameters forbidden Lookup VLAN Forbidden port entry. name name - Show forbidden access for specific VLAN name.
  • Page 211   Transition Networks    SM12DP2XA CLI Reference system Show system information. SYNTAX show system cpu | reboot | <cr> Parameters show system <cr> show system cpu status show system reboot EXAMPLE SM12DP2XA# show system ?      cpu       CPU      reboot    Switch reboot scheduling      <cr>  SM12DP2XA# show system cpu status      Average load in 100 ms  : 0%      Average load in   1 sec : 3%      Average load in  10 sec : 4%  SM12DP2XA# show system reboot  Switch Reboot Mode: Disable  Switch Reboot Entry:               Reboot Time ...
  • Page 212   Transition Networks    SM12DP2XA CLI Reference Fan Speed                   : 7031(rpm)  Powers                      : AC Power On 14.00V ; DC Power On 11.80V  Temperature 1               : 39(C) ; 102(F)  Temperature 2               : 36(C) ; 96(F)  SM12DP2XA#  tacacs-server Display TACACS+ configuration. SYNTAX show tacacs-server [ | {begin | exclude | include } <LINE> Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match...
  • Page 213   Transition Networks    SM12DP2XA CLI Reference terminal Display terminal configuration parameters. SYNTAX show terminal [ | {begin | exclude | include } <LINE> Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE>...
  • Page 214   Transition Networks    SM12DP2XA CLI Reference show udld Display Unidirectional Link Detection (UDLD) configuration, statistics and status. SYNTAX show udld [ interface ( <port_type> [ <plist> ] ) ] Parameters All switches or All ports GigabitEthernet 1 Gigabit Ethernet Port 10GigabitEthernet 10 Gigabit Ethernet Port...
  • Page 215   Transition Networks    SM12DP2XA CLI Reference upnp Display UPnP configuration. SYNTAX show upnp [ | {begin | exclude | include } <LINE> Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE>...
  • Page 216   Transition Networks    SM12DP2XA CLI Reference users Display information about terminal lines. SYNTAX show users myself [ | {begin | exclude | include } <LINE> Parameters myself Display information about mine Output modifiers begin Begin with the line that matches exclude Exclude lines that match...
  • Page 217   Transition Networks    SM12DP2XA CLI Reference version Show system hardware and software status. SYNTAX show version show version [ brief ] Parameters Output modifiers begin Begin with the line that matches exclude Exclude lines that match include Include lines that match <LINE>...
  • Page 218   Transition Networks    SM12DP2XA CLI Reference vlan Show VLAN parameters. SYNTAX show vlan [ id <vlan_list> | name <name> | brief ] [ all ] show vlan ip-subnet [ <ipv4> ] show vlan mac [ address <mac_addr> ] show vlan membership [ id <vlan_list> | name <name> ] [ admin | combined | erps| evc | gvrp | mep | mstp | mvr | nas | rmirror | vcl | voice-vlan | forbidden ] show vlan protocol [ eth2 { <etype>...
  • Page 219   Transition Networks    SM12DP2XA CLI Reference SM12DP2XA# show vlan  VLAN  Name                              Interfaces  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  1     default                           Gi 1/1‐5,7‐14 10G 1/1‐2  10    VLAN0010                          Gi 1/3‐5  20    VLAN0020                          Gi 1/3‐5  30    VLAN0030                          Gi 1/3‐5  40    VLAN0040                          Gi 1/3‐6    SM12DP2XA# show vlan membership  VLAN  Name                              User Type   Interfaces  ‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  ‐‐‐‐‐‐‐‐‐‐  1     default                           Admin       Gi 1/1‐5,7‐14 10G 1/1‐2  2     VLAN0002                          Admin       Gi 1/3‐5  3     VLAN0003                          Admin       Gi 1/3‐5  4     VLAN0004                          Admin       Gi 1/3‐5  5     VLAN0005                          Admin       Gi 1/3‐5  6     VLAN0006                          Admin       Gi 1/3‐5  7     VLAN0007                          Admin       Gi 1/3‐5  8     VLAN0008                          Admin       Gi 1/3‐5  9     VLAN0009                          Admin       Gi 1/3‐5  10    VLAN0010                          Admin       Gi 1/3‐5  11    VLAN0011                          Admin       Gi 1/3‐5  12    VLAN0012                          Admin       Gi 1/3‐5  13    VLAN0013                          Admin       Gi 1/3‐5  14    VLAN0014                          Admin       Gi 1/3‐5  15    VLAN0015                          Admin       Gi 1/3‐5  16    VLAN0016                          Admin       Gi 1/3‐5  17    VLAN0017                          Admin       Gi 1/3‐5  18    VLAN0018                          Admin       Gi 1/3‐5  19    VLAN0019                          Admin       Gi 1/3‐5  20    VLAN0020                          Admin       Gi 1/3‐5  ‐‐ more ‐‐, next page: Space, continue: g, quit: ^C  33753 Rev. A https://www.transition.com...
  • Page 220   Transition Networks    SM12DP2XA CLI Reference voice Display Voice appliance attributes. SYNTAX show voice vlan [ oui <oui> | interface ( <port_type> [ <port_list> ] ) ] Parameters vlan Vlan for voice traffic OUI configuration <oui> OUI value interface Select an interface to configure <port_type>...
  • Page 221   Transition Networks    SM12DP2XA CLI Reference Display web privilege information. SYNTAX show web privilege group [ <group_name> ] level Parameters privilege Web privilege group Web privilege group CWORD Valid words are 'ACTIVATE' 'Aggregation' 'DHCP' 'DHCPv6_Client' 'DMS_client' 'DMS_server' 'Debug' 'Diagnostics' 'IP' 'IPMC_Snooping' 'Install_Wizard' 'LACP' 'LLDP' 'Loop_Protect'...
  • Page 222: 18 - Terminal Commands

      Transition Networks    SM12DP2XA CLI Reference 18 ‐ Terminal Commands  Set terminal line parameters. Syntax terminal editing terminal exec-timeout <0-1440> [ <0-3600> ] terminal help terminal history size <0-32> terminal length <0 or 3-512> terminal width <0 or 40-512> Parameters editing Enable command line editing...
  • Page 223   Transition Networks    SM12DP2XA CLI Reference 2. Partial help is provided when an abbreviated argument is entered     and you want to know what arguments match the input     (e.g. 'show pr?'.)    SM12DP2XA#    33753 Rev. A https://www.transition.com Page 223 of 254...
  • Page 224: 19 - Ip Commands

      Transition Networks    SM12DP2XA CLI Reference 19 ‐ IP Commands    IPv4 command t retry the DHCP interface VLAN. Syntax ip dhcp retry interface vlan <vlan_id> Parameters dhcp Dhcp commands retry Restart the DHCP query process interface Interface vlan Vlan interface <vlan_id> Vlan ID EXAMPLE SM12DP2XA# ip dhcp retry interface vlan 10 ...
  • Page 225: 20 - Cli Command Reference

      Transition Networks    SM12DP2XA CLI Reference 20 ‐ CLI Command Reference  This chapter introduces the CLI privilege level and command modes.   The privilege level determines whether or not the user can run the particular commands    If the user can run the particular command, then the user must run the command in the correct mode.     20‐1 Privilege Levels  Every command has a privilege level (0‐15). Users can run a command if the session’s privilege level is greater  than or equal to the command’s privilege level. The session’s privilege level initially comes from the login  account’s privilege level, though it is possible to change the session’s privilege level after logging in.  Privilege Level Types of Commands at this Privilege Level Display basic system information Configure features except for login accounts, the authentication method sequence, multiple logins, and administrator and enable passwords.
  • Page 226   Transition Networks    SM12DP2XA CLI Reference access-list { redirect | port-copy } interface Use the no access-list redirect interface INTERFACE_PORT_LIST { <port_type_id> | <port_type_list> } configuration command to configure the access-list redirect interface. no access-list { redirect | port-copy } Use the no access-list redirect interface...
  • Page 227   Transition Networks    SM12DP2XA CLI Reference [frametype { any| etype [etype-value only be hit on the first matched ACE. Use the {<0x600-0x7ff,0x801-0x805,0x807-0x86dc,0x8 next or last keyword to adjust the ACE's 6de-0xffff>|any}] [smac {<mac_addr>|any}] sequence order. [dmac {<mac_addr>|any}]| arp [sip {<ipv4_subnet>|any}] [dip {<ipv4_subnet>|any}] [smac {<mac_addr>|any}] [arp-opcode...
  • Page 228   Transition Networks    SM12DP2XA CLI Reference show access-list ace-status [ static ] Use the show access-list ace-status privilege EXEC [ link-oam ] [ loop-protect ] [ dhcp ] [ ptp ] EXEC command without keywords to display the [ upnp ] [ arp-inspection ] [ mep ] [ ipmc ]...
  • Page 229   Transition Networks    SM12DP2XA CLI Reference reset the global RADIUS retransmit value to default. radius-server deadtime <1-1440> Use the radius-server deadtime command to GLOBAL_CONFIG configure the global RADIUS deadtime value. no radius-server deadtime Use the no radius-server deadtime command to GLOBAL_CONFIG reset the global RADIUS deadtime value to default.
  • Page 230   Transition Networks    SM12DP2XA CLI Reference clock summer-time <word16> recurring [<1-5> GLOBAL_CONFIG <1-7> <1-12> <hhmm> <1-5> <1-7> <1-12> <hhmm> [<1-1440>]] clock summer-time <word16> date [<1-12> GLOBAL_CONFIG <1-31> <2000-2097> <hhmm> <1-12> <1-31> <2000-2097> <hhmm> [<1-1440>]] no clock summer-time GLOBAL_CONFIG clock timezone <word16> <-23-23> [<0-59>]...
  • Page 231   Transition Networks    SM12DP2XA CLI Reference configuration command to restore the default DHCP relay information policy. show ip dhcp pool [<word32>] EXEC show ip dhcp pool counter [<word32>] debug EXEC show ip dhcp excluded-address EXEC show ip dhcp server binding [ state {allocated |...
  • Page 232   Transition Networks    SM12DP2XA CLI Reference no client-identifier DHCP_POOL hardware-address <mac_ucast> DHCP_POOL no hardware-address DHCP_POOL client-name <word32> DHCP_POOL no client-name DHCP_POOL vendor class-identifier <string64> specific-info DHCP_POOL <hexval32> no vendor class-identifier <string64> DHCP_POOL show ip dhcp snooping [ interface Use the show ip dhcp snooping user EXEC EXEC <port_type_list>...
  • Page 233   Transition Networks    SM12DP2XA CLI Reference show running-config [ all-defaults ] EXEC show running-config feature <cword> EXEC [ all-defaults ] show running-config interface <port_type_list> EXEC [ all-defaults ] show running-config interface vlan <vlan_list> EXEC [ all-defaults ] show running-config vlan <vlan_list> EXEC...
  • Page 234   Transition Networks    SM12DP2XA CLI Reference v3 } no ip igmp snooping compatibility INTERFACE_VLAN ip igmp snooping priority <0-7> INTERFACE_VLAN no ip igmp snooping priority INTERFACE_VLAN ip igmp snooping robustness-variable <1-255> INTERFACE_VLAN no ip igmp snooping robustness-variable INTERFACE_VLAN ip igmp snooping query-interval <1-31744>...
  • Page 235   Transition Networks    SM12DP2XA CLI Reference ipv6 mld snooping query-max-response-time INTERFACE_VLAN <0-31744> no ipv6 mld snooping INTERFACE_VLAN query-max-response-time ipv6 mld snooping last-member-query-interval INTERFACE_VLAN <0-31744> no ipv6 mld snooping INTERFACE_VLAN last-member-query-interval ipv6 mld snooping unsolicited-report-interval INTERFACE_VLAN <0-31744> no ipv6 mld snooping unsolicited-report-interval INTERFACE_VLAN...
  • Page 236   Transition Networks    SM12DP2XA CLI Reference lldp cdp-aware Configures if the interface shall be CDP aware INTERFACE_PORT_LIST (CDP discovery information is added to the LLDP neighbor table) show lldp med remote-device [ interface Show LLDP-MED neighbor device information. EXEC <port_type_list> ] show lldp med media-vlan-policy [<0~31>]...
  • Page 237   Transition Networks    SM12DP2XA CLI Reference no loop-protect transmit-time GLOBAL_CONFIG loop-protect shutdown-time <0-604800> Loop protection shutdown time interval GLOBAL_CONFIG no loop-protect shutdown-time GLOBAL_CONFIG loop-protect Loop protection configuration INTERFACE_PORT_LIST loop-protect action { [shutdown] [log] }*1 INTERFACE_PORT_LIST no loop-protect action INTERFACE_PORT_LIST loop-protect tx-mode INTERFACE_PORT_LIST show loop-protect [ interface <port_type_list>...
  • Page 238   Transition Networks    SM12DP2XA CLI Reference spanning-tree auto-edge INTERFACE_PORT_LIST spanning-tree link-type { point-to-point | shared INTERFACE_PORT_LIST | auto } no spanning-tree link-type INTERFACE_PORT_LIST spanning-tree restricted-role INTERFACE_PORT_LIST spanning-tree restricted-tcn INTERFACE_PORT_LIST spanning-tree bpdu-guard INTERFACE_PORT_LIST spanning-tree mst <0-7> cost { <1-200000000> INTERFACE_PORT_LIST | auto } no spanning-tree mst <0-7>...
  • Page 239   Transition Networks    SM12DP2XA CLI Reference no mvr name <word16> frame priority GLOBAL_CONFIG mvr vlan <vlan_list> GLOBAL_CONFIG last-member-query-interval <0-31744> mvr name <word16> GLOBAL_CONFIG last-member-query-interval <0-31744> no mvr vlan <vlan_list> GLOBAL_CONFIG last-member-query-interval no mvr name <word16> GLOBAL_CONFIG last-member-query-interval mvr vlan <vlan_list> channel <word16>...
  • Page 240   Transition Networks    SM12DP2XA CLI Reference dot1x radius-qos Enables/disables per-port state of INTERFACE_PORT_LIST RADIUS-assigned QoS. dot1x radius-vlan Enables/disables per-port state of INTERFACE_PORT_LIST RADIUS-assigned VLAN. dot1x feature { [ guest-vlan ] [ radius-qos ] Globally enables/disables a dot1x feature GLOBAL_CONFIG [ radius-vlan ] }*1...
  • Page 241   Transition Networks    SM12DP2XA CLI Reference no port-security aging time GLOBAL_CONFIG port-security Enable/disable port security per interface. INTERFACE_PORT_LIST port-security maximum [<1-1024>] Maximum number of MAC addresses that can be INTERFACE_PORT_LIST learned on this set of interfaces. no port-security maximum INTERFACE_PORT_LIST port-security violation { protect | trap | The action involved with exceeding the limit.
  • Page 242   Transition Networks    SM12DP2XA CLI Reference [ fragment { yes | no | any } ] [ sport { <vcap_vr> | any } ] [ dport { <vcap_vr> | any } ] } | { ipv6 [ proto { <0-255> | tcp | udp | any } ] [ sip { <ipv4_subnet>...
  • Page 243   Transition Networks    SM12DP2XA CLI Reference show rmon statistics [<1~65535>] EXEC show rmon history [<1~65535>] EXEC show rmon alarm [<1~65535>] EXEC show rmon event [<1~65535>] EXEC rmon alarm <1-65535> <word255> GLOBAL_CONFIG <1-2147483647> {absolute | delta} rising-threshold <-2147483648-2147483647> [<0-65535>] falling-threshold <-2147483648-2147483647> [<0-65535>] {[rising | falling | both]} no rmon alarm <1-65535>...
  • Page 244   Transition Networks    SM12DP2XA CLI Reference no sflow max-sampling-size [sampler Specifies the maximum number of bytes to INTERFACE_PORT_LIST <range_list>] transmit per flow sample. sflow counter-poll-interval [sampler The interval - in seconds - between counter poller INTERFACE_PORT_LIST <range_list>] [<1-3600>] samples. no sflow counter-poll-interval [<range_list>]...
  • Page 245   Transition Networks    SM12DP2XA CLI Reference no snmp-server location To specify the system location string. GLOBAL_CONFIG show snmp mib context Use the show snmp mib context user EXEC EXEC command to display \ the supported MIBs in the switch. show snmp mib ifmib ifIndex...
  • Page 246   Transition Networks    SM12DP2XA CLI Reference command to clear the host address of logging server. logging level { info | warning | error } Use the logging level global configuration GLOBAL_CONFIG command to configure what level of message will send to logging server.
  • Page 247   Transition Networks    SM12DP2XA CLI Reference no switchport vlan ip-subnet id <1~128> INTERFACE_PORT_LIST switchport mode {access | trunk | hybrid} Use the switchport mode command to define the INTERFACE_PORT_LIST type of the port. no switchport mode INTERFACE_PORT_LIST switchport access vlan <vlan_id> Use the switchport access vlan command to INTERFACE_PORT_LIST configure a port to a VLAN.
  • Page 248   Transition Networks    SM12DP2XA CLI Reference vlan aging-time. no voice vlan aging-time Use the no voice vlan aging-time global GLOBAL_CONFIG configuration command to restore the default voice vlan aging-time. voice vlan class { <0-7> | low | normal | Use the voice vlan class global configuration...
  • Page 249: 22 - Troubleshooting, Warranty, Support And Compliance

      Transition Networks    SM12DP2XA CLI Reference 22 ‐ Troubleshooting, Warranty, Support and Compliance  Most problems are caused by the following situations. Check for these items first when starting your  troubleshooting:  1. Make sure your switch model supports the feature or function attempted; see chapter 1.  2. Verify the install process; see chapter 2.  3. Troubleshoot connected network devices to pinpoint the problem to the switch.  4. Make sure you are in the correct CLI mode for the cCLI command you are entering.  5. Connecting to devices that have a fixed full‐ duplex configuration. Make sure all devices connected to the  SM12DP2XA Switch devices are configured to auto negotiate, or are configured to connect at half duplex.  6. Faulty or loose cables. Look for loose or obviously faulty connections. If they appear to be OK, make sure the  connections are snug. If that does not correct the problem, try a different cable.  7. Non‐standard cables. Non‐standard and miswired cables may cause network collisions and other network  problems, and can seriously impair network performance. Use a new correctly‐wired cable. A cable tester is a  recommended tool for every Ethernet network installation.    8. Improper Network Topologies. It is important to make sure you have a valid network topology. If you no  longer experience the problems, the new topology is probably at fault. In addition, you should make sure that  your network topology contains no data path loops.  9. Check the port configuration. A port on your Switch may not be operating as you expect because it has been  put into a “blocking” state by Spanning Tree, GVRP (automatic VLANs), or LACP (automatic trunking). (Note  that the normal operation of the Spanning Tree, GVRP, and LACP features may put the port in a blocking  state.) Or, the port just may have been configured as disabled through software.  10. SYS LED is Off. Check connections between the switch, the power cord and the wall outlet. Contact Tech  Support for assistance. See 22‐3 Contact Us below.  11. Link LED is Off. Verify that the switch and attached device are powered on. Be sure the cable is plugged into ...
  • Page 250: Recording Device And System Information

    Transition Networks Tech Support Specialist. 1. Select the SM12DP2XA Configuration > System > Information menu path. From the CLI, use the show commands needed to gather the information below or as requested by the TN Support Specialist.
  • Page 251: Limited Lifetime Warranty

      Transition Networks    SM12DP2XA CLI Reference 22‐2 Limited Lifetime Warranty  To return a defective product for warranty coverage, contact Transition Networks’ technical support department  for a return authorization number.    22‐3 Contact Us  Technical Support  Technical support is available 24‐hours a day  US and Canada: 1‐800‐260‐1312  International: 00‐1‐952‐941‐7600  Main Office  tel: +1.952.941.7600 | toll free: 1.800.526.9267 | fax: 952.941.2322  sales@transition.com    |    techsupport@transition.com    |    customerservice@transition.com  Address  Transition Networks  10900 Red Circle Drive  Minnetonka, MN 55343, U.S.A.  Firmware: Keep your products up to date by downloading the latest firmware. You must log in or create an  account to download firmware. For further assistance contact us at +1.952.358.3601, 1.800.260.1312, or at  techsupport@transition.com.      33753 Rev. A https://www.transition.com Page 251 of 254...
  • Page 252: Appendix A - Dhcp Per Port

      Transition Networks    SM12DP2XA CLI Reference Appendix A ‐ DHCP Per Port  Configure DHCP Per Port via the CLI  The switch’s DHCP server assigns IP addresses. Clients get IP addresses in sequence and the switch assigns IP  addresses to on a per‐port basis starting from the configured IP range. For example, if the IP address range is  configured as 192.168.10.20 ‐ 192.168.10.37 with one DHCP device connected to port 1, the client will always get  IP address 192.168.10.20, then port 3 is always distributed IP address 192.168.10.22, even if port 2 is an empty  port (because port 2 is always distributed IP address 192.168.10.21).  The switch does not allow a DHCP per Port pool to include the switch’s address. IP address assigned range and  VLAN 1 should stay in the same subnet mask. The configurable IP address range is allowed to configure over 18 IP  addresses, but the switch always assigns one IP address per port connecting device.  The DHCP Per Port function is only supported on VLAN 1. When the DHCP Per Port function is enabled, the switch  software will automatically create the related DHCP pool named “DHCP_Per _Port”. Once the DHCP Per Port  function is enabled on one switch, IPv4 DHCP client at VLAN1 mode (DMS DHCP mode), DHCP server mode are all  limited to be enabled at the same time (an error message displays if attempted). If the DHCP server pool has  been configured, once you enable the DHCP Per port function that DHCP server pool configuration will be  overwritten.  Only for VLAN 1, clients issued DHCP packets will not be broadcast/forwarded to other ports. DHCP packets in  others VLANs will be broadcast/forwarded to others ports.  The DHCP Per Port function allows the switch to connect only one DHCP client device.  The DHCP Per Port function is confiured and shown using these CLI commands:  # show ip dhcp server  (config)# ip dhcp server per‐port  (config)# no ip dhcp server per‐port  The CLI commands to configure and show DHCP Per Port are described below.  Command: Show the current DHCP Server and DHCP Per Port configuration  Syntax: show ip dhcp server <cr>  Description: Show if DHCP server is globally enabled or disabled, if all VLANs are disabled or enabled, and if the  DHCP server Per Port function is disabled or enabled.  Example: Display the current DHCP Server and Per Port configuration, change the config, and display the results:  SM12DP2XA(config)# do show ip dhcp server  DHCP server is globally enabled.  Enabled VLANs are 1.  DHCP server per port is disabled.  SM12DP2XA(config)# ip dhcp server per‐port  SM12DP2XA(config)# do show ip dhcp server  DHCP server is globally enabled. ...
  • Page 253: 33753 Rev. A

      Transition Networks    SM12DP2XA CLI Reference Command: Configure the DHCP Per Port function  Syntax: ip dhcp server per‐port <cr>  Description: Toggle the DHCP Per Port function from Diasbled (default) to Enabled.  Example: Toggle the DHCP Per Port function and show the resulting config:  SM12DP2XA# show ip dhcp server  DHCP server is globally disabled.  All VLANs are disabled.  SM12DP2XA# con ter  SM12DP2XA(config)# ip dhcp ?  excluded‐address Prevent DHCP from assigning certain addresses  pool Configure DHCP address pools  relay DHCP relay agent configuration  server Enable DHCP server  snooping DHCP snooping  SM12DP2XA(config)# ip dhcp server ?  <cr>  SM12DP2XA(config)# ip dhcp server  SM12DP2XA(config)# end  SM12DP2XA# show ip dhcp server  DHCP server is globally enabled.  All VLANs are disabled.  SM12DP2XA#   33753 Rev. A https://www.transition.com Page 253 of 254...
  • Page 254   Transition Networks    SM12DP2XA CLI Reference     Transition Networks    10900 Red Circle Drive  Minnetonka, MN 55343, U.S.A.  tel: +1.952.941.7600 | toll free: 1.800.526.9267 | fax: 952.941.2322  sales@transition.com    |    techsupport@transition.com    |    customerservice@transition.com  Copyright © 2018 Transition Networks. All rights reserved. Printed in the U.S.A.  SM12DP2XA CLI Reference, 33753 Rev. A  33753 Rev. A https://www.transition.com Page 254 of 254...

Table of Contents