645 | | |
646 | | sudo whoami |
| 645 | Last login: Thu Feb 19 05:52:35 2015 from dhcp89-73-116.bbn.com |
| 646 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 647 | |
| 648 | Welcome to FreeBSD! |
| 649 | |
| 650 | You can use aliases to decrease the amount of typing you need to do to get |
| 651 | commands you commonly use. Examples of fairly popular aliases include (in |
| 652 | Bourne shell style, as in /bin/sh, bash, ksh, and zsh): |
| 653 | |
| 654 | alias lf="ls -FA" |
| 655 | alias ll="ls -lA" |
| 656 | alias su="su -m" |
| 657 | |
| 658 | In csh or tcsh, these would be |
| 659 | |
| 660 | alias lf ls -FA |
| 661 | alias ll ls -lA |
| 662 | alias su su -m |
| 663 | |
| 664 | To remove an alias, you can usually use 'unalias aliasname'. To list all |
| 665 | aliases, you can usually type just 'alias'. |
| 666 | > bash |
| 667 | [lnevers@boss ~]$ sudo whoami |
| 668 | root |
| 669 | [lnevers@boss ~]$ uname -a |
| 670 | FreeBSD boss.instageni.washington.edu 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Mar 3 15:37:17 MST 2014 root@node.freebsd90-node.testbed.emulab.net:/usr/obj/usr/src/sys/TESTBED-XEN i386 |
| 671 | [lnevers@boss ~]$ |
| 677 | Warning: Permanently added 'pc1.instageni.washington.edu' (RSA) to the list of known hosts. |
| 678 | ===> Host: vhost1.shared-nodes.emulab-ops.instageni.washington.edu |
| 679 | root |
| 680 | Linux vhost1.shared-nodes.emulab-ops.instageni.washington.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 681 | |
| 682 | Warning: Permanently added 'pc2.instageni.washington.edu' (RSA) to the list of known hosts. |
| 683 | ===> Host: vhost2.shared-nodes.emulab-ops.instageni.washington.edu |
| 684 | root |
| 685 | Linux vhost2.shared-nodes.emulab-ops.instageni.washington.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 686 | |
| 687 | Warning: Permanently added 'pc3.instageni.washington.edu' (RSA) to the list of known hosts. |
| 688 | ===> Host: vhost3.shared-nodes.emulab-ops.instageni.washington.edu |
| 689 | root |
| 690 | Linux vhost3.shared-nodes.emulab-ops.instageni.washington.edu 3.8.0-37-generic #53~precise1 SMP Fri Mar 14 16:11:09 MDT 2014 x86_64 x86_64 x86_64 GNU/Linux |
| 691 | |
| 692 | [lnevers@boss ~]$ |
663 | | |
| 704 | The authenticity of host 'ops.instageni.washington.edu (128.95.190.5)' can't be established. |
| 705 | RSA key fingerprint is 46:63:92:67:c8:75:20:4e:52:9f:2d:f6:cb:58:16:77. |
| 706 | Are you sure you want to continue connecting (yes/no)? yes |
| 707 | Warning: Permanently added 'ops.instageni.washington.edu,128.95.190.5' (RSA) to the list of known hosts. |
| 708 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 709 | |
| 710 | Welcome to FreeBSD! |
| 711 | |
| 712 | "man firewall" will give advice for building a FreeBSD firewall |
| 713 | -- David Scheidt <dscheidt@tumbolia.com> |
| 714 | > bash |
| 715 | [lnevers@ops ~]$ sudo whoami |
| 716 | root |
| 717 | [lnevers@ops ~]$ ssh boss |
| 718 | The authenticity of host 'boss.instageni.washington.edu (128.95.190.4)' can't be established. |
| 719 | ECDSA key fingerprint is bd:05:23:a7:5b:cc:78:c8:8c:a8:d3:e9:f7:27:53:cb. |
| 720 | Are you sure you want to continue connecting (yes/no)? yes |
| 721 | Warning: Permanently added 'boss.instageni.washington.edu' (ECDSA) to the list of known hosts. |
| 722 | Last login: Thu Feb 19 10:43:06 2015 from dhcp89-73-116.bbn.com |
| 723 | FreeBSD 9.0-STABLE (TESTBED-XEN) #0: Mon Mar 3 15:37:17 MST 2014 |
| 724 | |
| 725 | Welcome to FreeBSD! |
| 726 | |
| 727 | To erase a line you've written at the command prompt, use "Ctrl-U". |
| 728 | -- Dru <genesis@istar.ca> |
| 729 | > bash |
| 730 | [lnevers@boss ~]$ |
669 | | [lnevers@boss ~]$ telnet procurve1 |
670 | | |
671 | | |
| 736 | [lnevers@boss ~]$ sudo ssh manager@procurve1 |
| 737 | We'd like to keep you up to date about: |
| 738 | * Software feature updates |
| 739 | * New product announcements |
| 740 | * Special events |
| 741 | Please register your products now at: www.hp.com/networking/register |
| 742 | |
| 743 | |
| 744 | HP J9623A E2620-24 Switch |
| 745 | Software revision RA.15.08.0009 |
| 746 | |
| 747 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 748 | |
| 749 | RESTRICTED RIGHTS LEGEND |
| 750 | Confidential computer software. Valid license from HP required for possession, |
| 751 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 752 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 753 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 754 | license. |
| 755 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 756 | 20555 State Highway 249, Houston, TX 77070 |
| 757 | |
| 758 | Press any key to continue |
| 759 | HP-E2620-24# |
| 760 | HP-E2620-24# show version |
| 761 | ip address 10.1.1.253 255.255.255.0qaoff/code/build/xform(rel_galt_qaoff) |
| 762 | May 9 2012 15:28:43 |
| 763 | RA.15.08.0009 |
| 764 | 474 |
| 765 | Boot Image: Primary |
| 766 | HP-E2620-24# show vlans |
| 767 | |
| 768 | Status and Counters - VLAN Information |
| 769 | |
| 770 | Maximum VLANs to support : 50 |
| 771 | Primary VLAN : DEFAULT_VLAN |
| 772 | Management VLAN : control-hardware |
| 773 | |
| 774 | VLAN ID Name | Status Voice Jumbo |
| 775 | ------- -------------------------------- + ---------- ----- ----- |
| 776 | 1 DEFAULT_VLAN | Port-based No No |
| 777 | 10 control-hardware | Port-based No No |
| 778 | 11 control-alternate | Port-based No No |
| 779 | |
| 780 | |
| 781 | HP-E2620-24# show running-config |
| 782 | |
| 783 | Running configuration: |
| 784 | |
| 785 | ; J9623A Configuration Editor; Created on release #RA.15.08.0009 |
| 786 | ; Ver #02:13.2d:3c |
| 787 | hostname "HP-E2620-24" |
| 788 | max-vlans 50 |
| 789 | no stack |
| 790 | no web-management |
| 791 | ip default-gateway 10.1.1.254 |
| 792 | snmp-server community "xxx" unrestricted |
| 793 | aaa authentication ssh login public-key |
| 794 | aaa authentication ssh enable public-key |
| 795 | vlan 1 |
| 796 | name "DEFAULT_VLAN" |
| 797 | no untagged 23-24 |
| 798 | untagged 1-22,25-28 |
| 799 | ip address 10.254.254.253 255.255.255.0 |
| 800 | ip igmp |
| 801 | exit |
| 802 | vlan 10 |
| 803 | name "control-hardware" |
| 804 | untagged 23 |
| 805 | exit |
| 806 | vlan 11 |
| 807 | name "control-alternate" |
| 808 | untagged 24 |
| 809 | ip address 10.2.1.253 255.255.255.0 |
| 810 | exit |
| 811 | management-vlan 10 |
| 812 | no dhcp config-file-update |
| 813 | password xxx |
| 814 | password xxx |
| 815 | |
| 816 | HP-E2620-24# |
678 | | [lnevers@boss ~]$ ssh manager@procurve2 |
| 823 | [lnevers@boss ~]$ sudo ssh manager@procurve2 |
| 824 | We'd like to keep you up to date about: |
| 825 | * Software feature updates |
| 826 | * New product announcements |
| 827 | * Special events |
| 828 | Please register your products now at: www.hp.com/networking/register |
| 829 | |
| 830 | |
| 831 | HP J8697A Switch E5406zl |
| 832 | Software revision K.15.06.5008 |
| 833 | |
| 834 | Copyright (C) 1991-2012 Hewlett-Packard Development Company, L.P. |
| 835 | |
| 836 | RESTRICTED RIGHTS LEGEND |
| 837 | Confidential computer software. Valid license from HP required for possession, |
| 838 | use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer |
| 839 | Software, Computer Software Documentation, and Technical Data for Commercial |
| 840 | Items are licensed to the U.S. Government under vendor's standard commercial |
| 841 | license. |
| 842 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
| 843 | 20555 State Highway 249, Houston, TX 77070 |
| 844 | |
| 845 | Press any key to continue |
| 846 | HP-E5406zl# show version |
| 847 | Image stamp: /ws/swbuildm/of_bridge_qaoff/code/build/btm(of_bridge_qaoff) |
| 848 | Feb 18 2012 11:26:28 |
| 849 | K.15.06.5008 |
| 850 | 79 |
| 851 | Boot Image: Primary |
| 852 | HP-E5406zl# show vlan |
| 853 | |
| 854 | Status and Counters - VLAN Information |
| 855 | |
| 856 | Maximum VLANs to support : 256 |
| 857 | Primary VLAN : DEFAULT_VLAN |
| 858 | Management VLAN : control-hardware |
| 859 | |
| 860 | VLAN ID Name | Status Voice Jumbo |
| 861 | ------- -------------------------------- + ---------- ----- ----- |
| 862 | 1 DEFAULT_VLAN | Port-based No No |
| 863 | 10 control-hardware | Port-based No No |
| 864 | 257 5002 | Port-based No No |
| 865 | 2309 5048 | Port-based No No |
| 866 | |
| 867 | |
| 868 | HP-E5406zl# show running-config |
| 869 | |
| 870 | Running configuration: |
| 871 | |
| 872 | ; J8697A Configuration Editor; Created on release #K.15.06.5008 |
| 873 | ; Ver #02:10.0d:1f |
| 874 | |
| 875 | hostname "HP-E5406zl" |
| 876 | module 1 type J9549A |
| 877 | module 2 type J9309A |
| 878 | interface A1 |
| 879 | speed-duplex auto-1000 |
| 880 | exit |
| 881 | interface A2 |
| 882 | speed-duplex auto-1000 |
| 883 | exit |
| 884 | interface A3 |
| 885 | speed-duplex auto-1000 |
| 886 | exit |
| 887 | interface A4 |
| 888 | speed-duplex auto-1000 |
| 889 | exit |
| 890 | interface A5 |
| 891 | speed-duplex auto-1000 |
| 892 | exit |
| 893 | interface A6 |
| 894 | speed-duplex auto-1000 |
| 895 | exit |
| 896 | interface A7 |
| 897 | speed-duplex auto-1000 |
| 898 | exit |
| 899 | interface A8 |
| 900 | speed-duplex auto-1000 |
| 901 | exit |
| 902 | interface A9 |
| 903 | speed-duplex auto-1000 |
| 904 | exit |
| 905 | interface A10 |
| 906 | disable |
| 907 | speed-duplex auto-1000 |
| 908 | exit |
| 909 | interface A13 |
| 910 | disable |
| 911 | speed-duplex auto-1000 |
| 912 | exit |
| 913 | ip default-gateway 10.3.1.7 |
| 914 | vlan 1 |
| 915 | name "DEFAULT_VLAN" |
| 916 | forbid A1-A9 |
| 917 | untagged A10-A19,A21-A24,B2-B4 |
| 918 | no untagged A1-A9,A20,B1 |
| 919 | no ip address |
| 920 | exit |
| 921 | vlan 10 |
| 922 | name "control-hardware" |
| 923 | untagged A20 |
| 924 | ip address 10.3.1.253 255.255.255.0 |
| 925 | exit |
| 926 | vlan 257 |
| 927 | name "5002" |
| 928 | untagged A1-A9 |
| 929 | no ip address |
| 930 | exit |
| 931 | vlan 2309 |
| 932 | name "5048" |
| 933 | tagged A7,B1 |
| 934 | no ip address |
| 935 | exit |
| 936 | no web-management |
| 937 | snmp-server community "xxx" unrestricted |
| 938 | aaa authentication ssh login public-key |
| 939 | aaa authentication ssh enable public-key |
| 940 | management-vlan 10 |
| 941 | no autorun |
| 942 | no dhcp config-file-update |
| 943 | no dhcp image-file-update |
| 944 | password xxx |
| 945 | password xxx |
| 946 | |
| 947 | HP-E5406zl# |