Task #947
đóng

Setup và lắp Đặt SW N5k B2 DC4
100%
Mô tả
1.Kiểm tra và chuẩn bị SW
Kiểm tra phần cứng( Fimware OS, FAN, Nguồn)
Gán IP theo quy hoạch, Dán nhãn layber theo Ví trị
2.Kiểm tra cấu hình
Kiểm tra cấu hình HA, Qos MTU 9000, ( đảm báo cấu hình HA đã được cấu hình đúng)
Kiểm tra cấu hình Port uplink và down Link
Disable toàn bộ những port không sử dụng, tránh tình trạng cắm nhầm
3.Thực hiện lắp SW
Lắp lần lượt các SW lên Rack theo đúng Ví trí trên Rack, và Netbox đã quy hoạch
Cắm nguồn từng ngon, kiểm tra cấu hình, xem có bị mất, hay bị lost, cắm dây MGT, ping test
Cắm 2 dây VPC HA , kiểm tra trạng thái HA VPC của thiết bị
Kiểm tra cấu hình portuplink, down link, Thực hiện cắm dây và on từng Port
4.Hoàn tất kiểm tra
Kiểm trạng thái các port SW sau cấu hình, Update thông tin port lên Netbox
Kiểm tra hệ thống sau khi cấu hình
Add monitor ( Cacti, PRTG)
====================================
1 kiểm tra fan nguồn
Ip quy hoanh:
SW_01: 10.2.8.35
SW_02: 10.2.8.36
2 cấu hình
Cấu hình VPC trên N5K
VPC trên N5K_01:
N6K_01
-- enable tính năng vpc
N6k-Primary(config)# feature vpc
N6k-Primary(config)# feature lacp
-- setIP mgt:
interface mgmt0
vrf member management
ip address 10.2.8.35/24
-- route :
vrf context management
ip route 0.0.0.0/0 10.2.8.1
vpc domain 11
peer-switch
role priority 1000
peer-keepalive destination 10.8.8.35source 10.2.8.36 vrf management
-- Cấu hình port VPC:
interface Ethernet1/3
description VPC_PEER_LINK
switchport mode trunk
channel-group 101 mode active
interface Ethernet1/4
description VPC_PEER_LINK
switchport mode trunk
channel-group 101 mode active
interface port-channel101
description VPC_PEER_LINK
switchport mode trunk
spanning-tree port type network
speed 10000
vpc peer-link
--- Kiểm tra:
N6k_01# show vpc peer-keepalive
vPC keep-alive status : peer is alive
--Peer is alive for : (61458) seconds, (992) msec
--Send status : Success
--Last send at : 2024.03.08 08:46:12 521 ms
--Sent on interface : mgmt0
--Receive status : Success
--Last receive at : 2024.03.08 08:46:12 522 ms
--Received on interface : mgmt0
--Last update from peer : (0) seconds, (593) msec
vPC Keep-alive parameters
--Destination : 10.8.8.21
--Keepalive interval : 1000 msec
--Keepalive timeout : 5 seconds
--Keepalive hold timeout : 3 seconds
--Keepalive vrf : management
--Keepalive udp port : 3200
--Keepalive tos : 192
VPC trên con N6K_02:
N6K_02
-- enable tinh nang vpc
N6k-Primary(config)# feature vpc
N6k-Primary(config)# feature lacp
-- setIP mgt:
interface mgmt0
vrf member management
ip address 10.8.8.21/24
-- route :
vrf context management
ip route 0.0.0.0/0 10.8.8.1
vpc domain 11
peer-switch
role priority 1500
peer-keepalive destination 10.8.8.20 source 10.8.8.21 vrf management
-- Cấu hình port VPC:
interface Ethernet1/3
description VPC_PEER_LINK
switchport mode trunk
channel-group 101 mode active
interface Ethernet1/4
description VPC_PEER_LINK
switchport mode trunk
channel-group 101 mode active
interface port-channel101
description VPC_PEER_LINK
switchport mode trunk
spanning-tree port type network
speed 10000
vpc peer-link
--- Kiểm tra:
N6k-02# show vpc peer-keepalive
vPC keep-alive status : peer is alive
--Peer is alive for : (61403) seconds, (383) msec
--Send status : Success
--Last send at : 2024.03.08 08:45:50 311 ms
--Sent on interface : mgmt0
--Receive status : Success
--Last receive at : 2024.03.08 08:45:50 311 ms
--Received on interface : mgmt0
--Last update from peer : (0) seconds, (526) msec
vPC Keep-alive parameters
--Destination : 10.8.8.20
--Keepalive interval : 1000 msec
--Keepalive timeout : 5 seconds
--Keepalive hold timeout : 3 seconds
--Keepalive vrf : management
--Keepalive udp port : 3200
--Keepalive tos : 192
Cấu hình MTU 9000 trên cả 2 con N6K
policy-map type network-qos JumboFrames
class type network-qos class-default
mtu 9216
system qos
service-policy type network-qos JumboFrames
====================================
Uplink N5k_01
interface Ethernet1/1
description Uplink
switchport mode trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
interface Ethernet1/2
description Uplink
switchport mode trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
interface port-channel1
description UpLinkTo_N9K-core
switchport mode trunk
spanning-tree bpdufilter enable
vpc1
Uplink Nk_02
interface Ethernet1/1
description Uplink
switchport mode trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
interface Ethernet1/2
description Uplink
switchport mode trunk
spanning-tree bpdufilter enable
channel-group 1 mode active
interface port-channel1
description UpLinkTo
switchport mode trunk
spanning-tree bpdufilter enable
vpc1