background image

Configuration of the Ethernet interface of PINE-16M 

 

 

 

 

 

4-12 

 

 

 

4.5.2 Set up auto-negotiation 

When the auto-negotiation function is enabled, duplex mode and the data rate cannot be configured 
manually. 

By default auto-negotiation function is enabled for all the Ethernet ports. 

 

Command Description 

config 

Enter the global configuration mode. 

interface eth 

<1-2> 

To Select a specific Ethernet interface of PINE-16M. 

autonegotiate 

To enable auto-negotiation function for the selected Ethernet 
interface. 

show interface 

Shows the configuration information of the interface 

 

Using the command ‘

no autonegotiate

’ user can disable the auto-negotiation function. 

Example

: enable the auto-negotiation function. 

Mro-tek# 

config

 

Mro-tek(config)#

 interface eth 

Mro-tek(config-eth/0/1)# 

autonegotiate

 

  setup successfully! 

Mro-tek(config-eth/0/1)#  

4.5.4 Set up rate and duplex mode for the interface 

Command Description 

config 

Enter the global configuration mode 

interface eth 

<1-2> 

To Select a specific Ethernet interface of PINE-16M. 

speed

 (10|100) 

duplex 

(full-duplex|half-duplex) 

To Select the rate and duplex mode of selected Ethernet interface. 

show interface 

Shows the configuration information of the interface. 

 

The Rate and Duplex mode can be defined only when the auto-negotiation function is 
disabled. 

Example: 

Mro-tek# 

config

 

Mro-tek(config)# 

interface eth

 1 

Mro-tek(config-eth/0/1)#

 speed

 100 

duplex

 full-duplex 

  setup successfully! 

Mro-tek(config-eth/0/1)# 

Содержание PINE-16M

Страница 1: ...2010 All Rights Reserved PINE 16M Configuration Guide...

Страница 2: ...uter language in any form or by any means without prior written permission of MRO TEK Accuracy While reasonable efforts have been made to assure the accuracy of this document MRO TEK assumes no liabil...

Страница 3: ...entral Site 4 1 The configuration of central site E1 interface of PINE 16M 4 2 Configure the master slave mode of the clock of E1 interface 4 2 Enable or disable the CRC check of the E1 interface 4 2...

Страница 4: ...33 4 9 7 Trunk 4 37 4 9 8 Loop detection 4 39 4 10 Monitoring and maintaining PINE 16M 4 43 4 10 1 Monitoring and maintaining VLANs 4 43 4 10 2 Monitoring and maintening MAC address 4 44 4 10 3 Monit...

Страница 5: ...g down and Enabling the Ethernet interface 5 7 5 5 3 Setting Rate and duplex mode for the interface 5 8 5 5 4 Setting flow control function 5 8 5 6 Ethernet interface status 5 9 Chapter 6 Network Prot...

Страница 6: ......

Страница 7: ...to assess the impact The tags include index references which are listed in the manual Index Table 1 Text convention ICON Notice Type Alerts NOTE Important feature or instruction Caution Risk of perso...

Страница 8: ...w to Use the Command Lines This chapter introduces the method of configuring PINE 16M The command lines Chapter 3 System Command Configuration This chapter introduces the function and configuration me...

Страница 9: ...1 1 Chapter 1 Overview...

Страница 10: ...ent to E1 16 inverse multiplexing channels Supports 802 1Q and double tagging Supports MAC address table management capacity 8K Port Mirroring Support Storm control support provides control over broad...

Страница 11: ...2 1 Chapter 2 Using Command Lines...

Страница 12: ...ace eth under the config mode is used to enter the interface eth mode The command exit under the interface eth mode is used to return to the config mode Interface fx eth mode The command interface fx...

Страница 13: ...der remote mode The command exit is used to return to the remote mode interface e1 mode under remote mode The command interface e1 under the remote mode is used to enter the interface e1 mode under re...

Страница 14: ...haracter Backspace delete the character before the cursor CTRL d delete the character after the cursor CTRL a move the cursor to the head of the row CTRL e move the cursor to the tail of the row CTRL...

Страница 15: ...3 1 Chapter 3 System Command...

Страница 16: ...command erase to delete the configuration file Program file The core file of the current system is pine 16m z Program file can be downloaded to the system via FTP TFTP protocols using the command down...

