doc:appunti:hardware:cisco_router
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:hardware:cisco_router [2013/01/17 10:09] – [Accesso telnet] niccolo | doc:appunti:hardware:cisco_router [2019/02/02 13:20] (current) – [SNMP] niccolo | ||
---|---|---|---|
Line 121: | Line 121: | ||
Vedere **[[http:// | Vedere **[[http:// | ||
- | In questo esempio si configura un pool pari a tutta la ntework **192.168.2.0/ | + | In questo esempio si configura un pool pari a tutta la ntework **192.168.2.0/ |
< | < | ||
#configure terminal | #configure terminal | ||
- | (config)#ip dhcp excluded-address 192.168.2.1 | + | (config)#ip dhcp excluded-address 192.168.2.1 |
- | (config)#ip dhcp pool CLIENT | + | (config)#ip dhcp pool DHCP-POOL |
(dhcp-config)# | (dhcp-config)# | ||
(dhcp-config)# | (dhcp-config)# | ||
- | (dhcp-config)# | + | (dhcp-config)# |
(dhcp-config)# | (dhcp-config)# | ||
(dhcp-config)# | (dhcp-config)# | ||
Line 158: | Line 158: | ||
====== Qualità connessione DSL ====== | ====== Qualità connessione DSL ====== | ||
- | Come valutare la connessione | + | Come valutare la qualità del segnale |
< | < | ||
Line 208: | Line 208: | ||
LOM Monitoring : Disabled | LOM Monitoring : Disabled | ||
+ | </ | ||
+ | |||
+ | Si vedono i parametri **downstream** (download) e **upstram** (upload), il valore di **Noise Margin** (detto anche rapporto segnale/ | ||
+ | |||
+ | Questa una tabella esplicativa del **rapporto segnale/ | ||
+ | |||
+ | ^ SNR Signal/ | ||
+ | ^ 6dB or below | Noise margin is bad, it will experience no synch or intermittent synch problems | ||
+ | ^ 7dB-10dB | ||
+ | ^ 11dB-20dB | ||
+ | ^ 20dB-28dB | ||
+ | ^ 29dB or above | Outstanding | ||
+ | |||
+ | L' | ||
+ | |||
+ | ^ Attenuation | ||
+ | ^ 20-30 | Excellent | ||
+ | ^ 30-40 | Very Good | | ||
+ | ^ 40-60 | Average | ||
+ | |||
+ | La **velocità di allineamento** della portante è indicata da **Speed (kbps)** **Interleave**, | ||
+ | |||
+ | Altro comando per verificare la velocità di allineamento in download: | ||
+ | |||
+ | < | ||
+ | Router#show interfaces ATM 0 | ||
+ | ATM0 is up, line protocol is up | ||
+ | Hardware is MPC ATMSAR (with Alcatel ADSL Module) | ||
+ | MTU 4470 bytes, sub MTU 4470, BW 736 Kbit, DLY 500 usec, | ||
+ | | ||
+ | Encapsulation ATM, loopback not set | ||
+ | Encapsulation(s): | ||
+ | 10 maximum active VCs, 1024 VCs per VP, 2 current VCCs | ||
+ | VC Auto Creation Disabled. | ||
+ | VC idle disconnect time: 300 seconds | ||
+ | Last input never, output 00:00:01, output hang never | ||
+ | Last clearing of "show interface" | ||
+ | Input queue: 0/224/0/0 (size/ | ||
+ | Queueing strategy: Per VC Queueing | ||
+ | 5 minute input rate 24000 bits/sec, 0 packets/sec | ||
+ | 5 minute output rate 0 bits/sec, 0 packets/sec | ||
+ | 43749 packets input, 41209447 bytes, 0 no buffer | ||
+ | | ||
+ | 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort | ||
+ | 28917 packets output, 2283137 bytes, 0 underruns | ||
+ | 0 output errors, 0 collisions, 0 interface resets | ||
+ | 0 output buffer failures, 0 output buffers swapped out | ||
+ | </ | ||
+ | |||
+ | Il valore **BW 736 Kbit** indica che la portante si è allineata a 736 kbit (upload). | ||
+ | |||
+ | ====== VLAN ====== | ||
+ | |||
+ | Il router Cisco 877 ha 4 porte Ethernet che possono essere configurate in VLAN. L' | ||
+ | |||
+ | In questo esempio si configura la quarta porta **FastEthernet3** su una VLAN separata, con un diverso indirizzo IP, ecc. | ||
+ | |||
+ | Anzitutto si definisce la Vlan2: | ||
+ | |||
+ | < | ||
+ | Router#vlan database | ||
+ | Router(vlan)# | ||
+ | Router(vlan)# | ||
+ | VLAN ISL Id: 1 | ||
+ | Name: default | ||
+ | Media Type: Ethernet | ||
+ | VLAN 802.10 Id: 100001 | ||
+ | State: Operational | ||
+ | MTU: 1500 | ||
+ | Translational Bridged VLAN: 1002 | ||
+ | Translational Bridged VLAN: 1003 | ||
+ | |||
+ | VLAN ISL Id: 2 | ||
+ | Name: VLAN0002 | ||
+ | Media Type: Ethernet | ||
+ | VLAN 802.10 Id: 100002 | ||
+ | State: Operational | ||
+ | MTU: 1500 | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | Quindi si configura la porta Ethernet e l' | ||
+ | |||
+ | < | ||
+ | interface FastEthernet3 | ||
+ | | ||
+ | ... | ||
+ | interface Vlan2 | ||
+ | ip address 172.16.1.1 255.255.255.0 | ||
+ | ... | ||
+ | </ | ||
+ | |||
+ | **ATTENZIONE**: | ||
+ | |||
+ | ====== SNMP ====== | ||
+ | |||
+ | Esempio per abilitare il monitoraggio via SNMP, community **public** in sola lettura, filtrato con una access list: | ||
+ | |||
+ | < | ||
+ | Router# | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | |||
+ | ====== CISCO 800 - SNMP OIDs for ADSL Line ====== | ||
+ | |||
+ | ^ Data ^ Example | ||
+ | ^ Noise Margin Downstrem | ||
+ | ^ Noise Margin Upstream | ||
+ | ^ Attenuation Downstrem | ||
+ | ^ Attenuation Upstream | ||
+ | ^ Speed US Channel0 | ||
+ | ^ Speed DS Channel0 | ||
+ | ^ Interface Dialer 1 input | bytes | iso.3.6.1.2.1.2.2.1.10.15 = Counter32: 232357736 | ||
+ | ^ Interface Dialer 1 output | bytes | iso.3.6.1.2.1.2.2.1.16.15 = Counter32: 11197059 | ||
+ | |||
+ | ====== Backup/ | ||
+ | |||
+ | Predisporre una connessione LAN tra il router ed un host con un server TFTP (es. **tftpd-hpa** in Debian). Viene chiesto l' | ||
+ | |||
+ | < | ||
+ | copy run tftp | ||
+ | </ | ||
+ | |||
+ | La procedura inversa: | ||
+ | |||
+ | < | ||
+ | copy tftp run | ||
+ | copy run start | ||
</ | </ |
doc/appunti/hardware/cisco_router.1358417366.txt.gz · Last modified: 2013/01/17 10:09 by niccolo