2020년 5월 27일 수요일

Cisco IOS/Nexus 7000 NX-OS 비교 ( Multicast 관련 명령어 )

Cisco IOS/Nexus 7000 NX-OS 비교 - Multicast 관련 명령어 -

 

 

Cisco IOS CLI Cisco NX-OS CLI
Enabling Multicast Forwarding
ip multicast-routing The Cisco NX-OS does not have a single global command to enable multicast forwarding/routing.
Enabling the PIM Feature
Cisco IOS Software does not have the ability to enable or disable PIM. feature pim
Configuring PIM Sparse Mode on an Interface
interface TenGigabitEthernet1/1

ip address 192.168.10.1 255.255.255.0

ip pim sparse-mode

interface Ethernet1/1

ip address 192.168.10.1/24

ip pim sparse-mode

Configuring a PIM Auto-RP
interface Loopback10

ip address 172.16.1.1 255.255.255.255

ip pim sparse-mode


ip pim send-rp-announce Loopback10 scope 32

ip pim send-rp-discovery Loopback10 scope 32

ip pim autorp listener

interface loopback10

ip address 172.16.1.1/32

ip pim sparse-mode


ip pim auto-rp rp-candidate loopback10 group-list 224.0.0.0/4

ip pim auto-rp mapping-agent loopback10

ip pim auto-rp forward listen

or

ip pim send-rp-announce loopback10 group-list 224.0.0.0/4

ip pim send-rp-discovery loopback10

ip pim auto-rp forward listen

Configuring a PIM BSR RP
interface Loopback10

ip address 172.16.1.1 255.255.255.255

ip pim sparse-mode


ip pim bsr-candidate Loopback10

ip pim rp-candidate Loopback10

interface loopback10

ip address 172.16.1.1/32

ip pim sparse-mode


ip pim bsr bsr-candidate loopback10

ip pim bsr rp-candidate loopback10 group-list 224.0.0.0/4

ip pim bsr forward listen

or

ip pim bsr-candidate loopback10

ip pim rp-candidate loopback10 group-list 224.0.0.0/4

ip pim bsr forward listen

Configuring a PIM Static-RP
ip pim rp-address 172.16.1.1 ip pim rp-address 172.16.1.1
Configuring a PIM Anycast-RP (BSR Example)
Cisco IOS Software does not have the ability to enable the PIM Anycast RP feature. interface loopback0

ip address 192.168.10.1/32

ip pim sparse-mode


interface loopback10

description Anycast-RP-Address

ip address 172.16.1.1/32

ip pim sparse-mode


ip pim bsr bsr-candidate loopback0

ip pim bsr rp-candidate loopback10 group-list 224.0.0.0/4

ip pim anycast-rp 172.16.1.1 192.168.10.1

ip pim anycast-rp 172.16.1.1 192.168.10.2

ip pim bsr forward listen

Configuring PIM Neighbor Authentication
Cisco IOS Software does not have the ability to enable neighbor authentication. interface Ethernet1/1

ip address 192.168.10.1/24

ip pim sparse-mode

ip pim hello-authentication ah-md5 3 a667d47acc18ea6b

Configuring a PIM BSR Border on an Interface
interface TenGigabitEthernet1/1

ip address 192.168.10.1 255.255.255.0

ip pim bsr-border

ip pim sparse-mode

ip multicast boundary 10


access-list 10 deny 224.0.1.39

access-list 10 deny 224.0.1.40

access-list 10 permit 224.0.0.0 15.255.255.255

interface Ethernet1/1

ip address 192.168.10.1/24

ip pim sparse-mode

ip pim border

Configuring PIM in a Non-Default VRF Instance
ip vrf production

ip multicast-routing vrf production


interface Loopback10

ip vrf forwarding production

ip address 172.16.1.1 255.255.255.255

ip pim sparse-mode


interface TenGigabitEthernet1/1

ip vrf forwarding production

ip address 192.168.10.1 255.255.255.0

ip pim sparse-mode


ip pim vrf production rp-address 172.16.1.1

vrf context production

ip pim rp-address 172.16.1.1 group-list 224.0.0.0/4


interface loopback10

vrf member production

ip address 172.16.1.1/32


interface Ethernet1/1

vrf member production

ip address 192.168.10.1/24

ip pim sparse-mode

Configuring IGMP Version 3 for an Interface
interface TenGigabitEthernet1/1

ip address 192.168.10.1 255.255.255.0

ip pim sparse-mode

ip igmp version 3

interface Ethernet1/1

ip address 192.168.10.1/24

ip pim sparse-mode

ip igmp version 3

Configuring an IGMP Snooping Querier for a VLAN
interface Vlan10

ip address 192.168.10.1 255.255.255.0

ip igmp snooping querier

vlan 10

ip igmp snooping querier 192.168.10.1

Configuring MSDP (Anycast-RP)
interface Loopback0

description MSDP Peer Address

ip address 192.168.1.1 255.255.255.255


interface Loopback10

description PIM RP Address

ip address 1.1.1.1 255.255.255.255


ip pim rp-address 1.1.1.1

ip msdp peer 192.168.2.1 connect-source Loopback0

ip msdp cache-sa-state

interface loopback0

description MSDP Peer Address

ip address 192.168.1.1/32


interface loopback10

description PIM RP Address

ip address 1.1.1.1/32


