Logo

EcoRouter

EcoNAT

EcoQOE

EcoBypass

English

  • Release Notes_EN
  • Interfaces EcoNAT Documentation / NAT configuration / Interfaces

    In EcoSGE logic the network interfaces are represented by interface type objects.

    Interface names begin with the prefix, depending on the transmitter type:

    • names of interfaces with installed SFP+ optical modules prefixed with te, for example, te10;
    • the name of «copper» 1GbE Interfaces begin with the prefix ge, for example, ge3.

    Titles in the system match the names of network interfaces presented in section "Hardware".

    The list of interfaces and their status may be found in the system interfaces branch of configuration tree.

    EcoSGE:1:system.interfaces# !
    interfaces
    {
      ge1 up
      ge2 up
      ge3 up
      ge4 up
      ge5 up
      ge6 up
      te7 up
      te8 up
    }

    In EcoSGE, you can enable or disable interfaces without going into the interface settings section to make the appropriate changes (enable | disable) and then apply configuration changes with the apply command. To enable the interface, use the commandinterface <INTERFACE_NAME> up. To disable the interface use the command interface <INTERFACE_NAME> down.

    The interface can be assigned a description. To do this, go to the configuration context of this interface and enter the description <DESCR> command, where DESCR is a description with a length of 1 to 240 characters.

    Example:

    2:6:system.interfaces.ge1# description connect to router
    2:6:system.interfaces.ge1# ls
    enable
    description "connect to router"

    The output of the show interface brief displays only the first 50 characters of the description..

    2:53:# show interface brief
     Interface      MAC-Address         MTU        Speed      Status      Loading(rx/tx)      Description
        mng      00:71:00:C0:9E:00     1518       1 Gbps      active           -              -
        ge1      00:71:00:C0:9E:01     1522       1 Gbps      active           -              connect to router
        ge2      00:71:00:C0:9E:02     1522       1 Gbps      active          0/0             -
        ge3      00:71:00:C0:9E:03     1522       1 Gbps      active          0/0             -
        ge4      00:71:00:C0:9E:04     1522       1 Gbps      active          0/0             -
        ge5      00:71:00:C0:9E:05     1522       1 Gbps      active          0/0             -

    Display in the show interface ge1 command:

    2:54:# show interface ge1  
    Interface name: ge1
    Description: connect to router
    L2MTU: 1522
    Packets droped because of L2MTU: 0
    MAC address: 00:71:00:C0:9E:01
    Link state: active
    Link speed: 1 Gbps
    Bytes In: 0
    Bytes Out: 3060
    Packets In: 0
    Packets Out: 36
    Errors In: 0
    Errors Out: 0

    Interface "on a stick"

    EcoNAT supports the interface "on a stick" mode (LAN and WAN to one port).
    To enable the functional, required an appropriate license (see section "Getting help").

    In the configuration section interfaces of the configuration tree, the "on a stick" mode is enabled and the interface settings for this mode are stored. This mode is applied directly to all EcoNAT interfaces.

    system.interfaces# show
    interface_mode onstick
    ge1
    {
      enable
    vlan_local 10
      vlan_global 20
    description ""
    }
    ge2
    {
      enable  
    vlan_local 10
      vlan_global 20
       description ""
    }
    ...
    ParameterDescription
    interface_mode

    A required parameter that indicates which mode will be used. Parameter values:

    • default - EcoNAT works in a mode of separation of interfaces into global and local;
    • onstickall EcoNAT interfaces work in the mode of combining LAN and WAN
    geN
    Enumeration of EcoNAT interfaces
    enable/disable
    Administrative on/off interface
    vlan_local
    Local tag for interface "on a stick"
    vlan_global
    Global Tag for interface "on a stick"
    description
    Description of the interface. 1 to 240 characters

    To use the "on a stick" mode, one need to specify the vlan_mode vlan in the nat_defaults section (see the "Pools and ACLs" section) to enable support for tagged traffic.

     
    ATTENTION, any changes in the settings of the "on a stick" mode will be applied only after the device is rebooted. Even changes to the vlan_local and vlan_global numbers on the interfaces will not be applied after the execution of the apply command, until the device is rebooted.
    Therefore, after these settings, you must execute the following commands:
    • apply the configuration with the apply command,
    • save the changes with the write command,
    • reboot the device with the reboot command.

    It is possible that on a router connected to the EcoNAT, you will need two static ARP entries for each VLAN interface: local and global, respectively. This situation can occur if one MAC address is allocated on the connected router for both VLAN interfaces of the same port or group of ports that are connected to the LAG.

    Show interface commands

    To view a summary of the state of the interfaces, use the show interface brief command. The command displays a table on the console, where the Status column shows the current status of the interface:

    • active – interface in active state,
    • down – the interface is not connected,
    • disabled – the interface is disabled through EcoNAT CLI.
    MyEcoNAT:2:# interface ge6 up
    MyEcoNAT:3:# interface ge6 down
    MyEcoNAT:4:# show interface brief
     Interface      MAC-Address        MTU         Speed      Status      Loading(rx/tx)
        mng      00:0D:48:31:EB:54    1518      100 Mbps     active           -
        ge1      00:0D:48:31:EB:53    1522    unknown/error   down            -
        ge2      00:0D:48:31:EB:52    1522    unknown/error   down            -
        ge3      00:0D:48:31:EB:51    1522    unknown/error   down            -
        ge4      00:0D:48:31:EB:50    1522    unknown/error   down            -
        ge5      00:0D:48:31:EB:4F    1522    unknown/error   down            -
        ge6      00:0D:48:31:EB:4E    1522    unknown/error   down            -
        te7      00:0D:48:31:EB:4D    1522       10 Gbps     active         70/100
        te8      00:0D:48:31:EB:4C    1522       10 Gbps     active         100/75
        te9      00:0D:48:31:EB:4B    1522       10 Gbps     active         88/100
        te10     00:0D:48:31:EB:4A    1522       10 Gbps     active         100/94
        te11     00:0D:48:31:EB:49    1522       10 Gbps     active         35/34
        te12     00:0D:48:31:EB:48    1522       10 Gbps     active         33/44
    For complete information about the interfaces, use show interface all command.
    MyEcoNAT:5:> show interface all
    Interface name: ge1
    L2MTU: 1522
    Packets droped because of L2MTU: 0
    MAC address: 00:0D:48:28:1A:6D
    Link state: active
    Link speed: 100 Mbps
    Bytes In: 5730486
    Bytes Out: 111945
    Packets In: 93360
    Packets Out: 1317
    Errors In: 0
    Errors Out: 0
    Broadcast Packets Received: 2526
    Multicast Packets Received: 0
    Valid Packets Received: 552239826119
    Packets Received [64 Bytes]: 12168186116
    Packets Received [65-127 Bytes]: 69833219845
    Packets Received [128-255 Bytes]: 18352133279
    Packets Received [256-511 Bytes]: 8100120469
    Packets Received [512-1023 Bytes]: 9285356600
    Packets Received [1024 to Max Bytes]: 435328201814
    Receive Oversize Count: 0 

    Interface name: ge2
    MTU: 1522
    ...
    You may view information about the SFP and SFP+ modules, including DDM information with the show interface all transceiver (or show sfp all) command. This information is not available for ports with a "copper" interface.
    MyEcoNAT:6:# show interface all transceiver
    Interface name: te1
    Module Vendor Name: OEM
    Module Part Number: SFP+-10G-LR
    Module Serial Number: P1309040348
    Module Revision: A
    Module Manufactoring Date: 130904
    Module supports DDM: yes
    Module temperature: 39.00 C
    Module voltage: 3.25 Volt
    Module TX power: 0.69 mW (-1.60 dBm)
    Module RX power: 0.28 mW (-5.50 dBm)

    Interface name: te2
    Module Vendor Name: OEM
    Module Part Number: SFP+-10G-LR
    Module Serial Number: P1309040335
    Module Revision: A
    Module Manufactoring Date: 130904
    Module supports DDM: yes
    Module temperature: 37.00 C
    Module voltage: 3.25 Volt
    Module TX power: 0.61 mW (-2.12 dBm)
    Module RX power: 0.30 mW (-5.13 dBm)

    Interface name: ge3
    SFP details are not accessible, code -14

    You may also select a specific interface to display information about the relevant SFP module. Example: show interface te18 transceiver.

    For viewing the MNG interface status use the show interface mng command.

    MyEcoNAT:7:#  show interface mng
    Managment interface name: mng
    MTU: 1500
    MAC address: 00:0D:48:28:1A:6E
    Link state: active
    Link speed: 100 Mbps
    Bytes In: 62190
    Bytes Out: 101668
    Packets In: 710
    Packets Out: 967
    Errors In: 0
    Errors Out: 0
    Multicast: 7

    For viewing ARP information use the show arp all command or show arp <INTERFACE> command (for the certain interface). This command shows the interface MAC address, virtual channel information (merged logging interfaces - EcoNAT EtherChannel) and the log server information.

    Example.

    MyEcoNAT:7:# show arp te18

    Interface te18 neighbour:
          Interface MAC          = 00:0D:48:31:EB:42
       EcoNAT EtherChannel:
          EtherChannel IP        = 172.16.5.253
          EtherChannel MAC       = 00:0D:48:31:EB:4E
       connection log server 0:
          target ip (network)    = 172.16.5.254
          target ip (link level) = 172.16.5.254
          target MAC (linklevel) = 00:00:00:00:00:00
          Last ARP reply: never