IP Interface Commands 4

Example

The following shows how to configure port 1 as a multicast router port within VLAN 1:

Console(config)#ip igmp snooping vlan 1 mrouter ethernet 1/1 Console(config)#

show ip igmp snooping mrouter

This command displays information on statically configured and dynamically learned multicast router ports.

Syntax

show ip igmp snooping mrouter [vlan vlan-id]

vlan-id- VLAN ID (Range: 1-4094)

Default Setting

Displays multicast router ports for all configured VLANs.

Command Mode

Privileged Exec

Command Usage

Multicast router port types displayed include Static.

Example

The following shows that port 11 in VLAN 1 is attached to a multicast router:

Console#show ip igmp snooping mrouter vlan 1

VLAN M'cast Router Ports Type

----------------------- -------

1Eth 1/11 Static

Console#

IP Interface Commands

An IP addresses may be used for management access to the switch over your network. The IP address for this switch is obtained via DHCP by default. You can manually configure a specific IP address, or direct the device to obtain an address from a BOOTP or DHCP server when it is powered on. You may also need to a establish a default gateway between this device and management stations or other devices that exist on another network segment.

Basic IP Configuration

Table 4-72 Basic IP Configuration Commands

Command

Function

Mode

Page

 

 

 

 

ip address

Sets the IP address for the current interface

IC

4-206

 

 

 

 

ip default-gateway

Defines the default gateway through which an in-band

GC

4-207

 

management station can reach this device

 

 

4-205