Network

Personal notes on frequently used and easily forgotten network commands. Checking Operation Linux FreeBSD Check interfaces ip link show ifconfig -l Check interfaces (including addresses) ip addr ifconfig Check interface packet counters ip -s link dev netstat -idb -I ARP table ip -4 neighbor arp -a IPv6 neighbor table ip -6 neighbor ndp -a Bridge Operation Linux FreeBSD Add interface brctl addif br0 eth0 ifconfig bridge0 addm vtnet0 Remove interface brctl delif br0 eth0 ifconfig bridge0 deletem vtnet0 Create bridge interface brctl addbr br0 ip link set up dev br0 ifconfig bridge0 create ifconfig bridge0 up Delete bridge interface ip link set down dev br0 brctl delbr br0 ifconfig bridge0 down ifconfig bridge0 destroy VLAN Operation Linux FreeBSD Create VLAN interface ip link add link eth0 name eth0.
This guide briefly describes how to update the firmware. Ensure you can retrieve the firmware from a tftp server beforehand. Check the current version Router(config)# show version NEC Portable Internetwork Core Operating System Software IX Series IX2010 (DS) Software, Version 5.1.18, RELEASE SOFTWARE Compiled Jul 18-Fri-2003 13:32:49 JST #2, coregen-5.1 ROM: System Bootstrap, Version 5.5 System Diagnostic, Version 4.3 uptime is 1 minute System image file is "ix2010-ds-5.1.18.ldc" IX2010 (MPC8250) processor with 57344K bytes of memory.
What is a Super Reset? A super reset is a method to forcibly reset the router to its initial state, used when you forget the login password, for example. Reset Procedure Prepare for the reset. Connect a serial cable to the CONSOLE port and prepare to log in via serial connection. Turn off the power and toggle the dip switch. Ensure the BUSY lamp is not blinking, then turn off the power switch next to the power cable to shut down the router.