ip pim rp-address 1.1.1.1 group-list 224.0.0.0/4

ip msdp peer 192.168.2.1 connect-source loopback0

 

Cisco NX-OS Multicast Cisco IOS Software Multicast Command Description
show ip igmp groups show ip igmp groups Displays all IGMP attached group membership information
show ip igmp interface show ip igmp interface Displays IGMP information for all interfaces
show ip igmp interface brief - Displays a one line summary status per interface
show ip igmp interface int-type show ip igmp interface int-type Displays IGMP information for a specific interface
show ip igmp interface vrf name show ip igmp vrf name Displays IGMP information for a specific VRF instance
show ip igmp local-groups int-type - Displays IGMP local groups associated to a specific interface
show ip igmp local-groups vrf name - Displays IGMP local groups associated to a specific VRF instance
show ip igmp route - Displays IGMP attached group membership information
show ip igmp route x.x.x.x - Displays IGMP attached group membership for a specific group
show ip igmp route int-type - Displays IGMP attached group membership for a specific interface
show ip igmp route vrf name - Displays IGMP attached group membership for a specific VRF instance
show ip igmp snooping - Displays global and per interface IGMP Snooping information
show ip igmp snooping explicit-tracking show ip igmp snooping explicit-tracking Displays explicit tracking information for IGMPv3
show ip igmp snooping groups show mac-address-table multicast igmp-snooping Displays IGMP Snooping groups information
show ip igmp snooping mrouter show ip igmp snooping mrouter Displays detected multicast routers
show ip igmp snooping otv - Displays IGMP Snooping OTV information
show ip igmp snooping querier - Displays IGMP Snooping querier information
show ip igmp snooping statistics show ip igmp snooping statistics Displays packet/error counter statistics
show ip igmp snooping vlan # - Displays IGMP Snooping information per specific VLAN
- - -
show ip msdp count show ip msdp count Displays MSDP SA cache counters
show ip msdp mesh-group - Displays MSDP Mesh-Group members
show ip msdp peer show ip msdp peer Displays all MSDP peers
show ip msdp peer x.x.x.x show ip msdp peer x.x.x.x Displays a specific MSDP peer
show ip msdp peer vrf name show ip msdp vrf name Displays MSDP peers related to a specific VRF instance
show ip msdp peer policy - Displays the MSDP peer policies
show ip msdp peer route - Displays the MSDP route-cache
show ip msdp sa-cache show ip msdp sa-cache Displays the MSDP SA route-cache
show ip msdp source - Displays the MSDP learned sources and associated statistics
show ip msdp summary show ip msdp summary Displays the MSDP peer summary
- - -
show ip pim df show ip pim interface df Displays Bidr designated forwarders
show ip pim df x.x.x.x show ip pim interface df x.x.x.x Displays Bidr designated forwarders for a specific RP or group
show ip pim df vrf name - Displays Bidr designated forwarders for a specific VRF instance
show ip pim group-range - Displays the PIM group-ranges
show ip pim group-range x.x.x.x - Displays a specific PIM group-range
show ip pim group-range vrf name - Displays the PIM group-ranges for a specific VRF instance
show ip pim interface - Displays all PIM enabled interfaces
show ip pim interface brief x.x.x.x - Displays a one line summary of all PIM enabled interfaces
show ip pim interface int-type show ip pim interface int-type Displays information for a specific PIM interface
show ip pim interface vrf name - Displays the PIM interfaces for a specific VRF instance
show ip pim neighbor show ip pim neighbor Displays all PIM neighbors
show ip pim neighbor x.x.x.x show ip pim neighbor x.x.x.x Displays a specific PIM neighbor for a specific IP address
show ip pim neighbor interface int-type show ip pim neighbor int-type Displays a specific PIM neighbor for a specific interface
show ip pim neighbor vrf name - Displays PIM neighbors for a specific VRF instance
show ip pim oif-list x.x.x.x - Displays PIM OIF-List for a specific multicast group address
show ip pim policy statistics - Displays PIM statistics
show ip pim route - Displays PIM routes
show ip pim route x.x.x.x - Displays a specific PIM route
show ip pim route vrf name - Displays PIM routes for a specific VRF instance
show ip pim rp show ip pim rp mapping Displays PIM RP information
show ip pim rp x.x.x.x show ip pim rp x.x.x.x Displays information for a specific PIM group address
show ip pim rp vrf name - Displays information for PIM RP's in a specific VRF instance
show ip pim rp-hash x.x.x.x show ip pim rp-hash x.x.x.x Displays PIM RP-Hash value for a specific group
show ip pim statistics - Displays PIM packet statistics
show ip pim statistics vrf name - Displays per packet statistics for a specific VRF instance
show ip pim vrf name show ip pim vrf name Displays detailed PIM information per specific VRF instance
- - -
show ip mroute show ip mroute Displays the multicast routing table
show forwarding multicast route group <group> show ip mroute count Displays mroute flags and forwarding/RPF counters
show ip mroute summary show ip mroute summary Displays the multicast routing table with packet counts and bit rates
show ip mroute x.x.x.x show ip mroute x.x.x.x Displays a specific multicast route
show ip mroute vrf name show ip mroute vrf name Displays the multicast routing table for a specific VRF instance
- - -
show ip route rpf show ip rpf Displays the Reverse Path Forwarding (RPF) table used for multicast source lookup