Страница 17: ...4 1 Chapter 4 Configuration at Central Site...

Страница 18: ...1 Mro tek config e1 0 1 clock mode master Set Successfully Mro tek config e1 0 1 Enable or disable the CRC check of the E1 interface Command Description config Enter the global configuration mode int...

Страница 19: ...e1 0 1 remote e1 loopback Set Successfully Mro tek config e1 0 1 Configure the loop back of the E1 interface Command Description config Enter the global configuration mode interface e1 1 16 To select...

Страница 20: ...e Example Mro tek config Mro tek config interface e1 1 Mro tek config e1 0 1 bert enable Set Successfully Mro tek config e1 0 1 Configuring the interconnection mode of the E1 interface Command Descrip...

Страница 21: ...timeslot TIMESLOTLIST To list of times for E1 Framed mode of operation show interface Shows the configuration information of the interface If the frame mode of the E1 interface is unframed the setup o...

Страница 22: ...erface e1 1 Mro tek config e1 0 1 show interface e1 interface infomation slot 0 portid 1 ClockMode master FrameMode framed Timeslot 1 15 CrcStatus disable LocalLoop loopback RemoteLoop normal CrcAutoN...

Страница 23: ...ll E1 ports in a channel or other specified E1 ports using the command no virtual channel 1 16 e1 E1PORTLIST Example Configure E1 port 2 3 4 5 for inverse multiplexing channel 1 Mro tek config termina...

Страница 24: ...ive attached E1 links Command Description config Enter the global configuration mode virtual channel 1 16 error shutdown enable disable To enable disable automatic error shutdown function for the sele...

Страница 25: ...9 virtual channel 9 error shutdown disable virtual channel 10 10 virtual channel 10 error shutdown disable virtual channel 11 11 virtual channel 11 error shutdown disable virtual channel 12 12 virtua...

Страница 26: ...ble virtual channel 5 5 virtual channel 5 error shutdown disable virtual channel 6 6 virtual channel 6 error shutdown disable virtual channel 7 7 virtual channel 7 error shutdown disable virtual chann...

Страница 27: ...INE 16M no shutdown To Enable the selected Ethernet port show interface Shows the configuration information of the Ethernet interface Example Mro tek config Mro tek config interface eth 1 Mro tek conf...

Страница 28: ...e the auto negotiation function Example enable the auto negotiation function Mro tek config Mro tek config interface eth 1 Mro tek config eth 0 1 autonegotiate setup successfully Mro tek config eth 0...

Страница 29: ...onfiguration information of the interface Example Mro tek config Mro tek config interface eth 1 Mro tek config eth 0 1 flow control on setup successfully Mro tek config eth 0 1 4 5 6 Clear the counter...

Страница 30: ...up successfully Mro tek config eth 0 1 4 5 8 Configuring ALS function of optical interface The ALS Automatic Laser Shutdown function of the optical interface is effective only when the transmission fr...

Страница 31: ...tus cross AutoNego Status enable Duplex half duplex Speed 1000M Flow control on Link linkdown MaxFrameLen 1916 OutOctets 0 OutUcastPkts 0 OutDiscards 0 OutErrors 0 OutBroadcastPkts 0 OutMulticastPkts...

Страница 32: ...uplex full duplex Speed 100M Flow control on Tlink linkdown Rlink linkdown Als enable MaxFrameLen 1916 OutOctets 0 OutUcastPkts 0 OutDiscards 0 OutErrors 0 OutBroadcastPkts 1 OutMulticastPkts 0 InOcte...

Страница 33: ...enabled disabled By default SFP transmission is enabled Command Description config Enter the global configuration mode interface sfp fx eth 1 To Select a Fx Ethernet interface 1 of PINE 16M sfp switc...

Страница 34: ...e viewed by using the command show interface under the interface sfp fx eth mode Mro tek config sfp fx eth 0 1 show interface Sfp Exist exist Sfp Tx status enable Sfp Rx normal Laser Tx normal Media t...

Страница 35: ...o the assigned SPVLAN ID and the CVLAN ID of user is consequently protected Products with Q in Q have the following advantages in solutions for small scale MAN or enterprise networks 4096x4096 VLAN ID...

