background image

 

Configuration of the Ethernet interface of PINE-16M 

 

 

 

 

 

 

4-11

 

 

Configuration of the Ethernet interface of PINE-
16M 

Enabling the Ethernet ports 

Under some circumstances, the Ethernet ports have to be shut down for testing. Using the commands 

shutdown

’ and ‘

no shutdown

’ user can enable / disable the selected Ethernet port.  

By default, all ports are enabled. 

Command Description 

config 

Enter the global configuration mode. 

interface eth 

<1-2> 

To Select a specific Ethernet interface of PINE-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(config-eth/0/1)# 

no shutdown

 

  setup successfully! 

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

4.5.2 Shut down the ports 

Command Description 

config 

Enter the global configuration mode. 

interface eth

 <1-2> 

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

shutdown 

To disable the selected Ethernet ports 

show interface 

Shows the configuration information of the interface. 

 

Example: 

Mro-tek# 

config

 

Mro-tek(config)#

 interface eth

 1 

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

shutdown

 

  Setup successfully! 

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

Summary of Contents for PINE-16M

Page 1: ...2010 All Rights Reserved PINE 16M Configuration Guide...

Page 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...

Page 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...

Page 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...

Page 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...

Page 6: ......

Page 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...

Page 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...

Page 9: ...1 1 Chapter 1 Overview...

Page 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...

Page 11: ...2 1 Chapter 2 Using Command Lines...

Page 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...

Page 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...

Page 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...

Page 15: ...3 1 Chapter 3 System Command...

Page 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...

Page 17: ...4 1 Chapter 4 Configuration at Central Site...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 69: ...5 1 Chapter 5 Configuration of remote inverse multiplexer device...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 78: ......

Page 79: ...6 1 Chapter 6 Network Protocol Configuration...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 89: ...7 1 Chapter 7 Example of the Configuring PINE 16M...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: