By the way, console cable for Huawei and D-Link switches (for example S2326TP, DES-3200) did not approach the Alcatel OmniStack LS 6224, because it does not use the first contact.
When I assembled the working cable according to the scheme, it did not work through the Chinese USB-RS232 adapter, so I had to connect directly to the COM port of the computer.
The standard connection speed is 9600-8-N-1.
The circuit on which I assembled the cable:
1 – white-brown
2 – green
3 – white-green
4 – orange
5 – blue and white-blue
6-4 – jumper
7 – white-orange
8 – brown
Where the digits are RS-232, but I crimped the RJ45 according to the standard)
After connecting to the switch, we will switch to the mode of elevated privileges:
enable
Let’s look at the existing configuration:
show running-config show startup-config
Now go into the configuration mode:
configure
Add the necessary VLANs (207 for my management, 226 for clients):
vlan database vlan 207 vlan 226 exit
We will configure the incoming uplink port as a trunk and specify the necessary VLANs:
interface ethernet g1 switchport mode trunk switchport trunk allowed vlan add 207 switchport trunk allowed vlan add 226 exit
Let’s configure the ports for clients:
interface range ethernet e1-24,g2-4 switchport mode access switchport access vlan 226 exit
The specific port can be configured as follows:
interface ethernet e24 switchport mode access switchport access vlan 226 exit
Assign an IP switch to the VLAN to manage:
interface vlan 207 name core ip address 10.0.20.20 255.255.255.0 exit
Configure authorization (without login by password):
aaa authentication login default line aaa authentication enable default line line console password PASSWORD line telnet password PASSWORD line ssh password PASSWORD exit
If necessary, generate a key and enable the ssh-server:
crypto key generate dsa ip ssh server
If necessary, to authorize via HTTP, add the user (level 15 is the highest):
ip http authentication local username admin password PASSWORD level 15
You can also configure HTTPS:
ip https authentication local username admin password PASSWORD level 15
Generate the certificate and enable HTTPS:
crypto certificate generate key_generate ip https server
Configuring SNMP:
snmp-server community private rw 192.168.0.5 type router exit show snmp
Log setup:
configure logging on logging console errors logging buffered debugging logging file alert exit show logging show logging file clear logging file
Not in configuration mode, we save the configuration:
copy running-config startup-config
See also:
Configuring Loopback Detection on Alcatel OS-LS 6200
Configuring Storm Control on Alcatel OmniStack LS 6224