Страница 36: ...nk port by modifying its allowed vlans property Trunk double tagging mode Configuring a port to a Trunk port and equipping the port with the ability of recognizing and handling outer Tag SPVLAN Tag Hy...

Страница 37: ...g command lines the system will go through all global switching ports and processes as follows 1 The port is of Access mode or Tunnel mode If the VLAN ID of the Access port is the same as the VLAN ID...

Страница 38: ...ion of all VLANs or specific VLAN By default VLAN 1 exists in the system and all ports belong to VLAN 1 The command show vlan will not reveal VLAN 1 information VLAN 1 can not be created deleted or su...

Страница 39: ...has been set Mro tek config show esw ethernet switch information for slot 0 for PINE 16M double tagging tpid 0x8100 use core tag disabled trunk group disabled double tagging supported 19 ports no spe...

Страница 40: ...Z Mro tek config mac address table aging time 0 Set Successfully Mro tek config show mac aging time 0 seconds enabled mac address learning current mac address query conditions all ports and vlans dyna...

Страница 41: ...ess learning By default the MAC address learning is enabled Command Description config Enter the global configuration mode mac address table learning enable disable To Enable or disable the MAC addres...

Страница 42: ...a blank table and user cannot search any MAC address entries Only when the MAC address polling is enabled users can search a specific MAC address Command Description config Enter the global configurat...

Страница 43: ...1 Mro tek config 4 9 3 Configuration of mirror function Mirror function has the packets of a mirror port to be copied and sent to a specified monitor port following certain rules It enables network a...

Страница 44: ...for ingress traffic show mirror Shows the configuration of mirror function 3 Egress mirror the message goes out of the port Command Description Config Enter the global configuration mode mirror sourc...

Страница 45: ...function is disabled by default Enabling and disabling the storm control function To enable the storm control function specify the type of storm control The storm control function is enabled as the st...

Страница 46: ...rtid 13 rate 262144 status 0 type disable portid 14 rate 262144 status 0 type disable portid 15 rate 262144 status 0 type disable portid 16 rate 262144 status 0 type disable portid 17 rate 262144 stat...

Страница 47: ...cific switch port Storm control rate 62 262144 Set up storm control rate show storm control Shows the storm control setting of all switching ports Since the real storm control threshold is not a conti...

Страница 48: ...recommended 2 When both storm control and rate limit have been configured the settings of storm control have higher priority as a result the rate limit setting is invalid In this circumstance if the...

Страница 49: ...9 6 Configuring QoS QoS function enables flow control over certain data flow and provides user s services with end to end service quality guarantee The configuration of QoS and rate limit at the same...

Страница 50: ...ues will be transferred in turn and in proportions of 8 4 2 1 The weighted fair mode solves the problem that the messages in the queue with lower priority may not have the opportunity to be transferre...

Страница 51: ...d using commands Command Description Config Enter the global configuration mode qos map cos queue 1 4 1 4 1 4 1 4 1 4 1 4 1 4 1 4 Configuring mapping from CoS value to QoS queue number show qos Shows...

Страница 52: ...onfigure current global QoS queue control mode show qos Show QoS information Example Setting queue control mode to fixed priority mode Mro tek config terminal Configuration mode one command input per...

Страница 53: ...t state untrusted cos to qos queue 0 1 1 1 2 2 3 2 4 3 5 3 6 4 7 4 default cos for each port portid 1 default cos 2 portid 2 default cos 0 portid 3 default cos 0 portid 4 default cos 0 portid 5 defaul...

Страница 54: ...oup enabled double tagging supported 19 ports no special port Mro tek config Adding and deleting a member port of a trunk group By default there s no port in any trunk groups in PINE 16M Command Descr...

Страница 55: ...packets If the MAC address in the CPU MAC field is the MAC address of the same switch then a loop is concluded to occur on some port of the switch If the MAC address in the CPU MAC field is not the MA...

Страница 56: ...tion loopback detection enabled hello time 4 down time 30 detection port 1 2 3 4 loopback detected for each port port 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

Страница 57: ...hello time users can restore the sending interval of loopback detection to default value Example Setting the loop detection interval to 3 seconds so that the port will close after loop is detected Mro...

Страница 58: ...0 0 0 0 port 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 17...

