1. Trang chủ
  2. » Luận Văn - Báo Cáo

10. Cấu Hình Switch Nexus Chạy Vpc Kết Nối Với Fortinet.docx

10 8 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề 10. Cấu Hình Switch Nexus Chạy Vpc Kết Nối Với Fortinet
Trường học University of Information Technology - National University of Ho Chi Minh City
Chuyên ngành Network Configuration and Design
Thể loại Lecture Note
Năm xuất bản 2023
Thành phố Ho Chi Minh City
Định dạng
Số trang 10
Dung lượng 1,17 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Mô hình Mục đích Cấu hình vPC trên NX01 và NX02 Mặt LAN cần cấu hình LACP trên sw LAN Mặt WAN cần cấu hình LACP trên Fortigate Ping từ VPC lên Fortinet thông NX01 Tạo VPC domain vpc domain 1 peer swit[.]

Trang 1

Mô hình:

Mục đích:

Cấu hình vPC trên NX01 và NX02:

Trang 2

- Mặt LAN cần cấu hình LACP trên sw_LAN

- Mặt WAN cần cấu hình LACP trên Fortigate

- Ping từ VPC lên Fortinet thông

NX01:

Tạo VPC domain:

vpc domain 1

peer-switch

peer-keepalive destination 1.1.1.2

peer-gateway

ip arp synchronize

Cấu hình keep-alive link:

interface mgmt0

ip address 1.1.1.1/24

Peer link:

interface Ethernet1/1

switchport mode trunk

channel-group 12 mode active

interface Ethernet1/2

switchport mode trunk

channel-group 12 mode active

interface port-channel12

switchport mode trunk

spanning-tree port type network

vpc peer-link

Trang 3

Cấu hình mặt LAN:

interface Ethernet1/3

switchport mode trunk

switchport trunk allowed vlan 100 channel-group 13 mode active

interface port-channel13

switchport mode trunk

switchport trunk allowed vlan 100 vpc 13

Cấu hình mặt WAN:

interface Ethernet1/4

switchport mode trunk

switchport trunk allowed vlan 200 channel-group 14 mode active

interface port-channel14

switchport mode trunk

switchport trunk allowed vlan 200 vpc 14

Tạo interface làm gateway cho PC LAN: interface Vlan100

no shutdown

Trang 4

ip address 192.168.1.10/24

vrrp 1

priority 110

address 192.168.1.1

no shutdown

Tạo interface giao tiếp với FGT: interface Vlan200

no shutdown

ip address 10.1.2.10/24

vrrp 2

priority 110

address 10.1.2.1

no shutdown

NX02:

Tạo VPC domain:

vpc domain 1

peer-switch

peer-keepalive destination 1.1.1.1 peer-gateway

ip arp synchronize

Cấu hình keep-alive link:

interface mgmt0

ip address 1.1.1.2/24

Peer link:

Trang 5

interface Ethernet1/1

switchport mode trunk

channel-group 12 mode active

interface Ethernet1/2

switchport mode trunk

channel-group 12 mode active

interface port-channel12

switchport mode trunk

spanning-tree port type network vpc peer-link

Cấu hình mặt LAN:

interface Ethernet1/3

switchport mode trunk

switchport trunk allowed vlan 100 channel-group 13 mode active

interface port-channel13

switchport mode trunk

switchport trunk allowed vlan 100 vpc 13

Cấu hình mặt WAN:

interface Ethernet1/4

switchport mode trunk

switchport trunk allowed vlan 200

Trang 6

channel-group 14 mode active

interface port-channel14

switchport mode trunk

switchport trunk allowed vlan 200 vpc 14

Tạo interface làm gateway cho PC LAN: interface Vlan100

no shutdown

ip address 192.168.1.20/24

vrrp 1

priority 99

address 192.168.1.1

no shutdown

Tạo interface giao tiếp với FGT:

interface vlan200

no shutdown

ip address 10.1.2.20/24

vrrp 2

priority 99

address 10.1.2.1

no shutdown

Lệnh check:

show vpc thấy UP/UP là được

Trang 7

IOS SW LAN:

interface Port-channel1

switchport trunk allowed vlan 100 switchport trunk encapsulation dot1q switchport mode trunk

end

interface Ethernet0/1

switchport trunk allowed vlan 100 switchport trunk encapsulation dot1q switchport mode trunk

channel-group 1 mode active

end

interface Ethernet0/0

switchport trunk allowed vlan 100 switchport trunk encapsulation dot1q switchport mode trunk

channel-group 1 mode active

FGT:

Trang 8

Tạo LACP interface:

Tạo int vlan 200 dựa trên LACP vừa tạo:

Trang 9

Kết quả được như này:

Tạo static route về dải LAN: (có thể thay 0.0.0.0 thành 192.168.0.0/16)

Ping thử từ VPC lên FGT:

Ngày đăng: 20/07/2023, 21:16

TỪ KHÓA LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w