cisco:switch:9500:cisco_catalyst_9500_series_manual
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cisco:switch:9500:cisco_catalyst_9500_series_manual [2025/01/15 12:50] โ aperez | cisco:switch:9500:cisco_catalyst_9500_series_manual [2025/09/11 01:08] (current) โ aperez | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ---- | ---- | ||
| - | Switch#**show interfaces status**ย | + | Switch#show running-config interface Port-channel2ย |
| - | Switch#**show mac address-table** | + | |
| + | Switch#show mac address-tableย | ||
| + | Switch#show ip igmp snoopingย | ||
| + | Switch#show lldpย | ||
| + | Switch#show lldp neighborsย | ||
| + | Switch#show lldp neighbors detailย | ||
| + | Switch#show system mtuย | ||
| + | Switch#show platform hardware capacityย | ||
| + | Switch#show interfaces | include MTUย | ||
| + | Switch#show running-config | begin TwentyFiveGigE1/ | ||
| + | ย | ||
| + | ----ย | ||
| + | ย | ||
| + | On the **Cisco switch**, you need to edit the interface, then use the commandย | ||
| + | -**fec off**ย | ||
| + | ย | ||
| + | On the **Aruba switch**, you need to edit the interface, then use the commandย | ||
| + | -**error-control none**ย | ||
| ---- | ---- | ||
| **{{ : | **{{ : | ||
| Line 43: | Line 61: | ||
| **service password-encryption** | **service password-encryption** | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | **Basic cli** | ||
| + | |||
| + | Switch# configure terminal | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config-if)# | ||
| + | Switch(config-if)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch# show ip route | ||
| + | Switch(config)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config-line)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch(config)# | ||
| + | Switch# show running-config | ||
| + | Switch(config)# | ||
| + | Switch(config-if)# | ||
| + | Switch(config-if)# | ||
| + | Switch# | ||
| + | Building configuration... [OK] | ||
| + | Switch# | ||
| ---- | ---- | ||
| Line 60: | Line 120: | ||
| ip address 192.168.2.1 255.255.255.0 | ip address 192.168.2.1 255.255.255.0 | ||
| no shutdown | no shutdown | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | **Enable Multicast Routing** | ||
| + | |||
| + | enable | ||
| + | configure terminal | ||
| + | ip multicast-routing | ||
| + | ip pim sparse-mode | ||
| + | | ||
| + | interface INTERFACE_ID | ||
| + | ip pim sparse-mode | ||
| + | | ||
| + | ip pim rp-address RP_IP_ADDRESS | ||
| + | ip pim send-rp-announce INTERFACE scope TTL | ||
| + | ip pim send-rp-discovery INTERFACE scope TTL | ||
| + | | ||
| + | ip igmp snooping | ||
| + | vlan VLAN_ID | ||
| + | ip igmp snooping | ||
| + | exit | ||
| + | | ||
| + | show ip mroute | ||
| + | show ip pim neighbor | ||
| + | show ip pim rp | ||
| + | show ip igmp groups | ||
| + | | ||
| + | Example Configuration | ||
| + | | ||
| + | Scenario: | ||
| + | Multicast source: 192.168.1.10 | ||
| + | RP: 192.168.1.1 | ||
| + | VLAN 10 and VLAN 20 are participating in multicast. | ||
| + | Configuration: | ||
| + | | ||
| + | ip multicast-routing | ||
| + | ip pim rp-address 192.168.1.1 | ||
| + | | ||
| + | interface Vlan10 | ||
| + | ip address 192.168.1.1 255.255.255.0 | ||
| + | ip pim sparse-mode | ||
| + | | ||
| + | interface Vlan20 | ||
| + | ip address 192.168.2.1 255.255.255.0 | ||
| + | ip pim sparse-mode | ||
| + | |||
| + | **Example** | ||
| + | |||
| + | enable | ||
| + | configure terminal | ||
| + | ip igmp snooping | ||
| + | | ||
| + | vlan 1 | ||
| + | ip igmp snooping | ||
| + | vlan 500 | ||
| + | ip igmp snooping | ||
| + | vlan 501 | ||
| + | ip igmp snooping | ||
| + | vlan 502 | ||
| + | ip igmp snooping | ||
| + | vlan 503 | ||
| + | ip igmp snooping | ||
| + | vlan 504 | ||
| + | ip igmp snooping | ||
| + | vlan 505 | ||
| + | ip igmp snooping | ||
| + | vlan 506 | ||
| + | ip igmp snooping | ||
| + | vlan 507 | ||
| + | ip igmp snooping | ||
| + | vlan 508 | ||
| + | ip igmp snooping | ||
| + | vlan 509 | ||
| + | ip igmp snooping | ||
| + | vlan 510 | ||
| + | ip igmp snooping | ||
| + | vlan 511 | ||
| + | ip igmp snooping | ||
| + | vlan 512 | ||
| + | ip igmp snooping | ||
| + | vlan 513 | ||
| + | ip igmp snooping | ||
| + | vlan 514 | ||
| + | ip igmp snooping | ||
| + | vlan 515 | ||
| + | ip igmp snooping | ||
| + | vlan 516 | ||
| + | ip igmp snooping | ||
| + | vlan 517 | ||
| + | ip igmp snooping | ||
| + | vlan 518 | ||
| + | ip igmp snooping | ||
| + | vlan 519 | ||
| + | ip igmp snooping | ||
| + | vlan 520 | ||
| + | ip igmp snooping | ||
| + | vlan 521 | ||
| + | ip igmp snooping | ||
| + | vlan 522 | ||
| + | ip igmp snooping | ||
| + | vlan 523 | ||
| + | ip igmp snooping | ||
| + | vlan 524 | ||
| + | ip igmp snooping | ||
| + | vlan 525 | ||
| + | ip igmp snooping | ||
| + | vlan 526 | ||
| + | ip igmp snooping | ||
| + | vlan 527 | ||
| + | ip igmp snooping | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | **Enable LLDP Globally** | ||
| + | |||
| + | enable | ||
| + | configure terminal | ||
| + | lldp run | ||
| + | | ||
| + | interface INTERFACE_ID | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | exit | ||
| + | | ||
| + | show lldp | ||
| + | show lldp neighbors | ||
| + | show lldp neighbors detail | ||
| + | | ||
| + | lldp timer 60 | ||
| + | lldp holdtime 180 | ||
| + | | ||
| + | write memory | ||
| + | | ||
| + | **Example** | ||
| + | |||
| + | configure terminal | ||
| + | lldp run | ||
| + | lldp timer 60 | ||
| + | lldp holdtime 180 | ||
| + | | ||
| + | interface GigabitEthernet1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | | ||
| + | interface GigabitEthernet1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | write memory | ||
| + | |||
| + | |||
| + | **Example** | ||
| + | |||
| + | enable | ||
| + | configure terminal | ||
| + | lldp run | ||
| + | | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface TwentyFiveGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface HundredGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface HundredGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface HundredGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | interface HundredGigE1/ | ||
| + | lldp transmit | ||
| + | lldp receive | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | **Verify MTU Support** | ||
| + | |||
| + | show system mtu | ||
| + | show platform hardware capacity | ||
| + | | ||
| + | configure terminal | ||
| + | system mtu jumbo 9100 | ||
| + | exit | ||
| + | write memory | ||
| + | reload | ||
| + | | ||
| + | show system mtu | ||
| + | show interfaces | include MTU | ||
| + | | ||
| + | interface INTERFACE_ID | ||
| + | mtu 9100 | ||
| + | exit | ||
| + | |||
| + | **Example** | ||
| + | |||
| + | configure terminal | ||
| + | system mtu jumbo 9100 | ||
| + | system mtu 9100 | ||
| + | interface GigabitEthernet1/ | ||
| + | mtu 9100 | ||
| + | exit | ||
| + | write memory | ||
| + | reload | ||
| + | |||
| ---- | ---- | ||
| Line 139: | Line 474: | ||
| ! | ! | ||
| - | ---- | + | **Port-channel Example 3** |
| - | **Basic cli** ย | + | |
| - | ย | + | description Link to Juniper Networks EX2300-24Pย |
| - | Switch# configure terminalย | + | switchport mode trunkย |
| - | Switch(config)# | + | mtu 9100ย |
| - | Switch(config)# | + | logging event bundle-statusย |
| - | Switch(config)# | + | |
| - | Switch(config)# | + | |
| - | Switch(config)# | + | description Link to Juniper Networks EX2300-24Pย |
| - | Switch(config-if)#ip address< | + | switchport mode trunkย |
| - | | + | mtu 9100ย |
| - | | + | logging event trunk-statusย |
| - | | + | logging event bundle-statusย |
| - | | + | udld port aggressiveย |
| - | | + | channel-protocol lacpย |
| - | | + | channel-group 1 mode active |
| - | | + | |
| - | | + | |
| - | | + | description Link to Juniper Networks EX2300-24Pย |
| - | | + | switchport mode trunkย |
| - | | + | mtu 9100ย |
| - | | + | logging event trunk-statusย |
| - | | + | logging event bundle-statusย |
| - | Switch(config-line)# password p@$$w0^dย | + | udld port aggressiveย |
| - | | + | channel-protocol lacpย |
| - | | + | channel-group 1 mode active |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | Switch# show running-configย | + | |
| - | | + | |
| - | | + | |
| - | | + | |
| - | Switch# | + | |
| - | Building configuration... [OK]ย | + | |
| - | | + | |
| ---- | ---- | ||
| Line 261: | Line 584: | ||
| no spanning-tree vlan 527 | no spanning-tree vlan 527 | ||
| + | ---- | ||
| ---- | ---- | ||
| + | |||
| + | **FEC** on an SFP port refers to **Forward Error Correction (FEC)**, which is a technique used in fiber optic and Ethernet networks to enhance data transmission reliability by detecting and correcting errors without the need for retransmission. | ||
| + | |||
| + | **FEC (Forward Error Correction)**: | ||
| + | FEC is a mechanism that adds redundant information to the transmitted data. This redundancy allows the receiving end to detect and correct errors caused by signal degradation or noise during transmission. | ||
| + | |||
| + | Purpose: FEC is essential for high-speed data links (e.g., 10G, 25G, 40G, 100G Ethernet) to improve link quality and performance. | ||
| + | |||
| + | Types: Different FEC modes can be used depending on the standard and speed of the connection (e.g., Reed-Solomon FEC). | ||
| + | |||
| + | |||
| + | * | ||
| + | * | ||
| + | * | ||
| + | * | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | |||
| + | **Benefits of FEC on SFP Ports**: | ||
| + | |||
| + | * Error Correction: FEC can correct errors due to signal attenuation or interference. | ||
| + | * Better Link Performance: | ||
| + | * No Retransmissions: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | **C9500 Cisco Catalyst** | ||
| + | |||
| + | C9500-N# | ||
| + | Cisco IOS XE Software, **Version 17.12.03** | ||
| + | Cisco IOS Software [Dublin], Catalyst L3 Switch Software (CAT9K_IOSXE), | ||
| + | |||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | | ||
| + | | ||
| + | udld port aggressive | ||
| + | fec cl74 | ||
| + | |||
| + | C9500-N(config-if)# | ||
| + | | ||
| + | C9500-N(config-if)# | ||
| + | auto | ||
| + | cl108 Enable clause108 with 25G | ||
| + | cl74 | ||
| + | off Turn FEC off, FEC is mandatory for speeds 50G or higher | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== SSH ====== | ||
| + | |||
| + | **SSH Configuration on Cisco IOS XE 17.12.03** | ||
| + | |||
| + | configure terminal | ||
| + | hostname MyRouter | ||
| + | ip domain-name mynetwork.local | ||
| + | crypto key generate rsa modulus 2048 | ||
| + | username admin privilege 15 secret MyStrongPassword | ||
| + | ip ssh version 2 | ||
| + | line vty 0 4 | ||
| + | transport input ssh | ||
| + | exec-timeout 10 0 ! 10 minutes, 0 seconds | ||
| + | login local | ||
| + | exit | ||
| + | |||
| + | configure terminal | ||
| + | ip ssh server algorithm encryption aes256-ctr aes192-ctr aes128-ctr | ||
| + | end | ||
| + | |||
| + | write memory | ||
| + | |||
| + | show ip ssh | ||
| + | show run | include ssh | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | ! | ||
| + | ip access-list extended OSPF-MULTICAST | ||
| + | 10 permit ospf any any | ||
| + | 20 permit ip any host 224.0.0.5 | ||
| + | 30 permit ip any host 224.0.0.6 | ||
| + | 40 permit ip any any | ||
| + | ! | ||
| + | interface Port-channel1 | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | ip access-group OSPF-MULTICAST in | ||
| + | | ||
| + | ! | ||
| + | interface Port-channel2 | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | ip access-group OSPF-MULTICAST in | ||
| + | | ||
| + | speed nonegotiate | ||
| + | ! | ||
| + | interface GigabitEthernet0/ | ||
| + | vrf forwarding Mgmt-vrf | ||
| + | no ip address | ||
| + | | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | | ||
| + | | ||
| + | udld port aggressive | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | | ||
| + | | ||
| + | udld port aggressive | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | fec cl74 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | fec cl74 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | fec cl74 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | fec cl74 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | fec cl74 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | | ||
| + | | ||
| + | udld port aggressive | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | interface TwentyFiveGigE1/ | ||
| + | | ||
| + | | ||
| + | mtu 9100 | ||
| + | | ||
| + | | ||
| + | udld port aggressive | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface HundredGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface HundredGigE1/ | ||
| + | mtu 9100 | ||
| + | ! | ||
| + | interface HundredGigE1/ | ||
| + | mtu 9100 | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | ====== Troubleshooting PVST Inconsistency between Cisco 9500 and Aruba 6400 ====== | ||
| + | |||
| + | === ๐งญ Context === | ||
| + | Connectivity issue between: | ||
| + | * **Cisco Catalyst 9500** โ IP: `172.20.28.37` | ||
| + | * **Aruba 6400** โ IP: `172.20.28.1` | ||
| + | Connected via: **Port-channel 2 (Po2)** | ||
| + | |||
| + | === โ ๏ธ Symptom on Cisco === | ||
| + | Output from `show spanning-tree mst`: | ||
| + | Po2 Root BKN*400 P2p Bound(PVST) *PVST_Inc | ||
| + | |||
| + | **Meaning: | ||
| + | * '' | ||
| + | * '' | ||
| + | |||
| + | Cisco is running **MST**, but receives BPDUs from **PVST+ or RSTP** on the peer โ risk of loop โ port auto-blocked. | ||
| + | |||
| + | === ๐ Root Cause === | ||
| + | Cisco MST expects MST BPDUs. If a non-MST BPDU (e.g., PVST+ or RSTP) is received: | ||
| + | * Cisco sees it as a protocol mismatch. | ||
| + | * The port is blocked to prevent potential Layer 2 loops. | ||
| + | |||
| + | === โ Solution: Switched to RSTP === | ||
| + | |||
| + | == On Cisco 9500 == | ||
| + | <code bash> | ||
| + | conf t | ||
| + | spanning-tree mode rapid-pvst | ||
| + | end | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | == On Aruba 6400 == | ||
| + | <code bash> | ||
| + | conf t | ||
| + | spanning-tree mode rstp | ||
| + | write memory | ||
| + | </ | ||
| + | |||
| + | **Result:** Port moved to '' | ||
| + | |||
| + | === ๐ง Verification Commands on Cisco === | ||
| + | ^ Command ^ Description ^ | ||
| + | | `show spanning-tree mst` | View STP mode, port roles, and state | | ||
| + | | `**show spanning-tree inconsistentports**` | **Detect ports blocked due to PVST_Inc** | | ||
| + | | `show spanning-tree detail` | STP root path and BPDU info | | ||
| + | | `show interfaces status` | Verify port operational state | | ||
| + | |||
| + | === ๐ ๏ธ Key Recommendations === | ||
| + | * Prefer **RSTP** for mixed-vendor environments. | ||
| + | * If using **MST**: | ||
| + | * Ensure identical: | ||
| + | * `name` | ||
| + | * `revision` | ||
| + | * `VLAN-to-instance mapping` | ||
| + | * Avoid mixing PVST and MST without boundary configuration. | ||
| + | * Always verify port status using: | ||
| + | * `**show spanning-tree inconsistentports**` | ||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== Comparison: Static VXLAN vs VXLAN EVPN ===== | ||
| + | |||
| + | The difference between **Static VXLAN** and **VXLAN EVPN (Ethernet VPN)** lies primarily in **how MACโVTEP (VXLAN Tunnel Endpoint) mappings are learned and distributed**, | ||
| + | |||
| + | ==== ๐ Static VXLAN ==== | ||
| + | |||
| + | **๐ Definition: | ||
| + | VXLAN using manually defined tunnels (VTEP-to-VTEP), | ||
| + | |||
| + | **๐ Key Features:** | ||
| + | |||
| + | ^ Feature | ||
| + | | Control Plane | โ None | | ||
| + | | MAC Learning | ||
| + | | Configuration | ||
| + | | Scalability | ||
| + | | BUM Traffic Handling| ๐ Multicast or static flooding | ||
| + | | Typical Use Case | ๐งช Labs, small campuses | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ VXLAN EVPN ==== | ||
| + | |||
| + | **๐ Definition: | ||
| + | VXLAN with a **BGP EVPN-based control plane**, which dynamically distributes MACโVNIโVTEP bindings across VTEPs. | ||
| + | |||
| + | **๐ Key Features:** | ||
| + | |||
| + | ^ Feature | ||
| + | | Control Plane | โ BGP EVPN | | ||
| + | | MAC Learning | ||
| + | | Configuration | ||
| + | | Scalability | ||
| + | | BUM Traffic Handling| ๐ซ Minimized by control-plane | ||
| + | | Typical Use Case | ๐ข Data centers, cloud, multi-site | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ^ Summary | ||
| + | | Control Plane | โ Manual / flood-based | ||
| + | | MAC Distribution | ||
| + | | Scalability | ||
| + | | Complexity | ||
| + | | Use Cases | Simple links, PtP, lab networks | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== VXLAN EVPN L2VPN โ CONTROL PLANE (Cisco) ===== | ||
| + | |||
| + | ==== โ What is EVPN L2VPN Control Plane? ==== | ||
| + | |||
| + | EVPN (Ethernet VPN) is a BGP-based control plane protocol that enables: | ||
| + | * Dynamic distribution of MAC โ VNI โ VTEP bindings | ||
| + | * Elimination of unnecessary BUM flooding | ||
| + | * Improved scalability, | ||
| + | |||
| + | In Cisco platforms, EVPN functionality depends on hardware, software version (IOS-XE or NX-OS), and system roles. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== โ Platforms that **Support EVPN Control Plane** ==== | ||
| + | |||
| + | ^ Platform | ||
| + | | Nexus 9000 | NX-OS | โ Yes | Full L2/L3 EVPN support via BGP | | ||
| + | | Nexus 7000/ | ||
| + | | ASR 9000 | IOS XR | โ Yes | Carrier-grade EVPN | | ||
| + | | Catalyst 9500X | IOS-XE | ||
| + | | Catalyst 9600 | IOS-XE | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ซ Platforms with **Limited or No EVPN Support** ==== | ||
| + | |||
| + | ^ Platform | ||
| + | | Catalyst 9500 | IOS-XE | ||
| + | | Catalyst 9400 | IOS-XE | ||
| + | | Catalyst 9300 | IOS-XE | ||
| + | | Catalyst 9200 | IOS-XE | ||
| + | | Catalyst 3850 | IOS-XE | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== โ ๏ธ EVPN Requirements on Catalyst Platforms (when applicable) ==== | ||
| + | |||
| + | * Minimum IOS-XE version: **17.9.1** | ||
| + | * Required licenses: | ||
| + | * `network-advantage` | ||
| + | * `dna-advantage` | ||
| + | * SDM Template: | ||
| + | * Must be set to `vxlan-routing` (not available on non-X models) | ||
| + | * Configuration method: | ||
| + | * `l2vpn evpn`, `vni`, `rd`, `route-target`, | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐งฑ Alternative: | ||
| + | |||
| + | For platforms without EVPN, VXLAN can be deployed in **static mode**: | ||
| + | * Define `interface nve1` | ||
| + | * Assign `source-interface` (Loopback) | ||
| + | * Configure `member vni XXXX` | ||
| + | * Use `ingress-replication protocol static` | ||
| + | * Add `peer-ip A.B.C.D` for each remote VTEP | ||
| + | |||
| + | Requires manual mapping and tunnel definition between all VTEPs. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ Useful Show Commands (Catalyst) ==== | ||
| + | |||
| + | Check software version: | ||
| + | `show version` | ||
| + | |||
| + | Check license status: | ||
| + | `show license summary` | ||
| + | |||
| + | Check SDM template: | ||
| + | `show sdm prefer` | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ Typical Error When EVPN Not Supported ==== | ||
| + | |||
| + | Trying to configure: | ||
| + | `l2vpn evpn` | ||
| + | `vni XXXX l2` | ||
| + | `rd auto` | ||
| + | |||
| + | Returns: | ||
| + | `% Invalid input detected at ' | ||
| + | |||
| + | ๐ This indicates the command is **not supported** in this platform or SDM template. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== โ Recommendation ==== | ||
| + | |||
| + | To deploy EVPN-based VXLAN in Cisco networks: | ||
| + | * Use **Nexus (e.g., 9300, 9500)** or **C9500X with `vxlan-routing`** | ||
| + | * Confirm licensing and SDM support | ||
| + | * Use **Static VXLAN** on Catalyst platforms without EVPN capability | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | |||
| + | |||
| + | ===== VXLAN โ Core Terminology and Nomenclature ===== | ||
| + | |||
| + | VXLAN (Virtual Extensible LAN) is a tunneling technology that enables Layer 2 overlay networks over Layer 3 IP infrastructures. Below is the essential terminology you need to master: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 1. VNI โ VXLAN Network Identifier ==== | ||
| + | |||
| + | * **Definition: | ||
| + | * **Range:** 0 to 16,777,215 (2^24 - 1) | ||
| + | * **Purpose: | ||
| + | * **Example: | ||
| + | VLAN 700 โ VNI 10700 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 2. VTEP โ VXLAN Tunnel Endpoint ==== | ||
| + | |||
| + | * **Definition: | ||
| + | * **Purpose: | ||
| + | * **Key Point:** Each VTEP has a loopback or logical IP (used as tunnel endpoint). | ||
| + | * **Example: | ||
| + | Cisco VTEP IP = `172.18.32.33` | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 3. NVE โ Network Virtualization Edge ==== | ||
| + | |||
| + | * **Definition: | ||
| + | * **Command Example (IOS-XE):** | ||
| + | ```bash | ||
| + | interface nve1 | ||
| + | | ||
| + | | ||
| + | ``` | ||
| + | * **Note:** In NX-OS, you must use `feature nv overlay`; in IOS-XE itโs implicit. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 4. Bridge Domain (BD) ==== | ||
| + | |||
| + | * **Definition: | ||
| + | * **In IOS-XE:** Binding is done via: | ||
| + | ```bash | ||
| + | l2 vni 10700 vlan 700 | ||
| + | ``` | ||
| + | * **In NX-OS:** Itโs tied to a `bridge-domain` with its own config space. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 5. Ingress Replication ==== | ||
| + | |||
| + | * **Purpose: | ||
| + | * **Modes:** | ||
| + | - `static`: manual peer definition | ||
| + | - `multicast`: | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 6. Underlay vs Overlay ==== | ||
| + | |||
| + | * **Underlay: | ||
| + | - The physical IP network that connects VTEPs (e.g., `172.18.32.0/ | ||
| + | - Uses IGP or static routing | ||
| + | * **Overlay: | ||
| + | - The logical L2 network created by VXLAN | ||
| + | - Carries tenant VLANs across routed core | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐ 7. BUM โ Broadcast, Unknown Unicast, Multicast ==== | ||
| + | |||
| + | * **Definition: | ||
| + | * **Handled in VXLAN by:** | ||
| + | - Static `ingress-replication` | ||
| + | - Multicast (if supported by underlay) | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== ๐งพ Summary Table ==== | ||
| + | |||
| + | ^ Element | ||
| + | | VLAN | Traditional L2 segment | ||
| + | | VNI | VXLAN segment identifier | ||
| + | | VTEP (Local) | ||
| + | | VTEP (Remote) | ||
| + | | NVE Interface | ||
| + | | Underlay | ||
| + | | Overlay | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ==== โ
VXLAN overlays | ||
| + | |||
| + | allow to: | ||
| + | * Stretch VLANs across L3 boundaries | ||
| + | * Enable mobility and segmentation | ||
| + | * Scale beyond 4094 VLAN limit using 16 million VNIs | ||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | ====== VXLAN Static Configuration โ Cisco 9500 โ Aruba 6300 ====== | ||
| + | |||
| + | === ๐ Architecture Summary === | ||
| + | |||
| + | ^ Parameter | ||
| + | | VTEP Loopback IP | 172.22.32.1 | ||
| + | | Transport IP | 172.18.32.33 (To Aruba) | ||
| + | | Transport Interface | ||
| + | | OSPF Area | 0 | 0 | | ||
| + | | VXLAN Mode | Static VXLAN | Static VXLAN | | ||
| + | | VXLAN Interface | ||
| + | | VNIs | 10001, 10700โ10732 | ||
| + | | Inter-VXLAN Bridging | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === ๐ Cisco 9500 Configuration === | ||
| + | |||
| + | ==== ๐น 1. VTEP Loopback ==== | ||
| + | interface Loopback0 | ||
| + | ip address 172.22.32.1 255.255.255.255 | ||
| + | |||
| + | ==== ๐น 2. Transport Interface ==== | ||
| + | interface TenGigabitEthernet1/ | ||
| + | | ||
| + | ip address 172.18.32.33 255.255.255.252 | ||
| + | no shutdown | ||
| + | |||
| + | ==== ๐น 3. OSPF ==== | ||
| + | router ospf 100 | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== ๐น 4. Static Route ==== | ||
| + | ip route 172.22.32.2 255.255.255.255 172.18.32.34 | ||
| + | |||
| + | ==== ๐น 5. NVE Interface ==== | ||
| + | interface nve1 | ||
| + | no shutdown | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== ๐น 6. Bridge Domains ==== | ||
| + | bridge-domain 1 | ||
| + | | ||
| + | |||
| + | bridge-domain 700 | ||
| + | | ||
| + | |||
| + | bridge-domain 712 | ||
| + | | ||
| + | |||
| + | bridge-domain 730 | ||
| + | | ||
| + | |||
| + | bridge-domain 732 | ||
| + | | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === ๐งฉ Aruba 6300 Configuration === | ||
| + | |||
| + | ==== ๐น 1. Loopback Interface ==== | ||
| + | interface loopback 0 | ||
| + | ip address 172.22.32.2/ | ||
| + | |||
| + | ==== ๐น 2. Transport Interface ==== | ||
| + | interface 1/1/12 | ||
| + | | ||
| + | ip address 172.18.32.34/ | ||
| + | no shutdown | ||
| + | |||
| + | ==== ๐น 3. OSPF ==== | ||
| + | router ospf | ||
| + | | ||
| + | area 0.0.0.0 | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== ๐น 4. Static Route ==== | ||
| + | ip route 172.22.32.1/ | ||
| + | |||
| + | ==== ๐น 5. VXLAN Interface ==== | ||
| + | interface vxlan 1 | ||
| + | | ||
| + | | ||
| + | |||
| + | ==== ๐น 6. VNI to VLAN Mapping ==== | ||
| + | vxlan vlan 1 vni 10001 | ||
| + | vxlan vtep 172.22.32.1 | ||
| + | |||
| + | vxlan vlan 700 vni 10700 | ||
| + | vxlan vtep 172.22.32.1 | ||
| + | |||
| + | vxlan vlan 712 vni 10712 | ||
| + | vxlan vtep 172.22.32.1 | ||
| + | |||
| + | vxlan vlan 730 vni 10730 | ||
| + | vxlan vtep 172.22.32.1 | ||
| + | |||
| + | vxlan vlan 732 vni 10732 | ||
| + | vxlan vtep 172.22.32.1 | ||
| + | |||
| + | ---- | ||
| + | |||
| + | === ๐งช Validation Commands === | ||
| + | |||
| + | ==== ๐ธ Cisco 9500 ==== | ||
| + | show nve interface nve1 | ||
| + | show nve vni summary | ||
| + | show nve vni interface nve 1 | ||
| + | show nve peers | ||
| + | ping 172.22.32.2 source 172.22.32.1 | ||
| + | show mac address-table vlan 712 | ||
| + | |||
| + | ==== ๐ธ Aruba 6300 ==== | ||
| + | show interface vxlan 1 | ||
| + | show interface vxlan vni vteps | ||
| + | ping 172.22.32.1 source 172.22.32.2 | ||
| + | show mac-address-table vlan 712 | ||
| + | |||
| + | |||
| + | |||
| + | === โ Notes === | ||
| + | |||
| + | * The VXLAN tunnels use **static replication** for simplicity and full control. | ||
| + | * Ensure **Loopback reachability** via static route or OSPF in both directions. | ||
| + | * For production EVPN deployment, BGP configuration will be required. | ||
| + | |||
| + | |||
| + | |||
| + | ---- | ||
| + | ---- | ||
| + | {{ : | ||
| + | |||
| + | {{pdfjs 46em >: | ||
| + | ---- | ||
| + | ---- | ||
| + | |||
| + | |||
| + | {{ : | ||
| + | |||
| + | {{pdfjs 46em >: | ||
| + | ---- | ||
| + | ---- | ||
cisco/switch/9500/cisco_catalyst_9500_series_manual.1736963449.txt.gz ยท Last modified: 2025/01/15 12:50 by aperez