Страница 59: ...ate of vlan 104 active port 4 normal dot1q_tunnel state of vlan 105 active port 5 normal dot1q_tunnel state of vlan 106 active port 6 normal dot1q_tunnel state of vlan 107 active port 7 normal dot1q_t...

Страница 60: ...k config show mac aging time 300 seconds enabled mac address learning current mac address query conditions all ports and vlans dynamic and static addresses max number for next query 0 next address mus...

Страница 61: ...0 type disable portid 6 rate 262144 status 0 type disable portid 7 rate 262144 status 0 type disable portid 8 rate 262144 status 0 type disable portid 9 rate 262144 status 0 type disable portid 10 rat...

Страница 62: ...portid 16 no rate limit configured portid 17 no rate limit configured portid 18 no rate limit configured portid 19 no rate limit configured 4 10 7 Monitoring and maintaining QoS Current status and co...

Страница 63: ...10 9 Monitoring and maintening Loop detection function Users can view the current status and configuration of loop detection function by the command show loopdetection in the global configuration mod...

Страница 64: ...0 0 0 0 0 0 0 0 0 0 0 0 port 13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 15 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 port 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0...

Страница 65: ...the central site VCC configuration mode of PINE 16M vcc channel enable Enables the VCC channel show interface Shows the configuration information Example Mro tek config Mro tek config interface vcc Mr...

Страница 66: ...annel to configure monitor show interface Shows the configuration information of selected VCC channel Example Mro tek config Mro tek config interface vcc Mro tek config vcc vcc channel channel 1 Set S...

Страница 67: ...4 11 5 Changing the title of the VCC Command Description config Enter the global configuration mode interface vcc Enter the central site VCC configuration mode of PINE 16M description STRING To Chang...

Страница 68: ...the central site VCC of PINE 16M Users can view the current status and configuration of VCC using the command show interface vcc in the global configuration mode Mro tek config show interface vcc Vcc...

Страница 69: ...5 1 Chapter 5 Configuration of remote inverse multiplexer device...

Страница 70: ...multiplexer device with electrical interfaces including PINE iE1 and PINE 8 Example Mro tek config Mro tek config remote 0 8 Mro tek config remote 0 8 fault pass enable Mro tek config remote 0 8 show...

Страница 71: ...nverse multiplexer devices configuration mode err auto shutdown Enables error auto shutdown function Show info Shows the configuration information The command is only applicable for inverse multiplexe...

Страница 72: ...tiplexer device s configuration mode Example Displaying information of remote PINE 8 Mro tek config remote 0 8 show info Device is remote ric device of f25d 0 8 in slot 0 Module type PINE 8 E1 interfa...

Страница 73: ...mation Example Mro tek config Mro tek config remote 0 8 Mro tek config remote 0 8 interface e1 1 Mro tek config e1 0 8 1 clock mode master Mro tek config e1 0 8 1 show interface 5 3 2 Configuring CRC...

Страница 74: ...der the remote inverse multiplexer device mode Example Mro tek config e1 0 8 1 show interface Interface ID 1 Description e1 interface 1 Framemode framed subspeed 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...

Страница 75: ...ample Mro tek config Mro tek config remote 0 8 Mro tek config remote 0 8 interface eth 1 Mro tek config eth 0 8 1 autonegotiate Mro tek config eth 0 8 1 show interface 5 5 2 Shutting down and Enabling...

Страница 76: ...ltiplexers Ethernet interface for 10 Mbps Half duplex mode Mro tek config Mro tek config remote 0 8 Mro tek config remote 0 8 interface eth 1 Mro tek config eth 0 8 1 speed 10 duplex half Mro tek conf...

Страница 77: ...nterface mode under the remote inverse multiplexer device configuration mode Example 1 Show the status of the Ethernet interface of PINE 8 Mro tek config eth 0 8 1 show interface Interface ID 1 Descri...

Страница 78: ......

Страница 79: ...6 1 Chapter 6 Network Protocol Configuration...

Страница 80: ...add 192 168 4 28 00 00 01 02 03 04 Successfully add an entry to ARP table Mro tek config show arp LINK LEVEL ARP TABLE destination mac addr flags 0x Rfc Use Interface 192 168 4 28 00 00 01 02 03 04 2...

