Difference between revisions of "Cisco"

From Bashlinux
Jump to: navigation, search
(Cisco)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
== How to setup the cable connection ==
+
=== How to setup the cable connection ===
 
To link your computer with the appliance:
 
To link your computer with the appliance:
 
# Plug the RJ-45 to the appliance
 
# Plug the RJ-45 to the appliance
Line 7: Line 7:
 
In case the you computer has not serial port available, you can use a "USB to Serial" cable. It has different names on each system:
 
In case the you computer has not serial port available, you can use a "USB to Serial" cable. It has different names on each system:
 
* Linux
 
* Linux
 
<pre><nowiki>
 
 
/dev/ttyUSB0
 
/dev/ttyUSB0
</nowiki></pre>
 
   
 
* Mac OS X
 
* Mac OS X
 
<pre><nowiki>
 
 
/dev/tty.usbserial
 
/dev/tty.usbserial
</nowiki></pre>
 
   
 
{{ Infobox | Mac OS X require a special driver | It's available as attachment but recent version might be available at [http://www.prolific.com.tw/eng/downloads.asp?ID=31 Prolific website]
   
 
=== How to connect using the console ===
'''Mac OS X require a special driver'''
 
 
Use the <code>screen</code> command as follows:
 
It's available as attachment but recent version might be available at Prolific website [[http://www.prolific.com.tw/eng/downloads.asp?ID=31]]
 
 
== How to connect using the console ==
 
use the `screen` command as follows:
 
 
<pre><nowiki>
 
 
screen /dev/ttyX
 
screen /dev/ttyX
</nowiki></pre>
 
   
Where `X` means one of the names on prior section, based on the OS you are working with.
+
Where <code>X</code> means one of the names on prior section, based on the OS you are working with.
   
 
This is the console for local access command line administrative tasks.
 
This is the console for local access command line administrative tasks.
  +
== How to setup DNS update on DynDNS server from the console ==
+
=== How to setup DNS update on DynDNS server from the console ===
 
<pre><nowiki>
 
 
configure terminal
 
configure terminal
 
interface Dialer3
 
interface Dialer3
Line 46: Line 33:
 
ip virtual-reassembly
 
ip virtual-reassembly
 
encapsulation ppp
 
encapsulation ppp
</nowiki></pre>
 
   
 
=== How to setup DHCP AT&T ISP from the console ===
 
== How to setup DHCP AT&T ISP from the console ==
 
 
<pre><nowiki>
 
 
dialer pool 1
 
dialer pool 1
 
dialer-group 1
 
dialer-group 1
 
ppp authentication pap callin
 
ppp authentication pap callin
 
ppp pap sent-username [email protected] password 7 141A1B051B012627377D
 
ppp pap sent-username [email protected] password 7 141A1B051B012627377D
</nowiki></pre>
 
   
 
=== How to connect using HTTPS/Java Client ===
 
== How to connect using HTTPS/Java Client ==
 
 
This is the Adaptive Security Device Manager (ASDM), to access the appliance by this way:
 
This is the Adaptive Security Device Manager (ASDM), to access the appliance by this way:
 
# Open the web browser
 
# Open the web browser
 
# Type the device IP address in your browser, but don't forget to add https before the IP address.
 
# Type the device IP address in your browser, but don't forget to add https before the IP address.
It will ask if you want to run ASDM as applet on browser or to download a Java launcher for ASDM.
+
:* It will ask if you want to run ASDM as applet on browser or to download a Java launcher for ASDM.
 
:* By default user/password are empty.
 
By default user/password are empty.
 

Revision as of 03:32, 11 June 2015

How to setup the cable connection

To link your computer with the appliance:

  1. Plug the RJ-45 to the appliance
  2. Plug the DB-9 connector to your computer

In case the you computer has not serial port available, you can use a "USB to Serial" cable. It has different names on each system:

  • Linux
/dev/ttyUSB0
  • Mac OS X
/dev/tty.usbserial

{{ Infobox | Mac OS X require a special driver | It's available as attachment but recent version might be available at Prolific website

How to connect using the console

Use the screen command as follows:

screen /dev/ttyX

Where X means one of the names on prior section, based on the OS you are working with.

This is the console for local access command line administrative tasks.

How to setup DNS update on DynDNS server from the console

configure terminal
interface Dialer3
ip ddns update hostname myhost.dyndns.org
ip ddns update sdm_ddns1
ip address negotiated
ip access-group 131 in
ip mtu 1452
ip nat outside
ip virtual-reassembly
encapsulation ppp

How to setup DHCP AT&T ISP from the console

dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username [email protected] password 7 141A1B051B012627377D

How to connect using HTTPS/Java Client

This is the Adaptive Security Device Manager (ASDM), to access the appliance by this way:

  1. Open the web browser
  2. Type the device IP address in your browser, but don't forget to add https before the IP address.
  • It will ask if you want to run ASDM as applet on browser or to download a Java launcher for ASDM.
  • By default user/password are empty.