DXS-3600-32S CLI Reference Guide


Add to my manuals
596 Pages

advertisement

DXS-3600-32S CLI Reference Guide | Manualzz

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

IP Multicast (IPMC) Commands

28-1 ip mroute

This command is used to create static routes for multicast. Use the no form of this command to delete the static routes.

ip mroute SOURCE-ADDRESS MASK {RPF-ADDRESS | null}

no ip mroute {SOURCE-ADDRESS MASK | all}

Parameters

SOURCE-ADDRESS

MASK

RPF-ADDRESS

null all

Specifies the IP address of the static route.

Specifies the network mask of the static route.

Specifies the RPF neighbor address.

Specifies that if null is defined for the source network, the RPF check will always fail for multicast traffic sent from this source network.

Specifies that all the IP multicast static routes will be deleted.

Default

No any IP multicast static route exists.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to create an IP multicast static route entry used by PIM to do

RPF check. When an IP multicast packet is received, the source IP address of the packet will be used to do the RPF check. If the source IP address of the received IP multicast packet matches the source network in a multicast static route, then it will be allowed only when it comes from the RPF interface, and it will be RPF check failed if it comes from other interfaces. If the source IP address of the received IP multicast packet does not match any multicast static route source network, dynamic unicast route will be used by PIM for RPF check.

To verify you configuration, use command show ip mroute static or show ip rpf.

Example

This example shows how to create a static route for network 139.1.1.1 255.255.0.0 for which the RPF neighbor address is 192.168.1.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip mroute 139.1.1.1 255.255.0.0 192.168.1.1

DXS-3600-32S(config)#

Example

This example shows how to configure the RPF checking if source network 10.1.1.1/

16 always fails.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip mroute 10.1.1.1 255.255.0.0 null

DXS-3600-32S(config)#

Example

This example shows how to delete a multicast static route for source network

10.1.1.1 255.255.0.0.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip mroute 10.1.1.1 255.255.0.0

DXS-3600-32S(config)#

Example

This example shows how to delete all multicast static routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip mroute all

DXS-3600-32S(config)#

265

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

28-2 ip multicast-routing

This command is used to enable global IP multicast routing. The no form of the command disables global IP multicast routing.

ip multicast-routing no ip multicast-routing

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When IP multicast routing is disabled, the system will stop routing of multicast packets even though the multicast routing protocol is enabled. If you want to use IP multicast routing for forwarding, you need use the ip multicast-routing command to enable global IP multicast routing state. When this command and any multicast routing protocol are both enabled, IGMP will automatically be enabled on the interface, and then the multicast routing forwarding can take effect.

To verify you configuration, use the command show ip multicast-routing.

Example

This example shows how to enable global IP multicast routing.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip multicast-routing

DXS-3600-32S(config)#

Example

This example shows how to disable global IP multicast routing.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip multicast-routing

DXS-3600-32S(config)#

28-3 show ip mroute

This command is used to display IP multicast routing information.

show ip mroute [{[GROUP-ADDRESS [SOURCE-ADDRESS] | dense | sparse | dvmrp | summary] | static}]

Parameters

GROUP-ADDRESS

SOURCE-ADDRESS

dense sparse dvmrp summary static

Specifies the multicast group IP address.

Specifies the multicast source IP address.

Displays PIM-DM multicast routing table.

Displays PIM-SM multicast routing table.

Displays DVMRP multicast routing table.

Displays a one-line, abbreviated summary of each entry in the IP multicast routing table.

Displays the multicast static routes

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

266

Usage Guideline

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

This command is used to display the multicast routing entries learned on the switch or the multicast static routes created on the switch. You can specify the parameter to display the information that you concerning. If no parameter is specified, all IP multicast routing entries learned on the switch will be displayed.

Example

This example shows how to display multicast route brief information.

DXS-3600-32S#show ip mroute summary

IP Multicast Routing Table: 2 entries

Flags: D - Dense, S - Sparse, V - DVMRP

Timers: Uptime/Expires

(10.10.1.52, 224.0.1.3), vlan1, 00:01:32/00:03:20, Flags: D

(20.1.1.1, 228.10.2.1), vlan10, 00:05:10/00:03:11, Flags: S

DXS-3600-32S#

Example

DXS-3600-32S#show ip mroute

This example shows how to display all IP multicast routing information on the system.

IP Multicast Routing Table

Flags: D - Dense, S - Sparse, V - DVMRP, s - SSM Group, F - Register flag

P - Pruned, R - (S, G) RPT-bit set, T - SPT-bit set

Outgoing interface flags: W - Assert winner

Timers: Uptime/Expires

(10.71.57.210, 235.0.0.4), 00:02:53/00:00:37, Flags: ST

Incoming interface: vlan1, RPF neighbor: 1.2.0.1

Outgoing interface List:

vlan3, Forwarding 00:00:04/00:04:20

(20.2.2.10, 239.0.0.5), 00:02:53/00:00:37, Flags: VP

Incoming interface: vlan20, RPF neighbor: 2.3.0.1

Outgoing interface List: NULL

(30.9.7.4, 237.0.0.6), 00:02:53/00:00:37, Flags: D

Incoming interface: vlan30, RPF neighbor: 6.2.3.2

Outgoing interface List:

vlan5, Forwarding 00:01:21/00:02:39

Total Entries: 3

DXS-3600-32S#

