Wednesday, January 11, 2006

Cisco Switch ntp

myswitch (enable) sho ntp

Current time: Wed Jan 11 2006, 22:25:39 EST
Timezone: 'EST', offset from UTC is 0 hours
Summertime: 'EST', disabled
Last NTP update:
Broadcast client mode: enabled
Broadcast delay: 3000 microseconds
Client mode: enabled
Authentication: disabled

NTP-Server Server Key
---------------------------------------- ----------
tick.usno.navy.mil -

Key Number Mode
---------- ---------
myswitch (enable)



myswitch (enable) set ntp broadcastclient dis
NTP Broadcast Client mode disabled
myswitch (enable) clear ntp server tick.usno.navy.mil
NTP server tick.usno.navy.mil removed.
myswitch (enable) set ntp server 0.pool.ntp.org
NTP server 0.pool.ntp.org added
myswitch (enable) set ntp server 1.pool.ntp.org
NTP server 1.pool.ntp.org added
myswitch (enable) set ntp server 2.pool.ntp.org
NTP server 2.pool.ntp.org added
myswitch (enable) get ntp
Unknown command "get". Use 'help' for more info.
myswitch (enable) sho ntp

Current time: Wed Jan 11 2006, 22:30:13 EST
Timezone: 'EST', offset from UTC is 0 hours
Summertime: 'EST', disabled
Last NTP update:
Broadcast client mode: disabled
Broadcast delay: 3000 microseconds
Client mode: enabled
Authentication: disabled

NTP-Server Server Key
---------------------------------------- ----------
ecoca.eed.usv.ro -
debian.ciencias.uchile.cl -
233.Red-80-59-234.staticIP.rima-tde.net -

Key Number Mode
---------- ---------
myswitch (enable) set timezone EST -5
Timezone set to 'EST', offset from UTC is -5 hours
myswitch (enable) set summertime EST recurring
Usage: set summertime [enable|disable] [zone_name]
set summertime recurring [
[offset]]
set summertime date
[offset]
(week: Week of the month (first,second,third,fourth,last,1..5)
day: Day of the week (Sunday, Monday,...,Saturday)
month: Month of the year (January, February,...,December)
date: Date of the month (1..31)
year: 1993..2035
time: time in format of (hours and minutes)
offset: 1..1440 minutes (default 60)
setting recurring with no option will reset to default (US summertime))
myswitch (enable) set summertime enable EST
Summertime is enabled and set to 'EST'
Start : Sun Apr 2 2006, 02:00:00
End : Sun Oct 29 2006, 02:00:00
Offset: 60 minutes
Recurring: yes, starting at 02:00am of first Sunday of April and ending on 02:
00am of last Sunday of October.





myswitch (enable) sho ntp

Current time: Wed Jan 11 2006, 17:32:03 EST
Timezone: 'EST', offset from UTC is -5 hours
Summertime: 'EST', enabled
Start : Sun Apr 2 2006, 02:00:00
End : Sun Oct 29 2006, 02:00:00
Offset: 60 minutes
Last NTP update:
Broadcast client mode: disabled
Broadcast delay: 3000 microseconds
Client mode: enabled
Authentication: disabled

NTP-Server Server Key
---------------------------------------- ----------
ecoca.eed.usv.ro -
debian.ciencias.uchile.cl -
233.red-80-59-234.staticip.rima-tde.net -

Key Number Mode
---------- ---------
myswitch (enable)

Cisco Switch Commands


sho port 4/21

set spantree portfast 5/47 disable
set port speed 5/47 100
set port duplex 5/47 full

set port name 5/12 2nd floor users

sho port counters 5/33
clear counters


myswitch (enable) show port 2/41
* = Configured MAC Address

Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
2/41 servers connected 12 normal a-full a-1Gb 10/100/1000

Port AuxiliaryVlan AuxVlan-Status
----- ------------- --------------
2/41 none none


Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
2/41 disabled shutdown 0 0 1 disabled 205

Port Num-Addr Secure-Src-Addr Age-Left Last-Src-Addr Shutdown/Time-Left
----- -------- ----------------- -------- ----------------- ------------------
2/41 0 - - - - -

Port Flooding on Address Limit
----- -------------------------
2/41 Enabled

Port Send FlowControl Receive FlowControl RxPause TxPause Unsupported
admin oper admin oper opcodes
----- -------- -------- --------- --------- ---------- ---------- -----------
2/41 on on desired on 0 77742 0

Port Status Channel Admin Ch
Mode Group Id
----- ---------- -------------------- ----- -----
2/41 connected auto silent 472 0

Port Status ErrDisable Reason Port ErrDisableTimeout Action on Timeout
---- ---------- ------------------- ---------------------- -----------------
2/41 connected - Enable No Change

Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
2/41 - 0 0 0 0

Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
2/41 0 0 0 0 0 0 0

Last-Time-Cleared
--------------------------
Tue Nov 1 2005, 00:34:31

Idle Detection
--------------
--
myswitch (enable)

Monday, January 02, 2006

Nessus--Installation

Nessus 3.0 comes in an rpm now and is pretty easy to install.

The gui client is now "NessusClient" and requires a few packages to compile and install like the way 2.x did. You will need:
openssl
openssl-devel
gtk2
gtk2-devel

"False error message When it asks for gtk+2 it's really looking for gtk2"

Now when you do a "find / -name gtk+-2.0.pc" you find it in /usr/lib/pkgcconfig

Now ./configure will work. (It is ok to remove gtk+)