Страница 81: ...6 1 Configuring ARP 6 3 Mro tek config show arp LINK LEVEL ARP TABLE destination mac addr flags 0x Rfc Use Interface Mro tek config...

Страница 82: ...eparated by dots I J K L The third parameter is the IP address of gateway in the format of decimal numbers separated by dots show ip route Shows the route information Example Mro tek config Mro tek co...

Страница 83: ...ress of the target network or host in the format of decimal numbers separated by dots show ip route Shows the route information Example Mro tek config Mro tek config no ip route 192 168 6 0 255 255 25...

Страница 84: ...ek config snmp server community public ro Set successfully Mro tek config show snmp server community 6 3 2 Configuring a host for SNMP trap reception Command Description Config Enter the global config...

Страница 85: ...trap server 192 168 1 1 Set successfully Mro tek config show snmp trap server Trap server ADDRESS PORT 6 3 4 Starting SNMP task Command Description config Enter the global configuration mode snmpd To...

Страница 86: ...F G H The subnet mask for the IP address show interface snmp Shows configuration information Example Mro tek config Mro tek int snmp Mro tek config snmp ip address 192 168 4 29 255 255 255 0 Set succ...

Страница 87: ...configuration information of SNMP community Example Mro tek config Mro tek config show snmp server community ID COMMUNITYNAME RIGHT 1 private rw 2 public ro Mro tek config Users can view the current...

Страница 88: ...on mode interface snmp Enter the SNMP mode show interface snmp Shows configuration information of SNMP interface Example Mro tek config Mro tek config interface snmp Mro tek config snmp show interface...

Страница 89: ...7 1 Chapter 7 Example of the Configuring PINE 16M...

Страница 90: ...s 1 Configure IP address and gateway address Mro tek config Configuration mode one command input per times End with CTRL Z Mro tek config interface snmp Mro tek config snmp ip address 192 168 4 64 255...

Страница 91: ...ek config snmp server community public ro Set unsuccessfully Mro tek config snmp server community private rw Set unsuccessfully Mro tek config show snmp server community ID COMMUNITYNAME RIGHT 1 priva...

Страница 92: ...t information slot 0 portid 18 ifIndex 0x7d0412 type normal mode trunk access tunnel vlan id 118 trunk hybrid native vlan id 1 trunk tag native enable enable hybrid mode allowed vlan 1 hybrid mode unt...

Страница 93: ...of vlan 107 active port 7 normal dot1q_tunnel port 18 normal trunk state of vlan 108 active port 8 normal dot1q_tunnel port 18 normal trunk state of vlan 109 active port 9 normal dot1q_tunnel state of...

Страница 94: ...0 2 autonegotiate setup successfully Mro tek config eth 0 2 flow control on setup successfully Mro tek config eth 0 2 show interface Interface ID 2 Descr Slot 0 eth interface 2 Interface type electric...

Страница 95: ...virtual channel 1 error shutdown disable Mro tek config 6 Configuring properties of E1 interface only one E1 interface is configured in the example the configuration of every E1 interface is the same...

Страница 96: ...it Copy OK 3109 bytes copied Save current configuration successfully Mro tek 7 Test the E1 interface only one E1 interface is configured in the example the configuration of every E1 interface is the s...

Страница 97: ...config e1 0 1 no remote e1 loopback Set Successfully Mro tek config e1 0 1 Enable local loopback Note before the local loopback of the device is enable please make sure that the cables connecting to a...

Страница 98: ...Successfully Mro tek config e1 0 1 end Mro tek 8 Configure remote PINE 8 Mro tek config Configuration mode one command input per times End with CTRL Z Mro tek config remote 0 8 Mro tek config remote...

Страница 99: ...tion mode Mro tek config remote 0 8 interface e1 1 Mro tek config e1 0 8 1 Set clock mode to master Mro tek config e1 0 8 1 clock mode master setup successfully Mro tek config e1 0 8 1 Enable CRC self...

Страница 100: ...7 1 Example 7 12 Rx packets 9 Rx Error packets 0 Mro tek config e1 0 8 1 end Mro tek write Are you sure Y N y Please wait Copy OK 3109 bytes copied Save current configuration successfully Mro tek...

Отзывы: