CISCO IOS-XE warning

WARNING: Command has been added to the configuration using a type 5 password. However, type 5 passwords will soon be deprecated. Migrate to a supported password type

WARNING: Command has been added to the configuration using a type 7 password. However, type 7 passwords will soon be deprecated. Migrate to a supported password type

What it says is this: At some point in the future, IOS-XE won’t store plaintext passwords in running-config or startup-config anymore. It will only store hashed passwords (for authentication purposes when the knowledge of the password plaintext isn’t needed anymore) and securely encrypted passwords (for those passwords whose original plaintext still needs to be recoverable).

Secure encrypted passwords, also known as Type-6 passwords, can be enabled on the device using the following commands:

!
conf t
 configure terminal
 key config-key password-encryption
 password encryption aes
end
!

The key config-key password-encryption command will prompt you for a master key that will subsequently be used to encrypt all passwords in the configuration where this encryption is supported, including TACACS+ keys. The encryption of these passwords will be the enabled using the password encryption aes command – without this command, the master key may be configured but will not be used to protect the passwords in the configuration.
This is described in a couple of documents out there,
including https://www.cisco.com/c/en/us/support/docs/security-vpn/ipsec-negotiation-ike-protocols/46420-pre-sh-keys-ios-rtr-cfg.html

Migrating UNIFI APs to new controller

1. SSH into AP with former controller’s credentials

2. reset to default with ‘syswrapper.sh restor-default’

3. connection will be terminated

4. SSH into AP with ubnt/ubnt

5. set-inform http://ip.of.the.controller:8080/inform

6. AP will reboot

7. Acccess Controller and adopt

Các giao thức và cấu hình cơ bản EtherChannel

EtherChannel cho phép bó các đường vật lý Ethernet liên kết để tạo ra một liên kết Ethernet hợp lý cho mục đích cung cấp băng thông và tốc độ cao liên kết giữa các switch, router và máy chủ. Một EtherChannel có thể được tạo ra bằng cách bó hai đến tám đường Fast, Gigabit hoặc 10-Gigabit thành 1 link logical

Kết hợp các port với EtherChannel

EtherChannel có thể kết hợp các physical ports chỉ khi:
– Cùng tốc độ (speed)
– Cùng loại (full-duplex, half-duplex)
– Nếu port Layer 2 thì cùng port access thì phải access cùng VLAN còn port trunk thì phải cùng native VLAN và allowed VLAN. Hoặc cùng là port Layer 3 (routed port).

Các phương thức thương lượng trong EtherChannel

Có hai giao thức dùng để thương lượng trong EtherChannel là PAgP (Port Aggregation Protocol – độc quyền của Cisco) và LACP (Link Aggregation Control Protocol – giao thức chuẩn hóa IEEE 802.3ad).

  • Ở mode On: Switch không cần thương lượng mà tự động gán port vào Channel.
  • Ở mode Auto (PAgP)/Passive (LACP): chờ thương lượng để lên EtherChannel – bị động.
  • Ở mode Desirable (PAgP)/Active (LACP): Chủ động thương lượng switch bên kia để lên EtherChannel

Đọc tiếp “Các giao thức và cấu hình cơ bản EtherChannel”

Resetting Cisco CAPWAP/LWAP Access Point to Factory Defaults

Ok, we are not experts in Cisco wireless deployments (CUWN) and we’re still learning and in that learning process our evaluation of vWLC expired and we forgot credentials for our CAPWAP/LWAP access points. Not only our evaluation expired, but we removed the virtual machine from our virtual center.

So what now?

Đọc tiếp “Resetting Cisco CAPWAP/LWAP Access Point to Factory Defaults”