Example

This example shows how to display IP multicast routing information learned by PIM sparse mode.

DXS-3600-32S#show ip mroute sparse

(10.1.57.1, 235.0.0.0), 00:00:04/00:03:26, Flags: ST

Incoming interface: vlan1, RPF neighbor: NULL

Outgoing interface list:

vlan4, Forwarding 00:00:04/00:04:20

Total Entries: 1

DXS-3600-32S#

267

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to display IP multicast routing information for group source part (239.0.0.5, 20.2.2.10).

DXS-3600-32S#show ip mroute 239.0.0.5 20.2.2.10

(20.2.2.10, 239.0.0.5), 00:02:53/00:00:37, Flags: VP

Incoming interface: vlan20, RPF neighbor: 2.3.0.1

Outgoing interface List: NULL

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display the multicast static routes created on the system.

DXS-3600-32S#show ip mroute static

Mroute: 10.0.0.0/8, RPF neighbor: 11.1.1.1

Mroute: 11.0.0.0/8, RPF neighbor: NULL

Total Entries : 2

DXS-3600-32S#

Display Parameters

D – Dense

S – Sparse s – SSM Group

V – DVMRP

F – Register Flag

P – Pruned

R – (S, G) RPT-bit set

T – SPT-bit set

W – Assert winner

(172.18.16.1, 235.0.0.0)

Uptime/Expire

RPF neighbor

Description

The entry is operating in PIM-DM mode.

The entry is operating in PIM-SM mode.

The entry is a member of an SSM group.

The entry is operating in DVMRP mode.

Status of whether the software is registering for a multicast source.

Route has been pruned. This information indicates that this switch has no outgoing for this group.

Specify this switch is the RPT upstream for this group, and this group is forwarding in

SPT. The downstream switch has sent (S, G) prune message to this switch.

Status of whether the packets have been received on the shortest-path tree.

Specify this outgoing is in assert state, and it is a assert winner.

The source address and group address for this entry.

The uptime and expire time for this entry.

The RPF neighbor address for the specified network address, as specified by command “ip mroute”.

28-4 show ip rpf

This command is used to show the RPF information for the specified source address.

show ip rpf SOURCE-ADDRESS

Parameters

SOURCE-ADDRESS

Specifies the source IP address.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

268

Usage Guideline

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

This command is used to display the RPF information of the specified source address. The static multicast routing information, which created by command ip

mroute, prefer than RPF information learnt by unicast routing protocol.

Example

This example shows how to display RPF information of 10.0.0.1

DXS-3600-32S#show ip rpf 10.0.0.1

Source IP:10.0.0.1

RPF interface: vlan1

Type: unicast

Metric: 1

DXS-3600-32S#

Example

This example shows how to display RPF information of 20.0.0.1

DXS-3600-32S#show ip rpf 20.0.0.1

Source IP:20.0.0.1

RPF interface: vlan3

Type: unicast

Metric: 4

DXS-3600-32S#

Example

This example shows how to display RPF information for 30.0.0.1

DXS-3600-32S#show ip rpf 30.0.0.1

Source IP:30.0.0.1

RPF interface: vlan2

Type: unicast

Metric: 2

DXS-3600-32S#

Example

This example shows how to display RPF information of 172.18.61.8

DXS-3600-32S#show ip rpf 172.18.61.8

Source IP:172.18.61.8

RPF address: 192.18.16.1

Type: Static

DXS-3600-32S#

Display Parameters

Source IP

RPF interface

Type

Metric

RPF address

Description

Indicate the source IP address.

Indicate the RPF interface name for the specified source address.

Specify the way the switch gets the RPF information. It can be unicast routing protocol or static configured.

The metric to achieve to the source network from the local switch.

Specify RPF neighbor address, created by command “ip mroute”.

28-5 show ip multicast interface

This command is used to display the basic multicast information of an interface.

show ip multicast interface [IFNAME]

269

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Parameters

IFNAME

Specifies the interface name.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display the basic multicast interface information, if no parameter is specified, this command will display information for all interfaces.

Example

This example shows how to display all multicast interface information on the whole system.

DXS-3600-32S#show ip multicast interface

Interface Name IP Address Multicast Routing

--------------- ------------------ -----------------vlan1 10.90.90.90/8 PIM-SM vlan2 1.0.90.3/8 DVMRP vlan3 2.4.2.2/8 PIM-DM vlan4 3.4.4.3/8 N/A

Total Entries: 4

DXS-3600-32S#

Example

This example shows how to display multicast interface information on interface

‘vlan1’.

DXS-3600-32S#show ip multicast interface vlan1

Interface Name IP Address Multicast Routing

--------------- --------------- -----------------vlan1 1.0.90.3/8 DVMRP

Total Entries: 1

DXS-3600-32S#

Display Parameters

Interface Name

IP Address

Multicast Routing

Description

Name of the interface.

IP address of the interface

The multicast routing protocol running on the interface. N/A means no any multicast routing protocol is active on the interface.

28-6 show ip multicast-routing

This command is used to display IP multicast routing global state.

show ip multicast-routing

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display the IP multicast routing global state.

270

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to display IP multicast routing information.

DXS-3600-32S#show ip multicast-routing

IP multicast routing state: Disabled

DXS-3600-32S#

Display Parameters

IP multicast routing state

Description

This state can be modified by command “ip multicast-routing”.

271

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents