Running older RB 1100 with 6.43
How exactly are interface 'names' associated with hard port numbers?
If I do not know what hard port number an interface names is assigned to, how do I find out.?
The RB1100 has 13 ports and one bridge.
Why does a simple snmpwalk -c public mikname show 14 interfaces numbered 4 to 19, skipping 1,2,3,14, and 15.
Why are the if.Descr of these ports scrambled from their port number, like if.Descr.4 = ether2
And if I have if.Descr.9 = hello9, what hard port is that?
What is the usefulness of this kind of out of sync confusion?
MMM MMM KKK TTTTTTTTTTT KKK
MMMM MMMM KKK TTTTTTTTTTT KKK
MMM MMMM MMM III KKK KKK RRRRRR OOOOOO TTT III KKK KKK
MMM MM MMM III KKKKK RRR RRR OOO OOO TTT III KKKKK
MMM MMM III KKK KKK RRRRRR OOO OOO TTT III KKK KKK
MMM MMM III KKK KKK RRR RRR OOOOOO TTT III KKK KKK
MikroTik RouterOS 6.43.4 (c) 1999-2018 http://www.mikrotik.com/
[?] Gives the list of available commands
command [?] Gives help on the command and list of arguments
[Tab] Completes the command/word. If the input is ambiguous,
a second [Tab] gives possible options
/ Move up to base level
.. Move up one level
/command Use command at the base level
[homer@Connecticuit Hill RB1100] > int
[homer@Connecticuit Hill RB1100] /interface> export
# dec/01/2018 20:25:41 by RouterOS 6.43.4
# software id = ZFV1-ZP2S
#
# model = 1100AHx2
# serial number = 573204056A17
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=FVCH57U1 speed=100Mbps
set [ find default-name=ether2 ] comment=CHTH57U0 speed=100Mbps
set [ find default-name=ether3 ] comment="CHHT57U0 JHAIR WCROSSBR" speed=\
100Mbps
set [ find default-name=ether4 ] comment=CHAX57U0 speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
set [ find default-name=ether6 ] speed=100Mbps
set [ find default-name=ether7 ] speed=100Mbps
set [ find default-name=ether8 ] speed=100Mbps
set [ find default-name=ether10 ] comment=CH57U0 speed=100Mbps
set [ find default-name=ether11 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CH57U1
set [ find default-name=ether12 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CHAIR
set [ find default-name=ether13 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CHCMM
set [ find default-name=ether9 ] comment=CH name=hello9 speed=100Mbps
/interface ethernet switch port
set 0 default-vlan-id=0 vlan-mode=fallback
set 1 default-vlan-id=0 vlan-mode=fallback
set 2 default-vlan-id=0 vlan-mode=fallback
set 3 default-vlan-id=0 vlan-mode=fallback
set 4 default-vlan-id=0 vlan-mode=fallback
set 5 default-vlan-id=0 vlan-mode=fallback
set 6 default-vlan-id=0 vlan-mode=fallback
set 7 default-vlan-id=0 vlan-mode=fallback
set 8 default-vlan-id=0 vlan-mode=fallback
set 9 default-vlan-id=0 vlan-mode=fallback
set 10 default-vlan-id=0 vlan-mode=fallback
set 11 default-vlan-id=0 vlan-mode=fallback
/interface wireless security-profiles
set [ find default=yes ] group-ciphers="" supplicant-identity=\
"Connecticuit Hill" unicast-ciphers=""
/interface bridge port
add bridge=bridge1 hw=no interface=ether5
add bridge=bridge1 hw=no interface=ether6
add bridge=bridge1 hw=no interface=ether7
add bridge=bridge1 hw=no interface=ether8
add bridge=bridge1 hw=no interface=hello9
add bridge=bridge1 hw=no interface=ether10
add bridge=bridge1 hw=no interface=ether11
add bridge=bridge1 hw=no interface=ether12
add bridge=bridge1 hw=no interface=ether13
[homer@Connecticuit Hill RB1100] /interface>
[homer@Connecticuit Hill RB1100] /interface> c..
bad command name c.. (line 1 column 1)
[homer@Connecticuit Hill RB1100] /interface> ..
[homer@Connecticuit Hill RB1100] > export
# dec/01/2018 20:50:05 by RouterOS 6.43.4
# software id = ZFV1-ZP2S
#
# model = 1100AHx2
# serial number = 573204056A17
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=FVCH57U1 speed=100Mbps
set [ find default-name=ether2 ] comment=CHTH57U0 speed=100Mbps
set [ find default-name=ether3 ] comment="CHHT57U0 JHAIR WCROSSBR" speed=\
100Mbps
set [ find default-name=ether4 ] comment=CHAX57U0 speed=100Mbps
set [ find default-name=ether5 ] speed=100Mbps
set [ find default-name=ether6 ] speed=100Mbps
set [ find default-name=ether7 ] speed=100Mbps
set [ find default-name=ether8 ] speed=100Mbps
set [ find default-name=ether10 ] comment=CH57U0 speed=100Mbps
set [ find default-name=ether11 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CH57U1
set [ find default-name=ether12 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CHAIR
set [ find default-name=ether13 ] advertise=\
10M-half,10M-full,100M-half,100M-full,1000M-half,1000M-full comment=CHCMM
set [ find default-name=ether9 ] comment=CH name=hello9 speed=100Mbps
/interface ethernet switch port
set 0 default-vlan-id=0 vlan-mode=fallback
set 1 default-vlan-id=0 vlan-mode=fallback
set 2 default-vlan-id=0 vlan-mode=fallback
set 3 default-vlan-id=0 vlan-mode=fallback
set 4 default-vlan-id=0 vlan-mode=fallback
set 5 default-vlan-id=0 vlan-mode=fallback
set 6 default-vlan-id=0 vlan-mode=fallback
set 7 default-vlan-id=0 vlan-mode=fallback
set 8 default-vlan-id=0 vlan-mode=fallback
set 9 default-vlan-id=0 vlan-mode=fallback
set 10 default-vlan-id=0 vlan-mode=fallback
set 11 default-vlan-id=0 vlan-mode=fallback
/interface wireless security-profiles
set [ find default=yes ] group-ciphers="" supplicant-identity=\
"Connecticuit Hill" unicast-ciphers=""
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=3des
/ip pool
add name=dhcp_pool1 ranges=10.17.14.2-10.17.14.254
/port
set 0 flow-control=hardware
set 1 flow-control=hardware
/queue interface
set ether1 queue=ethernet-default
set ether2 queue=ethernet-default
set ether3 queue=ethernet-default
set ether4 queue=ethernet-default
set ether5 queue=ethernet-default
set ether6 queue=ethernet-default
set ether7 queue=ethernet-default
set ether8 queue=ethernet-default
set ether10 queue=ethernet-default
set hello9 queue=ethernet-default
/routing ospf instance
set [ find default=yes ] redistribute-connected=as-type-1 \
redistribute-other-ospf=as-type-1 redistribute-static=as-type-1 router-id=\
10.16.0.28
/snmp community
add addresses=209.150.224.0/19 name=cciread
add addresses=0.0.0.0/0 name=public
/system logging action
set 3 bsd-syslog=yes remote=64.57.176.23 src-address=10.17.14.1 \
syslog-severity=info
/interface bridge port
add bridge=bridge1 hw=no interface=ether5
add bridge=bridge1 hw=no interface=ether6
add bridge=bridge1 hw=no interface=ether7
add bridge=bridge1 hw=no interface=ether8
add bridge=bridge1 hw=no interface=hello9
add bridge=bridge1 hw=no interface=ether10
add bridge=bridge1 hw=no interface=ether11
add bridge=bridge1 hw=no interface=ether12
add bridge=bridge1 hw=no interface=ether13
/ip firewall connection tracking
set enabled=yes tcp-established-timeout=1h
/ip settings
set secure-redirects=no send-redirects=no
/ip address
add address=10.16.20.1/24 comment=CHAIR interface=bridge1 network=10.16.20.0
add address=10.16.21.1/24 comment=JHAIR interface=ether3 network=10.16.21.0
add address=64.57.178.65/29 comment="CHAIR STATICS" interface=bridge1 network=\
64.57.178.64
add address=10.17.14.1/24 comment="CHAIR HOTSPOT" interface=bridge1 network=\
10.17.14.0
add address=10.16.0.28/29 comment="CH - FV" interface=ether1 network=10.16.0.24
add address=10.16.0.33/29 comment="CH - TH" interface=ether2 network=10.16.0.32
add address=10.16.0.49/29 comment="CH - AX" interface=ether4 network=10.16.0.48
add address=10.16.0.57/29 comment="CH - HT" interface=ether3 network=10.16.0.56
add address=10.0.2.5/24 comment="CH machine" interface=hello9 network=10.0.2.0
add address=64.57.177.65/30 interface=bridge1 network=64.57.177.64
add address=192.168.1.88/24 disabled=yes interface=ether1 network=192.168.1.0
/ip dhcp-server network
add address=10.17.14.0/24 dns-server=10.17.14.1 gateway=10.17.14.1
/ip dns
set allow-remote-requests=yes cache-max-ttl=1h cache-size=10000KiB \
max-concurrent-queries=1000 max-concurrent-tcp-sessions=500 \
query-server-timeout=10s servers=64.57.176.24
/ip firewall address-list
add address=64.57.176.0/20 list=local
add address=10.0.0.0/8 list=local
/ip firewall filter
add action=accept chain=output protocol=ospf src-address=10.16.0.0/24
add action=drop chain=output protocol=ospf
/ip firewall mangle
add action=mark-routing chain=prerouting comment=CH disabled=yes \
dst-address-list=!local new-routing-mark="To SpecMik" passthrough=no \
src-address=10.16.20.0/24
add action=mark-routing chain=prerouting comment=JHAIR disabled=yes \
dst-address-list=!local new-routing-mark="To SpecMik" passthrough=no \
src-address=10.16.21.0/24
add action=mark-routing chain=prerouting comment=TH disabled=yes \
dst-address-list=!local new-routing-mark="To SpecMik" passthrough=no \
src-address=10.16.22.0/24
add action=mark-routing chain=prerouting comment=VH disabled=yes \
dst-address-list=!local new-routing-mark="To SpecMik" passthrough=no \
src-address=10.16.23.0/24
add action=mark-routing chain=prerouting comment=HT disabled=yes \
dst-address-list=!local new-routing-mark="To SpecMik" passthrough=no \
src-address=10.16.43.0/24
/ip firewall nat
add action=dst-nat chain=dstnat dst-port=53 protocol=udp to-addresses=\
64.57.176.24
add action=dst-nat chain=dstnat dst-port=53 protocol=tcp to-addresses=\
64.57.176.24
/ip ipsec policy
set 0 dst-address=0.0.0.0/0 src-address=0.0.0.0/0
/ip proxy
set cache-path=web-proxy1 max-cache-size=none parent-proxy=0.0.0.0
/ip route
add comment="DEFAULT TO AX SHBC" distance=1 gateway=10.16.0.52
add disabled=yes distance=1 dst-address=10.17.8.32/27 gateway=10.16.41.4
/ip service
set telnet address=64.57.176.0/20,10.0.0.0/8,192.168.1.0/24
set ftp address=64.57.176.0/20,10.0.0.0/8,192.168.1.0/24
set www address=64.57.176.0/20,10.0.0.0/8
set ssh address=64.57.176.0/20,10.0.0.0/8
set api disabled=yes
set winbox address=64.57.176.0/20,10.0.0.0/8
set api-ssl disabled=yes
/ip traffic-flow
set cache-entries=4k
/routing ospf interface
add disabled=yes interface=ether7 network-type=broadcast
add interface=ether3 network-type=point-to-point
/routing ospf network
add area=backbone disabled=yes network=10.16.0.24/29
add area=backbone disabled=yes network=10.16.0.32/29
add area=backbone disabled=yes network=10.16.0.48/29
add area=backbone disabled=yes network=10.16.0.56/29
add area=backbone
/snmp
set contact="607 277 0959" enabled=yes location=SHBC trap-community=public \
trap-target=0.0.0.0
/system clock
set time-zone-name=America/New_York
/system identity
set name="Connecticuit Hill RB1100"
/system logging
set 0 topics=info,!dhcp
add action=remote prefix=dhcpd-mik topics=dhcp
/system ntp client
set enabled=yes primary-ntp=64.57.176.3 secondary-ntp=64.57.176.3
/system ntp server
set enabled=yes
/system resource irq rps
set ether2 disabled=no
set ether3 disabled=no
set ether4 disabled=no
set ether5 disabled=no
set ether1 disabled=no
set ether7 disabled=no
set ether8 disabled=no
set hello9 disabled=no
set ether10 disabled=no
set ether6 disabled=no
/system routerboard settings
set silent-boot=no
/system scheduler
add interval=1d name=daily_backup on-event=export_daily policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
may/21/2012 start-time=22:00:00
add interval=1d name=daily_ftp_backup on-event=ftp_backup policy=\
ftp,reboot,read,write,policy,test,password,sniff,sensitive start-date=\
jul/18/2012 start-time=22:50:07
/system upgrade upgrade-package-source
add address=209.150.237.26 user=jml
add address=209.150.239.17 user=jml
/tool sms
set port=serial0
/tool sniffer
set filter-interface=ether10 filter-ip-address=10.16.31.1/32 \
filter-ip-protocol=icmp filter-stream=yes only-headers=yes
SNMPWALK -c public mikname
[homer@Connecticuit Hill RB1100] >
Name/OID: ifNumber.0; Value (Integer): 14
Name/OID: ifIndex.4; Value (Integer): 4
Name/OID: ifIndex.5; Value (Integer): 5
Name/OID: ifIndex.6; Value (Integer): 6
Name/OID: ifIndex.7; Value (Integer): 7
Name/OID: ifIndex.8; Value (Integer): 8
Name/OID: ifIndex.9; Value (Integer): 9
Name/OID: ifIndex.10; Value (Integer): 10
Name/OID: ifIndex.11; Value (Integer): 11
Name/OID: ifIndex.12; Value (Integer): 12
Name/OID: ifIndex.13; Value (Integer): 13
Name/OID: ifIndex.16; Value (Integer): 16
Name/OID: ifIndex.17; Value (Integer): 17
Name/OID: ifIndex.18; Value (Integer): 18
Name/OID: ifIndex.19; Value (Integer): 19
Name/OID: ifDescr.4; Value (OctetString): ether2
Name/OID: ifDescr.5; Value (OctetString): ether3
Name/OID: ifDescr.6; Value (OctetString): ether4
Name/OID: ifDescr.7; Value (OctetString): ether5
Name/OID: ifDescr.8; Value (OctetString): ether1
Name/OID: ifDescr.9; Value (OctetString): ether7
Name/OID: ifDescr.10; Value (OctetString): ether8
Name/OID: ifDescr.11; Value (OctetString): hello9
Name/OID: ifDescr.12; Value (OctetString): ether10
Name/OID: ifDescr.13; Value (OctetString): ether6
Name/OID: ifDescr.16; Value (OctetString): ether12
Name/OID: ifDescr.17; Value (OctetString): ether13
Name/OID: ifDescr.18; Value (OctetString): ether11
Name/OID: ifDescr.19; Value (OctetString): bridge1
Name/OID: ifType.4; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.5; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.6; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.7; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.8; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.9; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.10; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.11; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.12; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.13; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.16; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.17; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.18; Value (Integer): ethernetCsmacd (6)
Name/OID: ifType.19; Value (Integer): bridge (209) etc.