...
CONFIG-IF-PORT-CHANNEL
Пример
| Блок кода |
|---|
esrscs(config-if-gi)# switchport protected gigabitethernet 1/0/1 |
...
Командный режим
ROOT
Пример
| Блок кода |
|---|
esr#scs# show lacp parameters gigabitethernet 1/0/1 Interface Port Priority Timeout Link Mode -------------------- ------------- -------- ---------- gi1/0/1 32768 Long Active |
...
| Блок кода |
|---|
scs(config-if-serial)# ppp chap hostname esr1scs1 |
ppp chap password
Данной командой указывается пароль, который отправляется удаленной стороне вместе с именем маршрутизатора для прохождения CHAP-аутентификации.
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-if-serial)# ppp ipcp accept-address |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-if-serial)# ppp ipcp remote-address 192.168.1.2 |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-if-serial)#i ppp max-configure 4 |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-serial)# dialer |
dialer idle-timeout
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-serial)# dialer idle-timeout 210 |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-serial)# dialer in-band |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-serial)# dialer map ip 192.168.33.0/27 name SITE12 5512 |
...
CONFIG-SERIAL
Пример
| Блок кода |
|---|
esrscs(config-serial)# dialer string 3835401 |
...
CONFIG-LINE-AUX
Пример
| Блок кода |
|---|
esrscs(config-line-aux)# modem inout |
...
CONFIG-LINE-AUX
Пример
| Блок кода |
|---|
esrscs(config-line-aux)# parity even |
...
Командный режим
ROOT
Пример
| Блок кода |
|---|
esr#scs# show line aux AUX Line 1/0/1 Baud rate: 115200 Databits: 8 Parity: NONE Stopbits: 1 Flowcontrol: Disabled Timeout Exec (min): 300 Telnet port: 2001 Modem mode: Disabled |
...
CONFIG-LINE-AUX
Пример
| Блок кода |
|---|
esrscs(config-line-aux)# speed 9600 |
...
CONFIG-LINE-AUX
Пример
| Блок кода |
|---|
esrscs(config-line-aux)# stopbits 2 |
...
CONFIG-LINE-AUX
Пример
| Блок кода |
|---|
esrscs(config-line-aux)# transport telnet port 2001 |
...
CONFIG-CELLULAR-MODEM
Пример
| Блок кода |
|---|
esrscs(config-cellular-modem)# pin 4856 |
...
| Блок кода |
|---|
scs# show cellular configuration modem Number State Description USB port device Profile modem ------ -------- ------------------------------ --------------- -------- 1 Enabled megafon 1-1 1 2 Enabled mts 1-2 2 esr#scs# show cellular configuration modem 2 State: Enabled Description: mts USB port device: 1-2 Pin: -- MRU: -- MTU: 1500 Preferred mode: none Allowed modes: all Profile: 2 Description: MTS User name: mts Number: *99# APN: internet.mts.ru Password (encrypted): 91A010 IP version: both Allowed auth: EAP Security zone: -- |
...
| Блок кода |
|---|
scs# show cellular configuration profile Number User name APN Number Description profile ------- ---------------- ---------------- ---------------- ------------------------------ 1 gdata internet *99# MEGAFON 2 mts internet.mts.ru *99# MTS esr#scs# show cellular configuration profile 1 Description: MEGAFON User name: gdata Number: *99# APN: internet Password (encrypted): 9BB00279B1 IP version: both Allowed auth: EAP |
...
| Блок кода |
|---|
scs# show cellular status modem Number USB port Manufacturer Model Current state Inteface Link device state ------ -------- ------------ ---------- ------------- --------------- ----- 1 1-1 huawei E3372 disabled -- Down esr#scs# show cellular status modem 1 Interface 'modem 1' status information: USB port device: 1-1 Manufacturer: huawei Model: E3372 Revision: 21.180.01.00.00 IMEI: 861821036192893 Status SIM lock: -- Status unlock retries: sim-pin (3) sim-pin2 (3) sim-puk (10) sim-puk2 (10) Current state: disabled Access tech: unknown Signal level: 0 Support modes: allowed 2G; preferred none; allowed 3G; preferred none; allowed 4G; preferred none; allowed 2G 3G 4G; preferred none; Allowed modes: 2G 3G 4G Preferred modes: none Type IP: IPv4 Operator name: Registration: unknown |
...