Click here to load reader

show access-group mode interface ... 2-279 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG OL-7657-01 Chapter 2 Cisco IOS Commands for th e Catalyst 4500

  • View
    2

  • Download
    0

Embed Size (px)

Text of show access-group mode interface ... 2-279 Catalyst 4500 Series Switch Cisco IOS Command...

  • alyst 4500 Series Switches

    Chapter 2 Cisco IOS Commands for the Cat 2 2

    show access-group mode interface

    show access-group mode interface To display the ACL configuration on a Layer 2 interface, use the show access-group mode interface command.

    show access-group mode interface [interface interface-number]

    Syntax Description

    Defaults This command has no default settings.

    Command Modes Privileged EXEC

    Command History

    Usage Guidelines The valid values for the port number depend on the chassis used.

    Examples This example shows how to display the ACL configuration on the Fast Ethernet interface 6/1:

    Switch# show access-group mode interface fa6/1 Interface FastEthernet6/1: Access group mode is: merge Switch#

    Related Commands access-group mode

    interface (Optional) Interface type; valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, and port-channel.

    interface-number (Optional) Interface number.

    Release Modification

    12.1(19)EW Support for this command was introduced on the Catalyst 4500 series switch.

    12.2(25)EW Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.

    2-277 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG

    OL-7657-01

  • Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches show adjacency

    show adjacency To display information about the Layer 3 switching adjacency table, use the show adjacency command.

    show adjacency [{interface interface-number} | {null interface-number} | {port-channel number} | {vlan vlan-id} | detail | internal | summary]

    Syntax Description

    Defaults This command has no default settings.

    Command Modes EXEC

    Command History

    Usage Guidelines The interface-number argument designates the module and port number. Valid values for interface-number depend on the specified interface type and the chassis and module that are used. For example, if you specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet module that is installed in a 13-slot chassis, valid values for the module number are from 1 to 13, and valid values for the port number are from 1 to 48.

    Hardware Layer 3 switching adjacency statistics are updated every 60 seconds.

    The following information is contained in the show adjacency command:

    • Protocol interface.

    • Type of routing protocol that is configured on the interface.

    • Interface address.

    • Method of adjacency that was learned.

    interface (Optional) Interface type; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, pos, ge-wan, and atm.

    interface-number (Optional) Module and port number; see the “Usage Guidelines” section for valid values.

    null interface-number

    (Optional) Specifies the null interface; the valid value is 0.

    port-channel number

    (Optional) Specifies the channel interface; valid values are a maximum of 64 values ranging from 1 to 256.

    vlan vlan-id (Optional) Specifies the VLAN; valid values are from 1 to 4094.

    detail (Optional) Displays the information about the protocol detail and timer.

    internal (Optional) Displays the information about the internal data structure.

    summary (Optional) Displays a summary of CEF-adjacency information.

    Release Modification

    12.2(25)EW Extended to include the 10-Gigabit Ethernet interface.

    2-278 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG

    OL-7657-01

  • Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches show adjacency

    • MAC address of the adjacent router.

    • Time left before the adjacency rolls out of the adjacency table. After it rolls out, a packet must use the same next hop to the destination.

    Examples This example shows how to display adjacency information:

    Switch# show adjacency Protocol Interface Address IP FastEthernet2/3 172.20.52.1(3045) IP FastEthernet2/3 172.20.52.22(11) Switch#

    This example shows how to display a summary of adjacency information:

    Switch# show adjacency summary Adjacency Table has 2 adjacencies Interface Adjacency Count FastEthernet2/3 2 Switch#

    This example shows how to display protocol detail and timer information:

    Switch# show adjacency detail Protocol Interface Address IP FastEthernet2/3 172.20.52.1(3045) 0 packets, 0 bytes 000000000FF920000380000000000000 00000000000000000000000000000000 00605C865B2800D0BB0F980B0800 ARP 03:58:12 IP FastEthernet2/3 172.20.52.22(11) 0 packets, 0 bytes 000000000FF920000380000000000000 00000000000000000000000000000000 00801C93804000D0BB0F980B0800 ARP 03:58:06 Switch#

    This example shows how to display adjacency information for a specific interface:

    Switch# show adjacency fastethernet2/3 Protocol Interface Address IP FastEthernet2/3 172.20.52.1(3045) IP FastEthernet2/3 172.20.52.22(11) Switch#

    Related Commands debug adjacency

    2-279 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG

    OL-7657-01

  • Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches show arp access-list

    show arp access-list To display detailed information on an ARP access list, use the show arp command.

    show arp access-list

    Syntax Description This command has no arguments or keywords.

    Defaults This command has no default settings.

    Command Modes EXEC

    Command History

    Examples This example shows how to display the ARP ACL information for a switch:

    Switch# show arp access-list ARP access list rose permit ip 10.101.1.1 0.0.0.255 mac any permit ip 20.3.1.0 0.0.0.255 mac any

    Related Commands access-group mode arp access-list ip arp inspection filter vlan

    Release Modification

    12.1(19)EW Support for this command was introduced on the Catalyst 4500 series switch.

    2-280 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG

    OL-7657-01

  • Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches show auto install status

    show auto install status To display the status of an automatic installation, use the show auto install status command.

    show auto install status

    Syntax Description This command has no arguments or keywords.

    Defaults This command has no default settings.

    Command Modes Privileged EXEC

    Command History

    Examples This example shows how to display the IP address of the TFTP server and to display whether or not the switch is currently acquiring the configuration file on the TFTP server:

    Switch# show auto install status

    Status : Downloading config file DHCP Server : 20.0.0.1 TFTP Server : 30.0.0.3 Config File Fetched : Undetermined

    The first IP address in the display indicates the server that is used for the automatic installation. The second IP address indicates the TFTP server that provided the configuration file.

    Release Modification

    12.2(20)EW Support for this command was introduced on the Catalyst 4500 series switch.

    2-281 Catalyst 4500 Series Switch Cisco IOS Command Reference—Release 12.2(25)SG

    OL-7657-01

  • Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches show auto qos

    show auto qos To display the automatic quality of service (auto-QoS) configuration that is applied, use the show auto qos user EXEC command.

    show auto qos [interface [interface-id]] [{begin | exclude | include} expression]

    Syntax Description

    Command Modes Privileged EXEC

    Command History

    Usage Guidelines The show auto qos interface interface-id command displays the auto-QoS configuration; it does not display any user changes to the configuration that might be in effect.

    To display information about the QoS configuration that might be affected by auto-QoS, use one of these commands:

    • show qos

    • show qos map

    • show qos interface interface-id

    • show running-config

    Expressions are case sensitive. For example, if you enter exclude output, the lines that contain output do not appear, but the lines that contain Output appear.

    Examples This example shows output from the show auto qos command when auto-QoS is enabled:

    Switch# show auto qos 00:00:55:qos 00:00:56:qos map cos 3 to dscp 26 00:00:57:qos map cos 5 to dscp 46 00:00:58:qos map dscp 16 to tx-queue 1 00:00:58:qos map dscp 32 to tx-queue 1 00:00:58:qos dbl 00:00:59:policy-map autoqos-voip-policy 00:00:59: class class-default 00:00:59: dbl 00:00:59:interface GigabitEthernet1/1

    interface interface-id (Optional) Displays auto-QoS information for the specified interface or for all interfaces. Valid interfaces include physical ports.

    begin (Optional) Begins with the line that matches the expression.

    exclude (Optional) Excludes lines that match the expression.

Search related