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

DXS-3600-32S CLI Reference Guide

Software Release F/W: 1.00.024

Copyright Statement

All rights reserved.

Without our written permission this document may not be excerpted, reproduced, transmitted, or otherwise in all or part by any party by any means.

Preface

Version Description

This manual’s command descriptions are based on the software release 1.00.018. The commands listed here are the subset of commands that are supported by the DXS-3600-32S switch.

Audience

This reference manual is intended for network administrators and other IT networking professionals responsible for managing the switch by using the Command Line Interface (CLI). The CLI is the primary management interface to the

DXS-3600-32S, which will be generally be referred to simply as the “switch” within this manual. This manual is written in a way that assumes that you already have the experience and knowledge of Ethernet and modern networking principles for Local Area Networks.

Document Layout

Preface

Table of Contents

Chapters

Appendices

Describes how to use the CLI reference manual.

Lists out the chapters discussed throughout this manual.

Each chapter contains a specific grouping of CLI commands that are related to the topic labelled.

Contains extra information related to this switch.

Other Documentation

The documents below are a further source of information in regards to configuring and troubleshooting the switch . All the documents are available either from the CD, bundled with this switch, or from the D-Link website. Other documents related to this switch are:

• DXS-3600-32S Hardware Installation Guide

• DXS-3600-32S Web UI Reference Guide

Conventions

Convention

Boldface Font

UPPERCASE ITALICS Font

[ ]

Description

Commands, command options and keywords are printed in boldface. Keywords, in the command line, are to be entered exactly as they are displayed.

Parameters or values that must be specified are printed in UPPERCASE ITALICS.

Parameters in the command line, are to be replaced with the actual values that are desired to be used with the command.

Square brackets enclose an optional value or set of optional arguments.

ii

Convention

{a | b | c}

[a | d | c]

Blue Courier Font

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

Description

Braces enclose alternative keywords seperated by vertical bars. Generally, one of the keywords in the seperated list can be chosen.

Optional values or arguements are enclosed in square barackets and seperated by vertical bars. Generally, one or more of the vales or arguements in the seperated list can be chosen.

This convention is used to represent an example of a screen console display including example entries of CLI command input with the corresponding output.

Notes, Notices, and Cautions

Below are examples of the 3 types of indicators used in this manual. When administering your switch using the information in this document, you should pay special attention to these indicators. Each example below provides an explanatory remark regarding each type of indicator.

NOTE: A note indicates important information that helps you make better use of your device

NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem

CAUTION: A caution indicates a potential for property damage, personal injury, or death.

Command Descriptions

The information pertaining to each command in this reference guide is presented using a number of template fields.

The fields are:

Description - This is a short and concise statement describing the commands functionality.

Syntax - The precise form to use when entering and issuing the command. The form conventions are described in the table shown under the section “Conventions” on page iv of this guide.

Syntax Description - A table where each row describes the optional or required arguments, and their use, that can be issued with the command.

Default - If the command sets a configuration value or administrative state of the switch then any default settings

(i.e. without issuing the command) of the configuration is shown here.

Command Mode - The mode in which the command can be issued. The modes are either User EXEC, Privileged

EXEC, Global Configuration or a specific configuration mode. These modes are described in the section titled

“Command Modes” on page v below.

Command Usage - If necessary, a detailed description of the command and its various utilization scenarios is given here.

Example(s) - Each command is accompanied by a practical example of the command being issued in a suitable scenario.

Command Modes

There are several command modes available in the command-line interface (CLI). The set of commands available to the user depends on both the mode the user is currently in and their privilege level. For each case, the user can see all the commands that are available in a particular command mode by entering a question mark (?) at the system prompt.

The command-line interface has five privilege levels:

Basic User - Privilege Level 1. This user account level has the lowest priority of the user accounts. The purpose of this type of user account level is for basic system checking.

Advanced User - Privilege Level 3. This user account level is allowed to configure the terminal control setting.

This user account can only show limited information that is not related to security.

Power User - Privilege 8. This user account level can execute fewer commands than operator, including configuration commands other than the operator level and administrator level commands.

iii

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

Operator - Privilege Level 12. This user account level is used to grant system configuration rights for users who need to change or monitor system configuration, except for security related information such as user accounts and

SNMP account settings, etc.

Administrator - Privilege Level 15. This administrator user account level can monitor all system information and change any of the system configuration settings expressed in this configuration guide.

The command-line interface has a number of command modes. There are three basic command modes:

• User EXEC mode

• Privileged EXEC mode

• Global Configuration mode

All other sub-configuration modes can be accessed via global configuration mode.

When a user logs in to the Switch, the privilege level of the user determines the command mode the user will enter after initially logging in. The user will either log into user EXEC mode or privileged EXEC mode. Users with a basic user level will log into the Switch in user EXEC mode. Users with advanced user, power user, operator or administrator level accounts will log into the Switch in privileged EXEC mode. Therefore, user EXEC mode can operate at basic user level and privileged EXEC mode can operate at advanced user, power user, operator or administrator level. The user can only enter global configuration mode from privileged EXEC mode. Therefore, global configuration mode can be accessed by users who have advanced user, power user, operator or administrator level user accounts. As for subconfiguration modes, a subset of those can only be accessed by users who have the highest secure administrator level privileges.

The following table briefly lists the available command modes. Only the basic command modes and some of the subconfiguration modes are enumerated. The basic command modes and basic sub-configuration modes are further described in the following chapters. Descriptions for the rest of the sub-configuration modes are not provided in this section. For more information on the additional sub-configuration modes, the user should refer to the chapters relating to these functions.

The available command modes and privilege levels are described below:

Command Mode /

Privilege Level

Purpose

User EXEC Mode /

Basic User level

Privileged EXEC Mode /

Advanced User level

Privileged EXEC Mode /

Power User level

Privileged EXEC Mode /

Operator level

Privileged EXEC Mode /

Administrator level

Global Configuration Mode /

Power User level

Global Configuration Mode /

Operator level

Global Configuration Mode /

Administrator level

Interface Configuration Mode /

Administrator level

VLAN Interface Configuration

Mode

VLAN Configuration Mode

This level has the lowest priority of the user accounts. It is provided only to check basic system settings.

This level is allowed to configure the terminal control setting. This user account can only show limited information that is not related to security.

This level can execute less commands than operator, include the configure commands other than the operator level and administrator level commands.

For changing both local and global terminal settings, monitoring, and performing certain system administration tasks. The system administration tasks that can be performed at this level includes the clearing of system configuration settings, except for any security related information, such as user accounts, SNMP account settings etc.

This level is identical to privileged EXEC mode at power user level, except that a user at the administrator level can monitor and clear security related settings.

For applying global settings, including the configuration commands other than the operator level and administrator level commands.

For applying global settings, except for security related settings, on the entire Switch.

In addition to applying global settings on the entire Switch, the user can access other sub-configuration modes from global configuration mode.

For applying global settings on the entire Switch. In addition to applying global settings on the entire Switch, the user can access other sub-configuration modes from global configuration mode.

For applying interface related settings.

For applying VLAN interface related settings.

For applying settings to a VLAN.

iv

Command Mode /

Privilege Level

IP Access-List Configuration

Mode

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

Purpose

For specifying filtering criteria for an IP access list.

User EXEC Mode at Basic User Level

This command mode is mainly designed for checking basic system settings. This command mode can be entered by logging in as a basic user.

Privileged EXEC Mode at Advanced User Level

This command mode is mainly designed for checking basic system settings, allowing users to change the local terminal session settings and carrying out basic network connectivity verification. One limitation of this command mode is that it cannot be used to display information related to security. This command mode can be entered by logging in as an advanced user.

Privileged EXEC Mode at Power User Level

User logged into the switch in privileged EXEC mode at this level can execute fewer commands than operator, including the configuration commands other than the operator level and administrator level commands. The method to enter privileged EXEC mode at power user level is to login to the switch with a user account that has a privileged level of 8.

Privileged EXEC Mode at Operator Level

Users logged into the Switch in privileged EXEC mode at this level can change both local and global terminal settings, monitor, and perform system administration tasks like clearing configuration settings (except for security related information such as user accounts, SNMP account settings etc.) The method to enter privileged EXEC mode at operator level is to login to the Switch with a user account that has a privilege level of 12.

Privileged EXEC Mode at Administrator Level

This command mode has a privilege level of 15. Users logged in with this command mode can monitor all system information and change any system configuration settings mentioned in this Configuration Guide. The method to enter privileged EXEC mode at administrator level is to login to the Switch with a user account that has a privilege level of 15.

Global Configuration Mode

The primary purpose of global configuration mode is to apply global settings on the entire Switch. Global configuration mode can be accessed at advanced user, power user, operator or administrator level user accounts. However, security related settings are not accessible at advanced user, power user or operator user accounts. In addition to applying global settings on the entire Switch, the user can also access other sub-configuration modes. In order to access the global configuration mode, the user must be logged in with the corresponding account level and use the configure terminal command in privileged EXEC mode.

In the following example, the user is logged in as an Administrator in privileged EXEC mode and uses the configure terminal command to access global configuration mode:

DXS-3600#configure terminal

DXS-3600(config)#

The exit command is used to exit global configuration mode and return to privileged EXEC mode.

DXS-3600(config)#exit

DXS-3600#

The procedures to enter the different sub-configuration modes can be found in the related chapters in this

Configuration Guide. The command modes are used to configure the individual functions.

v

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

Interface Configuration Mode

Interface configuration mode is used to configure the parameters for an interface or a range of interfaces. An interface can be a physical port, VLAN, or other virtual interface. Thus, interface configuration mode is distinguished further according to the type of interface. The command prompt for each type of interface is slightly different.

VLAN Interface Configuration Mode

VLAN interface configuration mode is one of the available interface modes and is used to configure the parameters of a VLAN interface.

To access VLAN interface configuration mode, use the following command in global configuration mode:

DXS-3600(config)#interface vlan 1

DXS-3600(config-if)# vi

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

Table of Contents

Basic CLI Commands................................................................................................................................................ 1

802.1X Commands.................................................................................................................................................... 6

Authentication, Authorization, and Accounting (AAA) Commands .......................................................................... 17

Access Control List (ACL) Commands .................................................................................................................... 34

Address Resolution Protocol (ARP) Commands ..................................................................................................... 57

Alternate Store and Forward (ASF) Commands...................................................................................................... 63

Border Gateway Protocol (BGP) Commands .......................................................................................................... 65

Compound Authentication Commands.................................................................................................................. 152

Configuration Commands...................................................................................................................................... 155

Counter Commands .............................................................................................................................................. 166

CPU Commands.................................................................................................................................................... 169

Debug Commands................................................................................................................................................. 170

DHCP Relay Commands....................................................................................................................................... 178

DHCP Server Commands ..................................................................................................................................... 184

D-Link License Management System Commands ................................................................................................ 196

Domain Name System (DNS) Commands ............................................................................................................ 198

DoS Attack Prevention Commands ....................................................................................................................... 201

Distance Vector Multicast Routing Protocol (DVMRP) Commands....................................................................... 204

Filter Database (FDB) Commands ........................................................................................................................ 209

File System Commands ........................................................................................................................................ 217

GARP VLAN Registration Protocol (GVRP) Commands....................................................................................... 223

Internet Group Management Protocol (IGMP) Commands ................................................................................... 229

IGMP Snooping Commands.................................................................................................................................. 238

Interface Commands ............................................................................................................................................. 253

IP Access List Commands..................................................................................................................................... 255

IP Address Commands.......................................................................................................................................... 258

IP Prefix List Commands ....................................................................................................................................... 261

IP Multicast (IPMC) Commands ............................................................................................................................ 265

LINE Commands ................................................................................................................................................... 272

Link Aggregation Commands ................................................................................................................................ 275

Link Layer Discovery Protocol (LLDP) Commands ............................................................................................... 281

LLDP-MED Commands ......................................................................................................................................... 299

Memory Commands .............................................................................................................................................. 304

Mirror Commands.................................................................................................................................................. 305

Multicast Filter Mode Commands .......................................................................................................................... 308

Network Connectivity Test Commands ................................................................................................................. 310

Open Shortest Path First (OSPF) Version 2 Commands ...................................................................................... 312

Password Recovery Commands ........................................................................................................................... 348

Peripheral Commands........................................................................................................................................... 351

Protocol Independent Multicast (PIM) Commands ................................................................................................ 353

Port Commands..................................................................................................................................................... 371

Port Security Commands....................................................................................................................................... 377

Protocol Independent Commands ......................................................................................................................... 385

Quality of Service (QoS) Commands .................................................................................................................... 394

RADIUS Commands.............................................................................................................................................. 413

Routing Information Protocol (RIP) Commands .................................................................................................... 418

Remote Network MONitoring (RMON) Commands............................................................................................... 430

Route Map Commands.......................................................................................................................................... 436

Simple Network Management Protocol (SNMP) Commands ................................................................................ 448

Simple Network Time Protocol (SNTP) and Clock Commands............................................................................. 460

Secure Shell (SSH) Commands ............................................................................................................................ 466

Spanning Tree Protocol (STP) Commands ........................................................................................................... 470

1

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

Storm Control Commands ..................................................................................................................................... 487

Switch Management Commands........................................................................................................................... 492

Syslog Commands ................................................................................................................................................ 498

TACACS+ Commands .......................................................................................................................................... 505

Telnet Commands ................................................................................................................................................. 509

Time Range Commands........................................................................................................................................ 510

Traffic Segmentation Commands .......................................................................................................................... 512

Upgrade and Maintenance Commands................................................................................................................. 514

Virtual LAN (VLAN) Commands ............................................................................................................................ 516

VLAN Mapping Commands ................................................................................................................................... 529

VLAN Tunnel Commands...................................................................................................................................... 533

Virtual Router Redundancy Protocol (VRRP) Commands .................................................................................... 540

Weighted Random Early Detection (WRED) Commands...................................................................................... 550

Appendix A - Password Recovery Procedure ....................................................................................................... 555

Appendix B - System Log Entries.......................................................................................................................... 556

Appendix C - Trap Entries ..................................................................................................................................... 574

Appendix D - List of Commands............................................................................................................................ 576

2

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

Basic CLI Commands

1-1 help

This command is used to display a brief description of the help system. Use the help command in any command mode.

help

Parameters

None.

Default

Command Mode

None.

Exec Mode

Privileged Mode

All Configuration Modes

Command Default Level

Level: 1

Usage Guideline

This command provides a brief description of the context-sensitive help system, which functions as follow:

• To list all commands available for a particular command mode, enter a question mark “?” at the system prompt.

• To obtain a list of commands that begin with a particular character string, enter the abbreviated command entry immediately followed by a question mark “?”. Do not leave a space between the keyword and question mark. This form of help is called word help, because it lists only the keywords or arguments that begin with the abbreviation you entered.

• To list the keywords and arguments associated with a command, enter a question mark “?” in place of a keyword or argument on the command line.

Leave a space between the keyword and question mark. This form of help is called command syntax help, because it lists the keywords or arguments that apply based on the command, keywords, and arguments you have already entered.

Note: To complete a partial command name, enter the abbreviated command name followed by a <Tab> key. Example: ‘show addr<Tab>’. To enter the character “?” in the command argument, press Ctrl+V immediately followed by the character “?”.

Example

This example shows how to display a brief description of the help system. The field descriptions are self-explanatory.

DXS-3600-32S>help

Help may be requested at any point in a command by entering a question mark '?'. If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options.

Two styles of help are provided:

1. Full help is available when you are ready to enter a

command argument (e.g. 'ip ?') and describes each possible

argument.

2. Partial help is provided when an abbreviated argument is entered

and you want to know what arguments match the input

(e.g. 'ip a?'.)

Note:

1. For completing a partial command name could enter the abbreviated

command name immediately followed by a <Tab> key.

2. If wants to enter the character '?' in the command argument,

please press ctrl+v immediately followed by the character '?'.

DXS-3600-32S>

1

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

Example

DXS-3600-32S#re?

reboot rename

This example shows how to use the word ‘help’ to display all the privileged mode commands that begin with the letters “re”. The letters entered, before the question mark, are reprinted on the next command line to allow the user to continue entering the command.

DXS-3600-32S#re

Example

This example shows how to use the command syntax, ‘help’, to display the next argument of a partially completed ip access-list standard command. The characters entered, before the question mark, is reprinted on the next command line to allow the user to continue entering the command.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list standard ?

WORD Access-list name(the first character must be a letter)

<1-1999> Standard IP access-list number

DXS-3600-32S(config)#ip access-list standard

1-2 prompt

This command is used to customize the CLI prompt. Execute the prompt command in global configuration mode. To revert to the default prompt, execute the no form of this command.

prompt string

no prompt

Parameters

string

Enter the character string that will be displayed on screen as the CLI prompt here.

Default

Command Mode

The default prompt value is ‘DXS-3600-32S’.

Global Configuration Mode

Command Default Level

Level: 3

Usage Guideline

The default prompt string is the system’s name. To restore the prompt to the default value, use the ‘no prompt’ command in global configuration mode.

Example

This example shows how to configure a customized prompt string, used in the CLI.

IN this example we’ll change the prompt to the word ‘Router’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#prompt Router

Router(config)#

1-3 banner login

This command is used to configure and customized the banner that will be displayed before the username and password login prompts. Use the banner login command in global configuration mode. To disable the customized login banner, use no form of this command.

banner login c message c

no banner login

2

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

Parameters

c message

Specifies the separator of the login banner message, for example a hash sign (#).

The delimiting character is not allowed in the login banner message.

Enter the contents of the login banner, that will be displayed before the username and password login prompts, here.

Default

Command Mode

Displays the switch type and other contents defined by the system.

Global Configuration Mode

Command Default Level

Level: 3

Usage Guideline

Follow the banner login command with one or more blank spaces and a delimiting character of your choice. Enter one or more lines of text, terminating the message with the second occurrence of the delimiting character. For example with a hash sign

(#) being the delimiting character, after inputting the delimiting character, press the enter key, then the login banner contents can be typed. The delimiting character need to be inputted then press enter to complete the type.

To reset the login banner contents to default, use the ‘no banner login’ command in global configuration mode.

Note: The typed additional characters after the end delimiting character are invalid.

These characters will be discarded by the system. The delimiting character can not be used in the text of login banner.

Example

This example shows how to configure the login banner. The hash sign (#) is used as the delimiting character. The starting delimiting character, banner contents and ending delimiting character will be entered before pressing the first enter key.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#banner login #Enter Command Line Interface#

DXS-3600-32S(config)#end

DXS-3600-32S#logout

Enter Command Line Interface

User Access Verification

Username:

Example

This example shows how to configure the login banner. The hash sign (#) is used as the delimiting character.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#banner login #

LINE c banner-text c, where 'c' is a delimiting character

Enter Command Line Interface

#

DXS-3600-32S(config)#end

DXS-3600-32S#logout

Enter Command Line Interface

User Access Verification

Username:

3

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

1-4 exit

This command is used to exit any configuration mode to the next highest mode in the CLI mode hierarchy. Use the exit command in any configuration mode. If the current mode is the highest mode (Exec Mode, Privileged Mode) in the CLI mode hierarchy, execute the exit command to close the active terminal session by logging off the switch.

exit

Parameters

Default

None.

None.

Command Mode

Exec Mode

Privileged Mode

All Configuration Modes

Command Default Level

Level: 1

Usage Guideline

Use the exit command in the highest mode (Exec Mode, Privileged Mode) to exit the active session (exit from the mode process and log off from the device). If the current session is console, the account will logout, if the is another session, it will be closed.

Use the exit command in any configuration mode to the next highest mode in the CLI mode hierarchy. For example, use the exit command in global configuration mode to return to privileged mode.

Example

This example shows how to exit from the Line Configuration Mode to return to the

Global Configuration Mode and exit from the Global Configuration Mode to return to the privileged mode.

DXS-3600-32S(config-line)#exit

DXS-3600-32S(config)#exit

DXS-3600-32S#

Example

This example shows how to use the exit command, in the privileged mode, to logout of the current account.

DXS-3600-32S#exit

Switch con0 is now available

Press any key to login...

16 2000-01-22 01:20:37 INFO(6) Logout through Console (Username: admin)

DXS-3600-32S TenGigabit Ethernet Switch

Command Line Interface

Firmware: Build 1.00.018

Copyright(C) 2012 D-Link Corporation. All rights reserved.

User Access Verification

Username:

Example

DXS-3600-32S#exit

This example shows how to use the exit command, in the privileged mode, in a

Telnet session, to exit this mode and close the active session.

1-5 end

This command is used to end the current configuration mode and return to the highest mode in the CLI mode hierarchy.

Use the end command in any configuration mode.

4

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

end

Parameters

Default

None.

None.

Command Mode

Exec Mode

Privileged Mode

All Configuration Modes

Command Default Level

Level: 1

Usage Guideline

Execute this command to return back to the highest mode in the CLI mode hierarchy regardless of what configuration mode or configuration sub-mode currently located.

Note: This global command can be used in any mode, but if the current located mode is the highest mode in the CLI mode hierarchy (Exec Mode, Privileged Mode), executing this command will not have any effect. If the current located mode is any configuration mode, execute this command will return to the privileged mode.

Example

This example shows how to use the end command in the Line Configuration Mode to return to the privileged mode.

DXS-3600-32S(config-line)#end

DXS-3600-32S#

Example

DXS-3600-32S#end

DXS-3600-32S#disable

DXS-3600-32S>end

DXS-3600-32S>

This example shows how to use the end command in the privileged and EXEC mode.

5

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

802.1X Commands

2-1 dot1x default

This command is used to reset the IEEE 802.1X parameters on a specific port to their default settings.

dot1x default

Parameters

None.

Default

Command Mode

Port control mode - Auto

Port PAE type - None

Port control direction - Both

Quiet period when authentication fails - 60 seconds

Re-authentication interval when authentication succeeds - 3600 seconds

Default timeout value waiting for a response from RADIUS - 30 seconds

Default timeout value waiting for a reply from Supplicant - 30 seconds

Default transmission interval from the Authenticator to the Supplicant - 30 seconds

Default maximum number of authentication request - 2 times

Re-authentication state on the port - Disabled

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to reset all the IEEE 802.1X parameters on a specific port to their default settings.

Example

This example shows how to reset the 802.1X parameters on port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x default

DXS-3600-32S(config-if)#

2-2 dot1x port-control

This command is used to manually control the authorization state on a specific port. Use the no form of this command to reset the authorization state of the specific port to its default state (auto).

dot1x port-control {auto | force-authorized | force-unauthorized} no dot1x port-control

Parameters auto force-authorized force-unauthorized

Specifies to enable IEEE 802.1X authentication. The state (authorized or unauthorized) for a specific port is determined according to the outcome of the authentication.

Specifies to force a specific port to change to the authorized state without an authentication exchange.

Specifies to deny all access on a specific port by forcing the port to change to the unauthorized state, ignoring all authentication attempts.

Default

The default authorization state is auto.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The configuration for this command on a specific port won’t be in operation if you don’t configure the port as an IEEE 802.1X PAE authenticator by using the ‘dot1x

pae authenticator’ command.

6

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

Example

This example shows how to deny all access to port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x port-control force-unauthorized

DXS-3600-32S(config-if)#

2-3 dot1x pae authenticator

This command is used to configure a specific port as an IEEE 802.1X port access entity (PAE) authenticator. Use the no form of this command to disable IEEE 802.1X authentication on the port.

dot1x pae authenticator no dot1x pae

Parameters

Default

Command Mode

None.

The 802.1X is disabled on a port by default.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

You must also globally enable IEEE 802.1X authentication on the switch by using the

dot1x system-auth-control’ command.

Example

This example shows how to configure port 1 as an IEEE 802.1X PAE authenticator.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x pae authenticator

DXS-3600-32S(config-if)#

2-4 dot1x control-direction

This command is used to configure the direction of the traffic on a controlled port as unidirectional (in) or bidirectional

(both). Use the no form of this command to reset the control direction of a port to its default value (both).

dot1x control-direction {both | in} no dot1x control-direction

Parameters both in

Specifies to enable bidirectional control. Both incoming and outgoing traffic through an IEEE 802.1X-enabled port are prevented if the port is not in the authorized state.

Specifies to enable unidirectional control. Incoming traffic through an IEEE 802.1Xenabled port is prohibited if the port is not the authorized state.

Default

Command Mode

The default is in bidirectional mode.

Interface Configuration Mode.

Command Default Level

Level: 8

7

Usage Guideline

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

The configuration for this command on a specific port won’t be in operation if you don’t configure the port as an IEEE 802.1X PAE authenticator by using the ‘dot1x

pae authenticator’ command.

When the port is in the force-unauthorized state or in the unauthorized state after authentication, the traffic is controlled based on the setting of this command.

When the port is in the force-authorized state or becomes authorized after authentication, the traffic will be allowed in both directions.

Example

This example shows how to specify the direction of traffic through Ethernet port 1.

The direction is set as unidirectional.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x control-direction in

DXS-3600-32S(config-if)#

2-5 dot1x timeout

This command is used to configure the IEEE 802.1X timers.

dot1x timeout {quiet-period <sec 0-65535> | reauth-period <sec 1-65535> | server-timeout <sec 1-65535> |

supp-timeout <sec 1-65535> | tx-period <sec 1-65535>}

Parameters

quiet-period <sec 0-

65535>

reauth-period <sec 1-

65535>

server-timeout <sec 1-

65535>

supp-timeout <sec 1-

65535>

Number of seconds that the switch will be in the quiet state in the wake of a failed authentication process. The range is 0 to 65535

Number of seconds between re-authentication attempts. The range is 1 to 65535.

Number of seconds that the switch will wait for the request from the authentication server before timing out the server. The range is 1 to 65535.

Number of seconds that the switch will wait for the response from the supplicant before timing out the supplicant. The range is 1 to 65535.

tx-period <sec 1-65535> Number of seconds that the switch will wait for a response to an EAP-Request or

Identity frame from the supplicant before retransmitting the request. The range is 1 to 65535

Default

Command Mode

The default quiet period when authentication fails is 60 seconds (quiet-period).

The default re-authentication interval when authentication succeeds is 3600 seconds

(reauth-period).

The default timeout value waiting for a response from RADIUS is 30 seconds

(server-timeout).

The default timeout value waiting for a reply from Supplicant is 30 seconds (supptimeout).

The default transmission interval from the Authenticator to the Supplicant is 30 seconds (tx-period).

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The ‘dot1x timeout reauth-period’ command is in operation only if you have enabled re-authentication by using the ‘dot1x re-authentication interface

configuration’ command.

8

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

Example

This example shows how to configure the quiet period, reauthentication period, server timeout value, supplicant timeout value, and transmission period for Ethernet port 1 to be 20, 1000, 15, 15, and 10 seconds, respectively.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x timeout quiet-period 20

DXS-3600-32S(config-if)#dot1x timeout reauth-period 1000

DXS-3600-32S(config-if)#dot1x timeout server-timeout 15

DXS-3600-32S(config-if)#dot1x timeout supp-timeout 15

DXS-3600-32S(config-if)#dot1x timeout tx-period 10

DXS-3600-32S(config-if)#

2-6 dot1x max-req

This command is used to configure the maximum number of times that the backend authentication state machine will retransmit an Extensible Authentication Protocol (EAP) request frame to the supplicant before restarting the authentication process. Use the no form of this command to reset the maximum number of times to its default value.

dot1x max-req <int 1-10>

no dot1x max-req

Parameters

max-req <int 1-10> Number of times that the switch retransmits an EAP frame to the supplicant before restarting the authentication process. The range is 1 to 10.

Default

Command Mode

The default value is 2 times.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to set the maximum number of times that the backend authentication state machine will retransmit an Extensible Authentication Protocol

(EAP) request frame to the supplicant before restarting the authentication process.

Example

This example shows how to set the maximum number of retries allowed on port 1.

The maximum number of retries is set to 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x max-req 3

DXS-3600-32S(config-if)#

2-7 dot1x reauthentication

This command is used to enable periodic reauthentication. Use the no form of this command to return to disable periodic reuthentication.

dot1x reauthentication no dot1x reauthentication

Parameters

Default

Command Mode

None.

The periodic reauthentication on interface is disabled by default.

Interface Configuration Mode.

Command Default Level

Level: 8

9

Usage Guideline

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

You can configure the number of seconds between reauthentication attempts by using the ‘dot1x timeout reauth-period’ command.

Example

This example shows how to enable periodic reauthentication on Ethernet port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x reauthentication

DXS-3600-32S(config-if)#

2-8 dot1x re-authenticate

This command is used to reauthenticate a specific port or a specific MAC address.

dot1x re-authenticate {interface <interface-id> | mac-address <mac-address>}

Parameters

interface <interface-id>

mac-address <mac-

address>

(Optional) Specifies a port to reauthenticate. Valid interfaces are physical ports.

(Optional) Specifies a MAC address to re-authenticate. The function can be used only if the authentication mode is host-based.

Default

This command has no default value.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Under port-based mode, use the parameter interface <interface-id> to reauthenticate a specific port. Under host-based mode, use the parameter mac-

address <mac-address> to reauthenticate a specific MAC address.

Example

This example shows how to reauthenticate Ethernet port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x re-authenticate interface tenGigabitEthernet 1

DXS-3600-32S(config)#

2-9 dot1x initialize

This command is used to initialize the authenticator state machine on a specific port or associated with a specific MAC address.

dot1x initialize {interface <interface-id> | mac-address <mac-address>}

Parameters

interface <interface-id>

mac-address <mac-

address>

(Optional) Specifies a port on which the authenticator state machine will be initialized. Valid interfaces are physical ports.

(Optional) Specifies a MAC address with which the authenticator state machine associates will be initialized. The function can be used only if the authentication mode is host-based.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

10

Usage Guideline

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

Under port-based mode, use the parameter interface <interface-id> to initialize a specific port. Under host-based mode, use the parameter mac-address <mac-

address> to initialize a specific MAC address.

Example

This example shows how to initialize the authenticator state machine on Ethernet port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x initialize interface tenGigabitEthernet 1

DXS-3600-32S(config)#

2-10 dot1x system-auth-control

This command is used to globally enable IEEE 802.1X authentication on the switch. Use the no form of this command to disable IEEE 802.1X function.

dot1x system-auth-control no dot1x system-auth-control

Parameters

Default

Command Mode

None.

802.1X is disabled globally by default.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to enable 802.1X authentication globally.

Example

This example shows how to enable IEEE 802.1X authentication on the switch.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x system-auth-control

DXS-3600-32S(config)#

2-11 dot1x system-max-user

This command is used to configure the maximum number of users that can be learned via 802.1X authentication. Use the no form of this command to reset to the defaulting settings.

dot1x system-max-user <int 1-4096>

no dot1x system-max-user

Parameters

<int 1-4096>

Specifies the maximum number of users.

Default

Command Mode

By default, the maximum number of users that can be learned via 802.1X authentication is 4096.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The setting is a global limitation on the maximum number of users that can be learned via 802.1X authentication. In addition to the global limitation, the maximum number of users per port is also limited.

11

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

Example

This example shows how to configure the maximum number of users, that is allowed to be learned via the 802.1X authentication. The maximum number of users allowed is 128.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x system-max-user 128

DXS-3600-32S(config)#

2-12 dot1x port-max-user

This command is used to configure the maximum number of users that can be learned via 802.1X authentication on a specific port. Use the no form of this command to reset to the defaulting settings.

dot1x port-max-user <int 1-4096>

no dot1x port-max-user

Parameters

<int 1-4096>

Specifies the maximum number of users on a port.

Default

By default, the maximum number of users that can be learned via 802.1X authentication on a port is 16.

Interface Configuration Mode.

Command Mode

Command Default Level

Level: 8

Usage Guideline

The setting is an interface limitation on the maximum number of users that can be learned via 802.1X authentication. In addition to the interface limitation, the global maximum number of users is also limited.

Example

This example shows how to configure the maximum numbers of users allowed on port 1. The maximum number of users allowed is 32.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#dot1x port-max-user 32

DXS-3600-32S(config-if)#

2-13 dot1x system-fwd-pdu

This command is used to globally control the forwarding of EAPoL PDUs. Use the no form of this command to reset to the defaulting settings.

dot1x system-fwd-pdu no dot1x system-fwd-pdu

Parameters

Default

Command Mode

None.

802.1X can not forward EAPoL PDUs by default.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When 802.1X functionality is disabled globally or for a port, and if 802.1X is set to forward EAPoL PDUs both globally and for the port, a received EAPOL packet on the port will be flooded in the same VLAN to those ports which have 802.1X forwarding EAPoL PDUs enabled and 802.1X is disabled (globally or just for the port). 802.1X can not forward EAPoL PDUs by default.

12

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

Example

This example shows how to enable the forwarding of EAPoL PDUs, globally, on the switch.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x system-fwd-pdu

DXS-3600-32S(config)#

2-14 dot1x port-fwd-pdu

This command used to control the forwarding of EAPoL PDUs on specific ports. Use the no form of this command to reset to the defaulting settings.

dot1x port-fwd-pdu no dot1x port-fwd-pdu

Parameters

Default

Command Mode

None.

802.1X can not forward EAPoL PDUs on all ports by default.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This is a per-port setting to control the forwarding of EAPOL PDUs. When 802.1X functionality is disabled globally or for a port, and if 802.1X is set to forward EAPoL

PDUs both globally and for the port, a received EAPOL packet on the port will be flooded in the same VLAN to those ports which have 802.1X forwarding EAPoL

PDUs and 802.1X is disabled (globally or just for the port). 802.1X can not forward

EAPoL PDUs on all ports by default.

Example

This example shows how to enable the forwarding of EAPoL PDUs on port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#dot1x system-fwd-pdu

DXS-3600-32S(config)#end

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no dot1x pae

DXS-3600-32S(config-if)#dot1x port-fwd-pdu

DXS-3600-32S(config-if)#

2-15 show dot1x

This command is used to display the IEEE 802.1X global configuration, interface configuration, authentication state, statistics, diagnostics, and session statistics.

show dot1x [[interface INTERFACE-ID] {auth-configuration | auth-state | statistics | diagnostics | session-

statistics}]

Parameters

interface INTERFACE-ID (Optional) Specifies a port to display authentication state, configuration, statistics, diagnostics, or session statistics.

auth-configuration auth-state

Displays the IEEE 802.1X interface configuration.

Displays the IEEE 802.1X authentication state.

statistics diagnostics session-statistics

Displays the IEEE 802.1X information about the authenticator statistics

Displays the IEEE 802.1X information about the authenticator diagnostics.

Displays the IEEE 802.1X information about the authenticator session statistics.

13

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

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command display the IEEE 802.1X global configuration, interface configuration, authentication state, statistics, diagnostics, and session statistics.

When no interface is specified, information about all interfaces will be displayed.

Example

DXS-3600-32S#show dot1x

This example shows how to display the 802.1X global configuration.

802.1X : Disabled

Forward EAPOL PDU : Disabled

Max User : 4096

DXS-3600-32S#

Example

This example shows how to display the 802.1X configuration for the interface TGi/1.

DXS-3600-32S#show dot1x interface tenGigabitEthernet 1 auth-configuration

Interface : TGi/1

Capability : None

AdminCrlDir : Both

OperCrlDir : Both

Port Control : Auto

QuietPeriod : 60 sec

TxPeriod : 30 sec

SuppTimeout : 30 sec

ServerTimeout : 30 sec

MaxReq : 2 times

ReAuthPeriod : 3600 sec

ReAuthenticate : Disabled

Forward EAPOL PDU On Port : Disabled

Max User On Port : 16

DXS-3600-32S#

Example

This example shows how to display the 802.1X authentication state.

DXS-3600-32S#show dot1x auth-state

Status: A - Authorized; U - Unauthorized; (P): Port-Based 802.1X;Pri:Priority

Interface MAC Address Auth PAE State Backend State Status VID Pri

VID

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

TGi/1 00-00-00-00-00-01 10 Authenticated Idle A 4004 3

TGi/1 00-00-00-00-00-02 10 Authenticated Idle A 1234 -

TGi/1 00-00-00-00-00-04 30 Authenticating Response U - -

TGi/2 - (P) - Authenticating Request U - -

TGi/3 - (P) - Connecting Idle U - -

TGi/14 - (P) - Held Fail U - -

Total Authenticating Hosts :2

Total Authenticated Hosts :2

DXS-3600-32S#

14

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

Example

This example shows how to display the 802.1X statistics for the interface TGi/1.

DXS-3600-32S#show dot1x interface tenGigabitEthernet 1 statistics

MAC Address : 00-00-00-00-00-02

Interface : TGi/1

EapolFramesRx 0

EapolFramesTx 6

EapolStartFramesRx 0

EapolReqIdFramesTx 6

EapolLogoffFramesRx 0

EapolReqFramesTx 0

EapolRespIdFramesRx 0

EapolRespFramesRx 0

InvalidEapolFramesRx 0

EapLengthErrorFramesRx 0

LastEapolFrameVersion 0

LastEapolFrameSource 00-00-00-00-00-03

DXS-3600-32S#

Example

This example shows how to display the 802.1X diagnostics for the interface TGi/1.

DXS-3600-32S#show dot1x interface tenGigabitEthernet 1 diagnostics

MAC Address : 00-00-00-00-00-02

Interface : TGi/1

EntersConnecting 20

EapLogoffsWhileConnecting 0

EntersAuthenticating 0

SuccessWhileAuthenticating 0

TimeoutsWhileAuthenticating 0

FailWhileAuthenticating 0

ReauthsWhileAuthenticating 0

EapStartsWhileAuthenticating 0

EapLogoffWhileAuthenticating 0

ReauthsWhileAuthenticated 0

EapStartsWhileAuthenticated 0

EapLogoffWhileAuthenticated 0

BackendResponses 0

BackendAccessChallenges 0

BackendOtherRequestsToSupplicant 0

BackendNonNakResponsesFromSupplicant 0

BackendAuthSuccesses 0

BackendAuthFails 0

DXS-3600-32S#

15

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

Example

This example shows how to display the 802.1X session statistics for the interface

TGi/1.

DXS-3600-32S#show dot1x interface tenGigabitEthernet 1 session

MAC Address : 00-00-00-00-00-02

Interface : TGi/1

SessionOctetsRx 0

SessionOctetsTx 0

SessionFramesRx 0

SessionFramesTx 0

SessionId ether1_1-1

SessionAuthenticMethod Remote Authentication Server

SessionTime 3

SessionTerminateCause NotTerminatedYet

SessionUserName user_test

DXS-3600-32S#

16

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

Authentication, Authorization, and Accounting (AAA)

Commands

3-1 aaa

This command is used to enable the Authentication, Authorization, and Accounting (AAA) security service. The no form of this command is used to disable the AAA security service.

aaa no aaa

Parameters

Default

Command Mode

None.

By default, this feature is disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to enable AAA. If AAA is not enabled, none of the AAA commands can be configured.

Example

This example shows how to enable the AAA security service.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa

DXS-3600-32S(config)#

7 2011-11-14 11:55:14 INFO(6) Authentication Policy is enabled (Module: AAA)

DXS-3600-32S(config)#

3-2 aaa authentication login

This command is used to enable AAA login authentication and configure the login authentication method list. The no form of this command is used to delete the authentication method list.

aaa authentication login {default | list-name} method1 [method2...]

no aaa authentication login {default | list-name}

Parameters default

list-name method

When this parameter is used, the following defined authentication method list is used as the default method for Login authentication.

Name of the user authentication method list. After the user-defined authentication method list created, you can use login authentication line configuration command to apply the login authentication method list to the specified terminal lines.

Syntax "{local | none | group {radius | tacacs+ | group_name}}".

Up to four methods supported:

local - Use the local user name database for authentication.

none - By pass authentication.

group - Can be followed by radius or tacas+ or a group_name

group radius” means use all RADIUS servers group

group tacacs+" means use all TACACS+ server group.

group group_name" is the specific group created via aaa group server global configuration command.

Default

Command Mode

None. On the console, login will succeed without any authentication checks if the login authentication method list is not set.

Global Configuration Mode.

Command Default Level

Level: 15

17

Usage Guideline

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

If the AAA login authentication security service is enabled on the device, users must use AAA for login authentication negotiation. You must use aaa authentication login to configure a default or optional method list for login authentication.

The next method can be used for authentication only when the current method does not work.

You need to apply the configured login authentication method to the terminal line which needs login authentication. Otherwise, the configured login authentication method is invalid.

Example

This example shows how to define an AAA login authentication method list, named

‘list-1’. In the authentication method list, the RADIUS security server is used first for authentication. If the RADIUS security server does not respond, the local user database is used for authentication. After the login authentication method list has been created, you can use the Login Authentication Line Configuration command to apply this method list to the console, SSH, or other terminals.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authentication login list-1 group radius local

DXS-3600-32S(config)#

3-3 aaa authentication enable

This command is used to enable AAA enable authentication and configure the enable authentication method list. The no form of this command is used to delete the user authentication method list.

aaa authentication enable default method1 [method2...]

no aaa authentication enable default

Parameters default

method

When this parameter is used, the following defined authentication method list is used as the default method for enable authentication.

Syntax "{enable | none | group {radius | tacacs+ | group_name}}".

Up to four methods supported:

enable - Uses the enable password for authentication.

none - By pass authentication.

group - Can be followed by radius or tacas+ or a group_name

"group radius" means use all RADIUS servers group

"group tacacs+" means use all TACACS+ server group.

"group group_name" is the specific group created via the ‘aaa group server

global’ configuration command.

Default

None. On the console, the enable password is used if it exists. If no password is set, the process will succeed anyway.

Global Configuration Mode.

Command Mode

Command Default Level

Level: 15

Usage Guideline

If the AAA enable authentication service is enabled on the device, users must use

AAA for enable authentication negotiation. You must use aaa authentication enable to configure a default or optional method list for enable authentication. The next method can be used for authentication only when the current method does not work.

The enable authentication function automatically takes effect after configuring the enable authentication method list.

18

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

Example

This example shows how to define an AAA enable authentication method list. In the authentication method list, the RADIUS security server is used first for authentication. If the RADIUS security server does not respond, the local user database is used for authentication.

After enabling the authentication method list defined, AAA security services will apply authentication to the user by enabling the privilege password.

DXS-3600-32S(config)#aaa

DXS-3600-32S(config)#aaa authentication enable default group radius local

DXS-3600-32S(config)#

3-4 login authentication

This command is used to apply the login authentication method list to the specified terminal lines. The no form of this command is used to remove the application of login authentication method list.

login authentication {default | list-name}

no login authentication

Parameters default

list-name

Apply the default Login authentication method list to the terminal line.

Apply the defined Login authentication method list to the terminal line.

Default

Uses the default set with the ‘aaa authentication login’ command.

Command Mode

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Once the default login authentication method list has been configured, it will be applied to all the terminals automatically. If non-default login authentication method list has been applied to the terminal, it will replace the default one. If you attempt to apply the undefined method list, it will prompt a warning message that the login authentication in this line is ineffective till it is defined.

Example

This example shows how to define the AAA login authentication method list, named

‘list-1’. In the authentication method list, the local user database is used first for authentication. After that, this method list is applied to the console. After applying the login method list, called ‘list-1’, to the console, a user login from the console will be authentication by the AAA security servers.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authentication login list-1 local

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#login authentication list-1

DXS-3600-32S(config-line)#

3-5 aaa authorization exec

This command is used to authorize the users logged in the NAS CLI and assign the authority level. The no form of this command is used to disable the aaa authorization exec function.

aaa authorization exec {default | list-name} method1 [method2...]

no aaa authorization exec {default | list-name}

19

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

Parameters default

list-name method

When this parameter is used, the following defined method list is used as the default method for Exec authorization.

Name of the user authorization method list. After the user-defined authorization method list created, you can use authorization exec line configuration command to apply the authorization method list to the specified terminal lines.

Syntax "{local | none | group {radius | tacacs+ | group_name}}".

Up to four methods supported:

local - Use the local user name database for authorization.

none - Do not perform authorization.

group - Can be followed by radius or tacas+ or a group_name

"group radius" means use all RADIUS servers group

"group tacacs+" means use all TACACS+ server group.

"group group_name" is the specific group created via aaa group server global configuration command.

Default

Command Mode

The default value is disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

It supports authorization of users logged in the NAS CLI and assignment of CLI authority level (0-15). The aaa authorization exec function is effective on condition that Login authentication function has been enabled. It can not enter the CLI if it fails to enable the aaa authorization exec. You must apply the exec authorization method to the terminal line; otherwise the configured method is ineffective.

Example

This example shows how to use the RADIUS server to authorize EXEC. After the authorization method list, called ‘list-1’ has been created, you can use the

Authorization EXEC Line Configuration command to apply this method list to the console, SSH, or other terminals.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authorization exec list-1 group radius

DXS-3600-32S(config)#

3-6 aaa authorization console

This command is used to enable authorization function for users who has logged in the console. The no form of this command is used to disable the authorization function.

aaa authorization console no aaa authorization console

Parameters

Default

None.

The default option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

It supports to identify the users logged in from the console and from other terminals, configure whether to authorize the users logged in from the console or not. If the command authorization function is disabled on the console, the authorization method list applied to the console line is ineffective.

20

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

Example

This example shows how to enable the AAA authorization console function. The authorization method list, applied to the console line, via the Authorization EXEC

Line Configuration command, will take effect.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authorization console

DXS-3600-32S(config)#

3-7 authorization exec

This command is used to authorize the users logged in the NAS CLI and assign the authority level. The no form of this command is used to disable the aaa authorization exec function.

authorization exec {default | list-name}

no authorization exec

Parameters default

list-name

Specifies to use the default method of Exec authorization.

Specifies to apply a defined method list of Exec authorization.

Default

The default value is disabled.

Command Mode

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Once the default exec authorization method list has been configured, it is applied to all terminals automatically. Once the non-default command authorization method list has been configured, it is applied to the line instead of the default method list. If you attempt to apply an undefined method list, a warning message will prompt that the exec authorization in this line is ineffective till the authorization method list is defined.

Example

This example shows how to configure the EXEC authorization method list, with the name of ‘list-1’, that uses the RADIUS server. If the security server does not respond, it will not perform authorization. After the configuration, the authorization command is applied to the console.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authentication login login-1 group tacacs+ local

DXS-3600-32S(config)#aaa authorization exec list-1 group radius none

DXS-3600-32S(config)#aaa authorization console

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#authorization exec list-1

DXS-3600-32S(config-line)#login authentication login-1

DXS-3600-32S(config-line)#exit

DXS-3600-32S(config)#

3-8 aaa accounting exec

This command is used to account users in order to count the manage user activities. The no form of this command is used to disable the accounting function.

aaa accounting exec {default | list-name} start-stop method1 [method2...]

no aaa accounting exec {default | list-name}

21

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

Parameters default

list-name method

When this parameter is used, the following defined method list is used as the default method for Exec accounting.

Name of the Exec accounting method list. After the user-defined accounting method list created, you can use accounting exec line configuration command to apply the accounting method list to the specified terminal lines.

Syntax "{none | group {radius | group_name}}".

Up to four methods supported:

none - Do not perform accounting.

group - Can be followed by radius or a group_name

"group radius" means use all RADIUS servers group

"group group_name" is the specific group created via aaa group server global configuration command.

Default

Command Mode

The default option is disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

It enables the exec accounting function after enabling the login authentication.

After enabling the accounting function, it sends the account start information to the security server when the users log in the NAS CLI, and sends the account stop information to the security server when the users log out. If it does not send the account start information to the security server when a user logs in, it does not send the account stop information to the security server when a user logs out, either.

The configured exec accounting method must be applied to the terminal line that needs accounting command; otherwise it is ineffective.

Example

This example shows how to perform accounting, of a managed user’s activities, using RADIUS, and sends the accounting messages at the start and the end time of access. After the ‘list-1’ accounting method list has been created, you can use the

Accounting EXEC Line Configuration command to apply this method list to the console, SSH, or to other terminals.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa accounting exec list-1 start-stop group radius

DXS-3600-32S(config)#

3-9 accounting exec

This command is used to apply the exec accounting method list to the specified terminal lines in the line configuration mode. The no form of this command is used to disable the exec accounting function.

accounting exec {default | list-name}

no accounting exec

Parameters default

list-name

Specifies to use the default method of Exec accounting.

Specifies to use a defined Exec accounting method list.

Default

Command Mode

By default, this feature is disabled.

Line Configuration Mode.

Command Default Level

Level: 15

22

Usage Guideline

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

Once the default exec accounting method list has been configured, it is applied to all terminals automatically. Once the non-default exec accounting method list has been configured, it is applied to the line instead of the default method list. If you attempt to apply an undefined method list, a warning message will prompt that the exec accounting in this line is ineffective till the exec accounting command method list is defined.

Example

This example shows how to configure the EXEC accounting method list, with the name of ‘list-1’, that uses the RADIUS server. If the security server does not response, it will not perform accounting. After the configuration, EXEC accounting is applied to the console.

After applying the login method list, ‘list-1’, to the console, when a user logs in from the console, it sends the account start information to the security server when the user has logged into the NAS’s CLI. It also sends the account stop information to the security server when a user logs out.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa accounting exec list-1 start-stop group radius

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#accounting exec list-1

DXS-3600-32S(config-line)#

3-10 ip http authentication aaa

This command is used to specify an AAA authentication method for HTTP server users, use the ip http authentication aaa command in global configuration mode. To disable a configured authentication method, use the no form of this command.

ip http authentication aaa {exec-authorization {default | list-name} | login-authentication {default | list-name}}

no ip http authentication aaa {exec-authorization | login-authentication}

Parameters exec-authorization login-authentication default

listname

Specifies to configure the method list for exec authorization.

Specifies to configure the method list for login authentication.

Specifies to configure the default method list.

Specifies to configure the name of the method list.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The ‘ip http authentication aaa’ command specifies the AAA authentication method to be used for login when a client connects to the HTTP server. The local, RADISU and TACACS+ methods should be specified using the ‘aaa authentication login’ command.

23

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

Example

This example shows how to specifies that the method, configured for AAA, should be used for authentication for HTTP server users. The AAA login method is configured as the “local” username/password authentication method. This example specifies that the local username database will be used for login authentication and the EXEC authorization of HTTP sessions.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authentication login list-1 local

DXS-3600-32S(config)#aaa authorization exec list-1 local

DXS-3600-32S(config)#ip http authentication aaa login-authentication list-1

DXS-3600-32S(config)#ip http authentication aaa exec-authorization list-1

DXS-3600-32S(config)#

3-11 aaa local authentication attempts

This command is used to configure login attempt times.

aaa local authentication attempts max-attempts

no aaa local authentication attempts

Parameters

Default

The range is between 1 and 255.

The default value is 3.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to configure login attempt times.

Example

This example shows how to configure the number of login attempt times to 6.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa local authentication attempts 6

DXS-3600-32S(config)#

3-12 aaa local authentication lockout-time

This command is used to configure the length of the lockout-time when the login user has attempted for more than the limited times.

aaa local authentication lockout-time lockout-time

no aaa local authentication lockout-time

Parameters

Default

Command Mode

The range is between 1 and 255.

The default value is 60 seconds.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to configure the length of lockout-time when the login user has attempted for more than the limited times.

Example

This example shows how to configure the length of the ‘lockout-time’ attribute, to 5 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa local authentication lockout-time 5

DXS-3600-32S(config)#

24

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

3-13 aaa authentication network

This command is used to enable AAA network access authentication and configure the network access user authentication method list. The no form of this command is used to delete the network access user authentication method list.

aaa authentication network default method1 [method2...]

no aaa authentication network default

Parameters default

method

When this parameter is used, the following defined network access user authentication method list is used as the default method for user authentication.

Syntax "{local | none | group radius}".

Up to four methods supported:

local - Specifies to use the local user name database for authentication.

none - Specifies to bypass authentication.

group - Specifies to be followed by radius.

"group radius" means to use all RADIUS servers group.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

If the AAA network access security service (such as 802.1X) is enabled on the device, users must use AAA for network access user authentication negotiation. You must use the ‘aaa authentication network’ command to configure a default or optional method list for network access user authentication. The next method can be used for authentication only when the current method does not work.

Example

This example shows how to define the AAA authentication method list for the network access security service. In the authentication method list, the RADIUS security server is first used for authentication. If the RADIUS security server does not respond, the local user database is used for authentication.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authentication network default group radius local

DXS-3600-32S(config)#

3-14 aaa authorization network

This command is used to authorize the service requests (including protocols like 802.1X) from the users that access the network. The no form of this command is used to disable the authorization function.

aaa authorization network default method1 [method2...]

no aaa authorization network default

Parameters default

method

When this parameter is used, the following defined method list is used as the default method for Network authorization.

Syntax "{local | none | group radius}".

Up to four methods supported:

local - Specifies to use the local user name database for authorization.

none - Specifies not tp perform authorization.

group - Specifies to be followed by radius.

"group radius" means to use all RADIUS servers group.

25

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

Default

Command Mode

By default, this feature is disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

It supports authorization of all the service requests related to the network, such as

802.1X. If authorization is configured, all the authenticated users or interfaces will be authorized automatically. Three different authorization methods can be specified. If the access user authenticated method is specified in authorization method list, the authorization attributes will be applied, otherwise these attributes will be ignored.

Authenticated by method group radius group radius local local none

Authorization configure method Accept authorization attributes group radius local / none group radius / none local group radius / local / none

Yes

No

No

No

No

The RADIUS server authorizes authenticated users by returning a series of attributes. Therefore, RADIUS authorization is based on RADIUS authentication.

RADIUS authorization is performed only when the user passes the RADIUS authentication.

Example

This example shows how to use the RADIUS server to authorize network services.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa authorization network default group radius

DXS-3600-32S(config)#

3-15 aaa accounting network

This command is used to account users in order to count the network access fees. The no form of this command is used to disable the accounting function.

aaa accounting network default start-stop group radius no aaa accounting network default

Parameters network start-stop group radius

Specifies to perform accounting of the network related service requests, including dot1x, etc.

Send accounting messages at both the start time and the end time of access. Users are allowed to access the network, no matter whether the start accounting message enables the accounting successfully.

Specifies to use the server group for accounting.

Specifies to use the RADIUS group for accounting.

Default

Command Mode

By default, this feature is disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

It performs accounting of user activities by sending record attributes to the security server. Use the keyword start-stop to set the user accounting option.

26

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

Example

This example shows how to perform the accounting of a network service request, from users, using RADIUS, and sends accounting messages at the start and the end time of access.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa accounting network default start-stop group radius

DXS-3600-32S(config)#

3-16 aaa group server

This command is used to configure the AAA server group. The no form of this command is used to delete the server group.

aaa group server {radius | tacacs+} name

no aaa group server {radius | tacacs+} name

Parameters

name

Enter the name of the server group. It cannot be the keywords "radius" and

"tacacs+".

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to configure the AAA server group. Currently, the RADIUS and TACACS+ server groups are supported.

Example

This example shows how to configure an AAA server group named ‘group-1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa group server radius group-1

DXS-3600-32S(config-sg-radius)#

3-17 server

This command is used to add a server to the AAA server group. The no form is used to delete a server.

server ip-addr

no server ip-addr

Parameters

ip-addr

Enter the IP address of the server. The host can be created via radius-server host or tacacs-server host global configuration command.

Default

Command Mode

By default, no server is configured.

Server Group Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Add a server to the specified server group. The default value is used if no port is specified.

27

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

Example

This example shows how to add a server IP address to the server group called

‘group-1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aaa group server radius group-1

DXS-3600-32S(config-sg-radius)#server 192.168.4.12

Warning: Server 192.168.4.12 is not defended

DXS-3600-32S(config-sg-radius)#

3-18 show aaa

This command is used to display AAA security service global configuration, use the ‘show aaa’ command in EXEC mode.

show aaa

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show AAA security service global configuration.

Example

This example shows how to display the global configuration of the AAA security service.

DXS-3600-32S#show aaa

AAA State: Enabled

Console Authorization State: Disabled

Authentication Attempts: 3

Authentication Lockout-Time: 60 second(s)

DXS-3600-32S#

Display Parameters Description

AAA State

AAA security service global state.

Console Authorization State

Console authorization state for users who has logged in the console.

Authentication attempts

Login attempt times.

Authentication lockout-time

Lockout-time when the login user has attempted for more than the limited times.

3-19 show aaa server group

This command is used to display AAA server group configuration, use the ‘show aaa server group’ command in

EXEC mode.

show aaa server group

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show AAA server group configuration.

28

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

Example

This example shows how to display the AAA server group configuration.

DXS-3600-32S#show aaa server group

Group Name Type IP Address

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

Authen_R RADIUS 10.10.10.1

10.10.10.2

Author_T TACACS 10.10.10.20

10.10.10.25

Authen_1X RADIUS 10.90.90.100

3 total server group(s)

DXS-3600-32S#

Display Parameters

Group Name

Type

IP Address

Description

Name of AAA serve group.

Type of Server group, RADIUS or TACACS+.

RADIUS server IP address.

3-20 show aaa authentication

This command is used to display the AAA authentication method list. Use the show aaa authentication command in

EXEC mode.

show aaa authentication {login | enable | network}

Parameters login enable network

Display the login authentication method list.

Display the enable authentication method list.

Display the network authentication method list.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show AAA authentication method list.

Example

This example shows how to display the AAA login authentication method list.

DXS-3600-32S#show aaa authentication login

Method List Priority Method Name

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

default 1 RADIUS

2 Authen_R

3 Local

auth_test 1 RADIUS

2 Authen_R

3 Local

DXS-3600-32S#

Display Parameters

Method List

Description

Authentication method list name.

29

Display Parameters

Priority

Method Name

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

Description

Priority of authentication method.

Name of authentication method.

3-21 show aaa authorization

This command is used to display the AAA authorization method list. Use the show aaa authorization command in

EXEC mode.

show aaa authorization {exec | network}

Parameters exec network

Display the Exec authorization method list.

Display the Network authorization method list.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the AAA authorization method list.

Example

This example shows how to display the AAA EXEC authorization method list.

DXS-3600-32S#show aaa authorization exec

Method List Priority Method Name

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

default 1 RADIUS

2 Author_R

3 Local

author 1 RADIUS

2 Author_R

3 Local

DXS-3600-32S#

Display Parameters

Method List

Priority

Method Name

Description

Authorization method list name.

Priority of authorization method.

Name of authorization method.

3-22 show aaa accounting

This command is used to display the AAA accounting method list. Use the show aaa accounting command in EXEC mode.

show aaa accounting {exec | network}

Parameters exec network

Display the Exec accounting method list.

Display the Network accounting method list.

30

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

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the AAA accounting method list.

Example

This example shows how to display the AAA EXEC accounting method list.

DXS-3600-32S#show aaa accounting exec

Method List Priority Method Name

-----------------------------------default 1 RADIUS acct_ssh 1 Acct_R

DXS-3600-32S#

Display Parameters

Method List

Priority

Method Name

Description

Accounting method list name.

Priority of accounting method.

Name of accounting method.

3-23 show aaa application

This command is used to display the AAA application information. Use the show aaa application command in EXEC mode.

show aaa application [{line | http | network}]

Parameters line http network

Display the Line application information.

Display the HTTP application information.

Display the Network-Access application information.

If the parameter is not specified, display all applications information.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display AAA application information.

31

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

Example

This example shows how to display AAA application LINE information.

DXS-3600-32S#show aaa application line

Console:

Login Method List: default

Enable Method List: default

Authorization Method List: default

Accounting Method List: default

Telnet:

Login Method List: login_list_1

Enable Method List: default

Authorization Method List: author_list_1

Accounting Method List:

SSH:

Login Method List: login_list_2

Enable Method List: default

Authorization Method List: default

Accounting Method List: acct_list_1

DXS-3600-32S#

Example

This example shows how to display all AAA application information.

DXS-3600-32S#show aaa application

Console:

Login Method List: default

Enable Method List: default

Authorization Method List: default

Accounting Method List: default

Telnet:

Login Method List: login_list_1

Enable Method List: default

Authorization Method List: author_list_1

Accounting Method List:

SSH:

Login Method List: login_list_2

Enable Method List: default

Authorization Method List:

Accounting Method List: acct_list_1

HTTP:

Login Method List: login_list_1

Authorization Method List: author_list_1

Network-Access:

Authentication Method List: default

Authorization Method List: default

Accounting Method List: default

DXS-3600-32S#

Display Parameters Description

Login Method List

Enable Method List

Login authentication method list for EXEC login.

Enable authentication method list for enable EXEC privilege.

Authentication Method List

Authentication method list for network-access user authentication.

Authorization Method List

Authorization method list for EXEC or network-access user.

Accounting Method List

Accounting method list for EXEC or network-access user.

32

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

33

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

Access Control List (ACL) Commands

Throughout this chapter, we'll refer to two abbreviates called:

ACL - Access Control List.

ACE - Access Control Entry

4-1 ip access-list standard

This command is used to create or modify a standard IP ACL. This command will enter into the standard IP access-list configuration mode. Use the no command to remove a standard IP access-list.

ip access-list standard {[id | name]}

no ip access-list standard {id | name}

Parameters

id name

Enter the ID of standard IP ACL here. This value must be between 1 and 1999.

The name of the standard IP access-list to be configured. The name can be up to 32 characters.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Standard IP ACL only filters the IPv4 packet.

The name must be unique among all (including MAC, IP, IPv6 or Expert) access-lists and the first character of name must be a letter.

When creating an ACL, through assigning a name, an ID will be assigned automatically. The ID assignment rule will start from the maximum ID of 1999 and decrease 1 per new ACL.

When creating an ACL through assigning an ID, a name will be assigned automatically. The name assignment rule is ‘std-ip’ + “-” + ID. If this name conflicts with the name of an existing ACL, then it will be renamed based on the following rule:

‘std-ip’ + “-” + ID +”alt”.

Example

This example shows how to create a standard ACL.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list standard Std-ip

DXS-3600-32S(config-std-nacl)#end

DXS-3600-32S#show access-list

Standard IP access list 1999 Std-ip

DXS-3600-32S#

4-2 permit | deny (ip standard access-list)

Use the permit command to add a permit entry. Use the deny command to add a deny entry. Use the no command to remove an entry.

[sn] {permit | deny} {source source-wildcard | host source | any}

no sn

34

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

Parameters

sn source source-wildcard

host source

any

(Optional) Specifies the ACE sequence number used. This number must be between

1 and 65535.

Specifies the source IP address.

Applies wildcard bits to the source.

Specifies a specific source IP address.

Means any source IP address.

Default

Command Mode

None.

Standard IP Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user does not assign it manually. The automatically assign sequence number starts from 10, and increase

10 per new entry. The start sequence number and sequence increment of the IP

ACL can be configured manually.

Example

This example shows how to create a standard IP ACL, named Std-ip. This entry will permit packets to the source network 10.20.0.0/16.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list standard Std-acl

DXS-3600-32S(config-std-nacl)#permit 10.20.0.0 255.255.0.0

DXS-3600-32S(config-std-nacl)#end

DXS-3600-32S#show access-list

Standard IP access list 1998 Std-acl

10 permit 10.20.0.0 255.255.0.0

Standard IP access list 1999 Std-ip

DXS-3600-32S#

4-3 ip access-list extended

This command is used to create or modify an extended IP ACL. This command will enter into the extended IP accesslist configuration mode. Use the no command to remove an extended IP access-list.

ip access-list extended {[id | name]}

no ip access-list extended {id | name}

Parameters

id name

Specifies the ID number of the extended IP ACL. This value must be between 2000 and 3999.

Specifies the name of the extended IP access-list to be configured. The name can be up to 32 characters.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

35

Usage Guideline

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

Extended IP ACL only filters IPv4 packets.

The name must be unique among all (including MAC, IP, IPv6 or Expert) access-lists and the first character of the name must be a letter.

When creating an ACL through assigning a name, an ID will be assigned automatically. The ID assignment rule will start from the maximum ID of 3999 and decrease 1 per new ACL.

When creating an ACL through assigning an ID, a name will be assigned automatically. The name assignment rule is ‘ext-ip’ + “-” + ID. If this name conflicts with the name of an existing ACL, then it will be renamed based on the following rule:

‘ext-ip’ + “-” + ID +”alt”.

Example

This example shows how to create an extended ACL.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list extended Ext-ip

DXS-3600-32S(config-ext-nacl)#end

DXS-3600-32S#show access-list

Standard IP access list 1998 Std-acl

10 permit 10.20.0.0 255.255.0.0

Standard IP access list 1999 Std-ip

Extended IP access list 3999 Ext-ip

DXS-3600-32S#

4-4 permit | deny (ip extended access-list)

Use the permit command to add a permit entry. Use the deny command to add a deny entry. Use the no command to remove a specific entry.

Extended IP ACL:

[sn] {permit | deny} protocol {source source-wildcard | host source | any} {destination destination-wildcard | host

destination | any} [precedence precedence] [tos tos] [fragments] [time-range time-range-name]

Extended IP ACLs of some important protocols:

[sn] {permit | deny} tcp {source source-wildcard | host source | any} [operator port] {destination destination-

wildcard | host destination | any} [operator port] [tcp-flag] [precedence precedence] [tos tos] [fragments]

[time-range time-range-name]

[sn] {permit | deny} udp {source source–wildcard | host source | any} [operator port] {destination destination-

wildcard | host destination | any} [operator port] [precedence precedence] [tos tos] [fragments] [time-range

time-range-name]

[sn] {permit | deny} icmp {source source-wildcard | host source | any} {destination destination-wildcard | host

destination | any} [{icmp-type [icmp-code] | icmp-message}] [precedence precedence] [tos tos] [fragments]

[time-range time-range-name]

no sn

Parameters

sn protocol source source-wildcard

host source

any

(Optional) Specifies the ACE sequence number used. This number must be between

1 and 65535.

Specifies the name or number of an IP protocol: 'eigrp', 'esp', 'gre', 'igmp', 'ip', 'ipinip',

'ospf', 'pcp', 'pim', 'tcp', 'udp', 'icmp' or an integer in the range 0 to 255 representing an IP protocol number. To match any Internet protocol. Additional specific parameters for ‘tcp’, ‘udp’, and ‘icmp’. The ‘ip’ means any IP Protocol.

Specifies the source IP address.

Applies wildcard bits to the source.

Specifies a specific source IP address.

Means any source or destination IP address.

36

destination destination-wildcard

host destination

operator port

tos tos

fragments

time-range time-range-

name tcp-flag icmp-type icmp-code icmp-message

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

precedence precedence

Specifies the destination IP address.

Applies wildcard bits to the destination.

Specifies a specific destination IP address.

(Optional) Possible operators include ‘eq’ (equal), ‘gt’ (greater than), ‘lt’ (less than),

‘neq’ (not equal), and ‘range’ (inclusive range). A range needs two port numbers, while other operators only need one port number.

Specifies the Layer 4 port number as a decimal number (from 0 to 65535) or the name of a Layer 4 port.

TCP ports used:

'bgp', 'chargen', 'daytime', 'discard', 'domain', 'echo', 'rexec', 'finger', 'ftp', 'ftp-data',

'gopher', 'hostname', 'ident', 'irc', 'klogin', 'kshell', 'login', 'lpd', 'nntp', 'snpp',

'pop2', 'pop3', 'smtp', 'sunrpc', 'shell', 'tacacs', 'telnet', 'time', 'uucp', 'whois',

'http'.

UDP ports used:

'biff', 'bootpc', 'bootps', 'discard', 'irc', 'domain', 'echo', 'isakmp', 'mobile-ip',

'nameserver', 'netbios-dgm', 'netbios-ns', 'netbios-ss', 'nat-t', 'ntp', 'snpp', 'rip',

'snmp', 'snmptrap', 'sunrpc', 'syslog', 'tacacs', 'talk', 'tftp', 'time', 'who', 'xdmcp'.

(Optional) Packets can be filtered by precedence level, as specified by a number from 0 to 7 or by name: routine (0), priority (1), immediate (2), flash (3), flashoverride (4), critical (5), internet (6), network (7).

(Optional) Packets can be filtered by type of service level, as specified by a number from 0 to 15 or by name: normal (0) , min-monetary-cost(1), max-reliability (2), maxthroughput (4), min-delay (8).

(Optional) Packet fragment filtering.

(Optional) Specifies the name of time-period profile associated with the access-list delineating its activation period.

(Optional) Specifies the TCP flag fields. The specified TCP header bits are: ack

(acknowledge), fin (finish), psh (push), rst (reset), syn (synchronize), or urg (urgent).

(Optional) Specifies the ICMP message type. The valid number for the message type is from 0 to 255.

(Optional) Specifies the ICMP message code. The valid number for the message code is from 0 to 255

(Optional) Specifies the ICMP message type name or the ICMP message type and code by name. Code names that can be used are 'administratively-prohibited',

'alternate-address', 'conversion-error', 'host-prohibited', 'net-prohibited', 'echo',

'echo-reply', 'pointer-indicates-error', 'host-isolated', 'host-precedence-violation',

'host-redirect', 'host-tos-redirect', 'host-tos-unreachable', 'host-unknown', 'hostunreachable', 'information-reply', 'information-request', 'mask-reply', 'mask-request',

'mobile-redirect', 'net-redirect', 'net-tos-redirect', 'net-tos-unreachable', 'netunreachable', 'net-unknown', 'bad-length', 'option-missing', 'packet-fragment',

'parameter-problem', 'port-unreachable', 'precedence-cutoff', 'protocol-unreachable',

'reassembly-timeout', 'redirect-message', 'router-advertisement', 'router-solicitation',

'source-quench', 'source-route-failed', 'time-exceeded', 'timestamp-reply',

'timestamp-request', 'traceroute', 'ttl-expired', 'unreachable'.

Default

Command Mode

None.

Extended IP Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user did not assign it manually. The automatic assign sequence number start from 10 and increases by 10 per new entry. The start sequence number and sequence increment of IP ACL can be configured manually.

37

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

Example

This example shows how to use the extended IP ACL. The purpose is to deny Telnet access from the host, with the IP address 192.168.4.12, to any host in the network

192.168.1.0 and to permit any others.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list extended Ext-ip

DXS-3600-32S(config-ext-nacl)#deny tcp host 192.168.4.12 192.168.1.0 255.255.255.0 eq telnet

DXS-3600-32S(config-ext-nacl)#permit ip any any

DXS-3600-32S(config-ext-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 Ext-ip

10 deny tcp host 192.168.4.12 192.168.1.0 255.255.255.0 eq telnet

20 permit ip any any

DXS-3600-32S#

4-5 ipv6 access-list

This command is used to create or modify an IPv6 ACL. This command will enter into the IPv6 access-list configuration mode. Use the no command to remove an IPv6 access-list.

ipv6 access-list {name}

no ipv6 access-list {name}

Parameters

name

Specifies the name of the IP access-list to be configured. The name can be up to 32 characters long.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Extended IPv6 ACL only filters the IPv6 packet. The name must be unique among all

(including MAC, IP, IPv6 or Expert) access-lists and the first character of name must be a letter.

Example

This example shows how to create an IPv6 ACL:

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ipv6 access-list ext_ipv6

DXS-3600-32S(config-ipv6-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 Ext-ip

10 deny tcp host 192.168.4.12 192.168.1.0 255.255.255.0 eq telnet

20 permit ip any any

Extended IPv6 access list ext_ipv6

DXS-3600-32S#

4-6 permit | deny (ipv6 access-list)

Use the permit command to add a permit entry. Use the deny command to add a deny entry. Use the no command to remove an entry.

Extended IPv6 ACL:

[sn] {permit | deny} protocol {source-ipv6-prefix/prefix-length | host source-ipv6-address | any} {destination-ipv6-

prefix/prefix-length | host destination-ipv6-address | any} [dscp dscp] [flow-label flow-label] [fragments] [time-

range time-range-name]

38

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

Extended IPv6 ACLs of some important protocols:

[sn] {permit | deny} tcp {source-ipv6-prefix/prefix-length | host source-ipv6-address | any} [operator port]

{destination-ipv6-prefix/prefix-length | host destination-ipv6-address | any} [operator port] [tcp-flag] [dscp dscp]

[flow-label flow-label] [fragments] [time-range time-range-name]

[sn] {permit | deny} udp {source-ipv6-prefix/prefix-length | host source-ipv6-address | any} [operator port]

{destination-ipv6-prefix/prefix-length | host destination-ipv6-address | any} [operator port] [dscp dscp] [flow-

label flow-label] [fragments] [time-range time-range-name]

[sn] {permit | deny} icmp {source-ipv6-prefix/prefix-length | host source-ipv6-address | any} {destination-ipv6-

prefix/prefix-length | host destination-ipv6-address | any} [{icmp-type [icmp-code] | icmp-message}] [dscp

dscp] [flow-label flow-label] [fragments] [time-range time-range-name]

no sn

Parameters

sn protocol source-ipv6-prefix destination-ipv6-prefix prefix-length source-ipv6-address destination-ipv6-address

any

operator port

dscp dscp

fragments

time-range time-range-

name tcp-flag icmp-type icmp-code

(Optional) Specifies the ACE sequence number used. This number must be between

1 and 65535.

Specifies the name or number of an IPv6 protocol used. Protocol names, that can be used are 'esp', 'ipv6', 'pcp', 'sctp', ‘tcp’, ‘udp’, ‘icmp’ or an integer in the range 0 to

255 representing an IP protocol number. Additional specific parameters are used for

‘tcp’, ‘udp’, and ‘icmp’. The ‘ipv6’ name means any IPv6 Protocol.

Specifies the source IPv6 network address or network type.

Specifies the destination IPv6 network address or network type.

Specifies the prefix mask length.

Specifies the source IPv6 address.

Specifies the destination IPv6 address.

Means any source or destination IPv6 address.

(Optional) Possible operators include ‘eq’ (equal), ‘gt’ (greater than), ‘lt’ (less than),

‘neq’ (not equal), and ‘range’ (inclusive range). Note that the range operator needs two port numbers, while other operators only need one port number.

Specifies the Layer 4 port number as a decimal number (from 0 to 65535) or the name of a Layer 4 port.

TCP port names used:

'bgp', 'chargen', 'daytime', 'discard', 'domain', 'echo', 'rexec', 'finger', 'ftp', 'ftp-data',

'gopher', 'hostname', 'ident', 'irc', 'klogin', 'kshell', 'login', 'lpd', 'nntp', 'snpp',

'pop2', 'pop3', 'smtp', 'sunrpc', 'shell', 'tacacs', 'telnet', 'time', 'uucp', 'whois',

'http'.

UDP port names used:

'biff', 'bootpc', 'bootps', 'discard', 'irc', 'domain', 'echo', 'isakmp', 'mobile-ip',

'nameserver', 'netbios-dgm', 'netbios-ns', 'netbios-ss', 'nat-t', 'ntp', 'snpp', 'rip',

'snmp', 'snmptrap', 'sunrpc', 'syslog', 'tacacs', 'talk', 'tftp', 'time', 'who', 'xdmcp'.

(Optional) Enter the DSCP value to match a differentiated services code point value against the traffic class value in the Traffic Class field of each IPv6 packet header.

The acceptable range is from 0 to 255.

(Optional) Specifies packet fragment filtering.

(Optional) Specifies the name of the time-period profile associated with the accesslist delineating its activation period.

(Optional) Specifies the TCP flag fields. The specified TCP header bits that can be used are ‘ack’ (acknowledge), ‘fin’ (finish), ‘psh’ (push), ‘rst’ (reset), ‘syn’

(synchronize), or ‘urg’ (urgent).

(Optional) Specifies the ICMP message type. The valid number for the message type is from 0 to 255.

(Optional) Specifies the ICMP message code. The valid number for the message code is from 0 to 255

39

icmp-message

flow-label flow-label

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

(Optional) Specifies the ICMP message type name or the ICMP message type and code by name. Names that can be used are 'beyond-scope', 'destinationunreachable', 'echo-reply', 'echo-request', 'erroneous_header', 'hop-limit', 'multicastlistener-query', 'multicast-listener-done', 'multicast-listener-report', 'nd-na', 'nd-ns',

'next-header', 'no-admin', 'no-route', 'packet-too-big', 'parameter-option', 'parameterproblem', 'port-unreachable', 'reassembly-timeout', 'redirect', 'renum-command',

'renum-result', 'renum-seq-number', 'router-advertisement', 'router-renumbering',

'router-solicitation', 'time-exceeded', 'unreachable'.

(Optional) Specifies the flow label value used. This value must be between 0 and

1048575.

Default

Command Mode

None.

IPv6 Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user did not assign it manually. Automatic assignment of sequence numbers start from 10, and increases by 10 for every new entry.

Example

This example shows how to use the IPv6 ACL. The purpose is to deny FTP access from the host, with the IPv6 address of 19:18:43::12, to any host in the network

120:16:10::/48 and to permit any others.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list extended ext_ipv6

DXS-3600-32S(config-ext-nacl)#deny tcp host 19:18:43::12 120:16:10::/48 eq ftp

DXS-3600-32S(config-ext-nacl)#permit any any

DXS-3600-32S(config-ext-nacl)#end

DXS-3600-32S#show access-lists

Extended IPv6 access list ext_ipv6

10 deny tcp host 19:18:43::12 120:16:10::/48 eq ftp

20 permit any any

DXS-3600-32S#

4-7 mac access-list

This command is used to create or modify an extended MAC ACL. This command will enter into the extended MAC access-list configuration mode. Use the no command to remove an extended MAC access-list.

mac access-list extended {[id | name]}

no mac access-list extended {id | name}

Parameters

id name

Specifies the ID number of the extended MAC ACL. This value must be between

6000 and 7999.

Specifies the name of the extended MAC ACL to be configured. The name can be up to 32 characters long.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 12

40

Usage Guideline

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

Extended MAC ACL only filters the Non-IP packet. The name must be unique among all (including MAC, IP, IPv6 or Expert) access-lists and the first character of name must be a letter.

When creating an ACL through the assignment of a name, an ID will be assigned automatically. The ID assignment rule will start from the maximum ID of 7999 and decrease by 1 for envery new ACL created.

When creating an ACL through the assignment of an ID, a name will be assigned automatically. The name assignment rule is ‘ext-mac’ + “-” + ID. If this name conflicts with the name of an existing ACL, then it will be renamed based on the following rule:

‘ext-mac’ + “-” + ID +”alt”.

Example

This example shows how to create an extended MAC ACL.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac access-list extended 6001

DXS-3600-32S(config-mac-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 ext_ipv6

10 permit ip any any

Extended MAC access list 6001 ext-mac-6001

DXS-3600-32S#

4-8 permit | deny (mac access-list)

Use the permit command to add a permit entry. Use the deny command to add a deny entry. Use the no command to remove an entry.

[sn] {permit | deny} {source-mac-address mask | host source-mac-address | any} {destination-mac-address mask

| host destination-mac-address | any} [ethernet-type] [cos out [inner in]]

no sn

Parameters

sn source-mac-address destination-mac-address mask

any

ethernet-type

cos out

inner in

(Optional) Specifies the ACE sequence number. This number must be between 1 and 65535.

Specifies the source MAC address.

Specifies the destination MAC address.

Specifies the MAC address mask.

Means any source or destination MAC address.

(Optional) Specifies the Ethernet type as a pair of hexadecimal numbers and the mask (from 0x0 to 0xFFFF) or the name of the Ethernet type. Names that can be used are 'arp', 'aarp', 'appletalk', 'decnet-iv', 'etype-6000', 'etype-8042', 'lat', 'lavcsca', 'mop-console', 'mop-dump', 'vines-echo', 'vines-ip', 'xns-idp'.

Specifies the out priority value used. This value must be between 0 and 7.

(Optional) Specifies the inner priority value used. This value must be between 0 and

7.

Default

Command Mode

None.

Extended MAC Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user did not assign it manually. Automatic assignment of sequence numbers will start from 10 and increase by 10 for every new entry created.

41

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

Example

This example shows how to use the extended MAC ACL. The purpose is to deny a host, with the MAC address of 0013.0049.8272, to send Ethernet frames of the type

‘apply’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac access-list extended 6001

DXS-3600-32S(config-mac-nacl)#25 deny host 0013.0049.8272 any aarp

DXS-3600-32S(config-mac-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 ext_ipv6

10 permit ip any any

Extended MAC access list 6001 ext-mac-6001

25 deny host 00-13-00-49-82-72 any aarp

DXS-3600-32S#

4-9 expert access-list

This command is used to create or modify an extended expert ACL. This command will enter into the extended expert access-list configuration mode. Use the no command to remove an extended expert access-list.

expert access-list extended {[id | name]}

no expert access-list extended {id | name}

Parameters

id name

Specifies the ID number of extended expert ACL. This number must be between

8000 and 9999.

Specifies the name of the extended expert ACL to be configured. The name can be up to 32 characters long.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The name must be unique among all (including MAC, IP, IPv6 or Expert) access-lists and the first character of name must be a letter.

When creating an ACL through the assignment of a name, an ID will be assigned automatically. The ID assign rule states to start from the maximum ID of 9999 and decrease 1 for every new ACL created.

When creating an ACL through the assignment of an ID, a name will be assigned automatically. The name assign rule is ‘ext-expert’ + “-” + ID. If this name conflicts with the name of an existing ACL, then it will be renamed based on the following rule:

‘ext-expert’ + “-” + ID +”alt”

Example

This example shows how to create an extended expert ACL.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#expert access-list extended exp_acl

DXS-3600-32S(config-exp-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 ext_ipv6

10 permit ip any any

Extended MAC access list 6001 ext-mac-6001

25 deny host 00-13-00-49-82-72 any aarp

Extended EXPERT access list 9999 exp_acl

DXS-3600-32S#

42

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

4-10 permit | deny (expert access-list)

Use the permit command to add a permit entry. Use the deny command to add a deny entry. Use the no command to remove an entry.

Extended expert ACL:

[sn] {permit | deny} [ethernet-type] [[cos out [inner in]] | [vlan out [inner in]]] {source source-wildcard | host

source | any} {source-mac-address mask | host source-mac-address | any} {destination destination-wildcard |

host destination | any} {destination-mac-address mask | host destination-mac-address | any} [time-range

time-range-name]

[sn] {permit | deny} protocol [vlan out [inner in]] {source source-wildcard | host source | any} {source-mac-

address mask | host source-mac-address | any} {destination destination-wildcard | host destination | any}

{destination-mac-address mask | host destination-mac-address | any} [precedence precedence] [tos tos]

[fragments] [time-range time-range-name]

Extended expert ACLs of some important protocols:

[sn] {permit | deny} tcp [vlan out [inner in]] {source source-wildcard | host source | any} {source-mac-address

mask | host source-mac-address | any} [operator port]] {destination destination-wildcard | host destination |

any} {destination-mac-address mask | host destination-mac-address | any} [operator port] [precedence

precedence] [tos tos] [fragments] [time-range time-range-name] [tcp-flag]

[sn] {permit | deny} udp [vlan out [inner in]] {source source-wildcard | host source | any} {source-mac-address

mask | host source-mac-address | any} [operator port] {destination destination-wildcard | host destination |

any} {destination-mac-address mask | host destination-mac-address | any} [operator port] [precedence

precedence] [tos tos] [fragments] [time-range time-range-name]

[sn] {permit | deny} icmp [vlan out [inner in]] {source source-wildcard | host source | any} {source-mac-address

mask | host source-mac-address | any} {destination destination-wildcard | host destination | any} {destination-

mac-address mask | host destination-mac-address | any} [icmp-type] [[icmp-type [icmp-code]] | [icmp-

message]] [precedence precedence] [tos tos] [fragments] [time-range time-range-name]

no sn

Parameters

sn source source-wildcard

host source

any

destination destination-wildcard

host destination

source-mac-address destination-mac-address mask

vlan out

vlan inner in

cos out

cos inner in

ethernet-type

(Optional) Specifies the ACE sequence number. This number must be between 1 and 65535.

Specifies the source IP address.

Applies wildcard bits to the source.

Specifies a specific source IP address.

Means any source or destination IP or MAC address.

Specifies the destination IP address.

Applies wildcard bits to the destination.

Specifies a specific destination IP address.

Specifies the source MAC address.

Specifies the destination MAC address.

Specifies the MAC address mask.

(Optional) Specifies the outer VID used. This value must be between 1 and 4094.

(Optional) Specifies the inner VID used. This value must be between 1 and 4094.

(Optional) Specifies the outer priority value. This value must be betwee 0 and 7.

(Optional) Specifies the inner priority value. This value must be between 0 and 7.

(Optional) Specifies the Ethernet type as a pair of hexadecimal numbers and mask

(from 0x0 to 0xFFFF) or the name of an Ethernet type. Names that can be used are

'arp', 'aarp', 'appletalk', 'decnet-iv', 'etype-6000', 'etype-8042', 'lat', 'lavc-sca', 'mopconsole', 'mop-dump', 'vines-echo', 'vines-ip', 'xns-idp'.

43

protocol operator port

tos tos

fragments

time-range time-range-

name tcp-flag icmp-type icmp-code icmp-message

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

precedence precedence

Specifies the name or number of an IP protocol used. Names that can be used are

'eigrp', 'esp', 'gre', 'igmp', 'ip', 'ipinip', 'ospf', 'pcp', 'pim', 'tcp', 'udp', 'icmp' or an integer in the range 0 to 255 representing an IP protocol number. This field is used to match any Internet protocol. There are additional specific parameters for ‘tcp’, ‘udp’, and

‘icmp’. The ‘ip’ means any IP Protocol.

(Optional) Specifies the operator used. Possible operators include ‘eq’ (equal), ‘gt’

(greater than), ‘lt’ (less than), ‘neq’ (not equal), and ‘range’ (inclusive range). A range needs two port numbers, while other operators only need one port number.

Specifies the Layer 4 port number as a decimal number (from 0 to 65535) or the name of a L4 port.

TCP port names used:

'bgp', 'chargen', 'daytime', 'discard', 'domain', 'echo', 'rexec', 'finger', 'ftp', 'ftp-data',

'gopher', 'hostname', 'ident', 'irc', 'klogin', 'kshell', 'login', 'lpd', 'nntp', 'snpp',

'pop2', 'pop3', 'smtp', 'sunrpc', 'shell', 'tacacs', 'telnet', 'time', 'uucp', 'whois',

'http'.

UDP port names used:

'biff', 'bootpc', 'bootps', 'discard', 'irc', 'domain', 'echo', 'isakmp', 'mobile-ip',

'nameserver', 'netbios-dgm', 'netbios-ns', 'netbios-ss', 'nat-t', 'ntp', 'snpp', 'rip',

'snmp', 'snmptrap', 'sunrpc', 'syslog', 'tacacs', 'talk', 'tftp', 'time', 'who', 'xdmcp'.

(Optional) Packets can be filtered by their precedence level. This is specified by a number from 0 to 7 or by name. Names that can be used are routine (0), priority (1), immediate (2), flash (3), flash-override (4), critical (5), internet (6), network (7).

(Optional) Packets can be filtered by their type of service level. This is specified by a number from 0 to 15 or by name. Names that can be used are normal (0), maxreliability (2), max-throughput (4), min-delay (8), min-monetary-cost (1).

(Optional) Specifies packet fragment filtering.

(Optional) Specifies the name of the time-period profile associated with the accesslist delineating its activation period.

(Optional) Specifies the TCP flag fields. The specified TCP header bits can be ‘ack’

(acknowledge), ‘fin’ (finish), ‘psh’ (push), ‘rst’ (reset), ‘syn’ (synchronize), or ‘urg’

(urgent).

(Optional) Specifies the ICMP message type. The valid number for the message type is from 0 to 255.

(Optional) Specifies the ICMP message code. The valid number for the message code is from 0 to 255

(Optional) Specifies the ICMP message type name or the ICMP message type and code by name. Names that can be used are 'administratively-prohibited', 'alternateaddress', 'conversion-error', 'host-prohibited', 'net-prohibited', 'echo', 'echo-reply',

'pointer-indicates-error', 'host-isolated', 'host-precedence-violation', 'host-redirect',

'host-tos-redirect', 'host-tos-unreachable', 'host-unknown', 'host-unreachable',

'information-reply', 'information-request', 'mask-reply', 'mask-request', 'mobileredirect', 'net-redirect', 'net-tos-redirect', 'net-tos-unreachable', 'net-unreachable',

'net-unknown', 'bad-length', 'option-missing', 'packet-fragment', 'parameter-problem',

'port-unreachable', 'precedence-cutoff', 'protocol-unreachable', 'reassembly-timeout',

'redirect-message', 'router-advertisement', 'router-solicitation', 'source-quench',

'source-route-failed', 'time-exceeded', 'timestamp-reply', 'timestamp-request',

'traceroute', 'ttl-expired', 'unreachable'.

Default

Command Mode

None.

Extended Expert Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user did not assign it manually. The automatic assignment sequence number starts from 10 and increases by 10 for every new entry.

44

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

Example

This example shows how to use the extended MAC ACL. The purpose is to deny all the TCP packets with, the source IP address 192.168.4.12 and the source MAC address 001300498272.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#expert access-list extended exp_acl

DXS-3600-32S(config-exp-nacl)#deny tcp host 192.168.4.12 host 0013.0049.8272 any any

DXS-3600-32S(config-exp-nacl)#end

DXS-3600-32S#show access-list

Extended EXPERT access list 9999 exp_acl

10 deny tcp host 192.168.4.12 host 00-13-00-49-82-72 any any

DXS-3600-32S#

4-11 ip access-list resequence

This command is used to reassign the sequence step and start sequence number of the IP ACL entries. Use the no command to default configuration.

ip access-list resequence {id | name} start-sn inc-sn

no ip access-list resequence {id | name}

Parameters

id name start-sn inc-sn

Specifies the ID number of IP ACL used. This number must be between 1 and 3999.

Specifies the name of the IP ACL to be configured. The name can be up to 32 characters long.

Specifies the start sequence number.

Specifies the sequence step value.

Default

The start sequence number is 10 and the sequence step is 10.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Sequence numbers for the entries in an ACL are automatically generated when you create a new ACE but does not assign it manually. You can use the ip access-list resequence global configuration command to edit the start sequence number and sequence step in a IP ACL and change the order to automatically generated ID

ACEs and apply them.

Example

This example shows how to resequence the entries of an ACL.

DXS-3600-32S# show access-lists

Standard IP access list 1999 Std-acl

10 permit 10.20.0.0 255.255.0.0

20 deny any

DXS-3600-32S# configure terminal

DXS-3600-32S(config)# ip access-list resequence Std-acl 20 40

DXS-3600-32S(config)# end

DXS-3600-32S# show access-lists

Standard IP access list 1999 Std-acl

20 permit 10.20.0.0 255.255.0.0

60 deny any

DXS-3600-32S#

45

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

4-12 list-remark text

This command is used to add remarks for the specified ACL. Use the no command to deletes the remarks.

list-remark text

no list-remark

Parameters

text

Specifies the remark information. The information can be up to 256 characters.

Default

Command Mode

None.

Access-list Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

None.

Example

This example shows how to add a remark in an ACL.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list extended ip-ext-acl

DXS-3600-32S(config-ext-nacl)#list-remark this acl is to filter the host 192.168.4.12

DXS-3600-32S(config-ext-nacl)#end

DXS-3600-32S#show access-list

Extended IP access list 3999 ip-ext-acl

10 deny tcp host 192.168.4.12

this acl is to filter the host 192.168.4.12

DXS-3600-32S#

4-13 show access-lists

This command is used to display all ACLs or the specified ACL.

show access-list [id | name]

Parameters

id name

Specifies the ID number of the ACL.

Specifies the name of the IP ACL to be configured. The name can be up to 32 characters long.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Use this command to display a specified ACL. If no ID or name is specified, all the

ACLs will be displayed.

46

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

Example

This example shows how to display ACLs.

DXS-3600-32S# show access-list sip1

Standard IP access list 1999 sip1

999 deny 2.2.2.2 255.255.0.0

DXS-3600-32S# show access-list 2001

Extended IP access list 2001 ext-ip-2001

10 permit tcp host 1.1.1.1 eq echo any gt 6524 ack fin psh rst syn urg precedence internet tos 14

DXS-3600-32S# show access-list

Standard IP access list 1 std-ip-1

999 deny 2.2.2.2 255.255.0.0

Standard IP access list 11 std-ip-11

10 permit host 1.1.1.1

Standard IP access list 1999 sip1

999 deny 2.2.2.2 255.255.0.0

Extended IP access list 2000 ext-ip-2000

Extended IP access list 2001 ext-ip-2001

10 permit tcp host 1.1.1.1 eq echo any gt 6524 ack fin psh rst syn urg precedence internet tos 14

Extended IP access list 2011 ext-ip-2011

10 deny ip 5.5.5.5 255.255.0.0 host 7.7.7.5 fragments precedence internet tos 5

Extended IP access list 2111 ext-ip-2111

10 deny ip 5.5.5.5 255.255.0.0 host 7.7.7.5 precedence critical tos 6

Extended IP access list 3111 ext-ip-3111alt

Extended IP access list 3994 ext-ip-3111

Extended IPv6 access list ipv6-11

10 deny tcp host 1:2::3 eq 655 host 2:3:4:: gt 555 ack fin psh

Extended IPv6 access list ipv6-1

10 deny ipv6 1:2::3/32 host 2:22::

Extended MAC access list 6000 ext-mac-6000

10 deny any any

Extended MAC access list 7999 mac1

10 permit any any

Extended EXPERT access list 8000 ext-expert-8000

10 deny any any host 1.1.1.22 host 00-11-22-33-44-55

Extended EXPERT access list 9999 exp1

10 deny ip host 1.1.1.1 host 00-01-02-03-04-05 any any

DXS-3600-32S#

4-14 ip access-group

This command is used to apply a specific IP ACL to an interface. Use the no command to cancels the application.

ip access-group {id | name} {in | out}

no ip access-group {id | name} {in | out}

Parameters

id name

in out

Specifies the ID number of IP ACL used. This number must be between 1 and 3999.

Specifies the name of the IP ACL to be configured. The name can be up to 32 characters long.

Specifies to filter the incoming packets of the interface.

Specifies to filter the outgoing packets of the interface.

Default

Command Mode

None.

Interface Configuration Mode.

47

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

Command Default Level

Level: 12

Usage Guideline

Only one IP ACL can be attached to the ingress physical ports or egress physical ports.

Applying or binding an ACL to an interface will fail if there is any criteria statements that are not supported. An error message “Do not support fields: …” will be displayed and all unsupported criteria statements of the ACL type will be listed.

Example

This example shows how to apply an IP ACL to an interface. The purpose is to apply the ACL ‘ip-ext-acl’ attribute to the tenGigabitEthernet 5 interface, to filter incoming packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 5

DXS-3600-32S(config-if)#ip access-group ip-ext-acl in

DXS-3600-32S(config-if)#end

DXS-3600-32S#show access-group interface tenGigabitEthernet 5

Interface TenGigabitEthernet 5:

ip access-group ip-ext-acl in

DXS-3600-32S#

4-15 ipv6 traffic-filter

This command is used to apply a specific IPv6 ACL to an interface. Use the no command to cancels the application.

ipv6 traffic-filter name {in | out}

no Ipv6 traffic-filter name {in | out}

Parameters

name

in out

Specifies the name of the IPv6 ACL to be configured. The name can be up to 32 characters long.

Specifies to filter the incoming packets of the interface.

Specifies to filter the outgoing packets of the interface.

Default

Command Mode

None.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Only one IPv6 ACL can be attached to an ingress physical port or egress physical port.

Applying or binding an ACL to an interface will fail if there is any criteria statements that are not supported. An error message “Do not support fields: …” will be displayed and all unsupported criteria statements of the ACL type will be listed.

Example

This example shows how to apply an IPv6 ACL to an interface. The purpose is to apply the ACL ‘ext_ipv6’ attribute to the tenGigabitEthernet 4 interface, to filter incoming packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 4

DXS-3600-32S(config-if)#ipv6 access-group ext_ipv6 in

DXS-3600-32S(config-if)# end

DXS-3600-32S# show access-group interface tenGigabitEthernet 4

Interface TenGigabitEthernet 4:

ipv6 access-group ext_ipv6 in

DXS-3600-32S#

48

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

4-16 mac access-group

This command is used to apply a specific MAC ACL to an interface. Use the no command to cancel the application.

mac access-group {id | name} {in | out}

no mac access-group {id | name} {in | out}

Parameters

id name

in out

Specifies the ID number of the MAC ACL. This number must be between 6000 and

7999.

Specifies the name of the MAC ACL to be configured. The name can be up to 32 characters long.

Specifies to filter the incoming packets of the interface.

Specifies to filter the outgoing packets of the interface.

Default

Command Mode

None.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Only one MAC ACL can be attached to an ingress physical port or egress physical port.

Applying or binding an ACL to an interface will fail if there is any criteria statements that are not supported. An error message “Do not support fields: …” will be displayed and all unsupported criteria statements of the ACL type will be listed.

Example

This example shows how to apply a MAC ACL to an interface. The purpose is to apply the ACL ‘ext_mac’ attribute to the tenGigabitEthernet 3 interface, to filter outgoing packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-3

DXS-3600-32S(config-if-range)#mac access-group ext_mac out

DXS-3600-32S(config-if-range)# end

DXS-3600-32S# show access-group interface tenGigabitEthernet 1-3

Interface TenGigabitEthernet 1:

mac access-group ext_mac out

Interface TenGigabitEthernet 2:

mac access-group ext_mac out

Interface TenGigabitEthernet 3:

mac access-group ext_mac out

DXS-3600-32S#

4-17 expert access-group

This command is used to apply a specific expert ACL to an interface. Use the no command to cancel the application.

expert access-group {id | name} {in | out}

no expert access-group {id | name} {in | out}

Parameters

id

Specifies the ID number of the expert ACL. This number must be between 8000 and

9999.

49

name

in out

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

Specifies the name of the expert ACL to be configured. The name can be up to 32 characters long.

Specifies to filter the incoming packets of the interface.

Specifies to filter the outgoing packets of the interface.

Default

Command Mode

None.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Only one expert ACL can be attached to an ingress physical port or egress physical port.

Applying or binding an ACL to an interface will fail if there is any criteria statements that are not supported. An error message “Do not support fields: …” will be displayed and all unsupported criteria statements of the ACL type will be listed.

Example

This example shows how to apply an expert ACL to an interface. The purpose is to apply the ACL ‘exp_acl’ attribute to the tenGigabitEthernet 2 interface, to filter incoming packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 2

DXS-3600-32S(config-if)#expert access-group exp_acl in

DXS-3600-32S(config-if)#end

DXS-3600-32S#show access-group interface tenGigabitEthernet 2

Interface TenGigabitEthernet 2:

expert access-group exp_acl in

DXS-3600-32S#

4-18 show access-group

This command is used to display the ACL configuration of the interface.

show access-group [interface interface]

Parameters

interface interface Specifies the interface ID used.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Displays the ACL applied to the interface. If no interface is specified, the ACLs applied to all the interfaces will be displayed.

50

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

Example

This example shows how to display the ACL, applied to the interface.

DXS-3600-32S#show access-group

Interface TenGigabitEthernet 2:

ipv6 access-group ipv6-11 in

ipv6 access-group ipv6-1 out

expert access-group exp1 in

Interface TenGigabitEthernet 11:

ip access-group 11 in

ip access-group std-ip-1 out

mac access-group 6005 in

mac access-group ext-mac-6000 out

DXS-3600-32S#

4-19 show ip access-group

This command is used to display the IP ACL configuration of the interface.

show ip access-group [interface interface]

Parameters

interface interface Specifies the interface ID used.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Displays the IP ACL applied to the interface. If no interface is specified, the IP ACLs applied to all the interfaces will be displayed.

Example

This example shows how to display the IP ACL, applied to the interface.

DXS-3600-32S#show ip access-group

Interface TenGigabitEthernet 11:

ip access-group 11 in

ip access-group std-ip-1 out

DXS-3600-32S#

4-20 show ipv6 access-group

This command is used to display the IPv6 ACL configuration of the interface.

show ipv6 traffic-filter [interface interface]

Parameters

interface interface Specifies the interface ID used.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Displays the IPv6 ACL applied to the interface. If no interface is specified, the IPv6

ACLs applied to all the interfaces will be displayed.

51

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

Example

This example shows how to display the IPv6 ACL, applied to the interface.

DXS-3600-32S#show ipv6 traffic-filter

Interface TenGigabitEthernet 2:

ipv6 access-group ipv6-11 in

ipv6 access-group ipv6-1 out

DXS-3600-32S#

4-21 show mac access-group

This command is used to display the MAC ACL configuration of the interface.

show mac access-group [interface interface]

Parameters

interface interface Specifies the interface ID used.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Displays the MAC ACL applied to the interface. If no interface is specified, the MAC

ACLs applied to all the interfaces will be displayed.

Example

This example shows how to display the MAC ACL, applied to the interface.

DXS-3600-32S#show mac access-group

Interface TenGigabitEthernet 11:

mac access-group 6005 in

mac access-group ext-mac-6000 out

DXS-3600-32S#

4-22 show expert access-group

This command is used to display the expert ACL configuration of the interface.

show expert access-group [interface interface]

Parameters

interface interface Specifies the interface ID used.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Displays the expert ACL applied to the interface. If no interface is specified, the expert ACLs applied to all the interfaces will be displayed.

52

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

Example

This example shows how to display the expert ACL, applied to the interface.

DXS-3600-32S#show expert access-group

Interface TenGigabitEthernet 2:

expert access-group exp1 in

DXS-3600-32S#

4-23 vlan access-map

This command is used to create a submap. This command will enter into the access-map configuration mode. The no form of this command deletes the submap.

vlan access-map map_name [map_sn]

no vlan access-map map_name [map_sn]

Parameters

map_name map_sn

Specifies the name of the hostmap to be configured. The name can be up to 32 characters long.

Specifies the sequence number of the submap.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A sequence number will be assigned automatically if the user did not assign it manually. Automatic assignment of the sequence number starts from 10 and increases by 10 for every new entry.

Example

This example shows how to create a VLAN access map.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan access-map vlan-map 20

DXS-3600-32S(config-access-map)#

4-24 match ip / mac address

This command is used to associate an IP ACL or MAC ACL with a specific submap. The no form of this command removes the configuration.

match ip address {acl_name | acl_id}+8

no match ip address {acl_name | acl_id}+8

match mac address {acl_name | acl_id}+8

no match mac address {acl_name | acl_id}+8

Parameters

acl_name acl_id

+8

Speicifies the name of the ACL to be configured. The name can be up to 32 characters long.

Specifies the sequence number of the ACL.

Input parameters can be continuously, but not more than 8 times.

Default

Command Mode

None.

Access-map Configuration Mode.

53

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

Command Default Level

Level: 12

Usage Guideline

One submap can only be associated with an IP ACL or a MAC ACL. You can not associate a submap with both an IP ACL and a MAC ACL.

One submap can only be associated with at most 8 ACLs.

One submap can not be associated with an non-existent ACL.

One submap can not be associated with an ACL, which is NULL ACL.

Example

This example shows how to configure matching content in the submap.

DXS-3600-32S(config)# vlan access-map vlan-map 20

DXS-3600-32S(config-access-map)# match ip address 10 20 sp1 30 sp2

DXS-3600-32S(config-access-map)# end

DXS-3600-32S# show vlan access-map

VLAN access-map vlan-map 20

match ip address: 10,20,sp1,30,sp2

action: forward

DXS-3600-32S# configure terminal

DXS-3600-32S(config)# vlan access-map vlan-map 30

DXS-3600-32S(config-access-map)# match mac address 6710 6720 ext_mac 7760

DXS-3600-32S(config-access-map)# end

DXS-3600-32S# show vlan access-map

VLAN access-map vlan-map 20

match ip address: 10,20,sp1,30,sp2

action: forward

VLAN access-map vlan-map 30

match mac address: 6710,6720,ext_mac,7760

action: forward

DXS-3600-32S#

4-25 action

This command is used to set the forwarding, drop, and redirect actions of submaps in the VACL mode. Use the no command to return to the default configuration.

action forward no action forward action drop no action drop

action redirect {port_id}

no action redirect {port_id}

Parameters

port_id

Specifies the redirection port used.

Default

Default action is forward.

Command Mode

Access-map Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

One submap has only one action.

The submap action is applied to all the associated ACLs.

54

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

Example

This example shows how to configure the action attribute in the submap.

DXS-3600-32S# show vlan access-map

VLAN access-map vlan-map 20

match mac address: 6710,6720,ext_mac,7760,

action: forward

DXS-3600-32S# configure terminal

DXS-3600-32S(config)# vlan access-map vlan-map 20

DXS-3600-32S(config-access-map)# action redirect tenGigabitEthernet 5

DXS-3600-32S(config-access-map)# end

DXS-3600-32S# show vlan access-map

VLAN access-map vlan-map 20

match mac address: 6710,6720,ext_mac,7760,

action: redirect tenGigabitEthernet 5

DXS-3600-32S#

4-26 vlan filter

This command is used to apply a hostmap in a VLAN. Use the no command to remove a hostmap from a VLAN.

vlan filter map_name vlan-list vlan_id

no vlan filter map_name vlan-list vlan_id

Parameters

map_name vlan_id

Specifies the name of the hostmap.

Specifies the VLAN ID used.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

One VLAN Access Map can be applied to multiple VLANs.

One VLAN can bind with only one VLAN Access Map.

Example

This example shows how to apply the hostmap ‘vlan-map’ to VLAN 5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan filter vlan-map vlan-list 5

DXS-3600-32S(config)#end

DXS-3600-32S#show vlan filter

VLAN Map vlan-map

Configured on VLANs: 5

DXS-3600-32S#

4-27 show vlan access-map

This command is used to display the VLAN access-map configuration of the interface.

show vlan access-map [map_name]

Parameters

map_name

Specifies the name of the hostmap to be configured. The name can be up to 32 characters long.

55

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

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display the VLAN access map.

DXS-3600-32S#show vlan access-map

VLAN access-map vlan-map 10

match ip access list: 110,220,stp_ip1,30,stp_ip2,

action: forward

VLAN access-map vlan-map 20

match mac access list: 6710,6720,ext_mac,7760,

action: redirect tenGigabitEthernet 5

DXS-3600-32S#

4-28 show vlan filter

This command is used to display the VLAN filter configuration of the interface.

show vlan filter [{access_map map_name | vlan vlan_id}]

Parameters

access_map map_name Specifies the name of the hostmap to be configured. The name can be up to 32 characters long.

vlan vlan_id Specifies the VLAN ID used.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display the VLAN filter.

DXS-3600-32S#show vlan filter

VLAN Map aa

Configured on VLANs: 5-127,221-333

VLAN Map bb

Configured on VLANs: 1111-1222

DXS-3600-32S#show vlan filter vlan 5

VLAN ID 5

Binding VLAN Map aa

DXS-3600-32S#

56

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

Address Resolution Protocol (ARP) Commands

5-1 arp

This command is used to add a permanent IP address and MAC address mapping to the ARP cache table. Use the

no’ command to remove the IP-MAC address mapping.

arp ip-address mac-address

no arp ip-address

Parameters

ip-address mac-address

Enter the IP address that corresponds to the MAC address here.

Enter the 48-bit data link layer address here.

Default

Command Mode

There is no static ARP entry in the ARP cache table.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command adds a static ARP mapping entry to the system. If this dynamic ARP entry already exists, it will be replaced by the static ARP entry.

If the new entry contains a different MAC address from the old one, the new entry will cover the old one.

Using the ‘no’ command, the user can delete static and dynamic entries however, local entries cannot be removed.

Users can verify the settings by entering the show ip arp or show arp command.

Example

This example shows how to add a static ARP entry into the ARP cache table.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#arp 33.1.1.33 0050.BA00.0736

DXS-3600-32S(config)#

Example

This example shows how to remove a static ARP entry, with the IP address

33.1.1.33, from the ARP cache table.

DXS-3600-32S(config)#no arp 33.1.1.33

DXS-3600-32S(config)#

5-2 arp timeout

This command is used to configure the timeout value for the dynamic ARP mapping record in the ARP cache table.

Use the ‘no’ command to restore it to the default configuration.

arp timeout minutes

no arp timeout

Parameters

minutes

Enter the timeout value used here. This value must be between 0 and 65535 minutes.

Default

Command Mode

The default timeout value is 20 minutes.

Global Configuration Mode.

57

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

Command Default Level

Level: 8

Usage Guideline

The ARP timeout setting is only applicable to the IP address and the MAC address mapping that are learned dynamically. The shorter the timeout, the truer the mapping table saved in the ARP cache, but the more network bandwidth occupied by the

ARP. Hence the advantages and disadvantages should be weighted. Generally it is not necessary to configure the ARP timeout too shorter unless there is a special requirement.

Users can verify the settings by entering the show arp timeout command.

Example

This example shows how to tonfigure the timeout value, for the dynamic ARP mapping record, to 120 minutes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#arp timeout 120

DXS-3600-32S(config)#

Example

This example shows how to restore the timeout value, for the dynamic ARP mapping record, to 20 minutes.

DXS-3600-32S(config)#no arp timeout

DXS-3600-32S(config)#

5-3 clear arp cache

This command is used to remove one or all dynamic ARP entries from the ARP cache table.

clear arp-cache [ip-address] [interface interface-name]

Parameters

ip-address

interface interface-name

(Optional) Enter the IP address of the dynamic ARP entry here.

(Optional) Specifies the interface from which the dynamic ARP entry was learned.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8

Usage Guideline

This command can be used to clear the dynamic ARP entries.

Use the show ip arp command to view the current state of the ARP cache table.

Example

This example shows how to remove all dynamic ARP entries.

DXS-3600-32S#clear arp-cache

DXS-3600-32S#

Example

This example shows how to remove a dynamic ARP entry with the IP address

1.1.1.1

DXS-3600-32S#clear arp-cache 1.1.1.1

DXS-3600-32S#

Example

This example shows how to remove dynamic ARP entries from the IP interface

vlan1.

DXS-3600-32S#clear arp-cache interface vlan1

DXS-3600-32S#

58

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

5-4 show arp

This command is used to display the Address Resolution Protocol (ARP) cache table.

show arp [ip-address [net-mask] | mac-address | {static | complete}]

Parameters

ip-address net-mask mac-address

static complete

(Optional) Enter the ARP entry of the specified IP address here.

(Optional) Enter the ARP entries of the network segment included within the mask.

(Optional) Enter the ARP entry of the specified MAC address.

(Optional) Specifies to display all the static ARP entries.

(Optional) Specifies to display all the resolved dynamic ARP entries.

Default

Command Mode

All entries in the ARP cache table will be displayed if no option is specified.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the ARP cache table. Static and complete is mutually exclusive with each other.

Example

DXS-3600-32S#show arp

This example shows how to display all the entries in the ARP cache table.

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast

System 10.90.90.90 00-12-21-12-21-11 Local

System 10.1.1.5 00-12-21-12-21-18 Static

System 10.1.1.8 00-12-21-12-21-48 Static

System 10.1.1.9 00-05-5D-A5-32-3F Dynamic

System 10.255.255.255 FF-FF-FF-FF-FF-FF Local/Broadcast

Total Entries: 6

DXS-3600-32S#

Example

This example shows how to display the ARP cache table containing the IP address of 10.1.1.9.

DXS-3600-32S#show arp 10.1.1.9

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.9 00-05-5D-A5-32-3F Dynamic

Total Entries: 1

DXS-3600-32S#

59

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

Example

This example shows how to display the ARP cache table containing the netmask

10.1.0.0/255.255.0.0.

DXS-3600-32S#show arp 10.1.0.0 255.255.0.0

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.5 00-12-21-12-21-18 Static

System 10.1.1.8 00-12-21-12-21-48 Static

System 10.1.1.9 00-05-5D-A5-32-3F Dynamic

Total Entries: 3

DXS-3600-32S#

Example

This example shows how to display the ARP cache table containing static types for the netmask 10.1.0.0/255.255.0.0.

DXS-3600-32S#show arp 10.1.0.0 255.255.0.0 static

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.5 00-12-21-12-21-18 Static

System 10.1.1.8 00-12-21-12-21-48 Static

Total Entries: 2

DXS-3600-32S#

Example

This example shows how to display the ARP cache table containing the MAC address 00:05:5D:A5:32:3F.

DXS-3600-32S#show arp 0005.5DA5.323F

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.9 00-05-5D-A5-32-3F Dynamic

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display the ARP cache table containing static types.

DXS-3600-32S#show arp static

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.5 00-12-21-12-21-18 Static

System 10.1.1.8 00-12-21-12-21-48 Static

Total Entries: 2

DXS-3600-32S#

60

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

Example

This example shows how to display the ARP cache table containing all the completed entries.

DXS-3600-32S#show arp complete

ARP timeout is 20 minutes.

Interface IP Address MAC Address Type

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

System 10.1.1.9 00-05-5D-A5-32-3F Dynamic

Total Entries: 1

DXS-3600-32S#

5-5 show arp counter

This command is used to display the number of ARP entries in the ARP cache table.

show arp counter

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the number of ARP entries in the ARP cache table.

Example

This example shows how to display the number of ARP entries in the ARP cache table.

DXS-3600-32S#show arp counter

Total ARP Entry Counter: 3

DXS-3600-32S#

5-6 show arp timeout

This command is used to display the aging time of a dynamic ARP entry on the switch.

show arp timeout

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the aging time of a dynamic ARP entry on the switch.

61

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

Example

This example shows how to display the aging time value of a dynamic ARP entry on the switch.

DXS-3600-32S#show arp timeout

ARP timeout is 20 minutes.

DXS-3600-32S#

5-7 show ip arp

This command is used to display the Address Resolution Protocol (ARP) cache table.

show ip arp

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the Address Resolution Protocol (ARP) cache table.

Example

DXS-3600-32S#show ip arp

ARP timeout is 20 minutes.

This example shows how to display the Address Resolution Protocol (ARP) cache table.

Interface IP Address MAC Address Type

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

System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast

System 10.90.90.90 00-12-21-12-21-11 Local

System 10.255.255.255 FF-FF-FF-FF-FF-FF Local/Broadcast

Total Entries: 3

DXS-3600-32S#

62

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

Alternate Store and Forward (ASF) Commands

6-1 enable asf

This command is used to enable the ASF feature.

enable asf

Parameters

Default

Command Mode

None.

Alternate store and forward feature is disabled.

Global Configuration Mode

Command Default Level

Level: 15

Usage Guideline

Use this command to enable the alternate store and forward mode.

Example

This example shows how to enable ASF.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#enable asf

DXS-3600-32S(config)#

6-2 no asf

This command is used to disable the ASF feature.

no asf

Parameters

Default

None.

Alternate store and forward feature is disabled.

Command Mode

Global Configuration Mode

Command Default Level

Level: 15

Usage Guideline

Use this command to disable the alternate store and forward mode.

Example

This example shows how to disable ASF.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no asf

DXS-3600-32S(config)#

6-3 show asf

This command is to display the current ASF mode.

show asf

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 1

Usage Guideline

Use this command to display the current setting of the alternate store and forward feature.

63

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

Example

DXS-3600-32S#show asf

This example shows how to display the current settings for ASF.

Alternate Store and Forward: Disabled

DXS-3600-32S#

64

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

Border Gateway Protocol (BGP) Commands

7-1 aggregate-address

This command is used to configure BGP aggregate entries. Use the no form of this command to disable this function.

aggregate-address NETWORK-ADDRESS [summary-only] [as-set]

no aggregate-address NETWORK-ADDRESS

Parameters

NETWORK-ADDRESS

summary-only as-set

Specifies the network address and the sub-network mask that BGP will aggregate.

For example, the format of NETWORK-ADDRESS can be 10.9.18.2/8.

(Optional) Filters all more-specific routes from updates.

(Optional) Generates autonomous system set path information.

Default

None.

Command Mode

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Aggregates are used to minimize the size of routing tables. Aggregation combines the characteristics of several different routes and advertises a single route. The

aggregate-address command creates an aggregate entry in the BGP routing table if any more-specific BGP routes are available in the specified range. Using the

summary-only parameter advertises the prefix only, suppressing the more-specific routes to all neighbors.

Use the as-set parameter to reduce the size of path information by listing each AS number only once, even if it was included in multiple paths that were aggregated.

The as-set parameter is useful when aggregation of information results in incomplete path information.

You can verify your settings by entering the show ip bgp aggregate command.

Example

This example shows how to propagate the network 172.0.0.0 and suppress a more specific route called 172.10.0.0

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#aggregate-address 172.0.0.0/8 summary-only

DXS-3600-32S(config-router)#

7-2 bgp router-id

This command is used to configure a fixed router ID for the local Border Gateway Protocol (BGP) routing process. Use the no form of this command to remove the fixed router ID from the running configuration file and restore the default router ID selection.

bgp router-id IP-ADDRESS

no bgp router-id

Parameters

IP-ADDRESS

Configures the router ID in IPv4 address format as the identifier of the local router running BGP.

65

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

Default

The local router ID is selected by the following rules when this command is disabled:

If a loopback interface is configured, the router ID is set to the IP address of the loopback. If multiple loopback interfaces are configured, the loopback with the highest IP address is used.

Command Mode

If no loopback interface is configured, the router ID is set to the highest IP address on a physical interface.

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The bgp router-id command is used to configure a fixed router ID for a local BGP routing process. The address of a loopback interface is preferred to an IP address on a physical interface because the loopback interface is more effective than a fixed interface as an identifier because there is no physical link to go down.

You must specify a unique router ID within the network. This command will reset all active BGP peering sessions. It is recommended to configure a loopback interface, since the physical interface link may be up/down/removed for some reason.

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to change the router ID to 192.168.1.1

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#bgp router-id 192.168.1.1

DXS-3600-32S(config-router)#

7-3 bgp aggregate-next-hop-check

This command is used to enable the checking of next hop of the BGP aggregated routes. Only the routes with the same next hop attribute can be aggregated if the BGP aggregate next hop check is enabled. Using the no form of this command is to disable the bgp aggregate-next-hop-check.

bgp aggregate-next-hop-check no bgp aggregate-next-hop-check

Parameters

Default

Command Mode

None.

The default option is disabled.

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to enable the checking of next hop of the BGP aggregated routes. Only the routes with the same next hop attribute can be aggregated if the

BGP aggregate next hop check is enabled. Using the no form of this command is to disable the bgp aggregate-next-hop-check.

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to configure the BGP aggregate-next-hop-checking state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp aggregate-next-hop-check

DXS-3600-32S(config-router)#

66

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

7-4 bgp always-compare-med

This command is used to enable the comparison of the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. Use the no form of this command to disallow the comparison.

bgp always-compare-med no bgp always-compare-med

Parameters

Default

None.

The default option is disabled.

Command Mode

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The MED, as stated in RFC 1771, is an optional non-transitive attribute that is a four octet non-negative integer. The value of this attribute may be used by the BGP best path selection process to discriminate among multiple exit points to a neighboring autonomous system.

The MED is one of the parameters that are considered when selecting the best path among many alternative paths. The path with a lower MED is preferred over a path with a higher MED. During the best-path selection process, MED comparison is done only among paths from the same autonomous system. The bgp always-compare-

med command is used to change this behavior by enforcing MED comparison between all paths, regardless of the autonomous system from which the paths are received.

The bgp deterministic-med command can be configured to enforce deterministic comparison of the MED value between all paths received from within the same autonomous system.

You can verify your settings by entering show ip bgp parameters command.

Example

This example shows how to configure the switch to compare the MED from alternative paths, regardless of the autonomous system from which the paths are received.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp always-compare-med

DXS-3600-32S(config-router)#

7-5 bgp bestpath as-path ignore

This command is used to not consider the as-path factor in selection of the best path. Use the no form of this command to restore default behavior and configure BGP to consider the AS-path during route selection.

bgp bestpath as-path ignore no bgp bestpath as-path ignore

Parameters

Default

None.

AS path is considered when the best path selects.

Command Mode

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

67

Usage Guideline

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

The following are the best path selection rules.

• If the next hop associated with the route is unreachable, then the route is dropped.

• Then route with the largest weight is selected.

• If weight cannot determine, then the largest LOCAL-PREF is used to determine the preferred route.

• If still cannot determine the preferred route, then the route with the shortest AS-

PATH list is preferred.

• If still cannot determine the preferred route, then lowest origin type is preferred.

• If still cannot determine the preferred route, then the lowest MED is preferred.

• If still cannot determine the preferred route, eBGP is preferred over iBGP paths.

• Prefer the path with the lowest IGP metric to the BGP next hop.

• Determine if multiple paths require installation in the routing table for BGP

Multipath.

• When both paths are external, prefer the path that was received first (the oldest one).

• Prefer the route that comes from the BGP router with the lowest router ID.

• If the originator or router ID is the same for multiple paths, prefer the path with the minimum cluster list length.

• Prefer the path that comes from the lowest neighbor address.

You can use the commands, bgp bestpath as-path ignore, bgp bestpath

compare-router-id or bgp default local-preference to customize the path selection process.

You can verify your settings by entering show ip bgp parameters command.

Example

This example shows how to configure the switch to ignore the AS-PATH for the best path for the autonomous system 65534.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp bestpath as-path ignore

DXS-3600-32S(config-router)#

7-6 bgp bestpath compare-confed-aspath

This command is used to configure a BGP routing process to compare the confederation AS path length of the routes received. To return the BGP routing process to the default operation, use the no form of this command.

bgp bestpath compare-confed-aspath no bgp bestpath compare-confed-aspath

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If enabled, the BGP process will compare the confederation AS path length of the routes received. The shorter the confederation AS path length, the better the route is.

You can verify your settings by entering show ip bgp parameters command.

Example

This example shows how to enable the BGP process to compare the AS path that contains some confederation AS numbers.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp bestpath compare-confed-aspath

DXS-3600-32S(config-router)#

68

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

7-7 bgp bestpath compare-routerid

This command is used to compare the router ID for identical eBGP paths. Use the no command to revert to disable this function.

bgp bestpath compare-routerid no bgp bestpath compare-routerid

Parameters

Default

None.

BGP receives routes with identical eBGP paths from eBGP peers and selects the first route received as the best path.

Router Configuration.

Command Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When comparing similar routes from peers the BGP router does not consider router

ID of the routes. By default, it selects the first received route. Use this command to include router ID in the selection process; similar routes are compared and the route with lowest router ID is selected. The router-id is the highest IP address on the router, with preference given to loopback addresses. Router ID can be manually set by using the bgp router-id command.

You can verify your settings by entering show ip bgp parameters command.

Example

This example shows how to configure to compare the router ID for identical eBGP paths for the autonomous system 65534.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp bestpath compare-routerid

DXS-3600-32S(config-router)#

7-8 bgp bestpath med confed

This command is used to configure a BGP routing process to compare the Multi Exit Discriminator (MED) between paths learned form confederation peers. To disable MED comparison of paths received from confederation peers, use the no form of this command.

bgp bestpath med confed no bgp bestpath med confed

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Router Configuration.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If enabled, the BGP process will compare the MED for the routes that are received from confederation peers. For routes that have an external AS in the path, the comparison does not occur.

You can verify your settings by entering show ip bgp parameters command.

69

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

Example

This example shows how the BGP routing process is configured to compare MED values for paths learned from confederation peers.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp bestpath med confed

DXS-3600-32S(config-router)#

7-9 bgp bestpath med missing-as-worst

This command is used to configure the BGP routing process to assign a value of infinity to routes that are missing the

Multi Exit Discriminator (MED) attribute (making the path, without an MED value, the least desirable path). To return the router to the default behavior (assigning a value of 0 to the missing MED), causing this path, as the best path, to be chosen, use the no form of this command.

bgp bestpath med missing-as-worst no bgp bestpath med missing-as-worst

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If enabled, the BGP process will assign a value of infinity to routes that are missing the Multi Exit Discriminator (MED) attribute. If disabled, the BGP process will assign a value of zero to routes that are missing the Multi Exit Discriminator (MED) attribute, causing this route to be chosen as the best path.

You can verify your settings by entering show ip bgp parameters command.

Example

This example shows how to enable the BGP router process to consider a route with a missing MED attribute as having a value of infinity, making this path the least desirable path.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp bestpath med missing-as-worst

DXS-3600-32S(config-router)#

7-10 bgp client-to-client reflection

This command is used to enable the local BGP router to be a route reflector. To disable client-to-client route reflection, use the no form of this command.

bgp client-to-client reflection no bgp client-to-client reflection

Parameters

Default

None.

By default, this option is enabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

70

Usage Guideline

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

By default, the clients of a router reflector are not required to be fully meshed and the routes from a client are reflected to other clients. However, if the clients are fully meshed, route reflection is not required. In this case, use the no bgp client-to-client

reflection command to disable client-to-client reflection.

Use the show ip bgp reflection command to verify your settings.

Example

This example shows how to enable the route reflector function of the local router.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp client-to-client reflection

DXS-3600-32S(config-router)#

7-11 bgp cluster-id

This command is used to configure the cluster ID of the route reflector. To remove the cluster ID, use the no form of this command.

bgp cluster-id CLUSTER-ID

no bgp cluster-id

Parameters

CLUSTER-ID

Specifies the cluster ID, in the IPv4 address format, for the router reflector.

Default

By default, this value is the local router’s ID.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When a single route reflector is deployed in a cluster and the cluster ID of the route reflector is 0.0.0.0, the cluster is identified by the router ID of the route reflector.

Otherwise, the cluster is identified by the cluster ID.

This command is used to assign a cluster ID to a route reflector. Multiple route reflectors are deployed in a cluster to increase redundancy and to avoid a single point of failure. When multiple route reflectors are configured in a cluster, they must be configured with the same cluster ID. This allows all route reflectors, in the cluster, to recognize updates from the peers in the same cluster and reduces the number of updates that needs to be stored in BGP routing tables.

This command is only required for the reflector and not for the client.

Use the show ip bgp reflection command to verify your settings.

Example

In the following example, the local router is one of the route reflectors serving the cluster. It is configured with a cluster ID to identify the cluster.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.18.0.16 route-reflector-client

DXS-3600-32S(config-router)#bgp cluster-id 10.0.0.2

DXS-3600-32S(config-router)#

7-12 bgp confederation identifier

This command is used to specify the BGP confederation identifier. Use the no form of this command to remove the confederation identifier.

71

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

bgp confederation identifier AS-NUMBER

no bgp confederation identifier

Parameters

AS-NUMBER

Specifies the Autonomous System number, used to specify the BGP confederation.

This value must be between 1 and 4294967295. The AS TRANS value is 23456.

Default

Command Mode

None.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

A confederation can be used to reduce the internal BGP (iBGP) mesh by dividing a large single AS into multiple subs-ASs. External peers interact with the confederation as if it is a single AS.

Each subs-AS is fully meshed within itself and it has connections to other sub-ASs within the confederation. The next-hop, Multi Exit Discriminator (MED), and local preference information is preserved throughout the confederation, allowing users to retain a single Interior Gateway Protocol (IGP) for all the autonomous systems.

Use the show ip bgp confederation command to verify your settings.

Example

This example shows how to create a confederation in which the AS number is 20.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp confederation identifier 20

DXS-3600-32S(config-router)#

7-13 bgp confederation peers

This command is used to add BGP confederation peers. Use the no form of this command to delete the confederation peers.

bgp confederation peers ASPATH-LIST

no bgp confederation peers ASPATH-LIST

Parameters

ASPATH-LIST

Specifies one or multiple AS number partitions, separated by a comma. This value must be between 1 and 4294967295, however, for the AS TRANS, this value must be 23456. This parameter specifies Autonomous System numbers for BGP peers that will belong to the confederation.

Default

Command Mode

None.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

72

Usage Guideline

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

The command is used to configure multiple adjacent Autonomous Systems in a confederation. The Autonomous Systems, specified in this command, are visible internally to the confederation. Each Autonomous System is fully meshed within itself or configures a route reflector.

Use the no bgp confederation peers command to delete all the or part of the AS numbers, configured earlier.

Use the show ip bgp confederation command to verify your settings.

Example

In the following example, Autonomous Systems 21, 22, 23, 24, and 25 are configured to belong to a single confederation using the identifier 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp confederation identifier 10

DXS-3600-32S(config-router)#bgp confederation peers 21,22,23,24,25

DXS-3600-32S(config-router)#

Example

This example shows how to delete part of the AS numbers, configured earlier.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#no bgp confederation peers 21,22

DXS-3600-32S(config-router)#

7-14 bgp dampening

This command is used to enable BGP route dampening or to change the BGP route dampening parameters. To disable

BGP dampening, use the no form of this command.

bgp dampening [[HALF-LIFE REUSE SUPPRESS MAX-SUPPRESS-TIME UN-REACHABILTY-HALF-TIME] |

[route-map MAP-NAME]]

no bgp dampening [route-map]

Parameters

HALF-LIFE

REUSE

SUPPRESS

MAX-SUPPRESS-TIME

UN-REACHABILITY-HALF-

LIFE

MAP-NAME

Specifies the time, in minutes, after which the penalty of the reachable routes will be down, by half.

If the penalty for a flapping route decreases enough to fall below this value, the route is unsuppressed.

A route is suppressed when its penalty exceeds this limit.

Specifies the maximum time, in minutes, that a route can be suppressed.

Specifies the time, in minutes, after which the penalty of the unreachable route will be down, by half.

Specifies the route map name for configuring the dampening running configuration.

The maximum length is 16 characters.

Default

Command Mode

BGP dampening is disabled by default. The following values are used when this command is enabled, without configuring any optional arguments:

Half-life:15 minutes.

Reuse: 750.

Suppress: 2000.

Max-suppress-time: 60 minutes.

Un-reachability-half-life: 15 minutes.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

73

Usage Guideline

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

The purpose of this command is to eliminate the dampening of routes and thus to avoid unstable networks caused by flapping routes.

The following describes the way it is achieved. When a route flaps (from up to down), it will add a penalty value, of 1000, to the frame. Since the penalty is smaller than the suppress value, BGP will function normally. It will send a withdraw message (an update message) to the neighbors. The penalty of the route will decrease as time elapses.

Here we assume that if it passes 7.5 minutes, then the penalty of the route is 1000-

500*7.5/15=750. If another flap occurs (the route changes from down to up) then the penalty of the route will be 1750, which is larger than the suppress value, and the route will be dampened. BGP will not send an update message for this status change.

When the penalty of the route decreases and becomes smaller than the re-use value

(800), the route will not be dampened and the update message will be sent again.

Lastly, the ‘max-suppress-time’ is the longest time the route may be suppressed. So, it decides the maximum penalty a route may suffer, regardless of the number of times that the prefix is dampened. Here is the formula:

Maximum - Penalty = Reuse - Value *

2

Max-sup press-time / Half-life

You can verify your settings by entering the show ip bgp dampening parameters command.

Note: If the dampening ability is enabled and there are one or more dampened routes, the dampened routes will be released to function in the normal state immediately after we disabled the dampening function.

Example

This example shows how to enable BGP dampening, set the half-life value to 20 minutes, the reuse value to 100, the suppress value to 6000, the maximum suppress time to 120 minutes, and the un-reachability-half-life value to 20 minutes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp dampening 20 100 6000 120 20

DXS-3600-32S(config-router)#

Example

This example shows how to apply BGP damping to prefixes, filtered by the routemap called ‘mymap1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list pp1 permit 100.2.0.0/16

DXS-3600-32S(config)#route-map mymap1

DXS-3600-32S(config-route-map)#match ip address prefix-list pp1

DXS-3600-32S(config-route-map)#exit

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#bgp dampening route-map mymap1

DXS-3600-32S(config-router)#

7-15 bgp default local-preference

This command is used to change the default local preference value. To return the local preference value to the default setting.

bgp default local-preference NUMBER

no bgp default local-preference

74

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

Parameters

NUMBER

Specifies the range of the local reference. This value must be between 0 and

4294967295.

Default

Command Mode

By default, this option is disabled. BGP sets the default local preference value to100.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The local preference attribute is a discretionary attribute that is used to apply the degree of preference to a route during the BGP best path selection process.

This attribute is exchanged only between iBGP peers and is used to determine the local policy. The route with the highest local preference is preferred.

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to configure the default value of the local preference to 200 for the autonomous system 65534.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp default local-preference 200

DXS-3600-32S(config-router)#

7-16 bgp deterministic-med

This command is used to include the Multi Exit Discriminator (MED) value between all paths received from within the same autonomous system in the process of the best route selection. Use the no command to prevent BGP from considering the MED attribute in comparing paths.

bgp deterministic-med no bgp deterministic-med

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to enable the comparison of the Multi Exit Discriminator

(MED) for paths from neighbors in different autonomous systems. After this command is configured, all paths for the same prefix, that are received from different neighbors, which are in the same autonomous system, will be grouped together and sorted by the ascending MED value (received-only paths are ignored and not grouped or sorted).

The best path selection algorithm will then pick the best paths using the existing rules. The comparison is made on a peer neighbor autonomous system basis and then the global basis. The grouping and sorting of paths occurs immediately after this command was entered. For the correct results, all routers in the local autonomous system must have this command enabled (or disabled).

This command can also be configured to enforce a deterministic comparison of the

MED values between all paths received from within the same autonomous system.

You can verify your settings by entering the show ip bgp parameters command.

75

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

Example

This example shows how to configure to switches to enable the compare MED value for autonomous system 65534,

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp deterministic-med

DXS-3600-32S(config-router)#

7-17 bgp enforce-first-as

This command is used to enforce the first AS for eBGP routes. To disable this feature, use the no form of this command.

bgp enforce-first-as no bgp enforce-first-as

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command specifies that any updates received from an external neighbor, that do not have neighbor’s configured in an Autonomous System at the beginning of the

AS-PATH attribute in the received update, must be denied. Enabling this feature adds to the security of the BGP network by not allowing traffic from unauthorized systems.

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to enable the security of the BGP network for the autonomous system 65534. All incoming updates from eBGP peers are examined to ensure that the first AS number in the AS-PATH attribute is the local AS number of the transmitting peer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#bgp enforce-first-as

DXS-3600-32S(config-router)#

7-18 bgp fast-external-fallover

This command is used to configure the Border Gateway Protocol (BGP) routing process to immediately reset external

BGP peering sessions if the link used to reach these peers goes down. To disable the BGP fast external fallover option, use the no form of this command.

bgp fast-external-fallover no bgp fast-external-fallover

Parameters

Default

None.

By default, this option is enabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

76

Usage Guideline

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

This command is used to disable or enable the fast external fallover for BGP peering sessions with directly connected external peers. The session will immediately reset if a link goes down. Only directly connected peering sessions are supported.

If the BGP fast external fallover is disabled, the BGP routing process will wait until the default hold timer expires (3 keepalives) to reset the peering session.

You can verify your settings by entering the show ip bgp parameters command.

Example

In the following example, the BGP fast external fallover feature is disabled. If the link through which this session is carried flaps, then the connection will not reset.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65534

DXS-3600-32S(config-router)#no bgp fast-external-fallover

DXS-3600-32S(config-router)#

7-19 clear ip bgp

This command is used to reset Border Gateway Protocol (BGP) connections using a hard or soft reconfiguration.

clear ip bgp {all | AS-NUMBER | IP-ADDRESS} [soft [{in [prefix-filter] | out}]]

Parameters all

AS-NUMBER

IP-ADDRESS

in prefix-filter out soft

(Optional) Specifies to reset of all address family sessions.

Specifies that sessions, with BGP peers, in the specified autonomous system the will be reset. The range for 2-byte numbers is from 1 to 65535. The range for 4-byte numbers is from 1 to 4294967295.

Specifies that only the identified BGP neighbor will reset. The value for this argument is an IPv4 address.

(Optional) Specifies to initiate an inbound reconfiguration. If neither the in nor the out keywords are specified, both inbound and outbound sessions will reset.

(Optional) Specifies to clear the existing outbound route filter (ORF) prefix list to trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list.

(Optional) Specifies to initiate inbound or outbound reconfiguration. If neither the in nor the out keywords are specified, both inbound and outbound sessions will reset.

(Optional) Specifies to initiate a soft reset. Does not tear down the session.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

77

Usage Guideline

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

This command can be used to initiate a hard reset or soft reconfiguration of BGP neighbor sessions.

If a hard reset is applied to the inbound session, the inbound session will be torn down and the local inbound routing table and the remote outbound routing table will be cleared.

If a soft reset is applied to the inbound session, the session will not be rebuilt but the local inbound routing table will be cleared and needs to be rebuilt.

If a soft reconfiguration inbound is enabled, then the routing table can be rebuilt based on the stored route update information. If a soft reconfiguration inbound is disabled, then the local router will send a route refresh request to the neighbor to ask for the route refresh.

When the inbound session undergoes a soft reset with the prefix filter option, and the capability of the prefix-list is enabled, in the sending direction, then the local BGP will send a ‘clear the routing table’ request, and notify the remote neighbor for the prefix filter.

This is a way to notify the neighbor of the prefix filter whenever a change is made to the prefix filter.

Example

In the following example, a soft reconfiguration is initiated for the inbound session with the neighbor 10.100.0.1, and the outbound session is unaffected.

DXS-3600-32S#clear ip bgp 10.100.0.1 soft in

DXS-3600-32S#

Example

In the following example, the route refresh capability is enabled on BGP neighbor routers. The existing outbound route filter (ORF) prefix list from the peer 172.16.10.2 is cleared, The new route refresh, which updates the ORF prefix list, is triggered.

DXS-3600-32S#clear ip bgp 172.16.10.2 soft in prefix-filter

DXS-3600-32S#

Example

In the following example, a hard reset is initiated for sessions with all routers in the autonomous system numbered 35700.

DXS-3600-32S#clear ip bgp 35700

DXS-3600-32S#

7-20 clear ip bgp dampening

This command is used to clear BGP route dampening information and to restore suppressed routes.

clear ip bgp dampening [{NETWORK-ADDRESS | IP-ADDRESS}]

Parameters

NETWORK-ADDRESS

IP-ADDRESS

(Optional) Specifies the IPv4 address of the network or neighbor to clear dampening information.

(Optional) Specifies the IPv4 address.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

78

Usage Guideline

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

This command is used to clear stored route dampening information. If no keywords or arguments are entered, the route dampening information for the entire routing table will be cleared.

Example

This example shows how to clear the route dampening information of 192.168.10.0/

24 and restores suppressed routes.

DXS-3600-32S#clear ip bgp dampening 192.168.10.0/24

DXS-3600-32S#

7-21 clear ip bgp external

This command is used to reset external Border Gateway Protocol (eBGP) peering sessions using the hard or soft reconfiguration.

clear ip bgp external [soft [{in [prefix-filter] | out}]]

Parameters in prefix-filter out soft

(Optional) Specifies to initiate an inbound reconfiguration. If neither the in nor the out keywords are specified, both inbound and outbound sessions will reset.

(Optional) Specifies to clear the existing outbound route filter (ORF) prefix list to trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list.

(Optional) Specifies to initiate an inbound or outbound reconfiguration. If neither the in nor the out keywords are specified, both inbound and outbound sessions will reset.

(Optional) Specifies to initiate a soft reset. Does not tear down the session.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command can be used to initiate a hard reset or soft reconfiguration of eBGP neighbor sessions.

If a hard reset is applied to the inbound session, the inbound session will be torn down and the local inbound routing table and the remote outbound routing table will be cleared.

If a soft reset is applied to the inbound session, the session will not be rebuilt but the local inbound routing table will be cleared and needs to be rebuilt.

If a soft reconfiguration inbound is enabled, then the routing table can be rebuilt based on the stored route updates information. If a soft reconfiguration inbound is disabled, then the local router will send the route refresh request to the neighbor to ask for the route refresh.

When the inbound session undergoes a soft reset with the prefix filter option, and the

‘capability_orf_prefix_list’ parameter is enabled in the sending direction, then the local BGP will send a ‘clear the routing table’ message, and notify the remote neighbor for the prefix filter.

This is a way to notify the neighbor of the prefix filter whenever a change is made to the prefix filter.

79

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

Example

The following example, a soft reconfiguration is configured for all inbound eBGP peering sessions.

DXS-3600-32S#clear ip bgp external soft in

DXS-3600-32S#

Example

This example shows how to send a prefix filter to a neighbor and let the neighbor readvertisement BGP routes, based on the new prefix filter. The neighbor capability of the prefix-list in the sending direction needs be configured, and that the local filter list in the inbound direction for the peer needs be set.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.16.10.1 remote-as 200

DXS-3600-32S(config-router)#neighbor 172.16.10.1 capability orf prefix-list send

DXS-3600-32S(config-router)#neighbor 172.16.10.1 filter-list myacl in

DXS-3600-32S(config-router)#end

DXS-3600-32S#clear ip bgp external soft in prefix-filter

DXS-3600-32S#

7-22 clear ip bgp flap-statistics

This command is used to clear the BGP route dampening flap statistics.

clear ip bgp flap-statistics [{IP-ADDRESS | NETWORK-ADDRESS}]

Parameters

IP-ADDRESS

NETWORK-ADDRESS

Specifies an IPv4 address to clear the dampening flap statistics.

Specifies an IPv4 network to clear the dampening flap statistics.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to clear the accumulated penalties for routes that have been received on a router which has BGP dampening enabled. If no arguments or keywords are specified, the flap statistics are cleared for all routes.

Example

This example shows how to clear the route dampening flap statistics of network

192.168.1.0/24.

DXS-3600-32S#clear ip bgp flap-statistics 192.168.1.0/24

DXS-3600-32S#

7-23 clear ip bgp peer-group

This command is used to reset Border Gateway Protocol (BGP) connections using hard or soft reconfiguration for all the members of the BGP peer group.

clear ip bgp peer-group PEER-GROUP-NAME [soft [{in [prefix-filter] | out}]]

Parameters

PEER-GROUP-NAME

Specifies the peer group name. The maximum length is 16 characters.

80

soft in prefix-filter out

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

(Optional) Specifies to initiate a soft reset. This function does not tear down the session. If the soft keyword is not specified, all the sessions of the members of the peer group will reset.

(Optional) Specifies to initiate a soft reset for inbound routing information.

(Optional) Specifies to clear the existing outbound route filter (ORF) prefix list to trigger a new route refresh or soft reconfiguration, which updates the ORF prefix list.

(Optional) Specifies to initiate a soft reset for outbound routing information.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to initiate a hard reset or a soft reset for a set of connections.

A hard reset tears down and rebuilds all the sessions for the members of the specified peer group and clears and rebuilds the local routing table. A soft reset only clears and rebuilds the local routing table.

To the soft reset, if neighbor soft-reconfiguration inbound is configured, the routing table can be rebuilt based on the stored route updates information, and if it doesn’t, the local router will send the route refresh message to the neighbors to ask for the routes.

When the inbound session is soft reset with the prefix-filter option, and the neighbor capability orf prefix-list in the send direction is configured, the local BGP will send

“clear the routing table”, and notify the remote neighbor for the prefix filter.

When using the clear ip bgp peer-group PEER-GROUP-NAME command without the soft parameter, the BGP connection will be torn down, so the following log message will be generated.

[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)

Where the <ipaddress> is the address of the peer. After a while, the connection will be rebuilt, and the following log message will be generated.

[BGP(1):] BGP connection is successfully established Peer:<ipaddress>

Where the <ipaddress> is the address of the peer.

This is a way to notify the neighbor of the prefix filter whenever a change is made to the prefix filter.

Example

In the following example, all members of the BGP peer group named ‘INTERNAL’ will reset.

DXS-3600-32S#clear ip bgp peer-group INTERNAL

DXS-3600-32S#

Example

In the following example, a soft reconfiguration is initiated for both the inbound and outbound session with members of the peer group INTERNAL.

DXS-3600-32S#clear ip bgp peer-group INTERNAL soft

DXS-3600-32S#

Example

When using the parameter soft with either in or out, the soft reconfiguration is only initiated for the inbound or outbound session.

Assume that the neighbor capability of the ‘prefix-list’ in the send direction is configured, and that the local filter list in the inbound direction for the peer group is changed, using this command with parameters soft in prefix-filter to notify all the neighbors in the peer group.

DXS-3600-32S#clear ip bgp peer-group INTERNAL soft in prefix-filter

DXS-3600-32S#

81

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

7-24 ip as-path access-list

This command is used to define a BGP Autonomous System (AS) path access list or add an AS path access list entry to an existing AS path access list. Use the no form of this command to delete the access list or an entry of the AS path access list.

ip as-path access-list ACCESS-LIST-NAME [{permit | deny} REGEXP]

no ip as-path access-list ACCESS-LIST-NAME [{permit | deny} REGEXP]

Parameters

ACCESS-LIST-NAME

permit deny

REGEXP

Specifies the name of the access list. The maximum length is 16 characters.

Specifies to permit access to the matching conditions.

Specifies to deny access to the matching conditions.

Specifies a regular expression to match the BGP AS paths. The maximum length is

80 characters.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to configure an Autonomous System path access list. An

Autonomous System path access list can be applied to inbound, outbound or both routes exchanged in a BGP peer session. If the regular expression matches the specified string represented the AS path of the route, the permit or deny condition applies. Multiple entries can be applied to a list name.

Use the show ip as-path access-list command to verify your settings.

Example

This example shows how to define an AS path access list named ‘mylist’, to deny routes with only the AS number 65535.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip as-path access-list mylist deny ^65535$

DXS-3600-32S(config)#

Example

This example shows how to delete an entry in an AS path access list, earlier configured.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip as-path access-list mylist deny ^65535$

DXS-3600-32S(config)#

Example

After that, the AS path access list, called ‘mylist’, has no entry, but it still exists.

The following example show how to delete an AS path access list, no matter whether it has entries or not.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip as-path access-list mylist

DXS-3600-32S(config)#

7-25 ip community-list

This command is used to create a community list or add a community list entry to an existing community list. Use the no form of this command to delete the community list or one of its entries.

Standard Community Lists:

82

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

ip community-list standard COMMUNITY-LIST-NAME [{permit | deny} COMMUNITY]

no ip community-list standard COMMUNITY-LIST-NAME [{permit | deny} COMMUNITY]

Expanded Community Lists:

ip community-list expanded COMMUNITY-LIST-NAME [{permit | deny} REGEXP]

no ip community-list expanded COMMUNITY-LIST-NAME [{permit | deny} REGEXP]

Parameters

COMMUNITY-LIST-NAME

Specifies the community list name. It can accept up to 16 characters. The syntax is general string that does not allow space.

permit deny

COMMUNITY

Specifies the community to accept.

Specifies the community to reject.

REGEXP

Specifies the community value, which is a 32-bit integer. It can be a user-specified number represented by AA:NN, where AA (AS number) is the upper part of the word and NN (community number, user-specified) is the lower part of the word.

It can also be one of the following reserved community values:

internet - Specifies that routes are advertised to all peers (internal and external).

local-AS - Specifies that routes not to be advertised to external BGP peers.

no-advertise - Specifies that routes not to be advertised to other BGP peers.

no-export - Specifies that routes not to be advertised outside of the Autonomous

System boundary.

Specifies to configures a regular expression that is used to specify a pattern to match against an input string. Regular expressions can be used only with expanded community lists. The maximum length is 80 characters.

Default

The BGP community exchange is disabled by default. It is enabled on a perneighbor basis with the neighbor send-community command.

Command Mode

The Internet community is applied to all routes or prefixes by default, until any other community value is configured with this command or the set community command.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use the community-lists to specify BGP community attributes. The community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. It includes community values that are 32 bits long. All names of the standard community list and expended community list must not be the same.

This command can be applied multiple times. BGP community attributes exchanged between BGP peers are controlled by the neighbor send-community command.

If the permit rules exist, in a community list, routes with community that does not match any rule in the list will be denied. If there are no rules or only deny rules to be configured in the community list, all routes will be denied.

Use the show ip community-list command to verify your settings.

Example

This example shows how to define a standard community list named ‘mycom’ with an entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip community-list standard mycom deny no-export 20:30

DXS-3600-32S(config)#

Example

This example shows how to delete an entry in a community list, earlier configured.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip community-list standard mycom deny no-export 20:30

DXS-3600-32S(config)#

83

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

Example

After that, the community list ‘mycom’ will have no entry, but it still exists.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip community-list standard mycom

DXS-3600-32S(config)#

Example

This example shows how to create an expanded community list named ‘myexpcom’ with an entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip community-list expanded myexpcom permit _20[0-9]

DXS-3600-32S(config)#

7-26 neighbor activate

Tthis command is used to enable the exchange of information with a Border Gateway Protocol (BGP) neighbor. Use the no form of this command to disable the exchange of information with a BGP neighbor.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} activate

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} activate

Parameters

IP-ADDRESS

PEER-GROUP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

The exchange of addresses with BGP neighbors is enabled for the IPv4 address family.

Router Configuration Mode.

Command Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If you specify a BGP peer group by using the PEER-GROUP-NAME argument, all the members of the peer group will inherit the characteristic configured with this command. It is not allowed to disable an active peer group.

When using the no form of this command, the exchange of addresses with a BGP neighbor is disabled for the IPv4 address family, and the connection will be torn down, so the following log message will be generated:

[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>) where the <ipaddress> is the address of the peer.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to disable address exchange for neighbor 10.4.4.4

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 10.4.4.4 remote-as 65101

DXS-3600-32S(config-router)#no neighbor 10.4.4.4 activate

DXS-3600-32S(config-router)#

7-27 neighbor advertisement-interval

This command is used to set the minimum interval between sending Border Gateway Protocol (BGP) routing updates.

Use the no command to return to the default configuration.

84

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

neighbor {IP-ADDRESS | PEER-GROUP-NAME} advertisement-interval SECONDS

no neighbor {IP-ADDRESS | PEER-GROUP-NAME } advertisement-interval

Parameters

IP-ADDRESS

PEER-GROUP-NAME

SECONDS

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the interval, in seconds, between the sending of UPDATE messages. The range is from 0 to 600. If this value is set to zero, the update or withdrawn message will be sent immediately.

Default

Command Mode

By default, it is 30 seconds for external peers and 5 seconds for internal peers.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If you specify a BGP peer group, by using the PEER-GROUP-NAME argument, all the members of the peer group will inherit the characteristic configured with this command.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the minimum time interval between sending BGP routing updates to 15 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 10.4.4.4 remote-as 65101

DXS-3600-32S(config-router)#neighbor 10.4.4.4 advertisement-interval 15

DXS-3600-32S(config-router)#

7-28 neighbor allowas-in

This command is used to enable routers to allow its own AS appearing in the received BGP update packets. To disable the duplicate AS number, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} allowas-in [NUMBER]

no neighbor {IP-ADDRESS | PEER-GROUP-NAME } allowas-in

Parameters

IP-ADDRESS

PEER-GROUP-NAME

NUMBER

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

(Optional) Specifies the maximum number of local AS to allow appearing in the ASpath attribute of the update packets. The value is from 1 to 10. If no number is supplied, the default value of 3 times is used.

Default

Command Mode

By default, this option is disabled.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

85

Usage Guideline

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

The BGP router will do AS path loop checks for the received BGP update packets. If the BGP router’s own AS appears in the AS path list, it is identified as a loop and the packets will be discarded. If the allowas-in setting is enabled, the BGP router’s own

AS is allowed in the AS path list.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the number of times of the local router’s own AS to allow appearing in the update packets received from the neighbor 100.16.5.4 to 5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 100.16.5.4 remote-as 65101

DXS-3600-32S(config-router)#neighbor 100.16.5.4 allowas-in 5

DXS-3600-32S(config-router)#

Example

This example shows how to set the ‘allowas-in’ value to 3 without the NUMBER parameter.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 100.16.5.4 remote-as 65101

DXS-3600-32S(config-router)#neighbor 100.16.5.4 allowas-in

DXS-3600-32S(config-router)#

7-29 neighbor capability orf prefix-list

This command is used to advertise outbound router filter (ORF) capabilities to a peer or a peer group. Use the no form of this command to disable ORF capabilities.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} capability orf prefix-list {receive | send | both}

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} capability orf prefix-list {receive | send | both}

Parameters

IP-ADDRESS

PEER-GROUP-NAME receive send both

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies to enable the ORF capability in the receive mode.

Specifies to enable the ORF capability in the send mode.

Specifies to enable the ORF capabilities in both the receive and send modes.

Default

Command Mode

No ORF capabilities are advertised to a peer router.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

86

Usage Guideline

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

The BGP Outbound Route Filter (ORF) capability allows one BGP router to install its configured inbound prefix list filter on to the remote BGP router. This is used for reducing the amount of unwanted routing updates from the remote peer.

When using this command, a BGP connection will be torn down, so the following log message will be generated.

[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)

Where the <ipaddress> is the address of the peer. After a while, the connection will be rebuilt, and the following log message will be generated.

[BGP(1):] BGP connection is successfully established Peer:<ipaddress>

Where the <ipaddress> is the address of the peer.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

The following example shows how to configure the router to advertise ORF.

Assume there are two routers, R1 (10.90.90.90) and R2 (10.1.1.1). R2 has two BGP routes, 172.18.1.0/24 and 172.19.1.0/24. R1 only want to receive 172.18.0.0/16, and then it can notify to R2 its willingness though ORF.

On router R1, configure an ip prefix-list named ‘myorf’ first.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list myorf permit 172.18.0.0/16 le 32

DXS-3600-32S(config)#

Example

Then, set the routing policy to R2, and advertise the ORF to R2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 10.1.1.1 remote-as 1

DXS-3600-32S(config-router)#neighbor 10.1.1.1 prefix-list myorf in

DXS-3600-32S(config-router)#neighbor 10.1.1.1 capability orf prefix-list send

DXS-3600-32S(config-router)#

Example

On router R2, advertise its ORF capability in receive direction to R1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 101

DXS-3600-32S(config-router)#neighbor 10.90.90.90 remote-as 10

DXS-3600-32S(config-router)#neighbor 10.90.90.90 capability orf prefix-list receive

DXS-3600-32S(config-router)#

7-30 neighbor default-originate

This command is used to allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor for use as a default route. To send no route as a default, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} default-originate [route-map MAP-NAME]

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} default-originate

Parameters

IP-ADDRESS

PEER-GROUP-NAME

MAP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

(Optional) Specifies the name of the route map. The length is up to 16 characters.

The route map allows route 0.0.0.0 to be injected conditionally.

87

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

Default

Command Mode

No default route is sent to the neighbor.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command allows a BGP speaker (the local router) to send the default route

0.0.0.0/0 to a specified neighbor to use as its default route. If route map is specified, the default route will be injected if the route map contains a match IP address statement.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to advertisement the BGP default route to the neighbor

172.16.2.3 unconditionally.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 10

DXS-3600-32S(config-router)#neighbor 172.16.2.3 remote-as 20

DXS-3600-32S(config-router)#neighbor 172.16.2.3 default-originate

DXS-3600-32S(config-router)#

Example

This example shows how to send an advertisement BGP default route to neighbor

172.16.22.32 and set the weight to 2000. Create a route-map name, called ‘mymap’ and set the entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mymap permit 1

DXS-3600-32S(config-route-map)#set weight 2000

DXS-3600-32S(config-route-map)#

Example

This example shows how to configure BGP neighbor to use the route map, called

‘mymap’, as the default originate filter.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 1

DXS-3600-32S(config-router)#neighbor 172.16.22.32 remote-as 2

DXS-3600-32S(config-router)#neighbor 172.16.22.32 default-originate route-map mymap

DXS-3600-32S(config-router)#

7-31 neighbor description

This command is used to associate a description with a neighbor or a peer group. Use the no form of this command to remove the description.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} description DESC

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} description

Parameters

IP-ADDRESS

PEER-GROUP-NAME

DESC

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies a descriptive string for the neighbor. The maximum length is 80 characters.

The syntax is general string that allows space.

Default

There is no description.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

88

Usage Guideline

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

If you specify a BGP peer group by using the PEER-GROUP-NAME argument, all the members of the peer group will inherit the characteristic (description) configured with this command.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to configure a description for the neighbor 172.16.10.10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65101

DXS-3600-32S(config-router)#neighbor 172.16.10.10 description ABC in Taiwan

DXS-3600-32S(config-router)#

7-32 neighbor ebgp-multihop

This command is used to set the TTL value of BGP connections to external peers or peer-groups that are not directly connected. Use the no form of this command to return to the default.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} ebgp-multihop [NUMBER]

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} ebgp-multihop

Parameters

IP-ADDRESS

PEER-GROUP-NAME

NUMBER

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

(Optional) Specifies the TTL value, range from 1 to 255. If it is not specified, the value is 255.

Default

Command Mode

By default, the hop value for EBGP neighbor is 1.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If you specify a BGP peer group by using the PEER-GROUP-NAME argument, all the members of the peer group will inherit the characteristic configured with this command

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the value of the ebgp-multihop in order to connect to the neighbor 172.16.10.10, which resides on a network that is not directly connected.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65101

DXS-3600-32S(config-router)#neighbor 172.16.10.10 ebgp-multihop 5

DXS-3600-32S(config-router)#

Example

This example shows how to set the ebgp-multihop value to 255, without the

NUMBER parameter.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65101

DXS-3600-32S(config-router)#neighbor 172.16.10.10 ebgp-multihop

DXS-3600-32S(config-router)#

89

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

7-33 neighbor filter-list

This command is used to set up a BGP filter. Use the no command to disable this function.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} filter-list ACCESS-LIST-NAME {in | out}

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} filter-list {in | out}

Parameters

IP-ADDRESS

PEER-GROUP-NAME

ACCESS-LIST-NAME

in out

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the name of an autonomous system path access list. You define this access list with the ip as-path access-list command.

Specifies the filter list that is applied to incoming advertisements from that neighbor.

Specifies the filter list that is applied to outgoing advertisements to that neighbor.

Default

Command Mode

No filter is used.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command specifies an access list filter on updates based on the BGP autonomous system paths. Each filter is an AS path access list based on regular expressions.

If the filter list doesn’t exist, it will permit all. If the filter list does exist but has no filter entry, it means deny any.

Each neighbor can only have one inbound and one outbound access list.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to configure the BGP neighbor 172.16.1.1 not to sent advertisements about any path through the adjacent autonomous system 123.

Firstly, create an ip as-path access-list named ‘myacl’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip as-path access-list myacl deny _123_

DXS-3600-32S(config)#ip as-path access-list myacl deny ^123$

DXS-3600-32S(config)#ip as-path access-list myacl permit .*

DXS-3600-32S(config)#

Example

Then, set the routing policy to neighbor 172.16.1.1

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 192.168.6.6 remote-as 123

DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 65200

DXS-3600-32S(config-router)#neighbor 172.16.1.1 filter-list myacl out

DXS-3600-32S(config-router)#

7-34 neighbor maximum-prefix

This command is used to control how many prefixes can be received from a neighbor. Use the no form of this command to return to the default value.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix MAXIMUM [THRESHOLD] [warning-only]

90

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

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix

Parameters

IP-ADDRESS

PEER-GROUP-NAME

MAXIMUM

THRESHOLD

warning-only

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the maximum number of prefixes allowed from the specified neighbor. The number of prefixes that can be configured is limited only by the available system resources on a router.

(Optional) Integer specifying at what the percentage of the maximum prefix limit the router starts to generate a warning message. The range is from 1 to 100. The default is 75.

(optional) Allows the router to generate a sys-log message when the maximumprefix limit is exceeded, instead of terminating the peering session.

Default

Command Mode

Peering sessions are disabled when the maximum number of prefixes is exceeded.

THRESHOLD: 75 percent

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When the number of received prefixes exceeds the maximum number configured,

BGP disables the peering session (by default). You can use the clear ip bgp command to re-establish the session. If the warning-only keyword is configured,

BGP sends only a log message and continues to peer with the sender.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

In the following example, the maximum prefixes that will be received from the

192.168.1.1 neighbor are set to 10000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 192.168.1.1 remote-as 30000

DXS-3600-32S(config-router)#neighbor 192.168.1.1 maximum-prefix 10000

DXS-3600-32S(config-router)#

Example

This example shows how to set the maximum prefixes to 10000, and set the local router to generate a log message instead of terminate the session when the maximum-prefix limit is exceeded.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 192.168.1.1 remote-as 30000

DXS-3600-32S(config-router)#neighbor 192.168.1.1 maximum-prefix 10000 warning-only

DXS-3600-32S(config-router)#

7-35 neighbor next-hop-self

This command is used to configure the router as the next hop for a BGP-speaking peer or a peer group. To disable this feature, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} next-hop-self

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} next-hop-self

Parameters

IP-ADDRESS

Specifies the IP address of the BGP peer.

91

PEER-GROUP-NAME

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

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

This command is disabled by default.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is useful in unmeshed networks (like Frame Relay or X.25) where

BGP neighbors may not have direct access to all other neighbors on the same IP subnet.

If a neighbor belongs to a peer group, you can only configure the next-hop-self attribute from the peer group.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to force all updates destined for 10.108.1.1 to advertise this router as the next hop.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 10.108.1.1 remote-as 30000

DXS-3600-32S(config-router)#neighbor 10.108.1.1 next-hop-self

DXS-3600-32S(config-router)#

7-36 neighbor password

This command is used to enable Message Digest 5 (MD5) authentication and set the password on a TCP connection between two BGP peers. To disable this function, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} password PASSWORD

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} password

Parameters

IP-ADDRESS

PEER-GROUP-NAME

PASSWORD

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies a case-sensitive password of up to 25 characters. Set the MD5 authentication password when the TCP connection between BGP neighbors is established.

Default

Command Mode

Disabled.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

92

Usage Guideline

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

This command is used to configure the password for a BGP neighbor or BGP peer group. The password setting will cause TCP connections between the peers to restart with MD5 authentication. The same password need be configured between peers, otherwise the TCP connection will fail. A password can use special characters, such as ‘~!@#$%^&*()-_=+|\}]{[“’:;/><.,?’. The maximum length of the password is 25 characters.

When using this command, BGP connection will be torn down, so the following log message will be generated.

[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)

Where the <ipaddress> is the address of the peer. After a while, the connection will be rebuilt if both the BGP speakers are configured the same password, and the following log message will be generated.

[BGP(1):] BGP connection is successfully established Peer:<ipaddress>

Where the <ipaddress> is the address of the peer.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the password of the BGP neighbor 10.2.2.2 to “abc”.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor 10.2.2.2 remote-as 30000

DXS-3600-32S(config-router)#neighbor 10.2.2.2 password abc

DXS-3600-32S(config-router)#

7-37 neighbor peer-group (add group member)

This command is used to add a neighbor in a peer group. Use the no command to remove a neighbor in a peer group.

neighbor IP-ADDRESS peer-group PEER-GROUP-NAME

no neighbor IP-ADDRESS peer-group PEER-GROUP-NAME

Parameters

IP-ADDRESS

PEER-GROUP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

None.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The neighbor at the specified IP address inherits all the configuration of the peer group. The members of a peer group must all be internal or external. If all the members of the BGP peer group are external, they are allowed to have different AS numbers.

There are two kinds of peer groups. For one kind, the remote AS is not set. Members must be created with remote-as parameter before adding to the peer group. After a neighbor is added to the peer group, there is no influence to its remote AS if we then configure the peer group’s remote AS. For the other kind, the peer group has been set a remote AS number. A neighbor can be added to the peer group with no remote

AS. In this situation, it inherits the peer group’s remote AS automatically, and its remote AS changes with the changing of peer group’s remote AS.

93

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

If a BGP peer belongs to a peer group, some attributes or actions can only be configured from the peer group. The following is a list of them: capability-of-prefix-list next-hop-self route-reflector-client send-community soft-reconfiguration-inbound remove-private-as allowas-in holdtime keepalive unsuppress-map filter-list for out direction route-map for out direction prefix-list for out direction

On the contrary, some attributes or actions are allowed to be configured from both the peer group and the member. If they are configured from the member, the setting will overwrite the setting configured from the peer group.

Other attributes that can be set from an individual peer are as follows: description, filter-list for in direction, route-map for in direction, prefix-list for in direction, ebgp-multihop, shutdown, activate, weight.

default-originate.

update-source.

As for the above attributes, setting the attribute of a peer group will automatically affect the setting for individual peers in the peer group.

If a BGP neighbor has already been the established state before using this command, BGP connection will be torn down, so the following log message will be generated.

[BGP(2):] BGP connection is normally closed (Peer:<ipaddress>)

Where the <ipaddress> is the address of the peer. After a while, the connection will be rebuilt, and the following log message will be generated.

[BGP(1):] BGP connection is successfully established Peer:<ipaddress>

Where the <ipaddress> is the address of the peer.

When delete a peer from the peer group, the peer will be deactivated if it was created with remote-as parameter.

Use the show ip bgp peer-group command to verify your settings.

Example

This example shows how to add an existing peer 172.16.1.1 to a peer group named

‘G1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor G1 peer-group

DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 30000

DXS-3600-32S(config-router)#neighbor 172.16.1.1 peer-group G1

DXS-3600-32S(config-router)#

94

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

Example

This example shows how to to add a new peer 172.16.1.2 to the peer group ‘G2’, in which case the peer group must be configured the remote-as first.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor G2 peer-group

DXS-3600-32S(config-router)#neighbor G2 remote-as 30000

DXS-3600-32S(config-router)#neighbor 172.16.1.2 peer-group G2

DXS-3600-32S(config-router)#

7-38 neighbor peer-group (create group)

This command is used to create a peer group. Use the no form of this command to delete a peer group.

neighbor PEER-GROUP-NAME peer-group

no neighbor PEER-GROUP-NAME peer-group

Parameters

PEER-GROUP-NAME

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

No default peer group.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to gather a set of neighbors for simplifying configuration. The remote AS must specified by using the neighbor PEER-GROUP-NAME remote-as

AS-NUMBER command.

Use the show ip bgp peer-group command to verify your settings.

Example

This example shows how to create a peer group named ‘MAIN-GROUP’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor MAIN-GROUP peer-group

DXS-3600-32S(config-router)#

7-39 neighbor prefix-list

This command is used to set a routing policy to a specified peer or a peer group based on the prefix list. To remove a prefix list, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} prefix-list PREFIX-LIST-NAME {in | out}

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} prefix-list {in | out}

Parameters

IP-ADDRESS

PEER-GROUP-NAME

PREFIX-LIST-NAME

in out

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the name of a prefix list. The length is up to 16 characters.

Specifies the filter list that is applied to incoming advertisements from that neighbor.

Specifies the filter list that is applied to outgoing advertisements to that neighbor.

95

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

Default

Command Mode

All external and advertised address prefixes are distributed to BGP neighbor.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The command is used to configure the filter related setting for a BGP neighbor or a peer group based on the prefix list.

If the prefix list doesn’t exist or the prefix list does exist but has no filter entry defined, it will permit all.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to configure the BGP neighbor 172.18.1.1 to apply the prefix list named myprefix to incoming advertisements:

Firstly, create an ip prefix-list named ‘myprefix’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list myprefix permit 172.20.0.0/16 le 32

DXS-3600-32S(config)#

Example

Then, set the routing policy to neighbor 172.18.1.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor 172.18.1.1 remote-as 65200

DXS-3600-32S(config-router)#neighbor 172.18.1.1 prefix-list myprefix in

DXS-3600-32S(config-router)#

7-40 neighbor remote-as

This command is used to create a BGP neighbor with its remote AS or configure the remote AS of a peer group. Use the no form of this command to delete a neighbor or a peer group.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} remote-as AS-NUMBER

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} remote-as

Parameters

IP-ADDRESS

PEER-GROUP-NAME

AS-NUMBER

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the number of autonomous system to which the neighbor belongs. Range for 2-byte numbers is 1 to 65535. Range for 4-byte numbers is 1 to 4294967295.

Default

Command Mode

There are no BGP neighbor peers.

Router Configuration Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If you specify a BGP peer group, all the members of the peer group will inherit the characteristic configured with this command. When using the no form of this command with PEER-GROUP parameter, all the members that are generated with no indicated AS number will be deleted.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

96

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

Example

This example shows how to create a neighbor 10.10.10.2 with remote AS 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 40000

DXS-3600-32S(config-router)#neighbor 10.10.10.2 remote-as 10

DXS-3600-32S(config-router)#

7-41 neighbor remove-private-as

This command is used to remove private autonomous system numbers from the autonomous system path attribute in the updates sent to the specified neighbor or the members of the specified peer group. To disable this function, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} remove-private-as

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} remove-private-as

Parameters

IP-ADDRESS

PEER-GROUP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

By default, this option is disabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is available for external BGP (eBGP) neighbors only.

When an update is passed to the external neighbor, if the autonomous system path includes private autonomous system numbers, the software will drop the private autonomous system numbers except the following conditions:

If the autonomous system path includes both private and public autonomous system numbers, the software considers this to be a configuration error and does not remove the private autonomous system numbers.

If the autonomous system path contains the autonomous system number of the eBGP neighbor, the private autonomous system numbers will not be removed.

If this command is used with confederation, it will work as long as the private autonomous system numbers follow the confederation portion of the autonomous path. The private autonomous system values are 64512 to

65535.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to remove the private autonomous system number from the updates sent to 172.16.1.1. The AS path attribute of the updates advertised by

10.10.10.10 through autonomous system 100 will just contain “10” (as seen by autonomous system 20).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 10

DXS-3600-32S(config-router)#neighbor 10.10.10.10 remote-as 65530

DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 20

DXS-3600-32S(config-router)#neighbor 172.16.1.1 remove-private-as

DXS-3600-32S(config-router)#

97

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

7-42 neighbor route-map

This command is used to apply a route map to incoming or outgoing routes. Use the no command to remove the route map.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-map MAP-NAME {in | out}

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-map {in | out}

Parameters

IP-ADDRESS

PEER-GROUP-NAME

MAP-NAME in out

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the name of the route map. The length is up to 16 characters.

Applies the route-map to the incoming routes.

Applies the route-map to the outgoing routes.

Default

Command Mode

None.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The command is used to configure the route map related setting for a BGP neighbor or a peer group.

If a route map is configured relating to a BGP neighbor but the route map doesn’t exist, it means deny any. If the route map exists but has no filter entry defined, it will permit all.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to apply a route map named internal-map to a BGP outgoing updates to 172.16.1.1:

Firstly, create a route-map named ‘internal-map’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map internal-map

DXS-3600-32S(config-route-map)#set local-preference 100

DXS-3600-32S(config-route-map)#

Example

Then, set the routing policy to neighbor 172.16.1.1

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 10

DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 10

DXS-3600-32S(config-router)#neighbor 172.16.1.1 route-map internal-map out

DXS-3600-32S(config-router)#

7-43 neighbor route-reflector-client

This command is used to configure the local BGP as a route reflector and specify a neighbor or a peer group as its client. Use the no form of this command to remove the client.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-reflector-client

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-reflector-client

98

Parameters

IP-ADDRESS

PEER-GROUP-NAME

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

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

No route reflector client set.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When the route reflector client is defined and the router reflection is enabled by the command bgp client-to-client reflection, the BGP router will act as the route reflector. The reflector and its clients form a cluster. In a cluster, all the members must be an iBGP connection with the reflector and vice versa. The reflector is the representative of the cluster. For the reflector, the iBGP connection is established by the neighbor remote-as command and the corresponding neighbor must be specified as the client by this command. For the client, the iBGP connection is established by the neighbor remote-as command.

When the router is in reflection mode, the router will exchange information with client neighbors in the reflection way and with the remaining neighbors in the ordinary way.

When the router is in non-reflection mode, the router will exchange information with all the neighbors in the non-reflection way.

An AS can have multiple clusters, and a cluster can have more than one reflector for redundancy purposes.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to add a neighbor as the route reflector client.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 5

DXS-3600-32S(config-router)#neighbor 10.10.10.2 remote-as 5

DXS-3600-32S(config-router)#neighbor 10.10.10.2 route-reflector-client

DXS-3600-32S(config-router)#

7-44 neighbor send-community

This command is used to specify that community attribute should be sent to a BGP neighbor or all the members of a peer group. Use the no form of this command to remove the entry.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} send-community [standard]

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} send-community [standard]

Parameters

IP-ADDRESS

PEER-GROUP-NAME

standard

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

(Optional) Specifies that only standard communities will be sent.

Default

None.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

99

Usage Guideline

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

If you specify a BGP peer group by using the PEER-GROUP-NAME, all the members of the peer group will inherit the characteristic configured with this command.

Only the standard communities will be sent if no optional parameter is specified.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the send-community with standard.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 10.4.4.4 remote-as 65200

DXS-3600-32S(config-router)#neighbor 10.4.4.4 send-community standard

DXS-3600-32S(config-router)#

7-45 neighbor shutdown

This command is used to disable a neighbor or a peer group. Use the no form of this command to re-enable a neighbor or a peer group.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} shutdown

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} shutdown

Parameters

IP-ADDRESS

PEER-GROUP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

The peers or peer groups do not shut down.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

You can use this command to terminate any active session for the specified neighbor or peer group. After this command is executed, all the routing information associated with the neighbor or peer group are cleared, but the configured information still exist.

In the case of a peer group, a large number of peering sessions could be terminated suddenly.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to disable any active session for the neighbor

172.16.10.10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 shutdown

DXS-3600-32S(config-router)#

7-46 neighbor soft-reconfiguration inbound

This command is used to start storing the route updates received from the specified neighbor or peer group. To not store received updates, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} soft-reconfiguration inbound

100

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

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} soft-reconfiguration inbound

Parameters

IP-ADDRESS

PEER-GROUP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

Command Mode

Disabled.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If the setting is enabled, the route updates received from the specified neighbor or peer group will be stored. In this case, the routing table can be rebuilt based on the stored route updates after the soft reset for inbound sessions. Otherwise, both BGP peers must support the soft route refresh capability, which is advertised in the OPEN message sent when the peers establish a TCP session, and in order to rebuild the routing table, the local router need to send the ROUTE REFRESH message to the neighbor to ask for the route information.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to enable the inbound soft reconfiguration for the neighbor

172.16.10.1. All the updates received form this neighbor will be stored unmodified, regardless of the inbound policy.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#neighbor 172.16.10.1 remote-as 65200

DXS-3600-32S(config-router)#neighbor 172.16.10.1 soft-reconfiguration inbound

DXS-3600-32S(config-router)#

7-47 neighbor timers

This command is used to set the timers for a specific BGP peer or a peer group. Use the no form of this command to return to the default value of the global setting.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} timers KEEP-ALIVE HOLD-TIME

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} timers

Parameters

IP-ADDRESS

PEER-GROUP-NAME

KEEP-ALIVE

HOLD-TIME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the frequency (in seconds) with which the software sends keepalive messages to its peer. The default is 60 seconds. The range is from 0 to 65535.

Specifies the interval (in seconds) after not receiving a keepalive message that the software declares a peer dead. The default is 180 seconds. The range is from 0 to

65535.

Default

Command Mode

KEEPALIVE: 60 seconds

HOLDTIME: 180 seconds

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

101

Usage Guideline

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

KEEP-ALIVE specifies the interval at which a keepalive message is sent to its peers.

The system will declare a peer as dead if not receiving a keepalive message until the hold time.

If the holdtime is zero, the hold time will never expire. If the keepalive is set to zero, the keepalive message will never be sent out

It is recommended that the holdtime value is three times than the keepalive timer.

The timers configured for a specific neighbor or peer group override the timers configured for all BGP neighbors using the timers bgp command.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to configure the KEEP-ALIVE timer to 120 seconds and

HOLDTIME timer to 360 seconds for the neighbor 172.16.10.10

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 10

DXS-3600-32S(config-router)#neighbor 172.16.10.10 remote-as 65300

DXS-3600-32S(config-router)#neighbor 172.16.10.10 timers 120 360

DXS-3600-32S(config-router)#

7-48 neighbor unsuppress-map

This command is used to selectively advertise routes previously suppressed by the aggregate-address command. Use the no form of this command to remove the route map.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} unsuppress-map MAP-NAME

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} unsuppress-map

Parameters

IP-ADDRESS

PEER-GROUP-NAME

MAP-NAME

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the name of the route map. The length is up to 16 characters.

Default

No routes are unsuppressed.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When a route map is applied by this command, the suppressed route which matches the permit rule will be unsuppressed.

If a route map is configured relating to a BGP neighbor but the route map doesn’t exist, it means deny any. If the route map exists but has no filter entry defined, it will permit all.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows the routes specified by a route map named internal-map being unsuppressed for neighbor 172.16.10.10

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 unsuppress-map internal-map

DXS-3600-32S(config-router)#

102

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

7-49 neighbor update-source

This command is used to allow BGP sessions to use any operational interface for TCP connections. Use the no form of this command to restore the interface assignment to the closest interface.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} update-source INTERFACE-TYPE INTERFACE-NUMBER

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} update-source

Parameters

IP-ADDRESS

PEER-GROUP-NAME

INTERFACE-TYPE

INTERFACE-NUMBER

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the type of the interface. The supporting types include VLAN interface.

Specifies the number of the interface. The interface number’s range is from 1 to

4094 for the VLAN interface.

Default

Command Mode

By default, this option is disabled.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command in conjunction with any specified interface on the router. After this command configured success, BGP neighbor’s session will be rebuilt.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the update-source interface of neighbor

172.16.10.10 to VLAN interface 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 172.16.10.10 update-source vlan 3

DXS-3600-32S(config-router)#

7-50 neighbor weight

This command is used to specify the weight to be associated with a specific neighbor. To remove a weight assignment, use the no form of this command.

neighbor {IP-ADDRESS | PEER-GROUP-NAME} weight NUMBER

no neighbor {IP-ADDRESS | PEER-GROUP-NAME} weight

Parameters

IP-ADDRESS

PEER-GROUP-NAME

NUMBER

Specifies the IP address of the BGP peer.

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Specifies the weight to assign. Acceptable values are from 0 to 65535.

Default

Command Mode

Routes learned from another BGP peer have a default weight of 0 and routes sourced by the local router have a default weight of 32768.

Router Configuration Mode.

103

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

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The weight specified by this command determine the weight to be associated the routes learned from the specified neighbor.

Use the show ip bgp neighbors or show ip bgp peer-group command to verify your settings.

Example

This example shows how to set the weight of the neighbor 10.4.4.4 to 10000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#neighbor 10.4.4.4 remote-as 65200

DXS-3600-32S(config-router)#neighbor 10.4.4.4 weight 10000

DXS-3600-32S(config-router)#

7-51 network (BGP)

This command is used to configure the networks to be advertised by the Border Gateway Protocol (BGP) process. To remove an entry from the routing table, use the no form of this command.

network NETWORK-ADDRESS [route-map MAP-NAME]

no network NETWORK-ADDRESS [route-map]

Parameters

NETWORK-ADDRESS

route-map MAP-NAME

Specifies the network address and the sub-network mask that BGP will advertise.

For example, the format of NETWORK-ADDRESS can be 10.9.18.2/8

(Optional) Specifies the name of a configured route map. The route map should be examined to filter the networks to be advertised. If not specified, all networks are advertised.

Default

None.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

BGP networks can be learned from connected routes, from dynamic routing, and from static route sources.

Use this command to specify a network as local to this autonomous system and adds it to the BGP routing table. For exterior protocols the network command controls which networks are advertised. Interior protocols use the network command to determine where to send updates.

The BGP will advertise a network entry if the router has the route information for this entry if synchronize state is enabled.

You can verify your settings by entering the show ip bgp network command in the

Privileged Mode.

Example

This example shows how to set up network 10.108.0.0 to be included in the BGP updates.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#network 10.108.0.0/16

DXS-3600-32S(config-router)#

104

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

Example

This example shows how to set up network 133.10.25.0/24 to be included in the

BGP updates and use route-map mymap1 to set the weight of routes to 2000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mymap1 permit 1

DXS-3600-32S(config-route-map)#set weight 2000

DXS-3600-32S(config-route-map)#exit

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#network 133.10.25.0/24 route-map mymap1

DXS-3600-32S(config-router)#

7-52 redistribute

This command is used to redistribute routing information from other routing protocols to BGP. Use the no form of this command to disable this function.

redistribute {local | static | rip | ospf {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2}} [metric

NUMBER | route-map MAP-NAME]

no redistribute {local | static | rip | ospf} [metric | route-map]

Parameters local static rip ospf

NUMBER

MAP-NAME

Specifies to redistribute local routes to BGP.

Specifies to redistribute static routes to BGP.

Specifies to redistribute RIP routes to BGP.

Specifies to redistribute OSPF routes to BGP.

all - Specifies to redistribute both OSPF AS-internal and OSPF AS-external routes to BGP.

internal - Specifies to redistribute only the OSPF AS-internal routes.

external - Specifies to redistribute only the OSPF AS-external routes, including type-1 and type-2 routes.

type_1 - Specifies to redistribute only the OSPF AS-external type-1 routes.

type_2 - Specifies to redistribute only the OSPF AS-external type-2 routes.

inter+e1 - Specifies to redistribute only the OSPF AS-external type-1 and OSPF

AS-internal routes.

inter+e2 - Specifies to redistribute only the OSPF AS-external type-2 and OSPF

AS-internal routes.

(Optional) Specifies the BGP metric value for the redistributed routes. Enter the metric value used here. This value must be between 0 and 4294967295.

(Optional) Specifies a route map which will be used as the criteria to determine whether to redistribute specific routes. Enter the route map name used here. This name can be up to 16 characters long.

Default

By default, this option is disabled.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When a switch supports multiple routing protocols, the coordination between these protocols becomes an important task. This command is used for redistribute prefixes from other routing protocols to BGP.

You can verify your settings by entering show ip bgp parameters command.

105

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

Example

This example shows how to redistribute RIP route to BGP and use the optional parameters to modify the routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 100

DXS-3600-32S(config-router)#redistribute rip metric 2000 route-map my-may

DXS-3600-32S(config-router)#

7-53 route-preference

This command is used to set the BGP route preference. Use the no form of this command to restore the default value of the BGP route preference.

route-preference {ibgp | ebgp} value

no route-preference

Parameters

value

Specifies the preference of the BGP route. The value range is 1-999.

Default

Command Mode

The default route-preference for EBGP is 70 and IBGP is 130.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is to set the route-preference for BGP route. BGP route contains two types one is IBGP and the other is EBGP. When two or more route protocols have learned one same route, the route-preference will be used to decide which one should be added into IP route table. Of course, for one route the smaller the routepreference, the better the route is.

Users can verify the settings by entering the show ip route-preference command in

Privileged mode.

Example

This example shows how to configure the iBGP route-preference for autonomous system 200.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 200

DXS-3600-32S(config-router)#route-preference ibgp 15

DXS-3600-32S(config-router)#

7-54 router bgp

This command is used to enable (configure) the BGP routing process. Use the no form of this command to remove a

BGP routing process.

router bgp AS-NUMBER

no router bgp AS-NUMBER

Parameters

AS-NUMBER

Specifies the number of an autonomous system that identifies the router to other

BGP routers. The range for 2-byte numbers is 1 to 65535. The range for 4-byte numbers is 1 to 4294967295.

Default

No BGP routing process is enabled by default.

106

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

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Each public autonomous system that directly connects to the Internet is assigned a unique number that identifies both the BGP routing process and the autonomous system (a number from 1 to 64511). Private autonomous system numbers are in the range from 64512 to 65534 (65535 is reserved for special use).

The AS Number size is defined as 2 bytes in RFC1771 and RFC4271.

But the AS Number can be expanded to 4 bytes to support much AS number.[RFC4893] To support 4-byte AS number, the AS number range is supported from 1 to 4294967295.

Private autonomous system numbers can be used for internal routing domains but must be translated for traffic that is routed out to the Internet. BGP should not be configured to advertise private autonomous system numbers to external networks.

Use this command to enter router configuration mode for the specified routing process.

Example

This example shows how to configure a BGP process for autonomous system 200.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 200

DXS-3600-32S(config-router)#

7-55 show ip as-path access-list

This command is used to display configured AS-path access-lists.

show ip as-path access-list [ACCESS-LIST-NAME]

Parameters

ACCESS-LIST-NAME

(Optional) Specifies the access list to be displayed. The length is up to 16 characters.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command can be used without any arguments or keywords. If no arguments are specified, this command will display all AS-path access-lists. However, when the ASpath access-list name is specified when entering the show ip as-path access-list command. This option can be useful for filtering the output of this command and verifying a single named AS-path access-list.

107

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

Example

This example shows how to display the content of IP AS-path access-list.

DXS-3600-32S#show ip as-path access-list

BGP AS Path Access List: a1

permit ^300$

deny ^200$

Total Filter Entries: 2

BGP AS Path Access List: a2

permit 3*0$

deny 20

Total Filter Entries: 2

BGP AS Path Access List: a3

permit 1

Total Filter Entries: 1

Total AS Path Access List Number: 3

DXS-3600-32S#

Display Parameters

BGP AS Path Access List permit deny

Total Filter Entries

Total AS Path Access List

Number

Description

Indicates the name of the BGP AS path access list.

Indicates that the packets will be accepted if there AS-PATH attribute match the regular expression specified.

Indicates that the packets will be rejected if there AS-PATH attribute match the regular expression specified.

Indicates the total number of entries of a specifically AS path access list.

Indicates the total number of the AS path access lists.

7-56 show ip bgp

This command is used to display entries in the Border Gateway Protocol (BGP) routing table.

show ip bgp [{IP-ADDRESS | NETWORK-ADDRESS [longer-prefixes]}]

Parameters

IP-ADDRESS

NETWORK-ADDRESS

longer-prefixes

(Optional) Specifies the IP address entered to filter the output to display only a particular host or network in the BGP routing table.

(Optional) Specifies the network address and the sub-network mask. For example,

120.25.0.0/16

(Optional) Displays the specified route and all more specific routes.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

108

Usage Guideline

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

The show ip bgp command is used to display the contents of the BGP routing table.

When one bgp route’s as path information filed carried more than 160 characters, this command will not show the totally information, and the command of show ip

bgp NETWORK-ADDRESS can show the full information of this route especially the as path.

Example

DXS-3600-32S#show ip bgp

This example shows how to show the BGP routing table.

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 10.0.0.0/8 0.0.0.0 1 32768 ?

Total number of prefixes: 1

DXS-3600-32S#

Example

This example shows how to show the BGP routing which network address is

172.18.0.0/16 and includes longer prefixes.

DXS-3600-32S#show ip bgp 172.18.0.0/16 longer-prefixes

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 172.18.0.0/16 10.90.1.1 1 32768 100 200 ?

*> 172.18.2.0/16 10.90.1.1 1 32768 100 200 ?

*> 172.18.3.0/16 10.90.1.1 1 32768 100 200 ?

Total number of prefixes: 3

DXS-3600-32S#

Example

When one route’s AS-path field is more than 160 characters, using this command, can only show 160 characters of the AS-path field.

DXS-3600-32S#show ip bgp

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 66.1.1.0/16 65.1.1.2 1 32768 (400)100 200 300 500 501 502

503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526

527 528 529 530 531 532 533 534 535 536 53 1000 i

*> 63.1.5.0/16 65.1.1.2 1 32768 (400)100 200 300 500 501 502

503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526

527 528 529 530 531 532 533 534 535 536 53 1000 i

*> 72.18.3.0/16 65.1.1.2 1 32768 (400)100 200 300 500 501 502

503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526

527 528 529 530 531 532 533 534 535 536 53 1000 i

Total number of prefixes: 3

DXS-3600-32S#

109

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

Example

If you show some of these routes, using the show ip bgp NETWORK-ADDRESS command, you will get the total information of these route.

DXS-3600-32S#show ip bgp 66.1.1.0/24

BGP routing table entry for 66.1.1.0/24

Paths:(1 available, best #1, table: Default_IP_Routing_Table.)

Advertised to non peer-group peer: 76.1.1.10

Advertised to peer-groups:group1,group2

As path is: (400) 100 200 300 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516

517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 53 1000 600 601

602 603 604 605 606 607 609 750 751 752 757 758 759 780 1005 1007 2000 2008 1010 2010 953 959

Next hop is:65.1.1.2 (metric 1) from 65.1.1.102 (177.221.0.3)

Origin IGP, Imetric 1, localpref 4294967295, weight 30000, confed-external, best

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Total number of prefixes

Description

This is the router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total prefixes number of BGP route table displayed.

7-57 show ip bgp aggregate

This command is used to display the aggregate entry in the BGP (Border Gateway Protocol) database.

show ip bgp aggregate [NETWORK-ADDRESS]

110

Parameters

NETWORK-ADDRESS

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

(Optional) Specifies the network address and the sub-network mask, for example:

120.25.0.0/16

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display aggregate entries created.

Example

This example shows the output from the show ip bgp aggregate command, in privileged mode.

DXS-3600-32S#show ip bgp aggregate 10.0.0.0/8

Network Address Options

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

100.0.0.0/8 -

200.0.0.0/10 summary-only

Total Aggregate Address Number: 2

DXS-3600-32S#

Display Parameters

Network Address

Options

Total Aggregate Address

Number

Description

IP prefix with its mask length of the entry.

May be ‘as-set’ or ‘summary-only’.

The aggregate network number.

7-58 show ip bgp cidr-only

This command is used to display routes with classless inter-domain routing (CIDR).

show ip bgp cidr-only

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display BGP routes with classless inter-domain routing

(CIDR).

111

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

Example

This example shows the output from the show ip bgp cidr-only command, in privileged mode.

DXS-3600-32S#show ip bgp cidr-only

BGP Local Router ID is 10.0.40.1

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 10.10.10.0/23 172.16.10.1 0 300 10 i

*> 10.10.20.0/23 172.16.10.1 0 300 10 i

*> 10.20.10.0/22 172.16.10.1 0 300 10 i

*dh 30.10.1.1/23 172.3.3.2 100 50 200 20 i

Total number of prefixes: 4

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Total number of prefixes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total prefixes number of BGP route table displayed.

7-59 show ip bgp community

This command is used to display routes which are matching the community.

show ip bgp community COMMUNITY [exact-match]

112

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

Parameters

COMMUNITY

exact-match

Specifies a community, in the form of <as-number> : <udn-number> or any of the following predefined values: internet, no-export, local-as, no-advertise. A community string can be formed by multiple communities, separated by a comma.

For example, a community string is 200:1024, 300:1025, 400:1026.

(Optional) If specified, communities need to match exactly.

If not specified, then there are two cases:

1. If internet is contained in the community list, then all routes will match.

2. If not, then the community needs to be a subset of route’s community to match.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the routes which match the community specified.

When using this command with the ‘exact-match’ parameter, only the routes of which the community attribute exactly matches will be displayed.

Example

This example shows the output from the show ip bgp community command in, privileged mode.

DXS-3600-32S#show ip bgp community local-as

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*>10.10.10.0/24 172.16.10.1 0 300 10 i

*>10.10.20.0/24 172.16.10.1 0 300 10 i

*>10.20.10.0/24 172.16.10.1 0 300 10 i

Total number of prefixes: 3

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

113

Display Parameters

Metric

LocPrf

Weight

Path

Total number of prefixes

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

Description

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total prefixes number of BGP route table displayed.

7-60 show ip bgp community-list

This command is used to display routes that are permitted by the Border Gateway Protocol (BGP) community list.

show ip bgp community-list COMMUNITY-LIST-NAME [exact-match]

Parameters

COMMUNITY-LIST-NAME

Specifies the community list name. The maximum length is 16 characters.

exact-match

(Optional) Displays only routes that have an exact match.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command requires you to specify an argument when used. The exact-match keyword is optional.

Example

This example shows the output of the show ip bgp community-list command.

DXS-3600-32S#show ip bgp community-list MarketingComm

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

* i10.3.0.0/16 10.0.22.1 0 100 0 1800 1239 ?

* i10.6.0.0/16 10.0.22.1 0 100 0 1800 690 ?

* i10.7.0.0/16 10.0.22.1 0 100 0 1800 701 ?

Total number of prefixes: 3

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

114

Display Parameters

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Total number of prefixes

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

Description

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total prefixes number of BGP route table displayed.

7-61 show ip bgp confederation

This command is used to display the confederation configuration of BGP.

show ip bgp confederation

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the detail of the confederation configured.

Example

This example shows how to show the current settings of confederation.

DXS-3600-32S#show ip bgp confederation

BGP AS Number : 200

Confederation Identifier : 10

Confederation Peer : 201, 202

Neighbor List:

IP Address Remote AS Number

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

10.1.1.1 200

172.18.1.1 201

192.168.1.1 202

DXS-3600-32S#

Display Parameters

BGP AS Number

Confederation Identifier

Confederation Peer

Neighbor List

IP Address

Description

Indicates the AS number of the local BGP.

Indicates the confederation Identifier of the local BGP.

Indicates the sub-AS numbers in the same confederation.

List all the neighbors in the local BGP router.

Indicates the IP address of the neighbors.

115

Display Parameters

Remote AS Number

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

Description

AS number of the neighbor.

7-62 show ip bgp dampening dampened-paths

This command is used to display routes that were dampened by BGP.

show ip bgp dampening dampened-paths

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to show dampened entries in the BGP routing table.

Example

This example shows how to display the dampened routes, using the show ip bgp

dampening dampened- paths command, in privileged mode.

DXS-3600-32S#show ip bgp dampening dampened-paths

BGP Local Router ID is 172.29.232.182

Status codes: s suppressed, d damped, h history, * valid, > best, i -internal

Origin codes: i - IGP, e - EGP, ? - incomplete

Network From Reuse Path

*d 10.0.0.0/8 172.16.232.177 00:18:4 100 ?

*d 10.2.0.0/16 172.16.232.177 00:28:5 100 ?

Total number of prefixes: 2

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

Network

From

Reuse

Path

Total number of prefixes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

The peer’s router-id of BGP.

The time that should expire before BGP will re-use this route.

Autonomous system paths to the destination network.

The total number of dampened BGP route displayed.

116

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

7-63 show ip bgp dampening parameters

This command is used to display the BGP dampening configuration.

show ip bgp dampening parameters

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the dampening parameters of BGP.

Example

This example shows how to display the dampening configuration information by using the show ip bgp dampening parameters command, in privileged mode.

DXS-3600-32S#show ip bgp dampening parameters

BGP Dampening State :Disabled

BGP Dampening Route Map :

Half-life Time :15 mins

Reuse Value :750

Suppress Value :2000

MAX Suppress Time :60 mins

Unreachable route's Half-life :15 mins

DXS-3600-32S#

Display Parameters Description

BGP Dampening State

Specifies the BGP dampening function’s state.

BGP Dampening Route Map

The route map here is to set the dampening.

Half-Life Time

Reuse Value

Specifies the time (in minute) after which the penalty of the reachable routes will be down, by half. The default setting is 15 minutes.

If the penalty for a flapping route decreases enough to fall below this value, the route is unsuppressed. The default setting is 750

A route is suppressed when its penalty exceeds this limit. The default setting is 2000.

Suppress Value

MAX Suppress Time

Maximum time (in minutes) a route can be suppressed. The default setting is 45 minutes.

Unreachable route's Half-life Specifies the time (in minute) after which the penalty of the unreachable routes will be down, by half. The default setting is 15 minutes.

7-64 show ip bgp dampening flap-statistics

This command is used to display BGP flap statistics.

show ip bgp dampening flap-statistics

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to show flap entries in the BGP routing table.

117

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

Example

This example shows how to display the flap entries in the BGP routing table.

DXS-3600-32S#show ip bgp dampening flap-statistics

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i –internal

Origin codes: i - IGP, e - EGP, ? – incomplete

Network From Flaps Duration Reuse Path

*d 10.0.0.0/8 172.29.232.177 4 00:13:31 00:18:10 100i

*d 10.2.0.0/16 172.29.232.177 4 00:02:45 00:28:20 100i

Total number of prefixes: 2

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

Network

From

Reuse

Path

Flaps

Duration

Total number of prefixes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry dampened.

The IP address of the peer advertised this route.

Time after which the route will be made available. Format is HH:MM:SS.

Autonomous system paths of route that is being dampened.

Number of times that the route has flapped.

Time since the router noticed the first flap. Format is HH:MM:SS.

The total number of dampened BGP route displayed.

7-65 show ip bgp filter-list

This command is used to display routes that conform to a specified filter list.

show ip bgp filter-list ACCESS-LIST-NAME

Parameters

ACCESS-LIST-NAME

Specifies the AS path access list name and only the routes match the AS path access list are displayed. The maximum length is 16 characters.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

118

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

Use this command to display routs which are match the filter list specified.

Usage Guideline

Example

This example shows how to display the BGP route filter by content of access-list, as-

ACL_HQ.

DXS-3600-32S#show ip bgp filter-list as-ACL_HQ

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

* 172.16.0.0/24 172.16.72.30 0 109 108 ?

* 172.16.1.0/24 172.16.72.30 0 109 108 ?

* 172.16.11.0/24 172.16.72.30 0 109 108 ?

* 172.16.14.0/24 172.16.72.30 0 109 108 ?

* 172.16.15.0/24 172.16.72.30 0 109 108 ?

* 172.16.16.0/24 172.16.72.30 0 109 108 ?

Total number of prefixes: 6

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Total number of prefixes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network..

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total number of BGP route displayed.

7-66 show ip bgp inconsistent-as

This command is used to display the routes which have the same prefix and different AS path origins.

show ip bgp inconsistent-as

119

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

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays the routes which have inconsistent-as originating autonomous systems.

Example

This example shows the output from the show ip bgp inconsistent-as command, in privileged mode.

DXS-3600-32S#show ip bgp inconsistent-as

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

* 40.58.0.0/16 103.1.10.1 0 0 200 i

*>i 20.1.1.1 0 100 0 i

* 40.59.0.0/16 103.1.10.1 0 0 200 i

*>i 20.1.1.1 0 100 0 i

* 40.60.0.0/16 103.1.10.1 0 0 200 i

*>i 20.1.1.1 0 100 0 i

Total number of prefixes: 3

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Total number of prefixes

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

The total number of BGP route displayed.

120

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

7-67 show ip bgp neighbors

This command is used to display information of the BGP neighbors.

show ip bgp neighbors [IP-ADDRESS [{advertised-routes | received prefix-filter | received-routes| routes |

statistics}]]

Parameters

IP-ADDRESS

advertised-routes received prefix-filter received-routes routes statistics

(Optional) Specifies the IP address of a neighbor. If this argument is omitted, all neighbors are displayed.

(Optional) Displays the routes advertised to a BGP neighbor.

(Optional) Displays the prefix-list received from the specified neighbor.

(Optional) Displays the received routes from neighbor. To display all the received routes from the neighbor, configure the BGP soft reconfigure first.

(Optional) Displays all accepted routes learned from neighbors.

(Optional) Displays the statistical information of BGP speaker.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the information of the neighbor. The information may be the dynamic parameters configured to the neighbor, routers received from or sent to the neighbor, ORF filter received from the neighbor and the statistics information about the neighbor.

121

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

Example

This example shows how to display all the neighbors.

DXS-3600-32S#show ip bgp neighbors

BGP neighbor: 2.2.2.2 (Internal Peer)

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

Session State : Enabled

Session Activity : Enabled

Remote AS : 10

Remote Router ID : 0.0.0.0

BGP State : Active

Hold Time : 3 Seconds

Keepalive Interval : 1 Seconds

Advertisement Interval : 5 Seconds

EBGP Multihop : 255

Weight : 0

Next Hop Self : Disabled

Remove Private As : Disabled

AllowAS In : Disabled

Address Family IP v4 Unicast

IPv4 Unicast : None

Soft Reconfiguration Inbound : Disabled

Send Community : None

Default Originate : Disabled

Outbound Route Filter (ORF) type (64) Prefix list:

Send Mode : Disabled

Receive Mode : Disabled

Prefix Max Count : 12000

Prefix Warning Threshold : 75

Prefix Warning Only : Disabled

BGP neighbor: 10.1.1.1 (External Peer)

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

Session State : Enabled

Session Activity : Enabled

Remote AS : 1

Remote Router ID : 10.1.1.1

BGP State : Established (UP for 02:00:24)

Hold Time : 180 Seconds

Keepalive Interval : 60 Seconds

Advertisement Interval : 30 Seconds

EBGP Multihop : 1

Weight : 0

Next Hop Self : Disabled

Remove Private As : Disabled

AllowAS In : Disabled

Address Family IP v4 Unicast

IPv4 Unicast : Advertised and Received

Soft Reconfiguration Inbound : Disabled

Send Community : None

Default Originate : Disabled

Outbound Route Filter (ORF) type (64) Prefix list:

Send Mode : Disabled

Receive Mode : Enabled

IP Prefix List 10.1.1.1.1.1 : 2 entries

seq 5 permit 8.8.8.0/24 le 32

seq 10 permit 9.9.9.0/24 le 32

Prefix Max Count : 12000

Prefix Warning Threshold : 75

Prefix Warning Only : Disabled

Total neighbor number : 2

DXS-3600-32S#

122

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

Display Parameters Description

BGP neighbor

Internal Peer

External Peer

Session State

Session Activity

Remote AS

Remote Router ID

BGP State

UP for

Hold Time

Keepalive Interval

Advertisement Interval

EBGP Multihop

Weight

Update Source vlan

Next Hop Self

Remove Private As

AllowAS In

IP address of the BGP neighbor.

Indicates that the neighbor is internal.

Indicates that the neighbor is external.

Indicates whether the neighbor is shut down or not.

Indicates whether the IPv4 unicast address family is enabled or not.

AS number of the neighbor.

The router identifier of the local BGP router.

The Finite State Machine (FSM) of the neighbor. The value may be Idle, Connect,

Active, Opensent, Openconfirm and Established.

Indicates how long the Established state last. This field only display in the

Established state.

Indicates the maximum number of seconds that may elapse between the receipts of successive KEEPALIVE and/or UPDATE messages with the neighbor.

Indicates the number of seconds between sending KEEPALIVE message with the neighbor.

Indicates the minimum interval between sending Border Gateway Protocol (BGP) routing updates.

Indicates the TTL of the BGP packet sent to the neighbor.

Indicates the weight that will be associated to the routes learned from the neighbor.

Interface used for TCP connection with the neighbor.

Indicates that the update source interface is a vlan interface, followed by its VLAN

ID.

Indicates whether the local BGP enable the router as the next hop for the neighbor.

Indicates whether the configuration of removing the private AS from the AS path attribute in the updates sent to the neighbor is enabled or not.

Indicates whether the local BGP allow its own AS number appearing in the received

BGP update packets from the neighbor.

Num (AllowAS in)

Indicates how many times that the local BGP allow its own AS number appearing in the received BGP update packets. This field is only display when the AllowAS In is enabled.

Indicates that the configuration below is only for IPv4 unicast address family.

Address Family IP v4

Unicast

IPv4 Unicast

None (IPv4 Unicast)

Advertised (IPv4 Unicast)

Received (IPv4 Unicast)

Soft Reconfiguration

Inbound

Indicates whether the local BGP enable the exchange of information with a Border

Gateway Protocol (BGP) neighbor in IPv4 unicast address family.

Indicates that the local BGP does not exchange IPv4 unicast information with the neighbor.

Indicates that the local BGP advertise its IPv4 unicast information to the neighbor.

Indicates that the local BGP receive the IPv4 unicast information from the neighbor.

Indicates whether the local BGP store the route updates received from neighbor.

Send Community

None (send community)

Indicates whether the local BGP send its community attributes to the neighbor.

The local BGP doesn’t send any community attributes to the neighbor.

Standard (send community)

The local BGP send standard community attributes to the neighbor.

Extended (send community)

The local BGP send extended community attributes to the neighbor.

Default Originate

Route Map (Default

Originate)

Indicates whether the local BGP send the default route to the neighbor.

Indicates a route-map name which control in which condition the local BGP send the default route to the neighbor.

Incoming Update Prefix List

Indicates an IP prefix list name which the route updates received from the neighbor must be applied.

123

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

Display Parameters Description

Outgoing Update Prefix List

Indicates an IP prefix list name which the route updates sent to the neighbor must be applied.

Incoming Update Filter List

Indicates an AS path access list name which the route updates received from the neighbor must be applied.

Outgoing Update Filter List

Indicates an AS path access list name which the route updates sent to the neighbor must be applied.

Route Map for Incoming

Routes

Indicates a route map name which the route updates received from the neighbor must be applied.

Route Map for Outgoing

Routes

Unsuppressed Route Map

Indicates a route map name which the route updates sent to the neighbor must be applied.

Indicates a route map name which the routes previously suppressed by the aggregate-address command must be applied.

Outbound Route Filter (ORF) type (64) Prefix list

Indicates the state of the ORF prefix list.

Send Mode

Receive Mode

IP Prefix List (ORF)

Indicates whether the local BGP send ORF prefix list to the neighbor.

Indicates whether the local BGP receive ORF prefix list from the neighbor.

Name of the IP prefix list received from the neighbor. The name is made up by the IP address by the dotted decimal notation dot Address Family Identifier (AFI) dot

Subsequent Address Family Identifier (SAFI).

entries (ORF)

Seq (ORF) permit (ORF) deny (ORF) le (ORF) ge (ORF)

Password

Prefix Max Count

Prefix Warning Threshold

Number of entries of the prefix list.

Sequence number of the entry.

Indicates that routes matched the IP prefix behind will be advertised to the neighbor.

Indicates that routes matched the IP prefix behind will not be advertised to the neighbor.

Less than or equal. Indicates the length of the mask.

Greater than or equal. Indicates the length of the mask.

Show the password set on the TCP connection to the neighbor.

Show the maximum number of prefixes the local BGP can accept.

Prefix Warning Only

Description

Total neighbor number

Indicates in which percentage of the maximum prefixes the local BGP begin to log warning message.

Indicates whether the local BGP terminate the session of the neighbor after the total

BGP routes reach the maximum prefixes.

Show the description configured to descript the neighbor.

Indicates the total number of neighbors in the local BGP router.

Example

This example shows how to display routes advertised for only the 172.16.232.178 neighbor.

DXS-3600-32S#show ip bgp neighbors 172.16.232.178 advertised-routes

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*>i 10.0.0.0/24 172.16.232.179 0 100 0 ?

*> 10.20.2.0/24 172.1.1.2 0 32768 i

Total number of prefixes: 2

DXS-3600-32S#

124

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

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path entries

Seq permit deny le ge

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

Example

This example shows how to display the IP prefix-filter received from the neighbor

10.1.1.1 by ORF.

DXS-3600-32S#show ip bgp neighbors 10.1.1.1 received prefix-filter ip prefix-list 10.1.1.1.1.1: 2 entries

seq 5 permit 8.8.8.0/24 le 32

seq 10 permit 9.9.9.0/24 le 32

DXS-3600-32S#

Display Parameters

IP Prefix List

Description

Name of the IP prefix list received from the neighbor. The name is made up by the IP address by the dotted decimal notation dot Address Family Identifier (AFI) dot

Subsequent Address Family Identifier (SAFI).

Number of entries of the prefix list.

Sequence number of the entry.

Indicates that routes matched the IP prefix behind will be advertised to the neighbor.

Indicates that routes matched the IP prefix behind will not be advertised to the neighbor.

Less than or equal. Indicates the length of the mask.

Greater than or equal. Indicates the length of the mask.

125

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

Example

This example shows how to display all the unprocessed routes received only from the 10.1.1.2 neighbor. These routes are contained in the Adj-RIB-In associated with the neighbor 10.1.1.2.

DXS-3600-32S#show ip bgp neighbors 10.1.1.2 received-routes

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*>172.18.0.0/24 10.1.1.2 0 0 10 i

*>172.18.1.0/24 10.1.1.2 0 0 10 i

*>172.18.2.0/24 10.1.1.2 0 0 10 i

Total number of prefixes: 1

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

126

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

Example

This example shows how to display all the accepted routes learned only from the

10.1.1.2 neighbor. These routes are contained in the Loc-RIB. This example bases on the example above, and we configure the local policy to only allow the IP prefix

172.18.1.0/24 in.

DXS-3600-32S#show ip bgp neighbors 10.1.1.2 route

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 172.18.1.0/24 10.1.1.2 0 0 10 i

Total number of prefixes: 1

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

127

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

Example

This example shows how to display the statistical information between 10.1.1.2 and

10.10.0.2.

DXS-3600-32S#show ip bgp neighbors 10.1.1.2 statistics

BGP neighbor: 10.1.1.2 (External Peer)

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

Accepted Prefixes : 3

Last read : 00:00:47

Send Statistics

Opens : 1

Notifications : 0

Updates : 1

Keepalives : 26

Route Refresh : 0

Total : 28

Receive Statistics

Opens : 1

Notifications : 0

Updates : 1

Keepalives : 25

Route Refresh : 0

Total : 27

Connections Established : 1

Connections Dropped : 0

Local Host : 10.10.0.2

Local Port : 1024

Remote Host : 10.1.1.2

Remote Port : 179

Due Time for Next Start Timer : 5 seconds

Due Time for Next Connect Timer : 0 seconds

DXS-3600-32S#

Display Parameters

BGP neighbor

Internal Peer

External Peer

Accepted Prefixes

Last read

Send Statistics

Opens (send)

Notifications (send)

Updates (send)

Keepalives (send)

Route Refresh (send)

Total (send)

Receive Statistics

Opens (receive)

Notifications (receive)

Updates (receive)

Keepalives (receive)

Route Refresh (receive)

Total (receive)

Description

IP address of the BGP neighbor.

Indicates that the neighbor is internal.

Indicates that the neighbor is external.

Number of routes accepted by the local BGP. These routes are contained in the Loc-

RIB.

Time that BGP last received a message from this neighbor. Format is HH:MM:SS.

The statistics information of the outgoing packets.

Number of OPEN packets sent to the neighbor.

Number of NOTIFICATIONS packets sent to the neighbor.

Number of UPDATES packets sent to the neighbor.

Number of KEEPALIVES packets sent to the neighbor.

Number of ROUTEREFRESH packets sent to the neighbor.

Total packets sent to the neighbor.

The statistics information of the incoming packets.

Number of OPEN packets received from the neighbor.

Number of NOTIFICATIONS packets received from the neighbor.

Number of UPDATES packets received from the neighbor.

Number of KEEPALIVES packets received from the neighbor.

Number of ROUTEREFRESH packets received from the neighbor.

Total packets received from the neighbor.

128

Display Parameters

Connections Established

Connections Dropped

Local Host

Local Port

Remote Host

Remote Port

Due Time for Next Start

Timer

Due Time for Next Connect

Timer

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

Description

Number of times that the local BGP establish the TCP connection with the neighbor.

Number of times that the TCP connection been dropped.

IP address of the local BGP.

TCP port of the local BGP.

IP address of the neighbor.

TCP port of the neighbor.

BGP peer auto re-start timer value next time. Seconds.

BGP peer re-connect timer value next time when peer session connect fail.

Seconds.

7-68 show ip bgp network

This command is used to display networks created by Border Gateway Protocol network command.

show ip bgp network [NETWORK-ADDRESS]

Parameters

NETWORK-ADDRESS

Specifies the IP network address. If a specific network address is not specified, all IP addresses will be displayed.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays the networks advertised by BGP.

Example

This example shows the output from the show ip bgp network command in, privileged mode.

DXS-3600-32S#show ip bgp network

Network Address Route Map

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

20.0.0.0/24 -

DXS-3600-32S#

Display Parameters

Network Address

Route Map

Total Network Number

Description

BGP prefix created by command of network <network-address>.

Specify the route-map of this network to apply.

The number of BGP network.

7-69 show ip bgp reflection

This command is used to display the route reflection configuration of BGP.

show ip bgp reflection

Parameters

Default

None.

None.

129

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

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display what you have already configured to the local BGP about the route reflection.

Example

This example shows how to display the reflection configuration of BGP.

DXS-3600-32S#show ip bgp reflection

Client to Client Reflection State : Disabled

Cluster ID : 0.0.0.0

Route Reflector Client:

peer group: inter (172.18.10.1)

172.18.10.3

172.18.10.4

172.18.10.5

DXS-3600-32S#

Display Parameters

Client to Client Reflection

State

Cluster ID

Route Reflector Client peer group

Description

Indicates the state of the route client to client reflection.

Indicates the cluster ID of the local route reflection.

Clients of the local route reflector, including peer group clients list and the individual clients list by IP addresses below.

Indicates the name of the peer group with the peer group members in the parentheses separated by comma.

7-70 show ip bgp route-map

This command is used to display networks which match route-map of Border Gateway Protocol.

show ip bgp route-map MAP-NAME

Parameters

MAP-NAME

Specifies the name of a route map. The maximum length is 16 characters.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays the networks according to the specified route-map.

130

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

Example

This example shows the output from the show ip bgp route-map command, in privileged mode.

DXS-3600-32S#show ip bgp route-map my

BGP Local Router ID is 10.90.90.90

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path

*> 10.0.0.0/8 0.0.0.0 0 100 32768 i

Total number of prefixes: 1

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Path

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

Autonomous system paths to the destination network.

7-71 show ip bgp parameters

This command is used to display parameters of the Border Gateway Protocol.

show ip bgp parameters

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays the parameters of BGP.

131

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

Example

This example shows the output from the show ip bgp parameters command, in privileged mode.

DXS-3600-32S#show ip bgp parameters

BGP Global State : Enabled

Version : 4

BGP Router Identifier : 0.0.0.0

Synchronization : Disabled

Enforce First AS : Disabled

Local AS Number : 100

Hold Time : 180 Seconds

Keepalive Interval : 60 Seconds

Dampening : Disabled

Always Compare MED : Disabled

Deterministics MED : Disabled

Med Confed : Disabled

Default Local Preference : 100

AS Path Ignore : Disabled

Compare Router ID : Disabled

MED Missing as Worst : Disabled

Compare Confederation Path : Disabled

Fast External Fallover : Enabled

Aggregate Next Hop Check : Disabled

Route Redistribution Settings

Source Destination Type Metric RouteMapName

Protocol Protocol

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

LOCAL BGP All 0 N/A

Total Entries : 1

DXS-3600-32S#

Display Parameters

BGP Global State

Version

BGP Router Identifier

Synchronization

Enforce First AS

Local AS Number

Hold Time

Keepalive Interval

Dampening

Always Compare MED

Deterministics MED

Med Confed

Default Local Preference

AS Path Ignore

Description

BGP global state, In this version, BGP always is enabled.

BGP protocol version.

BGP process’s router ID.

BGP synchronization state.

When the setting is enabled, any updates received from an external neighbor, that does not have the neighbor’s configured Autonomous System (AS) at the beginning of the AS_PATH in the received update, will be denied.

The local AS number.

The system will declare a peer as dead if a keepalive message is received that is more than the hold time.

Frequency that a bgp send keepalive message to peer.

The state of bgp dampening ability.

Enable or disable the comparison of the Multi Exit Discriminator (MED) for paths from the neighbors in different Autonomous Systems.

Enable or disable to enforce the deterministic comparison of the Multi Exit

Discriminator (MED) for paths received from the neighbors within the same

Autonomous System.

If enabled, the BGP process will compare the MED for the routes that are received from confederation peers.

Specifies the default local preference value. The default value is 100.

If enabled, the BGP process will ignore the AS path in the path selection process. By default this value is disabled.

132

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

Display Parameters Description

Compare Router ID

MED Missing as Worst

Source Protocol

Destination Protocol

Type

Metric

RouteMapName

Total Entries

If enabled, the BGP process will include the router ID in the path selection process.

Similar routes are compared and the route with the lowest router ID is selected. By default this value is disabled.

If enabled, the BGP process will assign a value of infinity to routes that are missing the Multi Exit Discriminator (MED) attribute.

Compare Confederation Path If enabled, the BGP process will compare the confederation AS path length of the routes received. The shorter the confederation AS path length, the better the route is.

Fast External Fallover

Route Redistribution

Settings

If enable, Border Gateway Protocol (BGP) routing process will immediately reset its external BGP peer sessions if the link used to reach these peers goes down.

Aggregate Next Hop Check

Only the routes with the same next hop attribute can be aggregated if the BGP aggregate next hop check is enabled.

Information of redistribute between bgp and some other protocols.

The source protocol of the redistribute operation.

The destination protocol of the redistribute operation. Of course, it always is BGP.

Specify which part of route to be redistributed to BGP.

Specify the BGP metric value for the redistributed routes.

Specifies a route map which will be used as the criteria to determine whether to redistribute specific routes.

The numbers of protocols which have do redistribute operation between BGP and the protocol itself.

7-72 show ip bgp peer-group

This command is used to display information of the BGP peer group.

show ip bgp peer-group [PEER-GROUP-NAME]

Parameters

PEER-GROUP-NAME

Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the contents of the BGP peer group.

133

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

Example

This example shows how to display the information of the peer group named

‘mygroup’.

DXS-3600-32S#show ip bgp peer-group mygroup

BGP Peer Group : mygroup

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

Description :

Session State : Enabled

Session Activity : Enabled

Members : 10.1.1.2

Remote AS : 10

Advertisement Interval : 30 seconds

Keepalive Interval : 60 seconds

Holdtime Interval : 180 seconds

EBGP Multihop : 1

Weight : 0

Next Hop Self : Disabled

Route Reflector Client : Disabled

Send Community : None

Remove Private As : Disabled

AllowAS In : Disabled

Soft Reconfiguration Inbound : Disabled

Default Originate : Disabled

Outbound Route Filter (ORF) type (64) Prefix list:

Send Mode : Disabled

Receive Mode : Disabled

Prefix Max Count : 12000

Prefix Warning Threshold : 75

Prefix Warning Only : Disabled

DXS-3600-32S#

Display Parameters

BGP Peer Group

Description

Session State

Session Activity

Members

Remote AS

Not Set (remote AS)

Advertisement Interval

Keepalive Interval

Hold Time

EBGP Multihop

Weight

Update Source vlan

Next Hop Self

Route Reflector Client

Send Community

Description

Name of the peer group.

Show the description configured to descript the peer group

Indicates whether the peer group is shut down or not.

Indicates whether the IPv4 unicast address family is enabled or not.

Members of this peer group, separated by comma.

Remote AS number of the peer group.

Indicates that this peer group doesn’t assign any AS number.

Indicates the minimum interval between sending Border Gateway Protocol (BGP) routing updates.

Indicates the number of seconds between sending KEEPALIVE message with the members of this peer group.

Indicates the maximum number of seconds that may elapse between the receipts of successive KEEPALIVE and/or UPDATE messages with the members of this peer group.

Indicates the TTL of the BGP packet sent to the members of this peer group.

Indicates the weight that will be associated to the routes learned from the members of this peer group.

Interface used for TCP connection with the neighbor.

Indicates that the update source interface is a vlan interface, followed by vlan id.

Indicates whether the local BGP enable the router as the next hop for the members of this peer group.

Indicates whether this peer group is a route reflector client of the local BGP.

Indicates whether the local BGP send its community attributes to the members of this group.

134

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

Display Parameters Description

Standard (send community)

The local BGP send standard community attributes to the neighbor.

Extended (send community)

The local BGP send extended community attributes to the neighbor.

None (send community)

Remove Private As

The local BGP doesn’t send any community attributes to the neighbor.

Indicates whether the configuration of removing the private AS from the AS path attribute in the updates sent to the members of this peer group is enabled or not.

AllowAS In

Num (AllowAS in)

Indicates whether the local BGP allow its own AS number appearing in the received

BGP update packets form the members of this peer group.

Indicates how many times that the local BGP allow its own AS number appearing in the received BGP update packets from the members of this peer group. This field is only display when the AllowAS In is enabled.

Soft Reconfiguration

Inbound

Unsuppressed Route Map

Indicates whether the local BGP store the route updates received from members of this peer group.

Indicates a route map name which the routes previously suppressed by the

aggregate-address command must be applied.

Default Originate

Indicates whether the local BGP send the default route to the members of this peer group.

Incoming Update Prefix List

Indicates an IP prefix list name which the route updates received from the members of this peer group must be applied.

Outgoing Update Prefix List

Indicates an IP prefix list name which the route updates sent to the members of this peer group must be applied.

Incoming Update Filter List

Indicates an AS path access list name which the route updates received from the members of this peer group must be applied.

Outgoing Update Filter List

Indicates an AS path access list name which the route updates sent to the members of this peer group must be applied.

Route Map for Incoming

Routes

Indicates a route map name which the route updates received from the members of this peer group must be applied.

Route Map for Outgoing

Routes

Outbound Route Filter (ORF) type (64) Prefix list

Indicates the state of the ORF prefix list.

Send Mode

Indicates a route map name which the route updates sent to the members of this peer group must be applied.

Receive Mode

Indicates whether the local BGP send ORF prefix list to the members of this peer group.

Indicates whether the local BGP receive ORF prefix list from the members of this peer group.

Password

Prefix Max Count

Prefix Warning Threshold

Prefix Warning Only

Total peer-group number

Show the password set on the TCP connection to the members of this peer group.

Show the maximum number of prefixes the local BGP can accept.

Indicates in which percentage of the maximum prefixes the local BGP begin to log warning message.

Indicates whether the local BGP terminate the session of the members of this peer group after the total BGP routes reach the maximum prefixes.

Indicates the total number of peer groups in the local BGP router.

7-73 show ip bgp quote-regexp

This command is used to display routes which matching the regular expression.

show ip bgp quote-regexp REGEXP

135

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

Parameters

REGEXP

Displays routes matching the AS path regular expression. The maximum length is 80 characters.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays the routes which matching the AS path regular expression.

Example

This example shows the output from the show ip bgp quote-regexp command, in privileged mode.

DXS-3600-32S#show ip bgp quote-regexp "100"

BGP Local Router ID is 10.90.90.10

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? – incomplete

IP Address/Netmask Gateway Metric LocPrf Weight Path s 172.16.0.0/24 172.16.72.30 0 100 108 ?

s 172.16.0.0/24 172.16.72.30 0 100 108 ?

* 172.16.1.0/24 172.16.72.30 0 100 108 ?

* 172.16.11.0/24 172.16.72.30 0 100 108 ?

* 172.16.14.0/24 172.16.72.30 0 100 108 ?

* 172.16.15.0/24 172.16.72.30 0 100 108 ?

* 172.16.16.0/24 172.16.72.30 0 100 108 ?

Total number of prefixes: 7

DXS-3600-32S#

Display Parameters

BGP Local Router ID

Status codes

Origin codes

IP Address/Netmask

Gateway

Metric

LocPrf

Weight

Description

The router identifier of the local BGP router.

Status of the table entry displayed at the beginning of each line. It can be one or more of the following values:

s - The table entry is suppressed.

d - The table entry is damped.

h - The table entry is damped and has been withdrawn by the neighbor.

* - The table entry is valid.

> - The table entry is the best entry to use for that network.

i - The table entry was learned via an internal BGP (iBGP) session.

Origin of the table entry displayed at the end of each line. It can be one of the following values:

i - Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.

e - Entry originated from an Exterior Gateway Protocol (EGP).

? - Origin of the path is not clear. Usually, this is a router that is redistributed into

BGP from an IGP.

IP prefix with its mask length of the entry.

IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.

If shown, this is the value of the inter-autonomous system metric. This field is frequently not used.

Local preference value as set with the set local-preference route-map configuration command. The default value is 100.

Weight of the route as set via autonomous system filters.

136

Display Parameters

Path

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

Description

Autonomous system paths to the destination network.

7-74 show ip bgp summary

This command is used to display the state of all BGP neighbors connection, also includes route id, dampening state, local AS number and so on.

show ip bgp summary

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display the state of all BGP neighbors connection, also includes route id, dampening state, local AS number and so on.

Example

This example shows how to display the BGP summary information.

DXS-3600-32S#show ip bgp summary

BGP Router Identifier : 192.168.69.0

Local AS Number : 100

Dampening : Disabled

BGP AS Path Entries : 0

BGP Community Entries : 0

Neighbor Ver AS MsgRcvd MsgSent Up/Down State/PfxRcd

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

10.1.1.1 4 1 0 0 never Active

10.4.4.4 4 65101 0 0 never Idle

10.90.90.90 4 10 0 0 never Active

10.90.90.100 4 100 10 8 00:03:18 10

100.16.5.4 4 65101 0 0 never Active

Total Number of Neighbors: 5

DXS-3600-32S#

Display Parameters

BGP Router Identifier

Local AS Number

Dampening

BGP AS Path Entries

BGP Community Entries

Neighbor

Ver

AS

MsgRcvd

MsgSent

Up/Down

Description

The router identifier of the local BGP router.

The Autonomous System number of local BGP.

The state of the BGP dampening function.

AS path access-list number.

The entries of BGP community, including standard community and expand community.

BGP neighbor which is created by command of neighbor <IP-ADDRESS > remote-

as <AS-NUMBER>.

BGP protocol version. And now, value is 4.

The peer’s Autonomous system number.

The number of message which receives form this neighbor.

The number of message which be sent to this neighbor.

The length of time that the BGP session has been in the Established state, or the current status if not in the Established state.

137

Display Parameters

State/PfxRcd

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

Description

The current state of the BGP session, or the number of prefixes that have been received from a neighbor or peer group. When the maximum number (as set by the

neighbor maximum-prefix command) is reached, the string “PfxRcd” appears in the entry, the neighbor is shut down, and the connection is set to Idle. An (Admin) entry with Idle status indicates that the connection has been shut down using the

neighbor shutdown command.

7-75 show ip community-list

This command is used to display configured community lists.

show ip community-list [COMMUNITY-LIST-NAME]

Parameters

COMMUNITY-LIST-NAME

Specifies the community list name. The maximum length is 16 characters.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command can be used without any arguments or keywords. If no arguments are specified, this command will display all community lists. However, the community list name can be specified when entering the show ip community-list command. This option can be useful for filtering the output of this command and verifying a single named community list.

Example

This example shows that the output is similar to the output that will be displayed when the show ip community-list command is entered in the config mode.

DXS-3600-32S#show ip community-list

Community List Name: c1

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

Type : Standard

permit : 20:30 no-advertise local-as

deny : no-export

Total Filter Entries: 2

Community List Name: c2

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

Type : Expanded

permit : .*300.*$

deny : 500

Total Filter Entries: 2

Community List Name: c3

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

Type : Expanded

permit : 20:30

Total Filter Entries: 1 total community-list count:3

DXS-3600-32S#

138

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

Display Parameters

Community List Name

Type

Standard

Expanded permit deny

Total Filter Entries total community-list count

Description

Name of this community list.

Type of this community list.

Indicates that this entry is an standard community list with the well-known community value internet local-AS no-advertise and no-export, or with the standard AA:NN format.

Indicates that this entry is an expanded community list with a regular expression.

Routes with community attributes match the entry will be accepted.

Routes with community attributes match the entry will be rejected.

Total number of entries of a specifically community list.

Total numbers of the community list.

7-76 synchronization

This command is used to enable the synchronization between BGP and your Interior Gateway Protocol (IGP) system.

To enable the router to advertise a network route without waiting for the IGP, use the no form of this command.

synchronization no synchronization

Parameters

Default

Command Mode

None.

This command is disabled by default.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Usually, a BGP speaker does not advertise a route to an external neighbor unless that route is local or exists in the IGP. By default, synchronization between BGP and the IGP is turned off to allow the switch to advertise a network route without waiting for route validation from the IGP. This feature allows routers and access servers within an autonomous system to have the route before BGP makes it available to other autonomous systems. Use the synchronization command if routers in the autonomous system do not speak BGP.

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to enable synchronization in AS 65121.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65121

DXS-3600-32S(config-router)#synchronization

DXS-3600-32S(config-router)#

7-77 timers bgp

This command is used to adjust the BGP network timers. Use the no form of this command to restore to the default value.

timers bgp KEEP-ALIVE HOLD-TIME

no timers bgp

Parameters

KEEP-ALIVE

Specifies the frequency, in seconds, with which the software sends KEEPALIVE messages to its BGP peer. The range is from 0 to 65535.

139

HOLD-TIME

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

Specifies the interval, in seconds, after not receiving a KEEPALIVE message that the software declares a BGP peer dead. The range is from 0 to 65535.

Default

Command Mode

KEEP-ALIVE: 60 seconds

HOLD-TIME: 180 seconds

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The suggested default value for the KEEPALIVE is 1/3 of the HOLDTIME. The timers configured for a specific neighbor or peer group (by the command neighbor

timers) override the timers configured for all BGP neighbors using the timers bgp command.

When the minimum acceptable HOLD-TIME is configured on a BGP router, a remote

BGP peer session is established only if the remote peer is advertising a HOLD-TIME that is equal to, or greater than, the minimum acceptable HOLD-TIME interval. If the minimum acceptable HOLD-TIME interval is greater than the configured HOLD-

TIME, the next time the remote session tries to establish, it will fail and the local router will send a notification stating "unacceptable hold time."

You can verify your settings by entering the show ip bgp parameters command.

Example

This example shows how to change the KEEPALIVE timer to 50 seconds and the

HOLD-TIME timer to 150 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router bgp 65100

DXS-3600-32S(config-router)#timers bgp 50 150

DXS-3600-32S(config-router)#

7-78 debug ip bgp

This command is used to turn on the BGP debug function. Use the no form of this command to turn off the BGP debug function.

debug ip bgp no debug ip bgp

Parameters

Default

None.

By default the BGP debug function is turned off.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on the BGP debug function while the global debug function has been turned on before.

Example

DXS-3600-32S#debug ip bgp

DXS-3600-32S#

This example shows how to turn on the BGP debug function.

7-79 debug ip bgp fsm-event

This command is used to turn on the BGP FSM event debug switch. Use the no form of this command to turn off the

BGP FSM event debug switch.

debug ip bgp fsm-event no debug ip bgp fsm-event

140

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

Parameters

Default

None.

By default the BGP FSM event debug switch is turned off.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP FSM event debug switch. When BGP FSM event happens, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP FSM event debug switch.

DXS-3600-32S#debug ip bgp fsm-event

DXS-3600-32S#

10.1.1.1-Outgoing [FSM] State Change: Idle(1)->Connect(2)

10.1.1.1-Outgoing [FSM] Hold-Timer Expiry.

7-80 debug ip bgp packet

This command is used to turn on BGP packet debug switch. Use the no form of this command to turn off BGP packet debug switch.

debug ip bgp packet {receive | send} no debug ip bgp packet {receive | send}

Parameters receive send

Specifies to turn on BGP received packet debug switch.

Specifies to turn on BGP sent packet debug switch.

Default

Command Mode

By default BGP packet debug switch is turned off.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP packet debug switch. When BGP protocol packets are received or transmitted, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP received packet debug switch.

DXS-3600-32S#debug ip bgp packet receive

DXS-3600-32S#

BGP:Peer:<10.1.1.10> RCV OPEN, version:<4>,remote-as:<40>, HoldTime:<180>,RID:<16.0.0.1>

BGP:Peer:<10.1.1.10> RCV KEEPALIVE.

BGP:Peer:<10.1.1.10> RCV UPDATE, withdraw: <21.0.0.0/8>,<22.0.0.0/8>,<23.0.0.0/8>, <24.0.0.0/

8>,<25.0.0.0/8>...

BGP:Peer:<10.1.1.10> RCV UPDATE,attr:<Orign:i,As-path:10,Next-hop:10.1.1.10,Med:5>, NLRI:

<21.0.0.0/8>,<22.0.0.0/8>

BGP:Peer:<10.1.1.10> RCV NOTIFYCATION,Code:<OPEN Message Error.>,SubCode:<Bad Peer AS.>

BGP:Peer:<10.1.1.10> RCV REFRESH,afi:<1>,safi:<1>

BGP:Peer:<10.1.1.10> RCV Capability Action:Set,Code: GRST ,Length:2

141

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

7-81 debug ip bgp error

This command is used to turn on BGP error debug switch. Use the no form of this command to turn off BGP error debug switch.

debug ip bgp error no debug ip bgp error

Parameters

Default

None.

By default BGP error debug switch is turned off.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP error debug switch. When error condition occurs, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP error debug switch.

DXS-3600-32S#debug ip bgp error

DXS-3600-32S#

7-82 debug ip bgp route-map

This command is used to turn on BGP route map debug switch. Use the no form of this command to turn off BGP route map debug switch.

debug ip bgp route-map no debug ip bgp route-map

Parameters

Default

Command Mode

None.

By default BGP route map debug switch is turned off.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP route map debug switch. When route map is matching BGP route information, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP route map debug switch.

DXS-3600-32S#debug ip bgp route-map

DXS-3600-32S#

Route_Map:<map1>,apply static route,prefix:<32.0.0.0/8>

7-83 debug ip bgp access-list

This command is used to turn on BGP IP access list debug switch. Use the no form of this command to turn off BGP access list debug switch.

debug ip bgp access-list no debug ip bgp access-list

Parameters

None.

142

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

Default

Command Mode

By default BGP IP access list debug switch is turned off.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP IP access list debug switch. When IP access list is matching BGP route information, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP IP access list debug switch.

DXS-3600-32S#debug ip bgp access-list

DXS-3600-32S#

7-84 debug ip bgp prefix-list

This command is used to turn on BGP IP prefix list debug switch. Use the no form of this command to turn off BGP IP prefix list debug switch.

debug ip bgp prefix-list no debug ip bgp prefix-list

Parameters

Default

None.

By default BGP IP prefix list debug switch is turned off.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on BGP IP prefix list debug switch. When IP prefix list is matching BGP information, debug information will be print if BGP debug function is turned on.

Use the command debug ip bgp to turn on BGP debug function.

Example

This example shows how to turn on BGP IP prefix list debug switch.

DXS-3600-32S#debug ip bgp prefix-list

DXS-3600-32S#

7-85 debug ip bgp show global

This command is used to show internal detailed information about BGP.

debug ip bgp show global

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of BGP.

143

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

Example

This example shows how to display detailed internal information about BGP.

DXS-3600-32S#debug ip bgp show global

Following is the information for global debugging:

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

AS Number : 65100

Router ID : 0.0.0.0

Cluster ID : 0.0.0.0

Confed ID : 0

Confederation peers :

Fast External Fallover : Enabled

Dampening ability : Disabled

Client to Client ability : Enable

Cluster peers are:

Aggregate Next_Hop_Check : Disabled

Default Local Preference : 100

Default Holdtime : 150

Default Keepalive : 50

Scan Time : 60

BGP active flag:

BGP active af-flag is:

BGP_AF_CFLAG_NETWORK_SYNC note: address family is IPv4 Unicast

BGP active Redist-Flags: note: The address family is IPv4

DXS-3600-32S#

7-86 debug ip bgp show neighbors

This command is used to show internal detailed information about BGP neighbors.

debug ip bgp show neighbors

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of BGP neighbors.

144

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

Example

This example shows how to display internal detailed information about BGP neighbors.

DXS-3600-32S#debug ip bgp show neighbors

BGP neighbor: 10.10.10.2 (Internal Peer)

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

Session State : Enabled

Session Activity : Enabled

Peer Group : NULL

Remote AS : 1

Local AS : 10

Remote Router ID : 192.168.252.252

BGP State : Established ( UP for 00:24:25)

Hold Time (Configured) : 180 Seconds

Hold Time(Current Used) : 180 Seconds

Keepalive Interval (Configured) : 60 Seconds

Keepalive Interval(Current Used) : 60 Seconds

Advertisement Interval(Configured) : 5 Seconds

Advertisement Interval(Current Used) : 5 Seconds

EBGP Multihop : 2

Weight : 100

Next Hop Self : Disabled

Remove Private AS : Disabled

Allowas In : Disabled

Address Family IPv4 Unicast

IPv4 Unicast : Advertised and Received

Soft Reconfiguration Inbound : Enabled

Community Sent to this Neighbor : Both Standard and Extended

Default Originate : Enabled

Incoming Update Prefix List : prelist1

Incoming Update Filter List : ASlist1

Route Map for Outgoing Routes : routemap1

Unsuppress Route Map : us_routmp1

Outbound Route Filter (ORF) type (64) Prefix list:

Send Mode : Enabled

Receive Mode : Disabled

IP Route Prefix List orf_prelist1 : 1 entries seq 5 permit 30.0.0.0/8

Pass Word : (null)

Prefix Count : 1560

Send Prefix Count : 860

Prefix Max Count : 12000

Prefix warning threshold : 75

Prefix Max Warning : Disabled

DXS-3600-32S#

7-87 debug ip bgp show peer-group

This command is used to show internal detailed information about the BGP peer group.

debug ip bgp show peer-group

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of the BGP peer group.

145

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

Example

This example shows how to display internal detail information about BGP peer group.

DXS-3600-32S#debug ip bgp show peer-group

BGP Peer Group :local1

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

Session State : Enabled

Session Activity : Enabled

Members : 10.2.2.1, 10.2.2.2

Remote AS : 1

Holdtime Interval : 180 Seconds

Keepalive Interval : 60 Seconds

Advertisement Interval : 5 Seconds

EBGP Multihop : 2

Weight : 100

Next Hop Self : Disabled

Remove Private AS : Disabled

Allowas In : Disabled

Route Reflector Client : Enabled

Soft Reconfiguration Inbound : Enabled

Community Sent to this Neighbor : Both Standard and Extended

Default Originate : Enabled

Incoming Update Prefix List : prelist1

Incoming Update Filter List : ASlist1

Route Map for outgoing Routes : routemap1

Unsuppress Route Map : us_routmp1

Capability orf Prefix List : None

Pass Word : (null)

Prefix max Count : 12000

Prefix warning threshold : 75

Prefix max Warning : Disabled

DXS-3600-32S#

7-88 debug ip bgp show network

This command is used to show internal detailed information about the BGP network.

debug ip bgp show network

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of the BGP network.

Example

This example shows how to display internal detailed information about the BGP network.

DXS-3600-32S#debug ip bgp show network

Network Route Map

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

192.168.0.0/16 NULL

172.16.0.0/16 map1

Total Entries :2

DXS-3600-32S#

146

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

7-89 debug ip bgp show aggregate

This command is used to show internal detailed information about the BGP route aggregation.

debug ip bgp show aggregate

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of the BGP route aggregation.

Example

This example shows how to display internal detailed information about the BGP route aggregation.

DXS-3600-32S#debug ip bgp show aggregate

Network Summary Only AS Set Suppress Count

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

192.168.0.0/16 YES NO 0

172.16.0.0/16 NO NO 2

Total Entries :2

DXS-3600-32S#

7-90 debug ip bgp show damp

This command is used to show internal detailed information about BGP route damping.

debug ip bgp show damp

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of BGP route damping.

147

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

Example

This example shows how to display internal detail information about BGP route damping.

DXS-3600-32S#debug ip bgp show damp

Route Map : NULL

Reach Half Life Time : 900 seconds

Reuse Value : 750

Suppress Value : 2000

MAX Suppress Time : 3600 seconds

Unreach Half Life Time : 900 seconds

Reuse Index Size : 1024

Reuse List Size : 256

Reuse Offset : 19

Current dampened routes:

Damp Hinfo: 484d9be8

index ptr event penalty binfo rn

f5 484d9be8 1 1392 484d9ad8 484d9a90

f5 484d9b98 1 1392 484d9a00 484d99b8

f5 484d8080 1 1392 484d9928 484d98e0

f5 484d7fe8 1 1392 484d9808 484d9738

Damp Reuse List Info: reuse_index index ptr penalty flap start_time t_updated suppress_time evt

Damp reuse Hinfo: 484d9be8

245 1 484d9be8 5010 6 428 448 437 1

245 2 484d9b98 5010 6 428 448 437 1

245 3 484d8080 5010 6 428 448 437 1

245 4 484d7fe8 5010 6 428 448 437 1 show BGP Damp no reuse list info: 0 index ptr penalty flap start_time t_updated suppress_time evt

BGP Damp Decay List Info: decay array size is 90.

Index value

-----------

1 1

2 0.969663

3 0.940247

4 0.911722

5 0.884064

6 0.857244

7 0.831238

<Output continues...>

7-91 debug ip bgp show interface

This command is used to show internal detailed information about the BGP interface.

debug ip bgp show interface

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of the BGP interface.

148

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

Example

This example shows how to display internal detailed information about the BGP interface.

DXS-3600-32S#debug ip bgp show interface

Interface Information:

Interface Information:

Name Index Network Flags Status

---- ---- ------------ ----- -----vlan1 0001 30.30.30.30/8 0 Up

DXS-3600-32S#

7-92 debug ip bgp show timer

This command is used to show internal detailed information about the BGP timer.

debug ip bgp show timer

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check internal status and detailed information of the BGP timer.

Example

This example shows how to display internal detailed information about the BGP timer.

DXS-3600-32S#debug ip bgp show timer

BGP timer Link:

Node Time Func

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

08B108D0 1 00675AF4

08B1AC70 16 0065F4F4

08B1ACA8 17 0065F5CC

08B37DCC 29 0065F4F4

08B37E04 30 0065F5CC

032821BC 35 00662840

08B1AC54 135 0065F40C

08B37DB0 148 0065F40C

DXS-3600-32S#

7-93 debug ip bgp show redistribution

This command is used to show internal detailed information about BGP route redistribution.

debug ip bgp show redistribution

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

149

Usage Guideline

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

Use this command to check internal status and detailed information of BGP route redistribution.

Example

This example shows how to display internal detailed information about BGP route redistribution.

DXS-3600-32S#debug ip bgp show redistribution

Last redistribution count summary:

Type Route_count_rib total_count Time(msec)

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

OSPF 0 0 0

RIP 5 0 0

STATIC 0 0 0

LOCAL 1 0 0

Redistributed routes summary:

Network Type Next_hop

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

10.0.0.0/8 LOCAL 0.0.0.0

21.0.0.0/24 RIP 10.2.2.2

21.0.1.0/24 RIP 10.2.2.2

21.0.2.0/24 RIP 10.2.2.2

21.0.3.0/24 RIP 10.2.2.2

21.0.4.0/24 RIP 10.2.2.2

Total Entries: 6

Redist list information:

No redist list exist!

DXS-3600-32S#

7-94 debug ip bgp show as-path-access-list

This command is used to show internal detailed information about the BGP path access list.

debug ip bgp show as-path-access-list

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

This command is used to show internal detailed information about the BGP path access list.

Example

This example shows how to display internal detailed information about the BGP path access list.

DXS-3600-32S#debug ip bgp show as-path-access-list

BGP AS Path Access List 1 deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_) permit 33

Total Entries: 1

DXS-3600-32S#

150

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

7-95 debug ip bgp show community-list

This command is used to show internal detailed information about the BGP community list.

debug ip bgp show community-list

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

This command is used to show internal detailed information about the BGP community list.

Example

This example shows how to display internal detailed information about the BGP community list.

DXS-3600-32S#debug ip bgp show community-list

Community list:list1 standard

permit 5000:100

Total Entries: 1

DXS-3600-32S#

151

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

Compound Authentication Commands

8-1 network-access guest-vlan

This command is used to specify an active VLAN as a guest VLAN for network-access authentication module. Use the no form of this command to return to the default setting.

network-access guest-vlan VLAN-ID

no network-access guest-vlan

Parameters

VLAN-ID

Specifies an active VLAN as a guest VLAN. The range is 1 to 4094.

Default

No guest VLAN is configured.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

You can configure a guest VLAN on one of these switch ports:

• A static-access port that belongs to a non-private VLAN.

• When configure authentication VLAN under host-base mode to a port, it cannot be a guest VLAN port.

• A guest VLAN port cannot be a IGMP multicast VLAN port.

For each network-access port on the switch, you can configure a guest VLAN to provide limited services to un-authenticated clients.

Example

This example shows how to specify VLAN 5 as a guest VLAN.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#network-access guest-vlan 5

DXS-3600-32S(config-if)#

8-2 show network-access guest-vlan

This command is used to display the guest VLAN configuration.

show network-access guest-vlan

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display the guest VLAN configuration.

152

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

Example

This example shows the output from the show network-access guest-vlan in

EXEC command.

DXS-3600-32S#show network-access guest-vlan

VID : 1

Member Ports: 1:4

VID : 3

Member Ports: 1:1, 1:8

Total Entries: 2

DXS-3600-32S#

Display Parameters

VID

Member Ports

Description

The guest VLAN VID.

The guest VLAN member ports.

8-3 network-access authentication-mode

This command is used to configure the authentication mode for the network-access authentication module. Use the no form of this command to return to the default setting.

network-access authentication-mode {port-based | host-based} no network-access authentication-mode

Parameters port-based host-based

Specifies that if one of the attached hosts passes the authentication, all hosts on the same port will be granted access to the network. If the user fails to authenticate, this port will keep trying the next authentication

Specifies that every user can be authenticated individually.

Default

Authentication mode is host-based.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use the show network-access auth-configure command to show the interface configuration for network-access authentication mode.

Example

This example shows how to configure interface 1 to port-based mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#network-access authentication-mode port-based

DXS-3600-32S(config-if)#

8-4 show network-access auth-configure

This command is used to display the authentication configuration settings.

show network-access auth-configure [interface <interface-id>]

Parameters

interface <interface-id> Dispays the configured information settings for the specified interface.

153

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

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use the show network-access auth-configure command to display the authentication mode.

Example

This example shows the output from the show network-access auth-configure privileged EXEC command.

DXS-3600-32S#show network-access auth-configure

Interface Auth Mode

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

TGi/1 Port-based

TGi/2 Host-based

TGi/3 Host-based

TGi/4 Host-based

TGi/5 Host-based

TGi/6 Host-based

TGi/7 Host-based

TGi/8 Host-based

TGi/9 Host-based

TGi/10 Host-based

TGi/11 Host-based

TGi/12 Host-based

TGi/13 Host-based

TGi/14 Host-based

TGi/15 Host-based

TGi/16 Host-based

TGi/17 Host-based

TGi/18 Host-based

TGi/19 Host-based

TGi/20 Host-based

TGi/21 Host-based

TGi/22 Host-based

TGi/23 Host-based

TGi/24 Host-based

DXS-3600-32S#

DXS-3600-32S#show network-access auth-configure interface tenGigabitEthernet 1

Interface Auth Mode

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

TGi/1 Port-based

DXS-3600-32S#

Display Parameters

Port

Auth Mode

Description

The interface number.

The authentication mode. Includes Port-based and Host-based.

154

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

Configuration Commands

9-1 show running-config

This command is used to show the configuration information of the current device’s system running.

show running-config

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to display the complete configuration information of the current device’s system running.

Example

This example shows how the configuration information of the current device’s configuration system running. The field descriptions are self-explanatory.

DXS-3600-32S#show running-config

Building configuration...

Current configuration : 108272 bytes

#-------------------------------------------------------------------------------

# DXS-3600-32S TenGigabit Ethernet Switch

# Configuration

#

# Firmware: Build 1.00.018

# Copyright(C) 2012 D-Link Corporation. All rights reserved.

#-------------------------------------------------------------------------------

# DEVICE configure terminal logging-server enable device end

# PRIVMGMT configure terminal

<The Output contunues>

9-2 show bootup-config

This command is used to view the boot-up configuration of the device, stored in the Non-volatile Random Access

Memory (NVRAM).

show bootup-config

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to display the boot-up configuration of the device, stored in the NVRAM. The boot-up configuration can be changed by boot config command in global configuration mode.

155

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

Example

This example shows the boot-up configuration information stored in the NVRAM.

The field descriptions are self-explanatory.

DXS-3600-32S#show bootup-config

#-------------------------------------------------------------------------------

# DXS-3600-32S TenGigabit Ethernet Switch

# Configuration

#

# Firmware: Build 1.00.018

# Copyright(C) 2012 D-Link Corporation. All rights reserved.

#-------------------------------------------------------------------------------

# DEVICE configure terminal logging-server enable device end

# PRIVMGMT configure terminal

# COMMAND LEVEL START

# COMMAND LEVEL END

<The Output contunues>

9-3 execute flash:

This command is used to execute the configuration of device, stored in the NVRAM, by using the increment method.

execute flash: FILENAME

Parameters

FILENAME

Specifies the name of the configuration file, stored in the NVRAM.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

The command is used to execute the configuration by using the increment method.

This means that the new configuration will merge with the current configuration. The existing configuration will not be cleared before applying of the new configuration.

To verify the executed result, use the show running-config command.

Note: The configuration file name and contents can be specified. Once edited, users send the configuration file to the FLASH of the network device in TFTP. The contents of the configuration file will simulate the input completely. Hence, it is necessary to edit the contents of the configuration file by the sequence that CLI commands are configured. Furthermore, for some interactive commands, it is necessary to write corresponding response information in the batch file, guaranteeing that the commands can be executed normally.

156

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

Example

This example shows how to execute the configuration file, called ‘vlan.cfg’, stored in the NVRAM. The field descriptions are self-explanatory.

DXS-3600-32S#execute flash: vlan.cfg

Executing script file vlan.cfg ......

Executing done

DXS-3600-32S#

9-4 configure replace

This command is used to replace the current running configuration with the indicated configuration file.

configure replace {tftp: //location/filename | ftp: //username:password@location:tcpport/filename | flash:

FILENAME | default} [force]

Parameters tftp:

//location/filename

Specifies that the configuration file is got from the TFTP server.

Specifies the URL of configuration file on TFTP server. For example, ‘//192.168.0.1/ config.cfg’.

Specifies that the configuration file is got from the FTP server.

ftp:

// username:password@locati on:tcpport/filename

Specifies the URL of configuration file on FTP server. For example, ‘// user:[email protected]:80/config.cfg’,

flash:

FILENAME

default force

Specifies that the configuration file is got from the NVRAM of the device.

Specifies the name of the configuration file, stored in the NVRAM. For example,

‘config.cfg’.

Specifies to reset the current running configuration, on the device, to it’s original state.

(Optional) Specifies to execute the command immediately and need not to confirm again.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to execute the indicated configuration file to replace the current running configuration. The current existing configuration will be cleared before applying the indicated configuration.

You can verify your configuration, use the show running-config command.

Note: The command will replace the current running configuration with the contents of specified configuration file. So the specified configuration file is assumed to be a complete configuration, not a partial configuration.

157

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

Example

This example shows how to download the ‘config.cfg’ file from the TFTP server and replace the current running configuration with it.

DXS-3600-32S#configure replace tftp: //10.0.0.66/config.cfg

This will apply all necessary additions and deletions to replace the current running configuration with the contents of the specified configuration file, which is assumed to be a complete configuration, not a partial configuration. [y/n]: y

Accessing tftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45422 bytes.

Executing script file config.cfg ......

Executing done

DXS-3600-32S#

Example

This example shows how to download the ‘config.cfg’ file from the FTP server and replace the current running configuration with it. Execute the command immediately and not to confirm again.

DXS-3600-32S#configure replace ftp: //user:[email protected]:80/config.cfg force

Accessing ftp: //10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45422 bytes.

Executing script file config.cfg ......

Executing done

DXS-3600-32S#

Example

This example shows how to replace the current running configuration with the specified configuration file, called ‘config.cfg’, stored in the NVRAM of the device.

Execute the command immediately and not to confirm again.

DXS-3600-32S#configure replace flash: config.cfg force

Executing script file config.cfg ......

Executing done

DXS-3600-32S#

Example

This example shows how to reset current running configuration on device to original state. Execute the command immediately and not to confirm again.

DXS-3600-32S#configure replace default force

Changing current running configuration to default setting ......

Changing done

DXS-3600-32S#

9-5 boot config flash

This command is used to specify the filename of the configuration file, stored in the NVRAM, from which the system configures itself during initialization (boot-up).

boot config flash FILENAME

158

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

Parameters

FILENAME

Specifies the name of the configuration file, stored in the NVRAM. For example,

‘config.cfg’.

Default

Command Mode

The default startup configuration file is ‘config.cfg’.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The command is used to specify the boot-up configuration file. The default boot-up configuration file is called ‘config.cfg’. If the boot-up configuration file is deleted, the system will choose a valid configuration file and set it as the boot-up configuration file. If there is no valid configuration file, the device will be configured to default state when boot-up next time.

To verify your configuration, use show boot in privileged mode.

Example

This example shows how to configure the configuration file, called ‘config.cfg’, as the boot-up configuration file, from which the system configures itself during initialization.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#boot config flash config.cfg

DXS-3600-32S(config)#

9-6 copy running-config

This command is used to save the current running configuration to the NVRAM. This command is also used to save and set the current running configuration as the boot-up configuration file or upload the current running configuration to the TFTP server or FTP server.

copy running-config {bootup-config | flash: [FILENAME] | tftp: [//location/filename] | ftp: [//

username:password@location:tcpport/filename]}

Parameters bootup-config flash:

Specifies to save the current running configuration and set it as the boot-up configuration file. If the boot-up configuration file exists, the boot-up configuration file will be replaced by current running configuration file or else the current configuration file will be saved as ‘config.cfg’ and be configured to the boot-up configuration file.

Specifies that the current running configuration file will be saved to the NVRAM of the device.

Specifies the saved configuration file name. For example, ‘config.cfg’.

FILENAME

tftp:

//location/filename

Specifies that the current running configuration file will be uploaded to the TFTP server.

Specifies the upload configuration file URL on the TFTP server. For example, ‘//

192.168.0.1/config.cfg’.

ftp:

Specifies that the current running configuration file will be uploaded to the FTP server.

// username:password@locati on:tcpport/filename

Specifies the upload configuration file URL on the FTP server. For example, ‘// user:[email protected]:80/config.cfg’.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 15

159

Usage Guideline

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

The command can be used for:

• Saving the current running configuration and setting it as the boot-up configuration file. If the boot-up configuration file exists, the boot-up configuration file will be replaced by the current running configuration file or else the current configuration file will be saved as ‘config.cfg’ and be configured to the boot-up configuration file.

• Saving the current running configuration to the NVRAM of device.

• Uploading the current running configuration to the TFTP server.

• Uploading the current running configuration to the FTP server.

Example

This example shows how to save the current running configuration and set it as the boot-up configuration file.

DXS-3600-32S#copy running-config bootup-config

Destination filename bootup-config? [y/n]: y

Saving all configurations to NV-RAM.......... Done.

DXS-3600-32S#

Example

This example shows how to save the current running configuration as ‘config.cfg’ to the NVRAM of device.

DXS-3600-32S#copy running-config flash: config.cfg

Destination filename [config.cfg]? y

Saving all configurations to NV-RAM.......... Done.

DXS-3600-32S#

Example

This example shows how to upload the current running configuration as ‘config.cfg’ to the TFTP server.

DXS-3600-32S#copy running-config tftp:

Address of remote host []? 10.0.0.66

Destination filename []? config.cfg

Accessing tftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

DXS-3600-32S#

Example

This example shows how to upload the current running configuration as ‘config.cfg’ to the FTP server.

DXS-3600-32S#copy running-config ftp: //user:[email protected]:80/config.cfg

Address of remote host [10.0.0.66]?

Destination username [user]?

Destination password [123]?

TCP port number of remote host [80]?

Destination filename [config.cfg]?

Accessing ftp: //10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

DXS-3600-32S#

9-7 copy bootup-config

This command is used to execute the boot-up configuration immediately, save the boot-up configuration to the

NVRAM, or to upload the boot-up configuration to a TFTP server or FTP server.

160

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

copy bootup-config {running-config | flash: [FILENAME] | tftp: [//location/filename] | ftp: [//

username:password@location:tcpport/filename]}

Parameters running-config flash:

FILENAME

Specifies that the boot-up configuration will be executed immediately by using the increment method. The boot-up configuration will merge with the current configuration. The existing configuration will not be cleared before applying of the boot-up configuration.

Specifies that the startup configuration file will be saved to the NVRAM of the device.

Specifies the saved configuration file name. For example, ‘config.cfg’.

tftp:

//location/filename

Specifies that the startup configuration file will be uploaded to the TFTP server.

Specifies the upload configuration file URL on the TFTP server. For example, ‘//

192.168.0.1/config.cfg’.

Specifies that the startup configuration file will be uploaded to the FTP server.

ftp:

// username:password@locati on:tcpport/filename

Specifies the upload configuration file URL on the FTP server. For example, ‘// user:[email protected]:80/config.cfg’.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

The command can be used for:

• Saving the current running configuration and setting it as the boot-up configuration file. If the boot-up configuration file exists, the boot-up configuration file will be replaced by the current running configuration file or else the current configuration file will be saved as ‘config.cfg’ and be configured to the boot-up configuration file.

• Saving the current running configuration to the NVRAM of device.

• Uploading the current running configuration to the TFTP server.

• Uploading the current running configuration to the FTP server.

Example

This example shows how to execute the boot-up configuration immediately by using the increment method.

DXS-3600-32S#copy bootup-config running-config

Destination filename running-config? [y/n]: y

Executing boot-up configuration ......

Executing done

DXS-3600-32S#

Example

This example shows how to save the boot-up configuration, as ‘config.cfg’, to the

NVRAM of the device.

DXS-3600-32S#copy bootup-config flash: config.cfg

Destination filename [config.cfg]? y

Please wait, programming flash.............. Done.

DXS-3600-32S#

161

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

Example

This example shows how to upload the boot-up configuration, as ‘config.cfg’, to the

TFTP server.

DXS-3600-32S#copy bootup-config tftp:

Address of remote host []? 10.0.0.66

Destination filename []? config.cfg

Accessing tftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

DXS-3600-32S#

Example

This example shows how to upload the boot-up configuration, as ‘config.cfg’, to the

FTP server.

DXS-3600-32S#copy bootup-config ftp: //user:[email protected]:80/config.cfg

Address of remote host [10.0.0.66]?

Destination username [user]?

Destination password [123]?

TCP port number of remote host [80]?

Destination filename [config.cfg]?

Accessing ftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

DXS-3600-32S#

9-8 copy

This command is used to download the configuration file from the TFTP server or FTP server and execute it or save it as the boot-up configuration file. This command is also used to execute the configuration stored in the NVRAM of the device or set it to be the boot-up configuration file.

copy {flash: [FILENAME] | tftp: [//location/filename] | ftp: [//username:password@location:tcpport/filename]}

{bootup-config | running-config}

Parameters flash:

FILENAME

Specifies the configuration file is saved in the NVRAM of the device.

Specifies the configuration file name. For example, ’config.cfg’.

tftp:

//location/filename

running-config

Specifies that the configuration file is from the TFTP server.

Specifies the URL of the configuration file on the TFTP server. For example, ‘//

192.168.0.1/config.cfg’.

Specifies that the configuration file is got from the FTP server.

ftp:

// username:password@locati on:tcpport/filename

Specifies the URL of the configuration file on the FTP server. For example, ‘// user:[email protected]:80/config.cfg’.

bootup-config

Specifies to save the specified configuration and set it as the boot-up configuration file. If the boot-up configuration file exists, the boot-up configuration file will be replaced by the specified configuration file or else the specified configuration file will be saved as ‘config.cfg’ and be configured to be the boot-up configuration file.

Specifies that the specified configuration will be executed immediately by using the increment method. The specified configuration will merge with the current configuration. The existing configuration will not be cleared before applying of the specified configuration.

162

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

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

The command can be used for:

• Executing the configuration file, stored in the NVRAM, immediately by using the increment method. The specified configuration will merge with the current configuration.

• Setting the configuration file, stored in the NVRAM, to be the boot-up configuration file.

• Downloading the configuration file from the TFTP server or FTP server and executing the downloaded configuration file immediately by using the increment method. The downloaded configuration will merge with the current configuration.

• Downloading the configuration file from the TFTP server or FTP server and saving the downloaded configuration file, then setting it to be the boot-up configuration file. If the startup configuration file exists, the boot-up configuration file will be replaced by the downloaded configuration file or else the downloaded configuration file will be saved as ‘config.cfg’ and be set to be the boot-up configuration file.

To download a configuration file then save it to the NVRAM of the device, use this command in the privileged mode:

copy {tftp: [//location/filename] | ftp: [//username:password@location:tcpport/

filename]} flash: [FILENAME]

To specify a configuration file in the NVRAM and upload it or save it to the NVRAM of the device, use this command in the privileged mode:

copy flash: [FILENAME] {flash: [FILENAME] | tftp: [//location/filename] | ftp: [//

username:password@location:tcpport/filename]}

Note: The two commands described above are common. These commands can also be used for operating with firmware.

Example

This example shows how to configure the ‘config.cfg’ file in the NVRAM to be the boot-up configuration file.

DXS-3600-32S#copy flash: config.cfg bootup-config

Source filename [config.cfg]? y

Destination filename bootup-config? [y/n]: y

DXS-3600-32S#

Example

This example shows how to execute the ‘config.cfg’ file in the NVRAM immediately by using the increment method.

DXS-3600-32S#copy flash: config.cfg running-config

Source filename [config.cfg]? y

Destination filename running-config? [y/n]: y

Executing script file y ......

Executing done

DXS-3600-32S#

163

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

Example

This example shows how to download the ‘config.cfg’ file from the TFTP server then save it and configure it to be the boot-up configuration file.

DXS-3600-32S#copy tftp: //10.0.0.66/config.cfg bootup-config

Address of remote host [10.0.0.66]?

Source filename [config.cfg]?

Destination filename bootup-config? [y/n]: y

Accessing tftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

Please wait, programming flash.............. Done.

DXS-3600-32S#

Example

This example shows how to download the ‘config.cfg’ file from the TFTP server then execute it immediately by using the increment method.

DXS-3600-32S#copy tftp: running-config

Address of remote host []? 10.0.0.66

Source filename []? config.cfg

Destination filename running-config? [y/n]: y

Accessing tftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

Executing script file config.cfg ......

Executing done

DXS-3600-32S#

Example

This example shows how to download the ‘config.cfg’ file from the FTP server then save it and configure it to be the boot-up configuration file.

DXS-3600-32S#copy ftp: //user:[email protected]:80/config.cfg bootup-config

Address of remote host [10.0.0.66]?

Source username [user]?

Source password [123]?

TCP port number of remote host [80]?

Source filename [config.cfg]?

Destination filename bootup-config? [y/n]: y

Accessing ftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

Please wait, programming flash.............. Done.

DXS-3600-32S#

164

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

Example

This example shows how to download the ‘config.cfg’ file from the FTP server then execute it immediately by using the increment method.

DXS-3600-32S#copy ftp: //user:[email protected]:80/config.cfg running-config

Address of remote host [10.0.0.66]?

Source username [user]?

Source password [123]?

TCP port number of remote host [80]?

Source filename [config.cfg]?

Destination filename startup-config? [y/n]: y

Accessing ftp://10.0.0.66/config.cfg...

Transmission start...

Transmission finished, file length 45421 bytes.

Executing script file config.cfg ......

Executing done

DXS-3600-32S#

165

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

Counter Commands

10-1 clear counters

This command is used to clear counters for a specific port interface or all port interfaces.

clear counters [INTERFACE-ID]

Parameters

INTERFACE-ID

(Optional) Specifies the interface ID. If no interface is specified, all counters on applicable interfaces (physical ports) will be cleared.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 12

Usage Guideline

For now, only physical port counters are provided.

Example

This example shows how to clear counters of all interfaces.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear counters

DXS-3600-32S(config)#

10-2 show interfaces counters

This command is used to display the interfaces’ counters.

show interfaces [INTERFACE-ID] counters

Parameters

INTERFACE-ID

(Optional) Specifies the interface ID. If no interface is specified, all counters on applicable interfaces (physical ports) will be display.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 12

Usage Guideline

If no interface is specified, the system will display all existing interfaces.

166

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

Example

This example shows how to display counters of all interfaces.

DXS-3600-32S#show interfaces counters

Interface : 1

Input Rate : 0 bits/sec, 0 packets/sec

Output Rate : 0 bits/sec, 0 packets/sec

InOctets : 0

InUcastPkts : 0

InMulticastPkts : 0

InBroadcastPkts : 0

OutOctets : 0

OutUcastPkts : 0

OutMulticastPkts : 0

OutBroadcastPkts : 0

Undersize packets : 0

Oversize packets : 0

Collisions : 0

Fragments : 0

Jabbers : 0

CRC Alignment Errors : 0

AlignmentErrors : 0

FCSErrors : 0

Dropped Packet Events (Due to lack of resources) : 0

Packets Received Of Length (In Octets) :

64: 0, 65-127: 0, 128-255: 0,

256-511: 0, 512-1023: 0, 1024-1518: 0

CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All

10-3 show utilization

This command is used to display the interface utilization.

show utilization ports

Parameters

Default

Command Mode

None.

None.

EXEC Mode.

Command Default Level

Level: 12

Usage Guideline

When specified to display ports utilization, the system will display all existed interfaces.

167

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

Example

This example shows how to display port utilization.

DXS-3600-32S#show utilization ports

Port TX/sec RX/sec Util

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

1 0 0 0

2 0 0 0

3 0 0 0

4 0 0 0

5 0 0 0

6 0 0 0

7 0 0 0

8 0 0 0

9 0 0 0

10 0 0 0

11 0 0 0

12 0 0 0

13 0 0 0

14 0 0 0

15 0 0 0

16 0 0 0

17 0 0 0

18 0 0 0

19 0 0 0

20 0 0 0

21 0 0 0

22 0 0 0

23 0 0 0

CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All

168

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

CPU Commands

11-1 show cpu

This command is used to show the CPU utilization information.

show cpu

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show the system CPU utilization information in 5sec, 1 min and

5 min.

Example

DXS-3600-32S#show cpu

This example shows how to show the CPU utilization information.

CPU Utilization

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

Five seconds - 34 % One minute - 35 % Five minutes - 35 %

DXS-3600-32S#

169

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

Debug Commands

12-1 debug enable

This command is used to set the debug state as enabled. Users can use no debug command to disable the debug state.

debug enable no debug

Parameters

Default

Command Mode

None.

The default debug state is enabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Enabling the debug state, allows for debug message output. Disabling the debug state, does not allow debug message output.

Example

This example shows how to enable the debug state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#debug enable

DXS-3600-32S(config)#

Example

This example shows how to disable the debug state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no debug

DXS-3600-32S(config)#

12-2 error-reboot enable

This command is used to set the switch to be rebooted when a fatal error occurs. Use the no error-reboot command to set the switch not to be rebooted when a fatal error occurs.

error-reboot enable no error-reboot

Parameters

Default

Command Mode

None.

The default state of error-reboot is enabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Enabling the error-reboot state, will force the switch to reboot when a fatal error occurs. Disabling the error-reboot state, will not force the switch to reboot when a fatal error occurs.

Example

This example shows how to enable the state of the error-reboot option.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#error-reboot enable

DXS-3600-32S(config)#

Example

This example shows how to disable the state of the error-reboot option.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no error-reboot

DXS-3600-32S(config)#

170

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

12-3 copy error-log

This command is used to copy error log information to a location filename through TFTP.

copy error-log tftp [//location/filename]

Parameters tftp

location filename

Specifies to upload the error log through a TFTP server.

Specifies the location of the TFTP server.

Specifies the location filename of the upload error log.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The user can use the copy error-log command to copy the error log information through TFTP to a location file.

Example

This example shows how to copy error log information through a TFTP to a file name

‘err-log.txt’ at 10.0.0.90

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#copy error-log tftp //10.0.0.90/error-log.txt

DXS-3600-32S(config)#

12-4 copy debug buffer

This command is used to copy debug buffer information to a location filename through a TFTP.

copy debug buffer tftp [//location/filename]

Parameters tftp

location filename

Specifies to upload the debug buffer information through a TFTP server.

Specifies the location of the TFTP server.

Specifies the location filename of the debug buffer information.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The user can use the copy debug buffer command to copy the debug buffer information through TFTP to a location file.

Example

This example shows how to copy debug buffer information through TFTP to a file name “debug.txt” to 10.0.0.90

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#copy debug buffer tftp //10.0.0.90/debug.txt

DXS-3600-32S(config)#

171

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

12-5 debug output

This command is used to set a specified module's debug message output to the debug buffer or local console.

debug output {module <MODULE_LIST> | all} {buffer | console}

Parameters module

MODULE_LIST

all buffer console

Specifies the module to output debug messages.

Specifies the module list.

Specifies all the modules to output debug messages.

Specifies the module's debug message output to debug buffer.

Specifies the module's debug message output to local console.

Default

Command Mode

The default debug output is buffer.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use the command to set a specified module’s debug message output to debug to the buffer or local console. If the user uses the command in a Telnet session, the error message will also output to the local console.

Example

This example shows how to configure all modules to debug message outputs to the debug buffer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#debug output all buffer

DXS-3600-32S(config)#

12-6 show error-log

This command is used to show error log information.

show error-log

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The user can use the show error-log command to display the current error log.

172

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

Example

DXS-3600-32S#show error-log

This example shows how to show error log information.

# debug log: 1

# level: fatal

# clock: 10000ms

# time : 2009/03/11 13:00:00

====================== SOFTWARE FATAL ERROR =======================

Invalid mutex handle : 806D6480

Current TASK : bcmARL.0

------------------------- TASK STACKTRACE ------------------------

->802ACE98

->8018C814

->8028FF44

->8028352C

->801D703C

->8013B8A4

->802AE754

->802A5E0C

->802A5D6C

**************************************************************************

# debug log: 2

# level: fatal

<The Output contunues>

12-7 clear error-log

This command is used to clear error log information.

clear error-log

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The user can use the clear error-log command to clear the error log information.

Example

This example shows how to clear the error log information.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear error-log

DXS-3600-32S(config)#

12-8 show error-reboot

This command is used to show the state of the error-reboot option.

show error-reboot

Parameters

Default

Command Mode

None.

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to show the state of the error-reboot option.

173

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

Example

This example shows how to show the state of the error-reboot option.

DXS-3600-32S#show error-reboot

Error Reboot: Disabled

DXS-3600-32S#

12-9 clear debug buffer

This command is used to clear the debug buffer.

clear debug buffer

Parameters

Default

Command Mode

None.

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to clear the debug buffer.

Example

This example shows how to clear the debug buffer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear debug buffer

DXS-3600-32S(config)#

12-10 show debug buffer

This command is used to show the information of the debug buffer.

show debug buffer [utilization]

Parameters utilization

Specifies to show the utilization of the debug buffer.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to show the information of the debug buffer. If no paramter is specified, all debug information in the buffer will be displayed.

Example

This example shows how to show the information of the debug buffer.

DXS-3600-32S#show debug buffer

Debug buffer is empty.

DXS-3600-32S#

174

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

Example

This example shows how to show the utilization of the debug buffer.

DXS-3600-32S#show debug buffer utilization

Allocate from : System memory

Total size : 2 MB

Utilization rate : 30%

DXS-3600-32S#

12-11 show debug status

This command is used to show the debug buffer’s status of the modules.

show debug status

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The command can show the debug buffer’s status of the modules.

Example

This example shows how to show the debug buffer’s information.

DXS-3600-32S#show debug status

Debug Global State : Disabled

MSTP : Disabled

OSPFV2 : Disabled

BGP : Disabled

VRRP : Disabled

DXS-3600-32S#

12-12 show tech-support

This command is used to show technical support information.

show tech-support [ipmulticast(1) | ospf(2)]

Parameters ipmulticast ospf

Specifies to show the IP multicast technical support.

Specifies to show the OSPF technical support.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The command can show the technical support information. The technical support information is used to collect the switch’s information and feedback for the engineers. Engineers can then know what happened on the switch, according to the information. If no parameter is specified, information of all modules will be displayed.

175

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

Example

This example shows how to show the technical support information of IP multicast.

DXS-3600-32S#show tech-support

#-------------------------------------------------------------------------------

# DXS-3600-32S TenGigabit Ethernet Switch

# Technical Support Information

#

# Firmware: Build 1.00.018

# Copyright(C) 2012 D-Link Corporation. All rights reserved.

#-------------------------------------------------------------------------------

******************** Basic System Information ********************

[SYS 2000-2-12 01:30:40]

Boot Time : 11 Feb 2000 23:54:52

RTC Time : 2000/02/12 01:30:40

Boot PROM Version : Build 1.00.007

Firmware Version : Build 1.00.018

Hardware Version :

Serial number : D1234567890

MAC Address : 00-01-02-03-04-00

MAC Address Number : 65535

******************** System Log ********************

******************** Running Configuration ********************

******************** Layer One Information ********************

<The Output contunues>

12-13 copy tech-support

This command is used to copy technical support information to a location filename through TFTP.

copy tech-support tftp //location/filename

Parameters tftp

location filename

Specifies to upload the technical support information through a TFTP server.

Specifies the location of the TFTP server.

Specifies the location filename of the upload technical support information.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The user can use the copy tech-support command to copy the technical support information through TFTP to a location file.

Example

This example shows how to copy technical support information through TFTP to a file named ‘tech-info.txt’ at 10.0.0.90

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#copy tech-support tftp //10.0.0.90/tech_info.txt

DXS-3600-32S(config)#

176

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

12-14 debug show module_version

This command is used to show the module version of the modules.

debug show module_version [module <MODULE_LIST>]

Parameters module

MODULE_LIST

Specifies the module which version will be displayed.

Specifies the module list.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The command can show the module version of the modules.

Example

This example shows how to show the module version.

DXS-3600-32S#debug show module_version

FS: 1.00.0010

CNT: 1.00.0003

MIRROR: 1.00.0001

VLAN: 1.00

GVRP: 1.00

QINQ: 1.00

PROTOCOL_VLAN: 1.00

IP_SUBNET_VLAN: 1.00

MAC_BASED_VLAN: 1.00

LLDP: 1.00.0005

IGMP_Snooping: 1.00.0001

DOT1X: 2.00.0001

PORTSEC: 2.00.0001

MBAC: 1.13.0001

DHCP_CLIENT: 1.00.0001

DHCP_RELAY: 1.00.0001

DHCP_SERVER: 1.00.0001

STORM_CTRL: 1.02.0001

TRAFFIC_SEG: 1.00.0001

CONFIG: 1.00.0008

CPU_MONITOR: 1.00.0003

SNTP: 1.00.0001

TACACS: 1.00.0001

CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All

177

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

DHCP Relay Commands

13-1 service dhcp

This command is used to enable the DHCP relay feature. The no form of this command can disable the DHCP relay feature.

service dhcp no service dhcp

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The DHCP relay can forward the DHCP requests to other servers and the returned

DHCP response packets to the DHCP client, serving as the relay for DHCP packets.

Example

This example shows how to enable the DHCP relay option.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#service dhcp

DXS-3600-32S(config)#

13-2 ip helper-address

This command is used to add an IP address of the DHCP server. The no form of this command deletes an IP address of the DHCP server.

ip helper-address ip-address

no ip helper-address ip-address

Parameters

ip-address

Specifies the IP address of the DHCP server.

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command can configure more than one DHCP server address in the interface modes. One DHCP request, received on this interface, will be sent to these servers.

Example

This example shows how to set the server address to 61.154.26.49

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 100

DXS-3600-32S(config-if)#ip helper-address 61.154.26.49

DXS-3600-32S(config-if)#

13-3 ip dhcp relay information option82

This command is used to enable the DHCP relay information Option 82 function. The no form of this command is used to disable the DHCP relay information Option 82 function.

ip dhcp relay information option82 no ip dhcp relay information option82

178

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

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When DHCP Option 82 is enabled, the DHCP packet received from the client will be inserted with and Option 82 field before being relayed to the server. The DHCP

Option 82 containes 2 sub-options which are circuit ID sub-option and remote ID sub-option.

Example

This example shows how to enable the ip dhcp relay information option82 function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay information option82

DXS-3600-32S(config)#

13-4 ip dhcp relay option60

This command is used to enable the DHCP relay Option 60 function. The no form of this command is used to disable the DHCP relay Option 60 function.

ip dhcp relay option60 no ip dhcp relay option60

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When Option 60 is enabled, if the packet contains Option 60, it will be based on the

Option 60 field to determine the relay server. You can verify your settings by entering the show ip dhcp relay option60 command.

Example

This example shows how to enable the DHCP relay Option 60 function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option60

DXS-3600-32S(config)#

13-5 ip dhcp relay option60 identifier

This command is used to add a DHCP server IP address for a specific Option 60. The no form of this command deletes the DHCP server IP address for that Option 60.

ip dhcp relay option60 identifier desc 255 relay ip-address [exact-match | partial-match]

no ip dhcp relay option60 identifier desc 255

Parameters

desc 255 ip-address

exact-match partial-match

Specifies the specified string.

Specifies the IP address of the DHCP server.

Specifies that the DHCP client string needs to exactly match the specified string.

Specifies that the DHCP client string only needs to partially match the specified string.

179

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

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command configures the Option 60 relay rules. Note that different strings can be specified with the same relay server and the same strings can be specified with multiple relay servers.

A string map to a DHCP server has two modes: (1) One is exact-match and the (2) other is partial-match. The exact-match is that the DHCP client string needs exactly match the specified string. The partial-match is that the DHCP client string only needs partially match the specified string.

You can verify your settings by entering the show ip dhcp relay option60 command.

Example

This example shows how to add an Option 60 string ‘MSFT 5.0’ relay entry to

10.90.90.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option60 identifier MSFT 5.0 relay 10.90.90.1

DXS-3600-32S(config)#

13-6 ip dhcp relay option60 default

This command is used to add default relay servers, used by the DHCP relay Option 60. The no form of this command deletes the Option 60 default relay server.

ip dhcp relay option60 default relay ip-address

no ip dhcp relay option60 default

Parameters

ip-address

Specifies the IP address of the DHCP server.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When there is no matching server found for the packet, based on the Option 60 string, for the relay servers to use, it will be determined by the default relay server setting.

You can verify your settings by entering the show ip dhcp relay option60 command.

Example

This example shows how to add the default relay servers to use by the DHCP relay

Option 60.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option60 default relay 10.90.90.90

DXS-3600-32S(config)#

13-7 show ip dhcp relay option60

This command is used to show the entries of the DHCP relay Option 60.

180

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

show ip dhcp relay option60 [identifier desc 255 | default]

Parameters

desc 255

default

Specifies the specified string.

Specifies the default relay server configuration.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

This command is used to show the entries of the DHCP relay Option 60.

Example

This example shows how to show the result of the show ip dhcp relay option60 command.

DXS-3600-32S#show ip dhcp relay option60

Default Servers:

10.90.90.90

Matching Rules:

String Match Type IP Address

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

MSFT 5.0 Exact Match 10.90.90.90

Total Entries : 1

DXS-3600-32S#

13-8 ip dhcp relay option61

This command is used to enable the DHCP relay Option 61 function. The no form of this command is used to disable the DHCP relay Option 61 function.

ip dhcp relay option61 no ip dhcp relay option61

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When the Option 61 is enabled, if the packet contains Option 61, it will be based on the Option 60 field to determine the relay server.

You can verify your settings by entering the show ip dhcp relay option61 command.

Example

This example shows how to enable the ip dhcp relay option61 function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option61

DXS-3600-32S(config)#

181

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

13-9 ip dhcp relay option61 identifier

This command is used to add a DHCP server IP address for a specific Option 61. The no form of this command deletes the DHCP server IP address for that Option 61.

ip dhcp relay option61 identifier {string desc 255 | mac-address macaddr} {relay ip-address | drop}

no ip dhcp relay option61 identifier [string desc 255 | mac-address macaddr]

Parameters

desc 255 macaddr ip-address

drop

Specifies the client’s client-ID which is specified by the user.

Specifies the client’s client-ID which is the hardware address of the client.

Specifies to relay the packet to a specific IP address.

Specifies to drop the packet.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command adds a rule to determine the relay server based on Option 61. The matching rule can be based on either a MAC address or a user-specified string. Only one relay server can be specified for each MAC-address or string.

You can verify your settings by entering the show ip dhcp relay option61 command.

Example

This example shows how to add an Option 60 relay entry to 10.90.90.1 with a MAC address of ‘00-11-22-33-44-55’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option61 identifier mac-address 00-11-22-33-44-55 relay

10.90.90.1

DXS-3600-32S(config)#

13-10 ip dhcp relay option61 default

This command is used to add default relay servers, used by the DHCP relay Option 61. The no form of this command deletes an Option 61 default relay server.

ip dhcp relay option61 default relay ip-address

no ip dhcp relay option61 default relay

Parameters

ip-address

Specifies the IP address of the DHCP server.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When there is no matching server found for the packet based on Option 61, the relay servers to use will be determined by the default relay server setting.

You can verify your settings by entering the show ip dhcp relay option61 command.

182

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

Example

This example shows how to add default relay servers to be used by the DHCP relay

Option 61.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp relay option61 default relay 10.90.90.90

DXS-3600-32S(config)#

13-11 show ip dhcp relay option61

This command is used to show the entries of the DHCP relay Option 61.

show ip dhcp relay option61

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

This command is used to show the entries of the DHCP relay Option 61.

Example

This example shows the result of the show ip dhcp relay option61 command.

DXS-3600-32S#show ip dhcp relay option61

Default Relay Rule:10.90.90.90

Matching Rules:

Client-ID Type Relay Rule

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

00-11-22-33-44-55 MAC Address 10.90.90.1

Total Entries : 1

DXS-3600-32S#

183

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

DHCP Server Commands

14-1 bootfile

This command is used to define the startup mapping file name of the DHCP client in the DHCP address pool configuration mode. The no form of this command can be used to remove the definition.

bootfile file-name

no bootfile

Parameters

file-name

Specifies the startup file name.

Default

No startup file name is defined, by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Some DHCP clients need to download the operating system and the configuration file during the startup. The DHCP server should provide the mapping file name required for the startup, so that DHCP clients can download the file from the corresponding server (such as TFTP). The servers are defined by the next-server command.

Example

This example shows how to define the ‘device.conf’ file as the startup file name.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#bootfile device.conf

DXS-3600-32S(dhcp-config)#

14-2 default-router

This command is used to define the default gateway of the DHCP client in the DHPC address pool configuration mode.

The no form of this command can be used to delete the definition of the default gateway.

default-router ip-address [ip-address2 [ip-address3]]

no default-router

Parameters

ip-address ip-address2 ip-address3

Specifies to define the IP address of the equipment. It is required to configure one IP address at least.

(Optional) Up to 3 gateways can be configured.

Default

No gateway is defined by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In general, the DHCP client should get the information of the default gateway from the DHCP server. The DHCP server should specify one gateway address for the client at least, and this address should be of the same network segment as the address assigned to the client.

184

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

Example

This example shows how to define 192.168.12.1 as the default gateway.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#default-router 192.168.12.1

DXS-3600-32S(dhcp-config)#

14-3 dns-server

This command is used to define the DNS server of the DHCP client in the DHPC address pool configuration mode. The no form of this command can be used to delete the definition of the DNS server.

dns-server ip-address [ip-address2 [ip-address3]]

no dns-server

Parameters

ip-address ip-address2 ip-address3

Specifies to define the IP address of the DNS server. At least one IP address should be configured.

(Optional) Up to 3 DNS servers can be configured.

Default

No DNS server is defined by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Define the DNS server for the DHCP client.

Example

This example shows how to specify the DNS server 192.168.12.3 for the DHCP client.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#dns-server 192.168.12.3

DXS-3600-32S(dhcp-config)#

14-4 domain-name

This command is used to define the suffix domain name of the DHCP client in the DHPC address pool configuration mode. The no form of this command can be used to delete the suffix domain name.

domain-name domain-name

no domain-name

Parameters

domain-name

Specifies to define the suffix domain name string of the DHCP client.

Default

No suffix domain name by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

After the DHCP client obtains a specified suffix domain name, it can access a host with the same suffix domain name by the host name directly.

185

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

Example

This example shows how to define the suffix domain name ‘domain.com’ for the

DHCP client.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#domain-name domain.com

DXS-3600-32S(dhcp-config)#

14-5 hardware-address

This command is used to define the hardware address of the DHCP client in the DHPC address pool configuration mode. The no form of this command can be used to delete the definition of the hardware address.

hardware-address hardware-address type

no hardware-address

Parameters

hardware-address type

Specifies to define the MAC address of the DHCP client.

Specifies the hardware platform protocol of the DHCP client. Use the string definition or digits definition.

String option:

• Ethernet

• ieee802

Digits option:

• 1 (10M Ethernet)

• 6 (IEEE 802)

Default

Command Mode

No hardware address is defined by default. If there is no option when the hardware address is defined, it is the Ethernet by default.

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command can be used only when the DHCP is defined by manual binding.

Example

This example shows how to define the MAC address 00d0.f838.bf3d with the type ethernet.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#hardware-address 00d0.f838.bf3d

DXS-3600-32S(dhcp-config)#

14-6 host

This command is used to define the IP address and network mask of the DHCP client host in the DHCP address pool configuration mode. The no form of this command can be used to delete the definition of the IP address and network mask for the DHCP client.

host ip-address [netmask]

no host

Parameters

ip-address netmask

Specifies to the IP address of the DHCP client.

Specifies to define the network mask of DHCP client.

186

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

Default

Command Mode

No IP address or network mask of the host is defined.

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If the network mask is not defined definitely, the DHCP server will use the natural network mask of this IP address: 255.0.0.0 for class A IP address, 255.255.0 for class B IP address, and 255.255.255.0 for class C IP address.

This command can be used only when the DHCP is defined by manual binding.

Example

This example shows how to set the client IP address as 192.168.12.91 and the network mask as 255.255.255.240.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#host 192.168.12.91 255.255.255.240

DXS-3600-32S(dhcp-config)#

14-7 ip dhcp excluded-address

This command is used to define some IP addresses and make the DHCP server not assign them to the DHCP client in the global configuration mode. The no form of this command can be used to cancel this definition.

ip dhcp excluded-address low-ip-address [high-ip-address]

no ip dhcp excluded-address low-ip-address [high-ip-address]

Parameters

low-ip-address high-ip-address

Specifies to exclude the IP address, or exclude the start IP address within the range of the IP address.

Specifies to exclude the end IP address within the range of the IP address.

Default

No excluded address is defined.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If the excluded IP address is not configured, the DHCP server attempts to assign all

IP addresses in the DHCP address pool. This command can reserve some IP addresses for specific hosts to prevent these addresses are assigned to the DHCP client, and define the excluded IP address accurately to reduce the conflict detecting time when the DHCP server assigns the address.

Example

In the configuration example below, the DHCP server will not attempt to assign the

IP addresses within 192.168.12.100~150.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp excluded-address 192.168.12.100 192.168.12.150

DXS-3600-32S(config)#

14-8 ip dhcp ping packet

This command is used to configure the times of pinging the IP address when the DHCP server detects address conflict in the global configuration mode. The no form of this command is used to restore it to the default configuration.

ip dhcp ping packet [number]

no ip dhcp ping packet

187

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

Parameters

number

(Optional) Specifies the number of packets in the range of 0 to 10, where 0 indicates disabling the ping operation. The Ping operation sends two packets by default.

Default

Command Mode

The Ping operation sends two packets by default.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When the DHCP server attempts to assign the IP address from the DHCP address pool, use the ping operation to check whether this address is occupied by other hosts. Record it if the address is occupied, otherwise, assign it to the DHCP client.

The Ping operation will send up to 10 packets, two packets by default.

Example

This example shows how to set the number of the packets, sent by the ping operation as 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp ping packet 3

DXS-3600-32S(config)#

14-9 ip dhcp ping timeout

This command is used to configure the timeout that the DHCP server waits for response when it uses the ping operation to detect the address conflict in the global configuration mode. The no form of this command can be used to restore it to the default configuration.

ip dhcp ping timeout milli-seconds

no ip dhcp ping timeout

Parameters

milli-seconds

Specifies the time that the DHCP server waits for ping response in the range 10 to

2000 milliseconds.

Default

Command Mode

The default timeout is 100 milliseconds.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command defines the time that the DHCP server waits for a ping response packet.

Example

In the configuration example below, the waiting time of the ping response packet is

600ms.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp ping timeout 600

DXS-3600-32S(config)#

14-10 ip dhcp pool

This command is used to define a name of the DHCP address pool and enter into the DHCP address pool configuration mode in the global configuration mode. The no form of this command can be used to delete the DHCP address pool.

ip dhcp pool pool-name

no ip dhcp pool pool-name

188

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

Parameters

pool-name

Specifies a string of characters and positive integers, for instance, mypool or 1.

Default

Command Mode

No DHCP address pool is defined by default.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Execute the command to enter into the DHCP address pool configuration mode, in this configuration mode, configure the IP address range, the DNS server and the default gateway.

Example

This example shows how to define a DHCP address pool with the name ‘mypool0’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool mypool0

DXS-3600-32S(dhcp-config)#

14-11 lease

This command is used to define the lease time of the IP address that the DHCP server assigns to the client in the

DHCP address pool configuration mode. The no form of this command can be used to restore it to the default configuration.

lease {days [hours] [minutes] | infinite}

no lease

Parameters

days hours minutes

infinite

Specifies the lease time in days.

(Optional) Specifies the lease time in hours. It is necessary to define the days before defining the hours.

(Optional) Specifies the lease time in minutes. It is necessary to define the days and hours before defining the minutes.

Specifies an infinite lease time used.

Default

The lease is 1 days, by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When the lease is getting near to expire, the DHCP client will send the request of renewal of lease. In general, the DHCP server will allow the renewal of lease of the original IP address.

Example

This example shows how to set the DHCP lease to 1 hour.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#lease 0 1

DXS-3600-32S(dhcp-config)#

Example

This example shows how to set the DHCP lease to 1 minute.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#lease 0 0 1

DXS-3600-32S(dhcp-config)#

189

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

14-12 netbios-name-server

This command is used to configure the WINS name server of the Microsoft DHCP client NETBIOS in the DHCP address pool configuration mode. The no form of this command can be used to delete the WINS server.

netbios-name-server ip-address [ip-address2 [ip-address3]]

no netbios-name-server

Parameters

ip-address ip-address2 ip-address3

Specifies the IP address of the WINS server. It is required to configure one IP address at least.

(Optional) Specifies the IP addresses of WINS servers. Up to 3 WINS servers can be configured.

Default

Command Mode

No WINS server is defined, by default.

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When more than one WINS server is defined, the former has higher priory. The

DHCP client will select the next WINS server only when its communication with the former WINS server fails.

Example

This example shows how to specify the WINS server 192.168.12.3 for the DHCP client.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#netbios-name-server 192.168.12.3

DXS-3600-32S(dhcp-config)#

14-13 netbios-node-type

This command is used to define the node type of the master NetBIOS of the Microsoft DHCP client in the DHCP address configuration mode. The no form of this command can be used to delete the configuration of the NetBIOS node type.

netbios-node-type type

no netbios-node-type

Parameters

type

Specifies the type of node in two modes: Digit in hexadecimal form in the range of 0 to FF.

Only the following numerals are available:

1: b-node.

2: p-node.

4: m-node.

8: h-node.

String:

b-node: broadcast node

p-node: peer-to-peer node

m-node: mixed node

h-node: hybrid node

190

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

Default

Command Mode

No type of the NetBIOS node is defined, by default.

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

There are 4 types of the NetBIOS nodes of the Microsoft DHCP client:

1) Broadcast, which carries out the NetBIOS name resolution by the broadcast method,

2) Peer-to-peer, which directly requests the WINS server to carry out the

NetBIOS name resolution,

3) Mixed, which requests the name resolution by the broadcast method firstly, and then carry out the name resolution by the WINS server connection,

4) Hybrid, which requests the WINS server to carry out the NetBIOS name resolution firstly, and it will carry out the NetBIOS name resolution by the broadcast method if the response is not received.

By default, the node type for Microsoft operating system is broadcast or hybrid. If the

WINS server is not configured, broadcast node is used. Otherwise, hybrid node is used. It is recommended to set the type of the NetBIOS node as Hybrid.

Example

This example shows how to set the NetBIOS node of Microsoft DHCP client as

Hybrid.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#netbios-node-type h-node

DXS-3600-32S(dhcp-config)#

14-14 network

This command is used to define the network number and network mask of the DHCP address pool in the DHCP address pool configuration mode. The no form of this command can be used to delete the definition.

network net-number net-mask

no network

Parameters

net-number net-mask

Specifies the network number of the DHCP address pool

Specifies the network mask of the DHCP address pool. If the network mask is not defined, the natural network mask will be used by default.

Default

No network number or network mask is defined by default.

Command Mode

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command defines the subnet and subnet mask of a DHCP address pool, and provides the DHCP server with an address space which can be assigned to the clients. Unless excluded addresses are configured, all the addresses of the DHCP address pool can be assigned to the clients. The DHCP server assigns the addresses in the address pool orderly. If the DHCP server found an IP address is in the DHCP binding table or in the network segment, it checks the next until it assigns an effective IP address.

The show ip dhcp binding command can be used to view the address assignment, and the show ip dhcp conflict command can be used to view the address conflict detection configuration.

191

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

Example

This example shows how to define the network number of the DHCP address pool as 192.168.12.0, and the network mask as 255.255.255.240.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#network 192.168.12.0 255.255.255.240

DXS-3600-32S(dhcp-config)#

14-15 next-server

This command is used to define the startup server that the DHCP client accesses during startup in the DHCP address configuration mode. The no form of this command can be used to delete the definition of the startup server list.

next-server ip-address

no next-server

Parameters

ip-address

Specifies to define the IP address of the startup server, which is usually the TFTP server. It is required to configure one IP address at least.

Default

Command Mode

None.

DHCP Address Pool Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Define the next server for the DHCP client.

Example

This example shows how to specify the startup server 192.168.12.4 for the DHCP client.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dhcp pool pool1

DXS-3600-32S(dhcp-config)#next-server 192.168.12.4

DXS-3600-32S(dhcp-config)#

14-16 service dhcp

This command is used to enable the DHCP service (include DHCP server and DHCP relay) on the device in the global configuration mode. The no form of this command can be used to disable the DHCP service.

service dhcp no service dhcp

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The DHCP server can assign the IP addresses to the clients automatically, and provide them with the network configuration information such as DNS server and default gateway. The DHCP relay can forward the DHCP requests to other servers, and the returned DHCP responses to the DHCP client, serving as the relay for

DHCP packets.

192

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

Example

This example shows how to enable the DHCP server and the DHCP relay feature.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#service dhcp

DXS-3600-32S(config)#

14-17 clear ip dhcp binding

This command is used to clear the DHCP binding table.

clear ip dhcp binding {* | ip-address}

Parameters

* ip-address

Specifies to delete all DHCP bindings.

Specifies to delete the binding of the specified IP addresses.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

This command can only clear the automatic DHCP binding, but the manual DHCP binding can be deleted by the no ip dhcp pool command.

Example

This example shows how to clear the DHCP binding with the IP address

192.168.12.100.

DXS-3600-32S#clear ip dhcp binding 192.168.12.100

DXS-3600-32S#

14-18 clear ip dhcp conflict

This command is used to clear the DHCP address conflict record.

clear ip dhcp conflict {* | ip-address}

Parameters

* ip-address

Specifies to delete all DHCP address conflict records.

Specifies to delete the conflict record of the specified IP addresses.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

The DHCP server uses the ping session to detect the address conflict, while the

DHCP client uses the address resolution protocol (ARP) to detect the address conflict. The clear ip dhcp conflict can be used to delete the history conflict record.

Example

This example shows how to clear all address conflict records.

DXS-3600-32S#clear ip dhcp conflict *

DXS-3600-32S#

193

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

14-19 show ip dhcp binding

This command is used to show the binding condition of the DHCP address.

show ip dhcp binding [ip-address]

Parameters

ip-address

(Optional) Specifies to only show the binding condition of the specified IP addresses.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

If the IP address is not defined, show the binding condition of all addresses. If the IP address is defined, show the binding condition of this IP address.

Example

This example shows how to the result of the show ip dhcp binding command.

DXS-3600-32S#show ip dhcp binding

IP Address Hardware Address Lifetime Type

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

192.168.12.91 00-D0-F8-38-BF-3D Infinite Manual

Total Entries: 1

DXS-3600-32S#

Display Parameters

IP Address

Hardware Address

Lifetime

Type

Description

The IP address to be assigned to the DHCP client.

The hardware address of the DHCP client.

The expiration date of the lease. The Infinite indicates it is not limited by the time.

The type of the address binding. The Automatic indicates an IP address is assigned automatically, and the Manual indicates an IP address is assigned by manual.

14-20 show ip dhcp conflict

This command is used to show the conflict history record of DHCP server.

show ip dhcp conflict

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

This command can show the conflict address list and excluded address list detected by the DHCP server.

194

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

Example

This example shows the output result of the show ip dhcp conflict command.

DXS-3600-32S#show ip dhcp conflict

IP Address Detection Method Detection Time

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

192.168.12.1 Ping 2011/12/16 17:06:59

Total Entries: 0

DXS-3600-32S#

Display Parameters

IP Address

Detection Method

Detection Time

Description

The IP addresses which cannot be assigned to the DHCP client.

The conflict detection method.

The conflict detection time.

195

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

D-Link License Management System Commands

15-1 install dlms activation_code

This command is used to install an activation code on the switch.

install dlms activation_code AC_STR

Parameters

AC_STR

Specifies an activation code. The length should be 25 string characters.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to install an activation code. The activation code is a set of codes which actives/ unlocks function on the appliance.

Example

This example shows how to install an activation code on the switch. The field descriptions are self-explanatory. The following example shows how to install a legal activation code.

DXS-3600-32S#install dlms activation_code xBc7vNWsSpchuQkGZsTfPwcfa

Success.

Please reboot the device to active the license.

DXS-3600-32S#

Example

This example shows how to input an illegal activation code.

DXS-3600-32S#install dlms activation_code xBc7vNWsSpchuQkGZsTfPwAcb

Illegal activation code.

DXS-3600-32S#

15-2 show dlms license

This command is used to display the license information on the switch.

show dlms license

Parameters

Default

Command Mode

None.

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

This command will display the license information on the switch, including the default license.

196

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

Example

This example shows how to display the license information. The field descriptions are self-explanatory. The following example shows how to display the license information on the switch.

DXS-3600-32S#show dlms license

Device Default License : SI

License Model Activation Code Time Remaining

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

DXS-3600-32S-SE-LIC xBc7vNWsSpchuQkGZsTfPwAcb 33 weeks

DXS-3600-32S-SE-LIC xBc7vNWsSpchuQkGZsTfPwAcc*

DXS-3600-32S-SE-LIC xBc7vNWsSpchuQkGZsTfPwAcd*

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

DXS-3600-32S-SE-LIC xBc8xTWsQpchxTkGZsTfPwBtt No Limited

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

* expired

DXS-3600-32S#

197

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

Domain Name System (DNS) Commands

16-1 ip domain-lookup

This command is used to enable the domain name look up for the switch itself's application. For example, to ping a domain name on the switch. Us the no form of this command to disable this function.

ip domain-lookup no ip domain-lookup

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command enables the domain name resolution function.

Example

This example shows how to enable the DNS domain name resolution function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip domain-lookup

DXS-3600-32S(config)#

16-2 ip name-server

This command is used to configure the IP address of the domain name server. Use the no form of this command to delete the configured domain name server.

ip name-server ip-address

no ip name-server [ip-address]

Parameters

ip-address

Specifies the IP address of the domain name server.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Add the IP address of the DNS server. Once this command is executed, the equipment will add a DNS server. When the device cannot obtain the domain name from a DNS server, it will attempt to send the DNS request to subsequent servers until it receives a response. Up to 2 DNS servers are supported. You can delete a

DNS server with the ip-address option or all the DNS servers.

Example

This example shows how to set the domain name server 192.168.5.134

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip name-server 192.168.5.134

DXS-3600-32S(config)#

16-3 ip host

This command is used to configure the mapping of the host name and the IP address by manual. Use the no form of the command to remove the host list.

ip host host-name ip-address

198

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

no ip host host-name ip-address

Parameters

host-name ip-address

Specifies the host name of the equipment.

Specifies the IP address of the equipment.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

To delete the host list, use the no ip host host-name ip-address command.

Example

This example shows how to configure the mapping of the host name ‘www.abc.com’ and the IP address 192.168.5.243.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip host www.abc.com 192.168.5.243

DXS-3600-32S(config)#

16-4 clear host

This command is used to clear the dynamically learned host name in the privileged user mode.

clear host [host-name]

Parameters

host-name

Specifies to delete the dynamically learned host.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

Execute this command to delete the host name records learned by the DNS dynamically.

Example

This example shows how to delete the dynamically learned mapping records from the host name-IP address buffer table.

DXS-3600-32S#clear host www.abc.com

DXS-3600-32S#

16-5 show hosts

This command is used to display the DNS configuration.

show hosts

Parameters

Default

None.

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 2

Usage Guideline

Show the DNS related configuration information.

199

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

Example

DXS-3600-32S#show hosts

This example shows how to show the DNS related configuration information.

Name servers are: 192.168.5.134

Static Host Name Table

Host Name IP Address

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

www.abc.com 192.168.5.243

Total Static Entries: 1

Dynamic Host Name Table

Host Name IP Address TTL

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

www.yes.com 10.0.0.88 1334 minutes

Total Dynamic Entries: 1

DXS-3600-32S#

16-6 ip dns server

This command is used to control if the switch can use the domain name for other dns clients which are connected to it.

If the DNS server state is enabled, when it recevies a DNS query, it will according to its DNS cache table or query an upper DNS server to respond to the client. Us the no form of this command to disable this function.

ip dns server no ip dns server

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command enables the domain name server function.

Example

This example shows how to enable the DNS domain name server function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip dns server

DXS-3600-32S(config)#

200

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

DoS Attack Prevention Commands

17-1 defense

This command is used to defend DoS attacks. Use the no form of the command to disable the defense attack

defense [land | blat | null-scan | xmascan | tcp-synfin | port-less-1024 | ping-death | tiny-frag] enable no defense [land | blat | null-scan | xmascan | tcp-synfin | port-less-1024 | ping-death | tiny-frag] enable

Parameters land blat null-scan xmascan tcp-synfin port-less-1024 ping-death tiny-frag

Enable the defense land attack function.

Enable the defense blat attack function.

Enable the defense null scan attack function.

Enable the defense xmas scan attack function.

Enable the defense tcp with synfin attack function.

Enable the defense source port less 1024 attack function.

Enable the defense ping of death attack function.

Enable the defense tcp tiny fragment attack function.

Default

Defense land, blat, null-scan, xmascan, tcp-synfin, port-less-1024, ping-death, tinyfrag disabled.

Global Configuration Mode.

Command Mode

Command Default Level

Level: 8

Usage Guideline

Defense DoS attack types are listed as bellow:

Land attack

A Land attack is a DoS attack that consists of sending a special poison spoofed packet to a computer, causing it to lock up. A Land attack involves IP packets where the source and destination address are set to address the same device. The reason a Land attack works is because it causes the machine to reply to itself continuously.

Detect method - Check whether the source address is equal to destination address of a received IP packet.

Blat attack

A DoS attack in which the TCP/IP stack is flooded with SYN packets that have spoofed source port number that match the destination port number causes the machine to lock up.

Detect method - Check whether the source port is equal to destination port of a received TCP packet.

Null Scan

Hackers use the TCP NULL scan to identify listening TCP ports. This scan also uses a series of strangely configured TCP packets, which contain no flags.

Again, this type of scan can get through some firewalls and boundary routers that filter on incoming TCP packets with standard flag settings. If the target device’s TCP port is closed, the target device sends a TCP RST packet in reply. If the target device’s TCP port is open, the target discards the TCP

NULL scan, sending no reply.

Detect method - Check whether a received TCP packet contains a sequence number of 0 and no flags.

201

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

Xmas Scan

Hackers use the TCP Xmas scan to identify listening TCP ports. This scan uses a series of strangely configured TCP packets, which contain the Urgent (URG),

Push (PSH), and FIN flags. Again, this type of scan can get through some firewalls and boundary routers that filter on incoming TCP packets with standard flag settings. If the target device’s TCP port is closed, the target device sends a TCP RST packet in reply. If the target device’s TCP port is open, the target discards the TCP Xmas scan, sending no reply.

Detect method - Check whether a received TCP packet contains URG, Push and

FIN flags.

SYNFIN

To use this type of scan, an attacker first sends a Transmission Control Protocol

(TCP) packet that have the Finish (FIN) and Synchronize (SYN) flags set. An open port will respond with Acknowledge (ACK) and SYN TCP packets, but a closed port will return the ACK and Reset (RST) flags set.

Detect method - Check whether a received TCP packet contains FIN and SYN flags.

SYN with source port < 1024

SYN packet with source port less than 1024; the Internet default services use L4 port between 1 and 1023. If the source port of a TCP packet with SYN flag is less than 1024, the packet should be abnormal.

Detect method - Check whether the packets source ports are less than 1024 packets.

Ping of Death

A ping of death is a type of attack on a computer that involves sending a malformed or otherwise malicious ping to a computer. A ping is normally 64 bytes in size; many computers cannot handle a ping larger than the maximum

IP packet size, which is 65,535 bytes. Sending a ping of this size can crash the target computer. Traditionally, this bug has been relatively easy to exploit.

Generally, sending a 65536 byte ping packet is illegal according to networking protocol, but a packet of such a size can be sent if it is fragmented; when the target computer reassembles the packet, a buffer overflow can occur, which often cause a system crash.

Detect method - Detect whether received packets are fragmented ICMP packets.

TCP Tiny fragment attack

Use the IP fragmentation to create extremely small fragments and force the TCP header information into a separate packet fragment to pass through the check function of the router and issue an attack.

Detect method - Check whether the packets are TCP tiny fragment packets.

Example

This example shows how to enable defense for all attack types.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#defense enable

Success

DXS-3600-32S(config)#

Example

This example shows how to enable defense land attack.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#defense land enable

Success

DXS-3600-32S(config)#

202

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

Example

This example shows how to disable the defense land attack.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no defense land enable

Success

DXS-3600-32S(config)#

17-2 show defense

This command is used to display attack defense information.

show-defense

Parameters

Default

Command Mode

None.

All information is displayed

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display attack defense information.

Example

DXS-3600-32S#show defense

This example shows how to dispaly attack defense information.

Function Version: 1.01

Defense Type State Action

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

Land Attack Disabled Drop

Blat Attack Disabled Drop

TCP Null Scan Disabled Drop

TCP Xmas Scan Disabled Drop

TCP SYNFIN Disabled Drop

TCP SYN SrcPort Less 1024 Disabled Drop

Ping of Death Attack Disabled Drop

TCP Tiny Fragment Attack Disabled Drop

DXS-3600-32S#

Display Parameters

Defense Type

State

Action

Description

Defense DoS attack types list.

Defense enabled or disabled.

How the switches deal with an attack detected.

203

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

Distance Vector Multicast Routing Protocol (DVMRP)

Commands

18-1 ip dvmrp

This command is used to enable the Distance Vector Multicast Routing Protocol (DVMRP) on an interface. To disable

DVMRP on the interface, use the no form of this command.

ip dvmrp no ip dvmrp

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Interface Configuration Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command enables DVMRP on the specified interface.

If you want to use DVMRP to forward multicast packets, use the ip multicast-

routing command to enable the multicast global state.

To verify you configuration, use the show ip dvmrp interface command.

Example

This example shows how to enable DVMRP on interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip dvmrp

DXS-3600-32S(config-if)#

Example

This example shows how to disable DVMRP on interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip dvmrp

DXS-3600-32S(config-if)#

18-2 ip dvmrp metric

This command is used to configure the metric value on the current interface. To restore the default value, use no form of this command.

ip dvmrp metric METRIC

no ip dvmrp metric

Parameters

METRIC

Specifies the metric value of the interface. The range is 1 to 31.

Default

The default value is 1.

Command Mode

Interface Configuration Mode

Command Default Level

Level: 8. (EI Mode Only Command)

204

Usage Guideline

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

For each source network reported, a route metric is associated with the route being reported. The metric is the sum of the interface metrics between the router originating the report and the source network. For the purposes of DVMRP, the

Infinity metric is defined to be 32. This limits the breadth across the whole DVMRP network and is necessary to place an upper bound on the convergence time of the protocol.

To verify you configuration, use the show ip dvmrp interface command.

Example

This example shows how to configure the DVMRP metric of VLAN 1 to 30.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

XS-3600-32S(config-if)#ip dvmrp metric 30

DXS-3600-32S(config-if)#

Example

This example shows how to configure the DVMRP metric of VLAN 2 back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 2

XS-3600-32S(config-if)#no ip dvmrp metric

DXS-3600-32S(config-if)#

18-3 show ip dvmrp interface

This command is used to display DVMRP interface information.

show ip dvmrp interface [IFNAME]

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 basic DVMRP interface information. If no interface name is specified, the command will list all interfaces’ info.

Example

This example shows how to show all DVMRP interfaces information.

DXS-3600-32S#show ip dvmrp interface

Interface IP Address Metric Generation ID State

------------ ----------------- ------ ------------- -------vlan1 10.90.90.90 1 1368947491 Enabled vlan2 90.1.1.1 1 0 Disabled

Total Entries: 2

DXS-3600-32S#

205

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

Example

This example shows how to show information of interface ‘vlan1’.

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

Interface IP Address Metric Generation ID State

------------ ----------------- ------ ------------- -------vlan1 10.90.90.90 1 1368947491 Enabled

Total Entries: 1

DXS-3600-32S#

Display Parameters

Interface

IP Address

Generation ID

Metric

State

Description

Specifies the interface name.

The IP address of the interface.

Specifies the generation ID of this interface. This value is dynamically generated by the switch, and it is used for the neighbor to detect that whether the switch has restarted or not

The metric value of the interface, which is configured by command “ip dvmrp metric”.

Specifies the DVMRP interface state, which is configured by command “ip dvmrp”

18-4 show ip dvmrp neighbor

This command is used to display DVMRP neighbor information.

show ip dvmrp neighbor [IFNAME]

Parameters

IFNAME

Specifies an interface name.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display DVMRP neighbor information. If no interface name is specified, this command will display DVMRP neighbor information on all interfaces.

Example

This example shows how to show all DVMRP neighbor information.

DXS-3600-32S#show ip dvmrp neighbor

Interface Neighbor Address Generation ID Expire Time

--------------- ---------------- ------------- ----------vlan1 10.48.74.123 1368354259 00:00:32 vlan2 172.18.1.2 1368355860 00:00:05

Total Entries : 2

DXS-3600-32S#

206

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

Example

This example shows how to show neighbor information of interface ‘vlan1’.

DXS-3600-32S#show ip dvmrp neighbor vlan1

Interface Neighbor Address Generation ID Expire Time

------------- ---------------- ------------- ----------vlan1 10.90.90.2 1368355860 00:00:31

Total Entries: 1

DXS-3600-32S#

Display Parameters

Interface

Neighbor Address

Generation ID

Expire Time

Description

Specify the interface name.

Specify the neighbor’s address of the specified interface.

Specify the generation ID of the neighbor. This value is dynamically generated by the neighbor switch, and it is used for the local switch to detect that whether the neighbor has restarted or not

After this time, the neighbor will be aged out if no new probe message received from the neighbor.

18-5 show ip dvmrp route

This command is used to display the DVMRP route info.

show ip dvmrp route [IPADDRESS MASK]

Parameters

IPADDRESS

MASK

Specifies IP address. Together with the parameter MASK, specify displaying the route info for the specified network.

Specifies the mask of the IP address.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command is used to display route information learned by DVMRP. If no parameter added, this command will display all the route information on the switch.

Example

This example shows how to display all the route information learned by DVMRP.

DXS-3600-32S#show ip dvmrp route

DVMRP Routing Table

Source Network Upstream Neighbor Metric Learned Interface Expire

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

2.0.0.0/8 10.90.90.90 2 Dynamic vlan1 00:01:22

10.0.0.0/8 10.90.90.2 1 Local vlan1 -

Total Entries: 2

DXS-3600-32S#

207

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

Example

This example shows how to display routing information of 10.3.3.3 and mask

255.0.0.0

DXS-3600-32S#show ip dvmrp route 10.3.3.3 255.0.0.0

DVMRP Routing Table

Source Network Upstream Neighbor Metric Learned Interface Expire

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

10.0.0.0/8 10.90.90.2 1 Local vlan1 -

Total Entries: 1

DXS-3600-32S#

208

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

Filter Database (FDB) Commands

19-1 mac-address-table aging-time

This command is used to set the length of time that a dynamic entry remains in the MAC address table. Use the no form of the command to set the time to default.

mac-address-table aging-time SECONDS

no mac-address-table aging-time

Parameters

SECONDS

Specifies the aging time in seconds. The valid range is 0 or 10 to 1000000 seconds.

0 means that the aging function is disabled.

Default

The default is 300 seconds.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Set the aging-time to 0 to disable the MAC address table aging out function.

Example

This example shows how to set the aging time to 200 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac-address-table aging-time 200

DXS-3600-32S(config)#

19-2 clear mac-address-table

This command is used to delete a specific dynamic, filtering or static MAC address, all dynamic or static MAC addresses on a particular interface, all dynamic, filtering or static MAC addresses on a particular VLAN or all dynamic, filtering or static MAC addresses from the MAC address table.

clear mac-address-table dynamic [address MAC-ADDR | interface INTERFACE-ID | vlan VLAN-ID]

clear mac-address-table filtering [address MAC-ADDR | vlan VLAN-ID]

clear mac-address-table static [address MAC-ADDR | interface INTERFACE-ID | vlan VLAN-ID]

Parameters dynamic filtering static

address MAC-ADDR

Deletes the specified dynamic MAC address.

Deletes the specified filtering MAC address.

Deletes the specified static MAC address.

Specifies the MAC address.

interface INTERFACE-ID Specifies the interface that the MAC address will be deleted from. The specified interface can be a physical port or a port-channel

vlan VLAN-ID Specifies the VLAN ID. The valid values are from 1 to 4094.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 12

Usage Guideline

The clear mac address-table command only clears dynamic, filtering or static MAC address entries.

209

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

Example

This example shows how to remove all dynamic MAC address from the MAC address table.

DXS-3600-32S#clear mac address-table dynamic

DXS-3600-32S#

Example

This example shows how to remove the MAC address “00:08:00:70:00:07” from the dynamic MAC address table.

DXS-3600-32S#clear mac address-table dynamic address 00:08:00:70:00:07

DXS-3600-32S#

Example

This example shows how to remove the MAC address learned on Port 2 from the dynamic MAC address table.

DXS-3600-32S#clear mac address-table dynamic interface tenGigabitEthernet 2

DXS-3600-32S#

Example

This example shows how to remove the MAC address learned in VLAN 10 from the dynamic MAC address table.

DXS-3600-32S#clear mac address-table dynamic vlan 10

DXS-3600-32S#

Example

This example shows how to remove the MAC address learned on Port 2 and in

VLAN 10 from the dynamic MAC address table.

DXS-3600-32S#clear mac address-table dynamic interface tenGigabitEthernet 2 vlan 10

DXS-3600-32S#

Example

This example shows how to remove the MAC address “00:09:00:70:00:07” from the static MAC address table.

DXS-3600-32S#clear mac address-table static address 00:09:00:70:00:07

DXS-3600-32S#

Example

This example shows how to remove the MAC address “00:10:00:70:00:07” from the filtering MAC address table.

DXS-3600-32S#clear mac address-table filtering address 00:10:00:70:00:07

DXS-3600-32S#

19-3 mac-address-table static

This command is used to add a static address to the MAC address table. Use the no form of the command to remove a static MAC address entry from the table.

mac-address-table static MAC-ADD vlan VLAN-ID interface INTERFACE-ID

no mac-address-table static MAC-ADD vlan VLAN-ID [interface INTERFACE-ID]

Parameters

MAC-ADDR

Specifies the destination MAC address (unicast or multicast) to add to the address table. Packets with this destination address that are received by the specified VLAN are forwarded to the specified interface. The acceptable formats are 00-01-80-40-

30-20, 00:01:80:40:30:20, 000180403020, and 0001.8040.3020.

vlan VLAN-ID Specifies the VLAN that the packet with the specified MAC address will be received by. The range is 1 to 4094.

interface INTERFACE-ID Specifies the interface that the received packet will be forwarded to.

210

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

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

An error message “The specified interface does not exist.” will appear if the specified interface does not exist.

An error message “The specified VLAN does not exist.” will be displayed if the specified VLAN does not exist.

For a unicast MAC address entry, only one interface can be specified. For a multicast MAC address entry, multiple interfaces can be specified.

To delete a unicast MAC address entry, there is no need to specify the interface ID.

To delete a multicast MAC address entry, if an interface-ID is specified, only this interface will be removed. Otherwise, the entire multicast MAC entry will be removed.

An error message “The specified entry does not exist.” will be displayed if the user tries to remove an entry that does not exist.

Example

This example shows how to add the static address 00:00:22:0A:12:F4 to the MAC address table. The user also specifies that when any packet received on VLAN 4 that has a destination MAC address of “00:00:22:0A:12:F4” will be forwarded to tenGigabitEthernet 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac-address-table static 00:00:22:0A:12:F4 vlan 4 interface tenGigabitEthernet 1

DXS-3600-32S(config)#

Example

This example shows how to add the static address 01:00:22:0A:12:F4 to the MAC address table. The user also specifies that when any packet received on VLAN 2 that has a destination MAC address of “01:00:22:0A:12:F4” will be forwarded to

Ethernet interface 2 and 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac-address-table static 01:00:22:0A:12:F4 vlan 4 interface tenGigabitEthernet 2

DXS-3600-32S(config)#mac-address-table static 01:00:22:0A:12:F4 vlan 4 interface tenGigabitEthernet 3

DXS-3600-32S(config)#

19-4 mac-address-table filtering

This command is used to add a filtering address to the MAC address table. Use the no form of the command to remove a filtering MAC address entry from the table.

mac-address-table filtering MAC-ADD vlan VLAN-ID

no mac-address-table filtering MAC-ADD vlan VLAN-ID

Parameters

MAC-ADDR

vlan VLAN-ID

Specifies the unicast source or destination MAC address to add to the address table.

Packets which source or destination address is the address received by the specified VLAN will be dropped. The acceptable formats are 00-01-80-40-30-20,

00:01:80:40:30:20, 000180403020, and 0001.8040.3020.

Specifies the VLAN that the packet with the specified MAC address will be received by. The range is 1 to 4094.

211

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

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Only a unicast MAC address can be specified for the entry.

An error message “The specified VLAN does not exist.” will be displayed if the specified VLAN does not exist.

An error message “The specified entry does not exist.” will be displayed if the user tries to remove an entry that does not exist.

Example

This example shows how to add the filtering address 00:00:00:0A:12:EE to the MAC address table. The user also specifies that when any packet received on VLAN 4 that has a destination MAC address of “00:00:00:0A:12:EE” will be dropped.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac-address-table filtering 00:00:00:0A:12:EE vlan 4

DXS-3600-32S(config)#

19-5 mac-address-table notification

This command is used to enable and configure the MAC address notification function. Use the no form of the command to disable the function or set the optional configuration to default.

mac-address-table notification [interval SECONDS | history-size VALUE]

no mac-address-table notification [interval | history-size]

Parameters

interval SECONDS

history-size VALUE

Specifies the interval of sending the MAC address trap message, the default is 1 second.

Specifies the maximum number of the entries in the MAC address notification table,

The range is 0 to 500; the default is 50 entries.

Default

Command Mode

MAC address notification is disabled, the interval is 1 second, and history-size is 50 entries.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Whenever the switch learns or removes a MAC address, an SNMP notification can be generated and sent to the SNMP server. The MAC notification history table stores the MAC address learned or delete for each hardware port for which the trap is enabled.

Example

This example shows how to enable MAC address notification, and set interval to 10 seconds, history-size to 500 entries.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mac-address-table notification

DXS-3600-32S(config)#mac-address-table notification interval 10

DXS-3600-32S(config)#mac-address-table notification history-size 500

DXS-3600-32S(config)#

212

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

19-6 snmp trap mac-notification

This command is used to enable the MAC address notification function on interface. Use the no form of the command to disable the function.

snmp trap mac-notification {added | removed} no snmp trap mac-notification {added | removed}

Parameters added removed

Specifies to enable the MAC notification trap when a MAC address is added on the interface.

Specifies to enable the MAC notification trap when a MAC address is removed from the interface.

Default

Command Mode

By default, this option is disabled.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Used to configure the switch’s MAC address table notification on interface.

Example

This example shows how to enable MAC address notification on Ethernet interface

2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 2

DXS-3600-32S(config-if)#snmp trap mac-notification added removed

DXS-3600-32S(config-if)#

19-7 show mac-address-table aging-time

This command is used to display the aging time.

show mac-address-table aging-time

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display the aging time.

DXS-3600-32S#show mac-address-table aging-time

Aging Time : 200 seconds.

DXS-3600-32S#

19-8 show mac-address-table notification

This command is used to display the MAC address notification configuration.

show mac-address-table notification [interface INTERFACE-ID | history]

213

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

Parameters

interface INTERFACE-ID (Optional) Specifies to show MAC address notification configuration on the interface.

history

(Optional) Specifies to show the MAC address notification history.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display the MAC address notification configuration and status.

DXS-3600-32S#show mac-address-table notification interface

Interface Added Trap Removed Trap

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

TenGigabitEthernet 1 Disabled Disabled

TenGigabitEthernet 2 Disabled Disabled

TenGigabitEthernet 3 Disabled Disabled

TenGigabitEthernet 4 Disabled Disabled

TenGigabitEthernet 5 Disabled Disabled

TenGigabitEthernet 6 Disabled Disabled

TenGigabitEthernet 7 Disabled Disabled

TenGigabitEthernet 8 Disabled Disabled

TenGigabitEthernet 9 Disabled Disabled

TenGigabitEthernet 10 Disabled Disabled

TenGigabitEthernet 11 Disabled Disabled

TenGigabitEthernet 12 Disabled Disabled

TenGigabitEthernet 13 Disabled Disabled

TenGigabitEthernet 14 Disabled Disabled

TenGigabitEthernet 15 Disabled Disabled

TenGigabitEthernet 16 Disabled Disabled

TenGigabitEthernet 17 Disabled Disabled

TenGigabitEthernet 18 Disabled Disabled

TenGigabitEthernet 19 Disabled Disabled

TenGigabitEthernet 20 Disabled Disabled

TenGigabitEthernet 21 Disabled Disabled

TenGigabitEthernet 22 Disabled Disabled

TenGigabitEthernet 23 Disabled Disabled

TenGigabitEthernet 24 Disabled Disabled

DXS-3600-32S#show mac-address-table notification history

History Index: 0

MAC Changed Message:

Operation:ADD Vlan: 1 MAC Addr: 00f8.d012.3456 tenGigabitEthernet 3

DXS-3600-32S#

19-9 show mac-address-table

This command is used to display a specific MAC address entry or the MAC address entries for a specific interface or

VLAN.

show mac-address-table count

show mac-address-table [dynamic | static] [address MAC-ADDR | interface INTERFACE-ID | vlan VLAN-ID]

show mac-address-table filtering [address MAC-ADDR | vlan VLAN-ID]

214

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

Parameters dynamic static

(Optional) Displays dynamic MAC address entries only.

(Optional) Displays user creates static MAC address entries and L3 interface MAC address entries only.

filtering

address MAC-ADDR

(Optional) Displays user creates filtering MAC address entries only.

(Optional) Specifies the 48-bit MAC address.

interface INTERFACE-ID (Optional) Displays information for a specific interface.

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

count

Displays statistic information of MAC address table.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display all the MAC address table entries.

DXS-3600-32S#show mac-address-table

VLAN MAC Address Type Interface Protocol

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

1 00-00-00-EE-00-01 Dynamic tenGigabitEthernet 8 -

1 00-00-CD-FE-00-05 Static tenGigabitEthernet 1 -

1 00-03-40-11-22-33 Dynamic tenGigabitEthernet 2 -

1 00-03-40-11-22-EA Static tenGigabitEthernet 2 WAC

1 00-0D-A2-02-FE-07 Static tenGigabitEthernet 6 802.1X

1 00-0D-A2-02-FE-7A Static tenGigabitEthernet 6 802.1X

1 5C-02-4B-28-C4-82 Self CPU -

1 5C-D9-98-C9-C0-0F Static tenGigabitEthernet 1 JWAC

1 5C-D9-98-C9-C0-93 Static tenGigabitEthernet 1 -

3 00-02-4B-28-C4-82 Static tenGigabitEthernet 6 -

3 00-02-4B-28-C4-CD Static tenGigabitEthernet 6 Port Security

6 00-01-00-02-00-10 Drop - -

6 00-01-00-02-00-2E Drop tenGigabitEthernet 13 MAC-based Access Control

100 00-00-CD-EF-00-04 Static tenGigabitEthernet 4 -

100 00-00-CD-EF-00-BD Static tenGigabitEthernet 4 MAC-based Access Control

1024 00-21-91-53-D6-5C Static tenGigabitEthernet 10 -

1024 00-21-91-53-D6-8E Static tenGigabitEthernet 10 Compound Authentication

1 01-00-00-00-DD-DD Static tenGigabitEthernet 1-7,19

Total Entries: 18

DXS-3600-32S#

Example

This example shows how to display all the MAC address table entries for the MAC address “00-02-4b-28-c4-82”.

DXS-3600-32S#show mac-address-table address 00:02:4B:28:C4:82

VLAN MAC Address Type Interface Protocol

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

3 00-02-4B-28-C4-82 Static tenGigabitEthernet 6 -

Total Entries: 1

DXS-3600-32S#

215

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

Example

This example shows how to display all the static MAC address table entries.

DXS-3600-32S#show mac-address-table static

VLAN MAC Address Type Interface Protocol

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

1 00-00-CD-FE-00-05 Static tenGigabitEthernet 1 -

1 5C-02-4B-28-C4-82 Self CPU -

1 5C-D9-98-C9-C0-93 Static tenGigabitEthernet 1 -

3 00-02-4B-28-C4-82 Static tenGigabitEthernet 6 -

100 00-00-CD-EF-00-04 Static tenGigabitEthernet 4 -

1024 0-21-91-53-D6-5C Static tenGigabitEthernet 10 -

1 01-00-00-00-DD-DD Static tenGigabitEthernet 1-7,19

Total Entries: 7

DXS-3600-32S#

Example

This example shows how to display all the filter MAC address table entries.

DXS-3600-32S#show mac-address-table filtering

VLAN MAC Address Type Interface Protocol

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

1 00-00-00-0A-12-EE Drop - -

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display all the MAC address table entries for VLAN 1.

DXS-3600-32S#show mac-address-table vlan 1

VLAN MAC Address Type Interface Protocol

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

1 00-00-00-EE-00-01 Dynamic tenGigabitEthernet 8 -

1 00-00-CD-FE-00-05 Static tenGigabitEthernet 1 -

1 00-03-40-11-22-33 Dynamic tenGigabitEthernet 2 -

1 00-0D-A2-02-FE-07 Static tenGigabitEthernet 6 802.1X

1 5C-02-4B-28-C4-82 Self CPU -

1 5C-D9-98-C9-C0-93 Static tenGigabitEthernet 1 -

1 01-00-00-00-DD-DD Static tenGigabitEthernet 1-7,19

Total Entries: 7

DXS-3600-32S#

Example

This example shows the statistic information of MAC address table.

DXS-3600-32S#show mac-address-table count

Dynamic Address Count : 2

Static Address Count : 7

Filter Address Count : 1

Total MAC Addresses : 18

Total MAC Addresses Space Available: 131070

DXS-3600-32S#

216

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

File System Commands

20-1 dir

This command is used to show the files in the current directory.

dir directory

Parameters

directory

(Optional) Specifies the path of the directory to show, defaulted to the contents in the current directory.

Default

By default, only the information under the current path is shown.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 2

Usage Guideline

Enter the specified directory to show the information of all the files in that directory. If no parameter is specified, the information of the files in the current directory is shown by default.

Example

DXS-3600-32S#dir

Directory of flash:

This example shows how to show the information of all files in the current directory.

1 -rw- 107389 2000/02/11 21:53:18 config.cfg

2 -rw- 107455 2000/02/12 01:53:01 y

3 -rw- 5081096 2000/02/12 01:54:02 runtime.had

4 d--- 0 2000/02/13 00:04:13 system

126002 KB total (120731 KB free)

DXS-3600-32S#

20-2 ls

This command is used to show the files in the current directory.

ls directory

Parameters

directory

(Optional) Specifies the path of the directory to show, defaulted to the contents in the current directory.

Default

By default, only the information under the current path is shown.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 2

Usage Guideline

Enter the specified directory to show the information of all the files in that directory. If no parameter is specified, the information of the files in the current directory is shown by default.

217

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

Example

DXS-3600-32S#ls

Directory of flash:

This example shows how to show the information of all files in the current directory.

1 -rw- 107389 2000/02/11 21:53:18 config.cfg

2 -rw- 107455 2000/02/12 01:53:01 y

3 -rw- 5081096 2000/02/12 01:54:02 runtime.had

4 d--- 0 2000/02/13 00:04:13 system

126002 KB total (120731 KB free)

DXS-3600-32S#

20-3 cp

This command is used to copy a file to the specified file or directory.

cp dest {destine_file | directory} sour source_file

cp sour source_file dest {destine_file | directory}

Parameters

directory destine_file source_file

Specifies the destination file or directory.

Specifies the destination file.

Specifies the name of the file to copy (including the path).

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 2

Usage Guideline

Copy the specified file to a new file or a directory. If the file already exists, the system will prompt whether to overwrite to cancel the operation.

Example

This example shows how to copy the runtime.had in the directory ‘tmp’ with name runtime.had.

DXS-3600-32S#cp sour runtime.had dest tmp/runtime.had

DXS-3600-32S#

20-4 cd

This command is used to enter the specified directory.

cd directory

Parameters

directory

(Optional) Specifies the path of the directory.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 2

218

Usage Guideline

Example

DXS-3600-32S#cd tmp

DXS-3600-32S#

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

Change the parameter to the directory you want to enter. Use the “..” to represent the up-level directory and the “.” to represent the current-level directory. Others can be determined according to the current location. This command supports relative directories and absolute directories. After entering the specified directory, you can verify it by using the ls command described above.

This example shows how to enter the ‘tmp’ sub-directory of the current directory.

20-5 rename

This command is used to rename a specific file.

rename old_filename new_filename

Parameters

old_filename new_filename

Specifies the old file name.

Specifies the new file name.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Rename the specified file to a new file name.

Example

This example shows how to rename the runtime.had to the name of tmp.had in current directory.

DXS-3600-32S#rename runtime.had tmp.had

DXS-3600-32S#

20-6 mkdir

This command is used to create a directory.

mkdir directory

Parameters

directory

Specifies thenName of the directory to be created.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Simply enter the name of directory you want to create (including the path).

If the path contains any directory that does not exist, the creation will fail.

This example shows how to create the tmp directory at the current directory.

Example

DXS-3600-32S#mkdir tmp

DXS-3600-32S#

219

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

20-7 rmdir

This command is used to delete an empty directory.

rmdir directory

Parameters

directory

Specifies the name of directory to be deleted, which must be empty.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The directory to be deleted must be empty. Since this command supports abbreviations, you can also use the rm command to delete empty directories

Example

This example shows how to delete the tmp directory in current directory and the directory does not contain any files.

DXS-3600-32S#rmdir tmp

Removed dir tmp

DXS-3600-32S#

20-8 rm

This command is used to delete the specified file.

rm filename

Parameters

filename

Specifies the name of file to be deleted (including the path).

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command does not support the wildcard and the deletion across file systems and across partitions. In additions, if a hard connection or symbol connection is deleted, the contents of the file are not affected. If the file is boot up image or backup image the operation of this command will be fail.

This command is the same as the del command.

Example

DXS-3600-32S#rm tmp.txt

DXS-3600-32S#

This example shows how to delete the tmp.txt file.

20-9 del

This command is used to delete the specified file.

del filename

220

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

Parameters

filename

Specifies the name of file to be deleted (including the path).

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command does not support the wildcard and the deletion across file systems and across partitions. In additions, if a hard connection or symbol connection is deleted, the contents of the file are not affected. If the file is boot up image or backup image, the operation will be fail.

Example

DXS-3600-32S#del tmp.txt

DXS-3600-32S#

This example shows how to delete the tmp.txt file.

20-10 makefs

This command is used to format the device that the file system is to be loaded or the device that is to be managed by the file system.

makefs dev devname fs fsname

makefs fs fsname dev devname

Parameters

devname fsname

Specifies the name of the device to be formatted (including the path).

Specifies the name of the file system to be used on the device.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is usually used in the following two cases:

A. The device has never used in this file system. In order to normally use the file system on the device, you need to format the device the first time you use it.

B. After system has been used for a period of time, if you want to delete all the files on the device, you can use this command to clear all data on the device.

Example

The FAT is the file system to be used, and the sd0 is the device to be managed by the file system.

DXS-3600-32S#makefs dev sd0: fs fat

DXS-3600-32S#

20-11 pwd

This command is used to show the working path.

pwd

Parameters

Default

None.

None.

221

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

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command shows the current working path.

Example

DXS-3600-32S#pwd flash:

DXS-3600-32S#

This example shows how to show the current working path.

222

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

GARP VLAN Registration Protocol (GVRP) Commands

21-1 clear gvrp statistics interface

This command is used to clear the statistics for a GVRP port.

clear gvrp statistics [interface INTERFACE-ID [, | -]]

Parameters

INTERFACE-ID

,

-

(Optional) Specifies the interface to clear. If no interface is specified the statistics on all interfaces will be cleared.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.

(Optional) Specifies a range of interfaces.

Default

None.

Command Mode

Privilege EXEC Mode.

Command Default Level

Level: 12

Usage Guideline

This command clears the GVRP counters. If the INTERFACE-ID is not specified, then all GVRP counters will be cleared.

Example

This example shows how to clear statistics on all interfaces.

DXS-3600-32S#clear gvrp statistics

DXS-3600-32S#

21-2 gvrp (Global)

This command is used to enable the GVRP function globally, and use the no gvrp command to disable the GVRP function globally.

gvrp no gvrp

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The user should enable the global GVRP state and individual port’s GVRP state and start GVRP on the port. Once the GVRP is enabled globally, the GVRP PDU will be captured to CPU to process. Otherwise, the GVRP will be forwarded in the portbased VLAN of the reception port.

Example

This example shows how to enable the GVRP protocol global state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#gvrp

DXS-3600-32S(config)#

21-3 gvrp (Interface)

This command is used to enable the GVRP function on a port, and use the no gvrp command to disable the GVRP function on a port.

223

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

gvrp no gvrp

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

You can use the GVRP interface configuration command to enable/disable the

GVRP protocol state.

This command can be configured on physical ports or link aggregation groups.

The GVRP function cannot be enabled when the interface is operating in access mode or Dot1Q-tunnel mode, meaning that the GVRP function can only be enabled when the port is operating in trunk or hybrid mode.

Example

This example shows how to enable the GVRP function on Ethernet port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#gvrp

DXS-3600-32S(config-if)#

21-4 gvrp advertise (Interface)

This command is used to specify that a VLAN should be advertised by the GVRP protocol. Use the no gvrp advertise interface configuration command to disable this function.

gvrp advertise {all | VLAN-ID [,|-]}

no gvrp advertise { all | VLAN-ID [,|-]}

Parameters

VLAN-ID [,|-]

all

Specifies a VLAN. The range is 1 to 4094. You can specify a single VLAN-ID, a range of VLANs separated by a hyphen, or a series of VLANs separated by comma.

Specifies all VLANs.

Default

All VLANs are able to be advertised.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can be configured on physical ports or link aggregation groups.

You can use the gvrp advertise interface configuration command to enable the specified VLANs’ GVRP advertise function on the specified interface. If a VLAN is not in the interface’s advertise-able VLAN set, the interface will never advertise the

VLAN through GVRP message. If all is specified, all VLANs are advertise-able on this interface.

This command setting only takes effect when GVRP is enabled.

Example

This example shows how to enable the advertise function of VLAN 1-1000 on interface Ethernet port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#gvrp advertise 1-1000

DXS-3600-32S(config-if)#

224

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

21-5 gvrp dynamic-vlan-creation

This command is used to enable dynamic VLAN creation, and use the no command to disable the dynamic VLAN creation function.

gvrp dynamic-vlan-creation no gvrp dynamic-vlan-creation

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

When dynamic VLAN creation is enabled, if a port has learned a new VLAN membership and the VLAN does not exist, the VLAN will be created automatically.

Otherwise, the newly learned VLAN will not be created.

Example

This example shows how to enable dynamic VLAN creation with the GVRP protocol.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#gvrp

DXS-3600-32S(config)#gvrp dynamic-vlan-creation

DXS-3600-32S(config)#

21-6 forbidden vlan

This command is used to specify a port as being a forbidden member of the specified VLAN. Use the no forbidden vlan command to remove the port as a forbidden member of the specified VLAN.

forbidden vlan VLAN-ID [,|-]

no forbidden vlan [VLAN-ID [,|-]]

Parameters

VLAN-ID

Specifies the VLAN ID used. The range is 2 to 4094. You can specify a single VLAN-

ID, a range of VLANs separated by a hyphen, or a series of VLANs separated by comma. If no VLAN ID specified for the no command, all forbidden VLANs will be removed.

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can be configured on physical ports or link aggregation groups.

As a forbidden port of a VLAN, a port is forbidden from becoming a member port of the VLAN.

If the port is the VLAN member, setting a VLAN as its forbidden VLAN will lead to the port is removed from the VLAN.

The VLAN specified by the command does not need to exist.

For the no command, if no VLAN is specified, then all forbidden VLANs will be removed. If a VLAN is the port’s allowed VLAN, removing the forbidden VLAN will lead to the port re-added into the VLAN automatically.

225

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

Example

This example shows how to set Ethernet port 1 as a forbidden port of VLAN 1000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#forbidden vlan 1000

DXS-3600-32S(config-if)#

21-7 gvrp timer

This command is used to set the GVRP timer value on a port.

gvrp timer [join TIMER-VALUE | leave TIMER-VALUE | leave-all TIMER-VALUE]

Parameters join leave leave-all

TIMER-VALUE

Specifies to set the timer for joining a group. The unit is in centiseconds.

Specifies to set the timer for leaving a group. The unit is in centiseconds.

Specifies to set the timer for leaving all groups. The unit is in centiseconds.

Specifies the timer value used here. This value must be between 1 and 65535. The timer value in centiseconds.

Default

Join: 20

Leave: 60

Leave-all: 1000

Interface Configuration Mode.

Command Mode

Command Default Level

Level: 12

Usage Guideline

The value of these parameters must comply with the following rules:

1. LEAVE_TIMER >= 3 * JOIN_TIMER

2. LEAVE_ALL_TIMER > LEAVE_TIMER

Example

This example shows how to set the leave-all timer to 500 centiseconds on Ethernet port 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#gvrp timer leave-all 500

DXS-3600-32S(config-if)#

21-8 show gvrp

This command is used to display the GVRP settings.

show gvrp [interface [INTERFACE-ID [,|-]]]

Parameters

, interface

INTERFACE-ID

-

Displays the GVRP settings of the interface.

(Optional) Specifies the interface to display.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.

(Optional) Specifies a range of interfaces.

Default

None.

226

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

Command Mode

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command only displays GVRP related configurations.

Example

DXS-3600-32S#show gvrp

This example shows how to display the GVRP configuration for all interfaces.

Global GVRP State : Enabled

Dynamic VLAN Creation : Enabled

DXS-3600-32S#

Example

This example shows how to display the GVRP configuration on Ethernet ports 1-2.

DXS-3600-32S#show gvrp interface tenGigabitEthernet 1-2

TGi1

GVRP Status : Disabled

Join Time : 20 centiseconds

Leave Time : 60 centiseconds

Leave-All Time : 500 centiseconds

Advertise VLAN : 1-4094

TGi2

GVRP Status : Disabled

Join Time : 20 centiseconds

Leave Time : 60 centiseconds

Leave-All Time : 1000 centiseconds

Advertise VLAN : 1-4094

DXS-3600-32S#

21-9 show gvrp statistics

This command is used to display the statistics for a GVRP port.

show gvrp statistics [interface INTERFACE-ID [, | -]]

Parameters

INTERFACE-ID

,

-

(Optional) Specifies the interface to display. If no interface is specified, the statistics on all interfaces will be shown.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.

(Optional) Specifies a range of interfaces.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command only displays the ports which have the GVRP state enabled.

227

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

Example

This example shows how to display statistics for GVRP ports 1-2.

DXS-3600-32S#show gvrp statistics interface tenGigabitEthernet 1-2

Interface JoinEmpty JoinIn LeaveEmpty LeaveIn LeaveAll Empty

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

TGi1 RX 0 0 0 0 0 0

TX 0 0 0 0 0 0

TGi2 RX 0 0 0 0 0 0

TX 0 0 0 0 0 0

DXS-3600-32S#

228

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

Internet Group Management Protocol (IGMP)

Commands

22-1 clear ip igmp group

This command is used to clear dynamic group member information obtained from the response messages in the IGMP buffer.

clear ip igmp group [group-address | interface ifname]

Parameters

group-address ifname

Specifies the address of the multicast group. This is a multicast IP address in fourpart dotted-decimal notation.

Specifies the interface name.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The IGMP buffer includes a list that contains the dynamic multicast groups that the hosts in the direct subnet join. If the device joins a group, this group will be included in this list. To delete all the dynamic group entries from the IGMP buffer, use the

clear ip igmp group command without parameters.

Example

This example shows how to clear all entries from the IGMP cache.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear ip igmp group

DXS-3600-32S(config)#

Example

This example shows how to clear entries for the multicast group 224.0.255.1 from the IGMP cache.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear ip igmp group 224.0.255.1

DXS-3600-32S(config)#

Example

This example shows how to clear the IGMP-group cache entries from a specific interface of the IGMP-group cache.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear ip igmp group interface vlan2

DXS-3600-32S(config)#

22-2 ip igmp static-group

This command is used to directly add an interface to a group. You can use this command to add an interface to a group. Use the no form of this command to remove the setting.

ip igmp static-group group-address

no ip igmp static-group group-address

Parameters

group-address

Specifies the address of the multicast group. This is a multicast IP address in fourpart dotted-decimal notation.

229

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

Default

Command Mode

The switch is not added to the multicast group manually.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command directly adds an interface to a multicast group. You can use this command to add an interface to a group.

Use command show ip igmp groups static command, to verify your setting.

Example

This example shows how to add a host group member manually.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp static-group 233.3.3.3

DXS-3600-32S(config-if)#

22-3 ip igmp last-member-query-interval

This command is used to configure the interval at which the switch sends IGMP group-specific or group-source-specific

(with IGMP Version 3) query messages, use the ip igmp last-member-query-interval command in interface configuration mode. To set this interval to the default value, use the no form of this command.

ip igmp last-member-query-interval seconds

no ip igmp last-member-query-interval

Parameters seconds

Specifies the interval sending the group query message in the range1 to 25, in seconds.

Default

Command Mode

1 second.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When a device receives an IGMP Version 2 (IGMPv2) or IGMP Version 3 (IGMPv3) message indicating that a host wants to leave a group, source, or channel, it sends last-member-query-count(equal to robustness-variable) group, group-specific, or source-specific IGMP query messages at intervals set by the ip igmp last-memberquery-interval command. If no response is received after this period, the device stops forwarding for the group, source, or channel.

Use command show ip igmp interface command to verify your setting.

Example

This example shows how to set the interval of sending the IGMP group-specific or group-source-specific query message to 20 seconds on interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp last-member-query-interval 20

DXS-3600-32S(config-if)#

22-4 ip igmp query-interval

This command is used to configure the query interval of an ordinary member. Use the no form to set the query interval of ordinary member to the default value.

ip igmp query-interval seconds

230

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

no ip igmp query-interval

Parameters

seconds

Specifies the query interval of ordinary member, in second. The range is 1 to 31744 seconds.

Default

Command Mode

125 seconds.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The time to query an ordinary member can be changed by configuring the query interval of the ordinary member.

Use the show ip igmp interface command to verify your setting.

Example

This example shows how to configure the query interval of ordinary member to 120 seconds on the interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp query-interval 120

DXS-3600-32S(config-if)#

22-5 ip igmp query-max-response-time

This command is used to configure the maximum response interval. Use the no form of this command to set the maximum response interval to the default value.

ip igmp query-max-response-time seconds

no ip igmp query-max-response-time

Parameters

seconds

Specifies the maximum response interval, in second. The range is 1 to 25 seconds.

Default

10 seconds.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command controls the interval for the respondent to respond the query message before the device deletes the group information.

Use the show ip igmp interface command to verify your setting.

Example

This example shows how to configure the maximum response interval to 20 seconds on the interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp query-max-response-time 20

DXS-3600-32S(config-if)#

22-6 ip igmp robustness-variable

This command is used to change the value of the robustness variable. Use the no form of this command to restore it to the default value.

231

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

ip igmp robustness-variable number

no ip igmp robustness-variable

Parameters

number

Specifies the value of robustness variable, ranging 1 to 7.

Default

Command Mode

The default value is 2.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The Robustness Variable allows tuning for the expected packet loss on a network. If a network is expected to be lossy, the Robustness Variable may be increased. IGMP is robust to (Robustness Variable - 1) packet losses.

Use the show ip igmp interface command to verify your setting.

Example

This example shows how to set the value of robustness variable to 3 on the interface

VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp robustness-variable 3

DXS-3600-32S(config-if)#

22-7 ip igmp version

This command is used to set the version number of IGMP to be used on the interface. Use the no form of this command to restore it to the default value.

ip igmp version {1 | 2 | 3} no ip igmp version

Parameters

{1 | 2 | 3}

Specifies three version numbers, ranging 1 to 3.

Default

The default value is 3.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to globally configure the IGMP version. We recommend that all devices on the subnet support the same IGMP version.

Use the show ip igmp interface command to verify your setting.

Example

This example shows how to set the version number to 2 on the interface VLAN 1:.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip igmp version 2

DXS-3600-32S(config-if)#

232

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

22-8 ip igmp check-subscriber-source-network

This command is used to configure the flag that determines whether or not to check the subscriber’s source IP when an IGMP report or leave message is received. Use the no form of this command to disable the check.

ip igmp check-subscriber-source-network no ip igmp check-subscriber-source-network

Parameters

Default

None.

The switch will check the subscriber source network.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When the ip igmp check-subscriber-source-network command is enabled on an interface, any IGMP report or leave messages received by the interface will be checked to determine whether its source IP is in the same network as the interface. If it’s not in the same network for a received report or leave message, the message won’t be processed by the IGMP protocol. If the check is disabled, the IGMP report or leave message with any source IP will be processed by the IGMP protocol.

Use the show ip igmp interface command to verify your setting.

Example

This example shows how to disable the subscriber source network check on the interface VLAN 1:.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip igmp check-subscriber-source-network

DXS-3600-32S(config-if)#

22-9 show ip igmp interface

This command is used to show the information on the interface.

show ip igmp interface [ifname]

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 displays the IGMP configurations and some dynamic information on the switch or on a specified IP interface.

233

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

Example

This example shows the information of all the interfaces.

DXS-3600-32S#show ip igmp interface

Interface vlan1

Internet Address is 10.90.90.90/8

IGMP is disabled on interface

Current IGMP router version is 2

IGMP query interval is 120 seconds

IGMP querier timeout is 0 seconds

IGMP max query response time is 20 seconds

Robustness variable is 3

Last member query interval is 20 seconds

IGMP check subscriber source network state is disabled

IGMP snooping is globally disabled

IGMP snooping is disabled on this interface

IGMP snooping fast-leave is disabled on this interface

IGMP snooping querier is disabled on this interface

Total Entries: 1

DXS-3600-32S#

Display Parameters Description

Internet address is

IGMP is disabled on interface

Current IGMP router version is

IGMP query interval is

The IGMP running version on the interface, as specified with the ip igmp version command.

Interval of the IGMP query message, as specified with the ip igmp query-interval command.

IGMP querier timeout is

Internet address of the interface and subnet mask being applied to the interface, as specified with the ip address command.

Indicates whether IGMP is active on the interface. The IGMP state will be automatically enabled when any multicast routing protocol (PIM or DVMRP) turns active, and be disabled if no any multicast routing protocol is active on the interface.

IGMP max query response time is

Robustness variable is

Last member query interval is

IGMP check subscriber source network state is

The querier role expiring time. If this timer is running, there’s other IGMP querier on this LAN.

Indicates the maximum allowed time before the host sending a responding report, as specified with the ip igmp query-max-response-time command.

Indicates the robustness value, as specified with the ip igmp robustness-variable command.

Indicates the interval of the switch sending last member query, as specified with the

ip igmp last-member-query-interval command.

Indicates IGMP will check whether the source IP of the received report/leave is in the same subnet with the receiving interface, as specified with the ip igmp check-

subscriber-source-network command.

IGMP snooping is globally

IGMP snooping is

Indicates the IGMP snooping global state, as specified with the ip igmp snooping command.

Indicates the IGMP snooping interface state, as specified with the ip igmp

snooping vlan command.

IGMP snooping fast-leave is

Indicates the IGMP snooping fast-leave state, as specified with the ip igmp

snooping fast-leave command.

IGMP snooping querier is

Indicates the IGMP snooping querier state is disabled, as specified with the ip igmp

snooping querier command.

22-10 show ip igmp groups

This command is used to show the groups directly connected to the device and the group information learnt from IGMP.

234

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

show ip igmp groups [group group-address | interface ifname] [{detail | static}]

Parameters

group-address ifname

static detail

Specifies the address of the multicast group. This is a multicast IP address in fourpart dotted-decimal notation.

Specifies the interface name.

Shows the static group information, as specified with the ip igmp static-group command.

Shows the detailed information.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command without any parameters to show group address, interface type, and information about all the multicast groups directly connected to the interface.

Information about a specific group is displayed if a group address is added to the command.

Example

This example shows information about all the groups.

DXS-3600-32S#show ip igmp groups

Interface Multicast Group Uptime Group timer Last Reporter

------------ --------------- ---------- ----------- -------------vlan1 228.0.0.1 00:00:17 00:04:18 10.1.4.25

vlan1 228.0.0.2 00:00:16 00:04:19 10.1.4.25

vlan1 228.0.0.3 00:00:16 00:04:19 10.1.4.25

vlan1 228.0.0.4 00:00:15 00:04:15 10.1.4.25

vlan1 228.0.0.5 00:00:15 00:04:15 10.1.4.25

vlan1 228.0.0.6 00:00:14 00:04:16 10.1.4.25

vlan1 228.0.0.7 00:00:14 00:04:16 10.1.4.25

vlan1 228.0.0.8 00:00:13 00:04:17 10.1.4.25

vlan1 228.0.0.9 00:00:13 00:04:17 10.1.4.25

vlan1 228.0.0.10 00:00:12 00:04:18 10.1.4.25

vlan1 239.255.255.250 00:00:05 00:04:15 10.0.0.24

Total Entries: 11

DXS-3600-32S#

235

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

Example

This example shows detailed group information on a specific interface:.

DXS-3600-32S#show ip igmp groups interface vlan1 detail

IGMP Group Detail Information

Interface : vlan1

Multicast Group : 224.1.1.1

Last Reporter : 10.0.31.1

IP Querier : SELF

Up Time : 00:00:19

Group Timer : 00:00:00

Group Mode : Include

V1 Host Timer : 0

V2 Host Timer : 0

Source List Table:

Source list Timer(sec)

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

162.1.18.1 260

162.1.18.2 260

162.1.18.3 260

162.1.18.4 260

Total Source Entries: 4

Interface : vlan1

Multicast Group : 228.0.0.2

Last Reporter : 10.1.4.25

IP Querier : SELF

Up Time : 00:02:46

Group Timer : 00:03:34

Group Mode : Exclude

V1 Host Timer : 0

V2 Host Timer : 214 seconds

Source List Table:

NULL

Total Entries: 2

DXS-3600-32S#

236

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

Example

This example shows detailed information of a specific group.

DXS-3600-32S#show ip igmp groups group 224.1.1.1 detail

IGMP Group Detail Information

Interface : vlan1

Multicast Group : 224.1.1.1

Last Reporter : 10.0.31.1

IP Querier : SELF

Up Time : 00:00:19

Group Timer : 00:00:00

Group Mode : Include

V1 Host Timer : 0

V2 Host Timer : 0

Source List Table:

Source list Timer(sec)

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

162.1.18.1 260

162.1.18.2 260

162.1.18.3 260

162.1.18.4 260

Total Source Entries: 4

Total Entries: 1

DXS-3600-32S#

Example

This example shows the static group information.

DXS-3600-32S#show ip igmp groups static

Interface Multicast Group

------------ --------------vlan1 233.3.3.3

Total Entries: 1

DXS-3600-32S#

Display Parameters

Last Reporter

IP Querier

Up time

Group timer

VI Host Timer

V2 Host Timer

Source List Table

Description

Specify the IP address of the host who sent the last IGMP report to this group.

Specify the querier’s IP address on this LAN. SELF indicates this switch itself is the querier.

Time of the multicast group being learned.

Time of the multicast group will be expired if no any more refresh.

In seconds. The non-zero V1 Host Timer means the switch is running in Group

Compatibility mode of IGMPv1 for the group. The IGMPv1 Host Present timer is set to Older Version Host Present Timeout seconds whenever an IGMPv1 Membership

Report is received.

In seconds. The non-zero V2 Host Timer means the switch is running in Group

Compatibility mode of IGMPv2 for the group. The IGMPv2 Host Present timer is set to Older Version Host Present Timeout seconds whenever an IGMPv2 Membership

Report is received.

Specify the source addresses’ info of the multicast group in IGMPV3 reports.

237

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

IGMP Snooping Commands

23-1 ip igmp snooping

This command is used to enable the IGMP Snooping state. Use the no form of this command to disable the IGMP

Snooping state.

ip igmp snooping no ip igmp snooping

Parameters

Default

Command Mode

None.

Disabled on global switch and each VLAN interface.

Global Configuration Mode and Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In the global configuration mode, you can enable or disable the IGMP Snooping global state, and in the interface configuration mode, you can enable or disable the

IGMP Snooping interface state.

For a VLAN to operate with IGMP Snooping, both the global state and per interface state must be enabled.

You can verify your configuration through command show ip igmp snooping.

Example

This example shows how to enable the IGMP Snooping global state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip igmp snooping

DXS-3600-32S(config)#

Example

This example shows how to disable the IGMP Snooping state on interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping

DXS-3600-32S(config-vlan)#

23-2 ip igmp snooping fast-leave

This command is used to enable IGMP Snooping fast leave function. Use the no form of this command to disable this function.

ip igmp snooping fast-leave no ip igmp snooping fast-leave

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

IGMP Snooping fast-leave processing allows removing a member interface from the membership entry without sending out IGMP group-specific queries, so that make the leaving more quickly. Upon receiving a group-specific IGMPv2 leave message or

IGMPv3 TO_INCLUDE(NULL), if the host is the last member of group on the interface, IGMP Snooping immediately removes the interface from the membership table entry for that multicast group.

To verify your configuration, use show ip igmp snooping.

238

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

Example

This example shows how to enable the IGMP Snooping fast leave function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping fast-leave

DXS-3600-32S(config-vlan)#

Example

This example shows how to disable IGMP Snooping fast leave.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping fast-leave

DXS-3600-32S(config-vlan)#

23-3 ip igmp snooping mrouter

This command is used to configure the specified interface(s) as the multicast router interface(s) or as forbidden to be multicast router interface(s) on the switch. Use the no form of this command to remove the interface(s) from multicast router interface(s) or forbidden multicast router ports.

ip igmp snooping mrouter [forbidden] {interface INTERFACE-TYPE INTERFACE-ID [, | -] | port-channel

GROUP-ID}

no ip igmp snooping mrouter [forbidden] {interface INTERFACE-TYPE INTERFACE-ID [, | -] | port-channel

GROUP-ID}

Parameters forbidden

INTERFACE-TYPE

,

INTERFACE-ID

-

GROUP-ID

Specifies an interface that cannot be multicast router interface.

Specifies the interface type. Possible valid value is tenGigabitEthernet.

Specifies the port number.

Specifies a series of ports, or separate a range of ports from a previous range. No space before and after the comma.

Specifies a range of ports. No space before and after the hyphen.

Specifies the port-channel number.

Default

Command Mode

None.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command specifies the interfaces to be static multicast router interfaces or to be forbidden router interfaces.

To verify your configuration, use show ip igmp snooping mrouter.

Example

This example shows how to configure interface 1 to be static multicast router interface on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping mrouter interface tenGigabitEthernet 1

DXS-3600-32S(config-vlan)#

Example

This example shows how to configure port-channel 5 as the static multicast router interface on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping mrouter port-channel 5

DXS-3600-32S(config-vlan)#

239

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

Example

This example shows how to delete port-channel 1 from the static multicast router interface in VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping mrouter port-channel 1

DXS-3600-32S(config-vlan)#

Example

This example shows how to configure port-channel 1 as forbiddened multicast router interface in VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping mrouter forbidden port-channel 1

DXS-3600-32S(config-vlan)#

23-4 ip igmp snooping dyn-mr-aging-time

This command is used to configure the aging out time for dynamic multicast router interface. To restore the default value, use the no form of this command.

ip igmp snooping dyn-mr-aging-time SECONDS

no ip igmp snooping dyn-mr-aging-time

Parameters

SECONDS

Specifies the aging out time for dynamic router port, in second. The range is 10 to

65535.

Default

Command Mode

300 seconds.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When you enable IGMP Snooping, the switch will consider an interface connected to a multicast router when receiving multicast packets which are PIM control messages, DVMRP control messages or IGMP query messages with non-zero source IP on that interface. This command is used to configure the aging out time of these dynamically learned router interfaces.

To verify your configuration, use command show ip igmp snooping.

Example

This example shows how to configure the aging out time of those dynamically learned router interface to 100 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip igmp snooping dyn-mr-aging-time 100

DXS-3600-32S(config)#

Example

This example shows how to restore the default value of dynamic router interface aging out time.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip igmp snooping dyn-mr-aging-time

DXS-3600-32S(config)#

23-5 ip igmp snooping querier

This command is used to enable the IGMP Snooping querier state. To disable the querier state, use the no form of this command.

240

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

ip igmp snooping querier no ip igmp snooping querier

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to enable the IGMP Snooping querier state. Note that if IGMP is enabled, IGMP Snooping querier will be automatically disabled on the interface.

To verify your configuration, you can use show ip igmp snooping querier.

Example

This example shows how to enable IGMP Snooping querier state on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping querier

DXS-3600-32S(config-vlan)#

Example

This example shows how to disable IGMP Snooping querier state on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping querier

DXS-3600-32S(config-vlan)#

23-6 ip igmp snooping static-group

This command is used to directly add an interface list or a port-group to a multicast group. Use the no form of this command to remove the setting.

ip igmp snooping static-group GROUP-ADDRESS {interface INTERFACE-TYPE INTERFACE-ID [, | -] | group-

channel GROUP-ID}

no ip igmp snooping static-group GROUP-ADDRESS {interface INTERFACE-TYPE INTERFACE-ID [, | -] |

group-channel GROUP-ID}

Parameters

GROUP-ADDRESS

,

INTERFACE-TYPE

INTERFACE-ID

-

GROUP-ID

Specifies the address of the multicast group. This is a multicast IP address in fourpart dotted-decimal notation.

Specifies the interface type. The only possible valid value is tenGigabitEthernet.

Specifies the port number.

Specifies a series of ports, or separate a range of ports from a previous range. No space before and after the comma.

Specifies a range of ports. No space before and after the hyphen.

Specifies the port-channel number.

Default

Command Mode

No any static group is configured.

Interface Configuration Mode.

Command Default Level

Level: 8

241

Usage Guideline

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

This command allows users to create an IGMP Snooping static group and add static members to this group. A member interface configured in a static group will be processed as the IGMP Snooping ever receiving IGMP group subscribing message on it. Any traffic destined to the static group in the VLAN will be forwarded to all dynamic learned and static configured member ports. Only one difference from dynamic group member, a static group member won’t be aged out, and it can only be manually removed.

To verify you configuration, use command show ip igmp snooping static-group.

Example

This example shows how to configure interface 2-4 to be static member interfaces for group 235.0.0.0 in VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping static-group 235.0.0.0 interface tenGigabitEthernet

2-4

DXS-3600-32S(config-vlan)#

Example

This example shows how to delete interface 2 from group 235.0.0.0 in VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping static-group 235.0.0.0 interface tenGigabitEthernet 2

DXS-3600-32S(config-vlan)#

23-7 ip igmp snooping max-response-time

This command is used to configure the max response time in IGMP Snooping. To restore the default value, use the no form of this command.

ip igmp snooping max-response-time SECONDS

no ip igmp snooping max-response-time

Parameters

SECONDS

Specifies the maximum time in seconds of waiting for reports from members. The range is 1 to 25 seconds.

Default

10 seconds.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The max response time is used to calculate the Max Resp Code inserted into the periodic general queries. By varying the time, an administrator may tune the burstiness of IGMP messages on the network; larger values make the traffic less bursty, as host responses are spread out over a larger interval. The number of seconds represented by the max response time must be less than the Query

Interval.

To verify your configuration, you can use show ip igmp snooping.

Example

This example shows how to configure IGMP Snooping querier max response time to be 11 seconds on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping max-response-time 11

DXS-3600-32S(config-vlan)#

242

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

Example

This example shows how to restore the default value of IGMP Snooping max response time on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping max-response-time

DXS-3600-32S(config-vlan)#

23-8 ip igmp snooping query-interval

This command is used to configure the interval between general queries sent by IGMP Snooping querier. To restore the default value, use the no form of this command.

ip igmp snooping query-interval SECONDS

no ip igmp snooping query-interval

Parameters

SECONDS

Specifies the amount of time in seconds between general query transmissions. The range is 1 to 31744 seconds.

Default

Command Mode

125 seconds.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The query interval is the interval between General Queries sent by the Querier. By varying the query interval, an administrator may tune the number of IGMP messages on the network; larger values cause IGMP Queries to be sent less often.

To verify your configuration, you can use show ip igmp snooping.

Example

This example shows how to configure the IGMP Snooping query interval to be 60 seconds on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping query-interval 60

DXS-3600-32S(config-vlan)#

Example

This example shows how to restore the default value of IGMP Snooping query interval on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping query-interval

DXS-3600-32S(config-vlan)#

23-9 ip igmp snooping version

This command is used to configure the IGMP version in IGMP Snooping. To restore the default version, use the no form of this command.

ip igmp snooping version {1 | 2 | 3} no ip igmp snooping version

Parameters

{1 | 2 | 3}

Specifies the three version numbers, ranging 1 to 3.

243

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

Default

Command Mode

By default, this value is 3.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

IGMP Snooping can be configured to one of the three versions: v1, v2 and v3. When it is configured to v1, it means the IGMP Snooping will run in v1 compatibility mode.

When it is configured to v2, it means the IGMP Snooping will run in v2 compatibility mode. Version 3 is just the IGMP Snooping running version.

In spite of the version configured on the switch, IGMP Snooping will process

IGMPv1/v2/v3 report/leave packet as defined in RFC 3376 (IGMPv3). The difference behaves in different version is the IGMP general query transmitting and the querier electing when the querier state is enabled.

General Query Transmit:

• When configured to version 1, IGMP Snooping will only send IGMPv1 general query packet.

• When configured to version 2, IGMP Snooping will only send IGMPv2 general query packet.

• When configured to version 3, IGMP Snooping will only send IGMPv3 general query packet.

Querier Elect:

• When configured to version 1, IGMP Snooping will always act as querier, and will not initiate a new Querier electing no matter what the IGMP query packet it received.

• When configured to version 2 or version 3, IGMP Snooping will initiate a new querier electing if any IGMP v2 or v3 query packet is received. When receiving an IGMP v1 Query packet, IGMP Snooping won’t initiate a new querier electing.

To verify your configuration, you can use show ip igmp snooping.

Example

This example shows how to configure the IGMP Snooping version to be 2 on VLAN

1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#ip igmp snooping version 2

DXS-3600-32S(config-vlan)#

Example

This example shows how to restore the default version on VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no ip igmp snooping version

DXS-3600-32S(config-vlan)#

23-10 clear ip igmp snooping statistics

This command is used to clear IGMP Snooping statistics counter on the switch.

clear ip igmp snooping statistics

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

244

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

This command is used to clear IGMP Snooping statistics counter.

Usage Guideline

Example

This example shows how to clear the IGMP Snooping statistics counter.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear ip igmp snooping statistics

DXS-3600-32S(config)#

23-11 show ip igmp snooping

This command is used to display the IGMP Snooping related configurations.

show ip igmp snooping [vlan VLAN-ID]

Parameters

VLAN-ID

Specifies the VLAN ID. Display information on the specified VLAN. The range is 1 to

4094.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display IGMP Snooping related configurations. If no parameter is specified, this command will display IGMP Snooping configurations on all VLANs.

Example

This example shows how to display the IGMP Snooping configurations on all VLANs.

DXS-3600-32S#show ip igmp snooping

IGMP Snooping Global State : Enabled

Dynamic Mrouter Aging Time : 300 seconds

VLAN #1 Configuration

IGMP Snooping State : Disabled

Fast Leave : Disabled

Querier State : Disabled

Version : V3

Query Interval : 125 seconds

Max Response Time : 10 seconds

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display the IGMP Snooping configurations on VLAN 1.

DXS-3600-32S#show ip igmp snooping vlan 1

IGMP Snooping State : Disabled

Fast Leave : Disabled

Querier State : Disabled

Version : V3

Query Interval : 125 seconds

Max Response Time : 10 seconds

DXS-3600-32S#

245

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

Display Parameters Description

IGMP Snooping Global State Specify IGMP Snooping global state. Use the ip igmp snooping command, in the global configuration mode, to configure this state.

Dynamic Mrouter Aging Time Specify IGMP Snooping dynamically learned multicast router interface aging out time, as specified with command ip igmp snooping dyn-mr-aging-time.

IGMP Snooping State

Specify IGMP Snooping VLAN state, as specified with the ip igmp snooping command in interface configuration mode.

Fast Leave

Querier State

Specify IGMP Snooping fast-leave state, as specified with the ip igmp snooping

fast-leave command.

Specify IGMP Snooping querier state, as specified with the ip igmp snooping

querier command.

Query Interval

Max Response Time

Specify the IGMP Snooping query interval which is configured by command ip igmp

snooping query-interval.

Indicates the max response time which is configured by command ip igmp

snooping max-response-time.

23-12 show ip igmp snooping querier

This command is used to display IGMP Snooping querier electing information.

show ip igmp snooping querier [vlan VLAN-ID]

Parameters

VLAN-ID

Specifies the VLAN ID. Display the specified VLAN information.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to check the IGMP Snooping querier electing information. If no parameter is added, this command will display querier information on all VLANs.

Example

This example shows how to display querier information for all VLANs.

DXS-3600-32S#show ip igmp snooping querier

VLAN #1

Querier Role : Non-Querier

Querier IP : 0.0.0.0

Querier Expiry Time : -

DXS-3600-32S#

Example

This example shows how to display querier information for VLAN 1.

DXS-3600-32S#show ip igmp snooping querier vlan 1

VLAN #1

Querier Role : Non-Querier

Querier IP : 0.0.0.0

Querier Expiry Time : -

DXS-3600-32S#

246

Display Parameters

Querier Role

Querier IP

Querier Expiry Time

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

Description

The querier role of the querier electing. It can be Querier or Non-Querier. Querier means the local switch is selected as IGMP querier on the VLAN, and Non-Querier means the local switch is not selected as IGMP querier.

The querier’s IP address on this VLAN.

The elected querier expiring time. ”-” means the local switch is querier, and it won’t be expired.

23-13 show ip igmp snooping groups

This command is used to display IGMP Snooping dynamic group information.

show ip igmp snooping groups [GROUP-ADDRESS | vlan VLAN-ID]

Parameters

GROUP-ADDRESS

VLAN-ID

Specifies the group IP address you want to display. If no group address specified, all

IGMP group information will be displayed.

Specifies the VLAN ID. Display the specified VLAN information.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display IGMP Snooping dynamically learned group information.

Example

This example shows how to display the IGMP Snooping group information of all

VLANs.

DXS-3600-32S#show ip igmp snooping groups

IGMP Snooping Connected Group Membership:

VLAN ID Group address Source address FM Exp(sec) Interface

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

1 232.0.0.1 192.168.1.11 IN 258 21

EX 244 11

1 232.0.0.1 192.168.1.12 IN 258 21

EX 244 11

1 232.0.0.1 * EX 244 -

Total entries: 3

DXS-3600-32S#

247

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

Example

This example shows IGMP Snooping group information on VLAN 1.

DXS-3600-32S#show ip igmp snooping groups vlan 1

IGMP Snooping Connected Group Membership:

VLAN ID Group address Source address FM Exp(sec) Interface

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

1 232.0.0.1 192.168.1.11 IN 257 21

1 232.0.0.1 192.168.1.12 IN 257 21

Total entries: 2

DXS-3600-32S#

Example

This example shows IGMP Snooping group information for specific group 230.1.1.1.

DXS-3600-32S#show ip igmp snooping groups 230.1.1.1

IGMP Snooping Connected Group Membership:

VLAN ID Group address Source address FM Exp(sec) Interface

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

1 230.1.1.1 14.1.1.11 EX 258 1

Total entries: 1

DXS-3600-32S#

Display Parameters

VLAN ID

Group address

FM

Source address

Exp

-

Port

Description

Displays the VLAN ID.

Displays the Group IP address.

Group filter mode. “EX” means exclude and “IN” means include.

Displays the Source IP address.

The expiring time of this group.

This group is auto created by protocol.

The physic interface or port-channel which learned this group.

23-14 show ip igmp snooping static-group

This command is used to display the statically configured IGMP groups.

show ip igmp snooping static-group [GROUP-ADDRESS | vlan VLAN-ID]

Parameters

GROUP-ADDRESS

VLAN-ID

Specifies the group IP address you want to display. If no group address specified, all static IGMP group information will be displayed.

Specifies the VLAN ID. Display the specified VLAN information.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display IGMP snooping static group information. If no parameter is specified, this command will display IGMP snooping static group information on all VLANs.

248

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

Example

This example shows how to display the IGMP snooping static group information of all

VLANs.

DXS-3600-32S#show ip igmp snooping static-group

VLAN ID Group address Interface

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

1 235.0.0.0 3-4

2 234.1.1.1 4

Total Entries : 2

DXS-3600-32S#

Example

This example shows how to display the IGMP snooping static group information on

VLAN 1.

DXS-3600-32S#show ip igmp snooping static-group vlan 1

VLAN ID Group Address Interface

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

1 235.0.0.0 3-4

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display the IGMP snooping static group information for specific group 235.0.0.0

DXS-3600-32S#show ip igmp snooping static-group 235.0.0.0

VLAN ID Group Address Interface

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

1 235.0.0.0 3-4

Total Entries: 1

DXS-3600-32S#

Display Parameters

Group address

Port

Description

Specify the group address.

The member interfaces configured in the static group.

23-15 show ip igmp snooping mrouter

This command is used to display IGMP Snooping multicast router interface information.

show ip igmp snooping mrouter [vlan VLAN-ID]

Parameters

VLAN-ID

Specifies the VLAN ID. Display the specified VLAN information.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

249

Usage Guideline

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

This command is used to display IGMP Snooping multicast router interface information. If no parameter is specified, this command will display IGMP Snooping multicast router interface information on all VLANs.

Example

This example shows how to display the IGMP Snooping multicast router interface information of all VLANs.

DXS-3600-32S#show ip igmp snooping mrouter

VLAN ID Interface

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

1 1,T5 (static)

T1 (forbidden)

2 4 (static)

9 (dynamic)

DXS-3600-32S#

Example

This example shows how to display the IGMP Snooping multicast router interface information on VLAN 1.

DXS-3600-32S#show ip igmp snooping mrouter vlan 1

VLAN ID Interface

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

1 1,T5 (static)

T1 (forbidden)

DXS-3600-32S#

Display Parameters static forbidden dynamic

Description

Static mrouter interface information, which is configured by command ip igmp

snooping vlan mrouter.

Forbidden mrouter interface information, which is configured by command ip igmp

snooping vlan mrouter forbidden.

Dynamically learned mrouter interface information.

23-16 show ip igmp snooping forwarding-table

This command is used to display IGMP Snooping forwarding information.

show ip igmp snooping forwarding-table [vlan VLAN-ID]

Parameters

VLAN-ID

Specifies the VLAN ID. Display the information on the specified VLAN. The range is

1 to 4094.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display IGMP Snooping forwarding information. If no parameter is specified, this command will display IGMP Snooping forwarding information on all VLANs.

250

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

Example

This example shows how to display all IGMP Snooping forwarding information on the switch.

DXS-3600-32S#show ip igmp snooping forwarding-table

(Group, Source) Forwarding Interface

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

VLAN #1

(225.0.0.3, 10.71.57.1) 3-10

(225.0.0.4, 10.71.57.1) 3, 8

(225.0.0.5, 10.71.57.1) 1, 7

VLAN #3

(226.0.0.1, 3.3.2.1) 3-10

Total Entries : 4

DXS-3600-32S#

Example

This example shows how to display IGMP Snooping forwarding information on VLAN

1.

DXS-3600-32S#show ip igmp snooping forwarding-table vlan 1

(Group, Source) Forwarding Interface

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

(225.0.0.3, 10.71.57.1) 3-10

(225.0.0.4, 10.71.57.1) 3, 8

(225.0.0.5, 10.71.57.1) 1, 7

Total Entries : 3

DXS-3600-32S#

Display Parameters

Group

Source

Forwarding Interface

Description

Group IP address of the multicast stream.

Source IP of the multicast stream.

Forwarding outgoing interface of the multicast stream.

23-17 show ip igmp snooping statistics

This command is used to display IGMP Snooping statistics counter information.

show ip igmp snooping statistics [vlan VLAN-ID]

Parameters

VLAN-ID

Specifies the VLAN ID. Display the specified VLAN information.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display IGMP Snooping statistics counter information. If no parameter is specified, this command will display IGMP Snooping statistics counter information on all VLANs.

251

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

Example

This example shows how to display IGMP Snooping statistics counter information on the whole switch, and it will only display the IGMP Snooping enabled VLAN interface.

DXS-3600-32S#show ip igmp snooping statistics

VLAN #1

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

Group Number : 2

Receive Statistics

IGMP Query v1/v2/v3 : 0/29/76

IGMP Report v1/v2/v3 : 0/65/0

IGMP Leave : 6

Transmit Statistics

IGMP Query v1/v2/v3 : 0/38/76

IGMP Report v1/v2/v3 : 0/0/0

IGMP Leave : 0

VLAN #2

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

Group Number : 1

Receive Statistics

IGMP Query v1/v2/v3 : 0/0/2

IGMP Report v1/v2/v3 : 0/0/6

IGMP Leave : 2

Transmit Statistics

IGMP Query v1/v2/v3 : 0/0/6

IGMP Report v1/v2/v3 : 0/0/0

IGMP Leave : 0

DXS-3600-32S#

Example

This example shows how to display IGMP Snooping statistics counter information on

VLAN 1.

DXS-3600-32S#show ip igmp snooping statistics vlan 1

VLAN #1

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

Group Number : 1

Receive Statistics

IGMP Query v1/v2/v3 : 0/29/76

IGMP Report v1/v2/v3 : 0/65/0

IGMP Leave : 6

Transmit Statistics

IGMP Query v1/v2/v3 : 0/38/76

IGMP Report v1/v2/v3 : 0/0/0

IGMP Leave : 0

DXS-3600-32S#

252

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

Interface Commands

24-1 interface out-band

This command is used to select the out-band interface, and enter the interface configuration mode.

interface out-band <int>

Parameters

int

Specifies the out-band interface number.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Users can verify the settings by entering the show interface out-band command.

Example

This example shows how to set the IP address 10.1.1.1/8 for out-band interface 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface out-band 1

DXS-3600-32S(config-if)#ip address 10.1.1.1 255.0.0.0

DXS-3600-32S(config-if)#

24-2 shutdown

This command is used to disable an interface. Use no command to enable an interface.

shutdown no shutdown

Parameters

Default

None.

By default, the interface is enabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to disable or enable an interface.

Users can verify the settings by entering the show interface out-band command.

Example

This example shows how to shutdown the out-band interface 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface out-band 1

DXS-3600-32S(config-if)#shutdown

DXS-3600-32S(config-if)#

24-3 show interface out-band

This command is used to display the out band interface.

show interface out-band <int>

253

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

Parameters

int

Specifies the out-band interface number.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the out-band interface.

Example

This example shows how to to display the out-band interface 1.

DXS-3600-32S#show interface out-band 1

Interface : out-band1

Interface Admin State : Enabled

IPv4 Address : 10.1.1.1/8

Gateway : 0.0.0.0

Link Status : Link Down

DXS-3600-32S#

254

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

IP Access List Commands

25-1 ip standard access-list

This command is used to enter the access list configuration mode and define a standard IP access list. Use the no form of this command to remove a standard IP access list.

ip standard access-list ACCESS-LIST-NAME

no ip standard access-list ACCESS-LIST-NAME

Parameters

ACCESS-LIST-NAME

Specifies the name of the IP access-list to be configured. It can accept up to 16 characters. The syntax is general string that does not allow space.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Standard IP access list is used by routing protocol.

Users can verify the settings by entering the show ip standard access-list command.

Example

This example shows how to create a standard IP access list and enter the standard

IP access list configuration mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list IPS

DXS-3600-32S(config-ip-acl)#

25-2 deny

This command is used to set the deny rules of standard IP access list. Use the no form of this command to remove the deny rules.

deny NETWORK-ADDRESS

no deny NETWORK-ADDRESS

Parameters

NETWORK-ADDRESS

Specifies a specific network address.

Default

None.

Command Mode

Access List Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

One or multiple deny rules can be added to the list.

There is an implicit deny at the end of the statement, if you only want to deny some specified route, please add another statement which is permit 0.0.0.0 0 at the end of the ip access list, in that way there will be no negative effects on the function of access list.

Users can verify the settings by entering the show ip standard access-list command.

255

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

Example

This example shows how to configure deny rules for a standard IP access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list standard IPS

DXS-3600-32S(config-std-nacl)#deny 121.2.0.0/8

DXS-3600-32S(config-std-nacl)#deny 126.1.2.2/8

DXS-3600-32S(config-std-nacl)#

25-3 permit

This command is used to set the permit rules of standard IP access list. Use the no form of this command to remove the permit rules.

permit NETWORK-ADDRESS

no permit NETWORK-ADDRESS

Parameters

NETWORK-ADDRESS

Specifies a specific network address.

Default

Command Mode

None.

Access List Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

One or multiple permit rules can be added to the list.

Users can verify the settings by entering the show ip standard access-list command.

Example

This example shows how to configure permit rules for a standard IP access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip access-list standard IPS

DXS-3600-32S(config-std-nacl)#permit 120.2.0.0/8

DXS-3600-32S(config-std-nacl)#permit 125.1.2.2/8

DXS-3600-32S(config-std-nacl)#

25-4 show ip standard access-list

This command is used to display the access-list configuration.

show ip standard access-list [ACCESS-LIST-NAME]

Parameters

ACCESS-LIST-NAME

(Optional) Displays information about one specified standard IP access list.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

If no parameter is specified, then information about all standard IP access lists will be displayed.

256

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

Example

This example shows the content of standard IP access list 'IPS'.

DXS-3600-32S#show ip standard access-list IPS

IP Standard Access List: IPS

Total Entries Number : 2

Permit 120.2.0.0/16

Deny 125.1.2.2/20

Total Access List Number : 1

DXS-3600-32S#

Display Parameters

IP Standard Access List

Total Entries Number

Permit/Deny

Total Access List Number

Description

The name of standard IP access list. It is specified with the command ip standard

access-list.

The total number of rules in this standard IP access list.

Rules of the standard IP access list. They are specified with the command permit and deny.

The total number of all standard IP access lists.

257

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

IP Address Commands

26-1 ip address

This command is used to set the primary or secondary IP address for an interface. Use no command to remove the IP address.

ip address ip-address net-mask [secondary]

no ip address ip-address net-mask [secondary]

Parameters

ip-address net-mask

secondary

Specifies the 32-bit IP address, with 8 bits in one group in decimal format.

Specifies the 32-bit network mask, with same format to ip-address.

(Optional) Specifies the secondary IP address to be configured.

Default

No IP address is configured for the interface.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command set a primary or secondary IP address for an interface. An interface can have one primary IP address and multiple secondary IP addresses. The primary

IP address must set first, if there is no primary IP address, the secondary IP address can’t set successful for an interface. Also, to remove the primary IP address needs remove all the secondary IP address first.

Currently, this command is valid for the VLAN interface and the out-band interface.

But, only the VLAN interface supports secondary IP address.

The no form of this command remove an IP address or disable IP processing for an interface.

Users can verify the settings by entering the show ip interface command.

Example

This example shows how to set the primary IP address 10.1.1.1/8 for interface VLAN

100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 100

DXS-3600-32S(config-if)#ip address 10.1.1.1 255.0.0.0

DXS-3600-32S(config-if)#

26-2 ip address dhcp

This command is used to make the interface obtain the IP address information by the DHCP in the interface configuration mode. The no form of this command can be used to cancel this configuration.

ip address dhcp no ip address dhcp

Parameters

Default

None.

The interface doesn’t obtain the IP address by the DHCP by default.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Configure the interface to obtain IP address from DHCP instead of manual setting.

258

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

Example

This example shows how to make the interface of VLAN 1 obtain an IP address automatically.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip address dhcp

DXS-3600-32S(config-if)#

26-3 ip directed-broadcast

This command is used to enable forwarding of IP directed broadcasts on an interface where the broadcast becomes a physical broadcast. Use no command to disable forwarding of IP directed broadcasts on an interface.

ip directed-broadcast no ip directed-broadcast

Parameters

Default

None.

By default, this option is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command enables the forwarding of IP directed broadcast on an interface where the broadcast becomes a physical broadcast.

The no form of this command disables the forwarding of IP directed broadcast on an interface.

Users can verify the settings by entering the show ip interface command.

Example

This example shows how to enable the IP directed broadcast on interface VLAN

100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 100

DXS-3600-32S(config-if)#ip directed-broadcast

DXS-3600-32S(config-if)#

26-4 ip default-gateway

This command is used to set a default gateway address for the out-band interface. Use no command to remove the default gateway address.

ip default-gateway ip-address

no ip default-gateway ip-address

Parameters

ip-address

Specifies the IP address of the default gateway.

Default

Command Mode

There is no default gateway defined for out-band interface.

Interface Configuration Mode.

Command Default Level

Level: 8

259

Usage Guideline

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

This command set or remove the default gateway address for the out-band interface.

This command is only valid for out-band IP interface.

Users can verify the settings by entering the show interface out-band and show ip

interface command.

Example

This example shows how to set the default gateway to 10.1.1.1

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface out-band 1

DXS-3600-32S(config-if)#ip default-gateway 10.1.1.1

DXS-3600-32S(config-if)#

26-5 show ip interface

This command is used to display all the IP interfaces.

show ip interface [interface-name]

Parameters

interface-name

(Optional) Specifies the IP interface’s name. Use the interface type combined with the interface number as the interface’s name.

Default

None.

Command Mode

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display all the IP interfaces.

Example

This example shows how to display the IP interface called ‘vlan2’.

DXS-3600-32S#show ip interface vlan2

IP Interface : vlan2

VLAN Name : VLAN0002

Interface Admin State : Enabled

IP Directed Broadcast : Disabled

IP MTU : 1500

DXS-3600-32S#

260

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

IP Prefix List Commands

27-1 ip prefix-list

This command is used to create an IP prefix list or add a rule for an IP prefix list. Use the no form of this command to remove an IP prefix list or remove a rule for an IP prefix list.

ip prefix-list PREFIX-LIST-NAME [[seq SEQ-NUMBER] {deny | permit} NETWORK-ADDRESS [ge MINIMUM-

PREFIX-LENGTH] [le MAXIMUM-PREFIX- LENGTH]]

no ip prefix-list PREFIX-LIST-NAME [[seq SEQ-NUMBER] {deny | permit} NETWORK-ADDRESS [ge

MINIMUM-PREFIX-LENGTH] [le MAXIMUM-PREFIX- LENGTH]]

Parameters

PREFIX-LIST-NAME

seq SEQ-NUMBER

deny permit

NETWORK-ADDRESS

ge MINIMUM-PREFIX-

LENGTH

le MAXIMUM-PREFIX-

LENGTH

Specifies the name of the IP prefix list. It can accept up to 16 characters. The syntax is general string that does not allow space.

(Optional) Specifies the sequence number of the rule entry. The range is 1 to 65535.

(Optional) Specifies the rule to deny the access when matched.

(Optional) Specifies the rule to permit the access when matched.

(Optional) Specifies the network address to match.

(Optional) Specifies the minimum prefix length used to match the network address.

The range is 1 to 32.

(Optional) Specifies the maximum prefix length used to match the network address.

The range is 1 to 32.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The ip prefix-list command is used to create or configure an IP prefix list.

An IP prefix list can have multiple rule entries; each is represented by a sequence number. The rule with the lower sequence number will be evaluated first. If the sequence number is not specified for the defined rule entry, the sequence number will be automatically given. The automatically given sequence number will be a multiple of 5. Therefore, if the defined rule is the first rule in the prefix list, the automatically given sequence number will be 5. If the defined rule is not the first rule in the prefix list, the sequence number will be the number that is a multiple of 5 and larger than the largest sequence number of an existing rule in the prefix list.

A prefix list consists of an IP address and a bit mask. The bit mask is entered as a number from 1 to 32. An implicit denial is applied to traffic that does not match any prefix list entry. The IP route prefix list rule entry is defined to either permit or deny specific routes. Prefix lists are configured to match an exact prefix length or a prefix range.

The prefix list is processed using an exact match when neither the ge nor le is specified. If only the ge is specified, the range of the mask length used to match the network address is from the minimum prefix length to a full 32-bit length. If only the le is specified, the range of the mask length is from prefix length of network to the maximum prefix length. If both the ge and le is specified, the range of the mask length falls between the minimum prefix length and the maximum prefix length.

There is a restriction about the minimum prefix length and the maximum prefix length: prefix length of network < the minimum prefix length < the maximum prefix length <=

32

261

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

For example:

If the specified network address is 10.1.2.3/16 and none of ge and le is specified, only the route 10.1.0.0/16 will match the rule. The route 10.1.2.0/24 will not.

If the network address is 10.1.0.0/16 and ge 24 is specified, the route 10.1.0.0/16 will not match the rule. The route 10.1.2.0/24 and the route 10.1.2.3/32 will match the rule.

You can verify your settings by entering the show ip prefix-list command.

Example

This example shows how to create and configure the IP prefix-list named “my_pref” to permit routes from the 10.0.0.0/8 network while set the maximum prefix length to

24.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list my_pref permit 10.0.0.0/8 le 24

DXS-3600-32S(config)#

Example

This example shows how to create and configure the IP prefix-list named “ my_pref” to deny routes from the 12.0.0.0/12 network while set minimum prefix length to 20 and maximum prefix length to 24.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list my_pref deny 12.0.0.0/12 ge 20 le 24

DXS-3600-32S(config)#

27-2 ip prefix-list description

This command is used to add the text description to a prefix list. Use the no form of this command to delete the description.

ip prefix-list PREFIX-LIST-NAME description DESC

no ip prefix-list PREFIX-LIST-NAME description

Parameters

PREFIX-LIST-NAME

DESC

Specifies the name of the IP prefix list. It can accept up to 16 characters. The syntax is general string that does not allow space.

Specifies the text description. It supports maximum 80 characters.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use the ip prefix-list description command to add or delete the text description of an

IP prefix list.

You can verify your settings by entering the show ip prefix-list command.

Example

This example shows how to set the description of one IP prefix list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip prefix-list my_pref description allow routes from peer A

DXS-3600-32S(config)#

27-3 clear ip prefix-list counter

This command is used to reset the hit counter of the IP prefix list.

262

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

clear ip prefix-list counter {PREFIX-LIST-NAME [NETWORK-ADDRESS] | all}

Parameters

PREFIX-LIST-NAME

NETWORK-ADDRESS

all

Specifies the name of the IP prefix list. It can accept up to 16 characters. The syntax is general string that does not allow space.

(Optional) Specifies the network entry of IP prefix list.

Clear the hit count of all IP prefix lists

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

The hit count is the value that indicates the times of an prefix list entry is matched.

Example

This example shows how to clear the counter of all the IP prefix-lists.

DXS-3600-32S#clear ip prefix-list counter all

DXS-3600-32S#

27-4 show ip prefix-list

This command is used to show the information about IP prefix list.

show ip prefix-list [PREFIX-LIST-NAME]

Parameters

PREFIX-LIST-NAME

(Optional) Displays information of the specified IP prefix list.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

If no parameter is specified, that all IP prefix lists' information will be displayed.

Example

This example shows the information of IP prefix list “my_pref”:

DXS-3600-32S#show ip prefix-list my_pref

IP Prefix List: my_pref

Description: allow routes from peer A

Total Rule Number:2

Sequence 5 Permit 10.0.0.0/8 le 24

Sequence 10 Deny 12.0.0.0/12 le 24 ge 20

DXS-3600-32S#

Display Parameters

IP Prefix List

Total Rule number

Total IP Prefix Number

Description

The name of IP prefix list. It is specified with the command ip prefix-list.

Rules number of the IP prefix list.

Total number of all IP prefix lists.

263

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

264

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

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

LINE Commands

29-1 line

This command is used to enter the specified LINE mode. The no form of this command is used to restore the default configuration.

line {console | telnet | ssh} no line {console | telnet | ssh}

Parameters console telnet ssh

Specifies the console port.

Specifies the Telnet terminal line.

Specifies the SSH terminal line.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Access to the specified LINE mode.

Example

This example shows how to enter the LINE mode from LINE CONSOLE.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#

29-2 exec-timeout

This command is used to configure the connection timeout to this equipment in the LINE, use the exec-timeout command. Once the connection timeout in the LINE is cancelled by the no exec-timeout command, the connection will never be timeout.

exec-timeout minutes [seconds]

no exec-timeout

Parameters

minutes seconds

Specifies the minutes of specified timeout. This value must be between 0 and 1439.

(Optional) Specifies the seconds of specified timeout.

Default

The default timeout is 10min.

Command Mode

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

If there is no input/output information for this connection within specified time, this connection will be interrupted, and this LINE will be restored to the free status.

Example

This example shows how to specify the connection timeout is 5’30”.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#exec-timeout 5 30

DXS-3600-32S(config-line)#

272

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

29-3 speed

This command is used to set the speed at which the terminal transmits packets, execute the speed speed command in the line configuration mode. To restore the speed to its default value, run the no speed command.

speed speed

no speed

Parameters

speed

Specifies the transmission rate (bps) on the terminal. For serial ports, the optional rates are 9600, 19200, 38400, and 115200 bps. The default rate is 115200 bps.

Default

Command Mode

The default rate is 115200.

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command sets the speed at which the terminal transmits packets. It is only applicable for serial ports.

Example

This example shows how to configure the rate of the serial port to 115200 bps.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#speed 115200

DXS-3600-32S(config-line)#

29-4 show line

This command is used to show the configuration of a line.

show line {console | telnet | ssh}

Parameters console telnet ssh

Displays the configuration of a console line.

Displays the configuration of a telnet line.

Displays the configuration of a telnet line.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

This command shows the configuration information of a line.

Example

This example shows the configuration of console port.

DXS-3600-32S#show line console

Type: console

Speed: 115200

Timeout: 0 hour 10 min 0 sec

DXS-3600-32S#

273

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

274

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

Link Aggregation Commands

30-1 aggregateport load-balance

This command is used to specify the load-balance algorithm. Use the no command to return it to the default setting.

aggregateport load-balance {dst-mac | src-mac | src-dst-mac | dst-ip | src-ip | src-dst-ip} no aggregateport load-balance

Parameters dst-mac src-mac src-dst-mac dst-ip src-ip src-dst-ip

Specifies that the switch should examine the MAC destination address.

Specifies that the switch should examine the MAC source address.

Specifies that the switch should examine the MAC source and destination address.

Specifies that the switch should examine the IP destination address.

Specifies that the switch should examine the IP source address.

Specifies that the switch should examine the IP source and destination address.

Default

Traffic is distributed according to the destination and source MAC addresses of the packets.

Global Configuration Mode.

Command Mode

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to configure global load balance.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#aggregateport load-balance src-mac

DXS-3600-32S(config)#

30-2 lacp port-priority

This command is used to set the LACP port priority. Use the no form of this command to return to the default value.

lacp port-priority port-priority

no lacp port-priority

Parameters

port-priority

Specifies the port priority, in the range of 0-65535.

Default

Command Mode

By default, the port priority is 32768.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The LACP port-priority interface configuration command determines which ports are bundled.

In port-priority comparisons, a numerically lower value has a higher priority. If two or more ports have the same LACP port priority (for example, they are configured with the default setting of 32768), lower port number has higher priority.

275

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

Example

This example shows how to configure port priority of Ethernet interface 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lacp port-priority 4096

DXS-3600-32S(config-if)#

30-3 lacp system-priority

This command is used to set the LACP system priority. The no form of it restores it to the default.

lacp system-priority system-priority

no lacp system-priority

Parameters

system-priority

Specifies the LACP system priority, in the range of 0-65535.

Default

By default, the system priority is 32768.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The LACP system priority consists of the Layer 2 management MAC address and its priority value, where the MAC address is fixed but the priority value is configurable. If two priorities are equal, then the smaller the MAC address is, the higher the priority is. All LACP groups on the switch share the system priority. Changing the system priority may influence the whole aggregation groups on the switch.

Example

This example shows how to configure system priority.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lacp system-priority 4096

DXS-3600-32S(config)#

30-4 lacp timeout

This command is used to configure the LACP timeout mode. Use the no form of this command to return to the default value.

lacp timeout {short | long} no lacp timeout

Parameters short long

Specifies that there will be 3 seconds before the LACP invalidating received

LACPDU information and there will be 1 second between LACP PDU periodic transmissions when using Short Timeouts.

Specifies that there will be 90 seconds before the LACP invalidating received

LACPDU information and there will be 30 seconds between LACP PDU periodic transmissions when using Long Timeouts

Default

Command Mode

By default, the LACP timeout mode is short.

Interface Configuration Mode.

Command Default Level

Level: 15

276

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

None.

Usage Guideline

Example

This example shows how to configure the port LACP timeout to long mode on

Ethernet interface 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lacp timeout long

DXS-3600-32S(config-if)#

30-5 port-group

This command is used to assign a physical interface to be a member port of an aggregate port. Use the no form of the command to remove the membership from the aggregate port.

port-group port-group-number [static]

no port-group

Parameters

port-group-number

static

Specifies the interface number of the aggregate port.

Specifies the aggregate port is static trunk. If not specify, the aggregate port is LACP.

Default

By default, the physical port does not belong to any aggregate port.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

When adding a port or port list to the aggregate port, that does not exist, a new aggregate port will be created automatically.

When the first port is added to the aggregate port, the specified type (static TRUNK or LACP) will be decided for this aggregate port. Other ports added to this aggregate port afterwards, with a different type, are not allowed.

Example

This example shows how to specify the Ethernet interface 1 as members of aggregate port 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#port-group 3

DXS-3600-32S(config-if)#

30-6 port-group mode

This command is used to configure the aggregation mode on the interface. Use the no form of the command to restores it to the default mode.

port-group mode {active | passive} no port-group mode

Parameters active passive

Specifies to place a port into an active negotiating state, in which the port initiates negotiations with remote ports by sending LACP packets.

Specifies to place a port into a passive negotiating state, in which the port responds to LACP packets it receives, but does not initiate LACP negotiation.

277

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

Default

Command Mode

By default, the aggregation mode is passive on the interface.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to configure Ethernet interface 1-2 to active mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-2

DXS-3600-32S(config-if-range)#port-group mode active

DXS-3600-32S(config-if-range)#

30-7 show aggregateport

This command is used to display the aggregate port configurations.

show aggregateport {aggregate-port-number summary | load-balance}

Parameters

aggregate-port-number

summary load-balance

Specifies the number of the aggregate port.

Displays information of the designated aggregate port.

Displays the global load balance.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows information of aggregate port 1.

DXS-3600-32S#show aggregateport 1 summary

AggregatePort MaxPorts SwitchPort Mode Ports

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

Ag1 12 ACCESS 1-4

DXS-3600-32S#

Example

This example shows the algorithm of aggregate port 1.

DXS-3600-32S#show aggregateport load-balance

Link Aggregation Algorithm : src-mac

DXS-3600-32S#

30-8 show lacp summary

This command is used to show the LACP aggregation information.

show lacp summary

Parameters

None.

278

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

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to display LACP summary.

DXS-3600-32S#show lacp summary

Flags:S - Port is perform slow timeout F - Port is perform fast timeout.

A - Port is in active mode. P - Port is in passive mode

System priority: 4096

Aggregate port 3:

Working mode: Dynamic

Local information:

LACP port Oper Port Port

Port Flags State Priority Key Number State

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

1 SA bndl 4096 0x3 0x1 0x3f

2 SA bndl 4096 0x3 0x2 0x3f

3 SA bndl 4096 0x3 0x3 0x3f

4 SA sups 4096 0x3 0x4 0x37

5 FP down 0 0x0 0x0 0x0

Partner information:

LACP port Oper Port Port System

Port Flags Priority Dev ID Key Number State Priority

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

1 SA 61440 00-d0-f8-00-00-02 0x3 0x1 0x3f 32768

2 SA 61440 00-d0-f8-00-00-02 0x3 0x2 0x3f 32768

3 SA 61440 00-d0-f8-00-00-02 0x3 0x3 0x3f 32768

4 SA 61440 00-d0-f8-00-00-02 0x1 0x4 0x37 32768

5 FP 0 00-00-00-00-00-00 0x0 0x0 0x0 0x0

DXS-3600-32S#

Display Parameters

System priority

Working mode

Local information

Port

Flags

State

LACP Port Priority

Oper Key

Port Number

Description

Show the LACP system priority

Show the aggregator port working mode:

Static: Manual Trunk

Dynamic: LACP

Show the local LACP information.

Show the system port ID.

Show the port state flag:

S indicates that the LACP port is working in the slow timeout mode.

A indicates that the port is in the active mode.

Show the port aggregation information:

bndl - indicates that the port is aggregated;

down - represents the disconnection port state;

sups - indicates that the port is not aggregated.

Show the LACP port priority.

Runtime operational key that is being used by this port. LACP automatically generates this value as a hexadecimal number.

Show the port number.

279

Display Parameters

Port State

Partner information

Dev ID

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

Description

State variables for the port, encoded as individual bits within a single octet with these meanings:

bit0: LACP_Activity

bit1: LACP_Timeout

bit2: Aggregation

bit3: Synchronization

bit4: Collecting

bit5: Distributing

bit6: Defaulted

bit7: Expired

Partly show the LACP Partner information of the peer port.

Partly show the system MAC information of the peer device.

280

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

Link Layer Discovery Protocol (LLDP) Commands

31-1 lldp run

This command is used to enable the Link Layer Discovery Protocol (LLDP) globally. Use the no form of this command to return to the default settings.

lldp run no lldp run

Parameters

Default

Command Mode

None.

LLDP global state is disabled.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This is a global control for the LLDP function. When this function is enabled, the switch can start to transmit LLDP packets and receive and process the LLDP packets.

The specific function of each physical interface will depend on the LLDP setting of each physical interface.

For the advertisement of LLDP packets, the switch announces the information to its neighbor through physical interfaces. For the receiving of LLDP packets, the switch will learn the information from the LLDP packets advertised from the neighbor in the neighbor table.

Example

This example shows how to enable the LLDP global setting.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp run

DXS-3600-32S(config)#

Example

This example shows how to disable the LLDP global setting.

DXS-3600-32S#configure terminal

XS-3600-32S(config)#no lldp run

DXS-3600-32S(config)#

31-2 lldp forward

This command is used to enable the Link Layer Discovery Protocol (LLDP) forward state. Use the no form of this command to return to the default settings.

lldp forward no lldp forward

Parameters

Default

Command Mode

None.

LLDP forward state is disabled.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This is a global control for the LLDP forward. When LLDP is disabled and LLDP forward is enabled, the received LLDPDU packet will be forwarded.

Example

This example shows how to enable the LLDP global forward state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp forward

DXS-3600-32S(config)#

281

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

Example

This example shows how to disable the LLDP global forward state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp forward

DXS-3600-32S(config)#

31-3 lldp message-tx-interval

This command is used to set the LLDPDUs transmission interval on the switch. Use the no form of this command to return to the default settings.

lldp message-tx-interval seconds

no lldp message-tx-interval

Parameters

seconds

Specifies the interval between consecutive transmissions of LLDP advertisements on each physical interface. The range is from 5 second to 32768 second.

Default

Command Mode

30 seconds.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This interval controls how often active ports retransmit advertisements to their neighbors.

Example

This example shows how to set the LLDP message TX interval to 50 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp message-tx-interval 50

DXS-3600-32S(config)#

Example

This example shows how to set the LLDP message TX interval to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp message-tx-interval

DXS-3600-32S(config)#

31-4 lldp message-tx-hold-multiplier

This command is used to set the message hold multiplier on the switch. Use the no form of this command to return to the default settings.

lldp message-tx-hold-multiplier value

no message-tx-hold-multiplier

Parameters

value

Specifies a multiplier on the msgTxInterval, that used to compute the time to live value of an LLDPDU. Valid values are from 2 to 10.

Default

The default value is 4.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

282

Usage Guideline

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

This parameter is a multiplier on the msgTxInterval that used to compute the TTL value of txTTL in an LLDPDU. The TTL will be carried in the LLDPDU packet.

The lifetime will be the minimum of 65535 and (message_tx_interval * message_tx_hold_multiplier). At the partner switch, when the TTL for a given advertisement expires, the advertised data is deleted from the neighbor switch’s

MIB.

Example

This example shows how to set the LLDP message-tx-hold-multiplier to 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp message-tx-hold-multiplier 3

DXS-3600-32S(config)#

Example

This example shows how to set the LLDP message-tx-hold-multiplier to the default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp message-tx-hold-multiplier

DXS-3600-32S(config)#

31-5 lldp tx-delay

This command is used to set the minimum time (delay-interval), any LLDP port will delay advertising successive LLDP advertisements due to a change in LLDP MIB content. The tx-delay defines the minimum interval between sending of

LLDP messages due to constantly change of MIB content. Use the no form of this command to return to the default settings.

lldp tx-delay seconds

no lldp tx-delay

Parameters

seconds

Specifies a delay for sending successive LLDPDU on an interface. Valid values are from 1 to 8192 seconds.

Default

2 seconds.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The LLDP message TX interval (transmit interval) must be greater than or equal to 4 times the TX delay interval).

Example

This example shows how to set the TX delay interval to 8 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp tx-delay 8

DXS-3600-32S(config)#

Example

This example shows how to configure the TX delay interval to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp tx-delay

DXS-3600-32S(config)#

31-6 lldp reinit-delay

This command is used to set the minimum time of the re-initialization delay interval on the switch. Use the no form of this command to return to the default settings.

283

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

lldp reinit-delay seconds

no lldp reinit-delay

Parameters

seconds

Specifies a delay for LLDP initialization on an interface. Valid values are from 1 to 10 seconds.

Default

Command Mode

2 seconds.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A re-enabled LLDP physical interface will wait for reinit-delay after last disable command before reinitializing.

Example

This example shows how to set the re-init delay interval to 5 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp reinit-delay 5

DXS-3600-32S(config)#

Example

This example shows how to set the re-init delay interval to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp reinit-delay

DXS-3600-32S(config)#

31-7 lldp notification-interval

This command is used to set the the timer of the notification interval for sending notifications to configured SNMP trap receiver(s). Use the no form of this command to return to the default settings.

lldp notification-interval seconds

no lldp notification-interval

Parameters

seconds

Specifies the timer of the notification interval for sending notifications to configured

SNMP trap receiver(s). Valid values are from 5 to 3600 seconds.

Default

5 seconds.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Globally change the interval between successive LLDP change notifications generated by the switch.

Example

This example shows how to set the notification interval to 10 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp notification-interval 10

DXS-3600-32S(config)#

Example

This example shows how to set the notification interval to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no lldp notification-interval

DXS-3600-32S(config)#

284

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

31-8 lldp notification

This command is used to enable the SNMP trap notification of LLDP data changes detected on advertisements received from neighbor devices on each physical interfaces. Use the no form of this command to return to the default settings.

lldp notification no lldp notification

Parameters

Default

None.

LLDP state of each physical interface is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Enable or disable each physical interface for sending change notifications to configured SNMP trap receiver(s) if an LLDP data change is detected in an advertisement received on the physical interface from an LLDP neighbor. The definition of change includes new available information, information timeout, and information updates. The changed type includes any data update, insertion, or removal.

Example

This example shows how to set the SNMP notification state to enable for a range of interfaces from interfaces 1-5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-5

DXS-3600-32S(config-if-range)#lldp notification

DXS-3600-32S(config-if-range)#

Example

This example shows how to set the SNMP notification state to default value for a range interface from interfaces 1-5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-5

DXS-3600-32S(config-if-range)#no lldp notification

DXS-3600-32S(config-if-range)#

31-9 lldp management-address

This command is used to enable the physical interface that is specified for advertising indicated management address instance. Use the no form of this command to return to the default settings.

lldp management-address {ipv4 ip-address | ipv6 ipv6-address}

no lldp management-address {ipv4 ip-address | ipv6 ipv6-address}

Parameters

ipv4 ip-address

ipv6 ipv6-address

Specifies the IPv4 address.

Specifies the IPv6 address.

Default

Command Mode

The LLDP management address entry of each physical interface is disabled.

Global Configuration Mode.

Command Default Level

Level: 12

285

Usage Guideline

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

This command specifies whether the system’s IP address needs to be advertised from the specified port.

For Layer 3 devices, each managed address can individually be specified.

The management addresses that are added in the list will be advertised in the LLDP from the specified interface, associated with each management address. The interface for that management address will be also advertised in the if-index form.

Example

This example shows how to enable ports 1 to 2 for setting the management address entry (IPv4).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-2

DXS-3600-32S(config-if-range)#lldp management-address ipv4 10.1.1.1

DXS-3600-32S(config-if-range)#

Example

This example shows how to enable ports 3 to 4 for setting the management address entry (IPv6).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 3-4

DXS-3600-32S(config-if-range)#lldp management-address ipv6 FE80::250:A2FF:FEBF:A056

DXS-3600-32S(config-if-range)#

Example

This example shows how to delete the management address entry (IPv4) from ports

1 to 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-2

DXS-3600-32S(config-if-range)#no lldp management-address ipv4 10.1.1.1

DXS-3600-32S(config-if-range)#

Example

This example shows how to delete the management address entry (IPv6) from ports

3 to 4.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface range tenGigabitEthernet 3-4

DXS-3600-32S(config-if-range)#no lldp management-address ipv6 FE80::250:A2FF:FEBF:A056

DXS-3600-32S(config-if-range)#

31-10 lldp transmit

This command is used to enable the LLDP advertise (transmit) capability. Use the no form of this command to return to the default settings.

lldp transmit no lldp transmit

Parameters

Default

None.

LLDP is disabled on all supported interfaces.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

None.

Example

This example shows how to enable the transmit state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp transmit

DXS-3600-32S(config-if)#

286

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

Example

This example shows how to disable the transmit state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp transmit

DXS-3600-32S(config-if)#

31-11 lldp receive

This command is used to enable the LLDP receive capability. Use the no form of this command to return to the default settings.

lldp receive no lldp receive

Parameters

Default

Command Mode

None.

LLDP is disabled on all supported interfaces.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

None.

Example

This example shows how to enable the receive state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp receive

DXS-3600-32S(config-if)#

Example

This example shows how to disable the receive state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp receive

DXS-3600-32S(config-if)#

31-12 lldp tlv-select

This command is used to specify which optional type-length-value settings (TLVs) in the 802.1AB basic management set will be transmitted and encapsulated in the LLDPDUs and sent to neighbor devices. To disable transmit the TLVs, use the no form of this command.

lldp tlv-select [port-description | system-capabilities | system-description | system-name | mac-phy-cfg] no lldp tlv-select [port-description | system-capabilities | system-description | system-name | mac-phy-cfg]

Parameters port-description system-capabilities system-description

Specifies the Port Description TLV to send or receive. The Port Description TLV allows network management to advertise the IEEE 802 LAN station’s port description.

Specifies the System Capabilities TLV to send or receive. The System Capabilities field shall contain a bit-map of the capabilities that define the primary function(s) of the system.

Specifies the System Description TLV to send or receive. The System Description should include the full name and version identification of the system’s hardware type, software operating system, and networking software.

287

system-name

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

Specifies the System Name TLV to send or receive. The System Name should be the system’s fully qualified domain name.

Default

Command Mode

No 802.1AB basic management TLV is selected.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command specifies the optional TLVs advertisement settings. If the optional

TLVs advertisement state enabled, they will be encapsulated in LLDPDU and sent to other devices.

Example

This example shows how to enable System Name TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp tlv-select system-name

DXS-3600-32S(config-if)#

Example

This example shows how to disable System Name TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp tlv-select system-name

DXS-3600-32S(config-if)#

31-13 lldp dot1-tlv-select

This command is used to specify which optional type-length-value settings (TLVs) in the IEEE 802.1 Organizationally

Specific TLV set will be transmitted and encapsulated in the LLDPDUs and sent to neighbor devices. To disable transmit the TLVs, use the no form of this command.

lldp dot1-tlv-select {port-vlan_id | port-and-protocol-vlan-id interface INTERFACE-ID [, | -] | vlan-name

interface INTERFACE-ID [, | -] | protocol-identify {eapol | lacp | gvrp | stp}}

no lldp dot1-tlv-select {port-vlan_id | port-and-protocol-vlan-id interface INTERFACE-ID [, | -] | vlan-name

interface INTERFACE-ID [, | -] | protocol-identify {eapol | lacp | gvrp | stp}}

Parameters port-vlan-id port-and-protocol-vlan-id

Specifies the Port And Protocol VLAN ID TLV to send and receive. The Port and

Protocol VLAN ID TLV is an optional TLV that allows a bridge port to advertise a port and protocol VLAN ID.

vlan-name

Specifies the Port VLAN ID TLV to send or receive. The Port VLAN ID TLV is an optional fixed length TLV that allows a VLAN bridge port to advertise the port’s VLAN identifier (PVID) that will be associated with untagged or priority tagged frames.

Specifies the VLAN Name TLV to send or receive. The VLAN Name TLV is an optional TLV that allows an IEEE 802.1Q-compatible IEEE 802 LAN station to advertise the assigned name of any VLAN with which it is configured.

protocol-identify

Specifies the Protocol Identity TLV to send or receive. The Protocol Identity TLV is an optional TLV that allows an IEEE 802 LAN station to advertise particular protocols that are accessible through the port.

This TLV optional data type indicates whether the corresponding Local System's

Protocol Identity instance will be transmitted on the port. The Protocol Identity TLV provides a way for stations to advertise protocols that are important to the operation of the network. Such as Spanning Tree Protocol, the Link Aggregation Control

Protocol, and numerous vendor proprietary variations are responsible for maintaining the topology and connectivity of the network. If EAPOL, GVRP, STP

(including MSTP), and LACP protocol identity is enabled on this port and it is enabled to be advertised, then this protocol identity will be advertised.

interface INTERFACE-ID Specifies the valid VLAN interface.

288

,

-

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

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Default

Command Mode

No IEEE 802.1 Organizationally specific TLV is selected.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

If the optional TLVs advertisement state enabled, they will be encapsulated in

LLDPDU and sent to other devices.

The Protocol Identity TLV optional data type indicates whether the corresponding

Local System's Protocol Identity instance will be transmitted on the port. The

Protocol Identity TLV provides a way for stations to advertise protocols that are important to the operation of the network. Such as Spanning Tree Protocol, the Link

Aggregation Control Protocol, and numerous vendor proprietary variations are responsible for maintaining the topology and connectivity of the network. If EAPOL,

GVRP, STP (including MSTP), and LACP protocol identity is enabled on this port and it is enabled to be advertised, then this protocol identity will be advertised.

Example

This example shows how to enable port-vlan-id TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp dot1-tlv-select port-vlan-id

DXS-3600-32S(config-if)#

Example

This example shows how to disables port-vlan-id TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp dot1-tlv-select port-vlan-id

DXS-3600-32S(config-if)#

Example

This example shows how to enable port-and-protocol-vlan-id TLV advertisement from VLAN 1-3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp dot1-tlv-select port-and-protocol-vlan-id interface 1-3

DXS-3600-32S(config-if)#

Example

This example shows how to disable port-and-protocol-vlan-id TLV advertisement from VLAN 1-3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp dot1-tlv-select port-and-protocol-vlan-id interface 1-3

DXS-3600-32S(config-if)#

Example

This example shows how to enable vlan-name TLV advertisement from VLAN 1-3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp dot1-tlv-select vlan-name interface 1-3

DXS-3600-32S(config-if)#

Example

This example shows how to disable vlan-name TLV advertisement from VLAN 1-3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp dot1-tlv-select vlan-name interface 1-3

DXS-3600-32S(config-if)#

289

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

Example

This example shows how to enable LACP Protocol Identity TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp dot1-tlv-select protocol-identify lacp

DXS-3600-32S(config-if)#

Example

This example shows how to disable LACP Protocol Identity TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp dot1-tlv-select protocol-identify lacp

DXS-3600-32S(config-if)#

31-14 lldp dot3-tlv-select

This command is used to specify which optional type-length-value setting (TLVs), in the IEEE 802.3 Organizationally

Specific TLV set, will be transmitted and encapsulated in the LLDPDUs and sent to neighbor devices. To disable transmit the TLVs, use the no form of this command.

lldp dot3-tlv-select {mac-phy-config-status | link-aggregation | power-via-mdi | max-frame-size} no lldp dot3-tlv-select {mac-phy-config-status | link-aggregation | power-via-mdi | max-frame-size}

Parameters mac-phy-config-status link-aggregation power-via-mdi max-frame-size

Specifies the MAC/PHY Configuration/Status TLV to send or receive. The MAC/PHY

Configuration/Status TLV is an optional TLV that identifies: a) The duplex and bit-rate capability of the sending IEEE 802.3 LAN node that is connected to the physical medium.

b) The current duplex and bit-rate settings of the sending IEEE 802.3 LAN node.

c) Whether these settings are the result of auto-negotiation during link initiation or of manual set overrideaction.

Specifies the Link Aggregation TLV to send or receive. The Link Aggregation TLV indicates whether the link is capable of being aggregated, whether the link is currently in an aggregation, and if in an aggregation, the port identification of the aggregation.

Specifies the Power via MDI TLV to send or receive. Three IEEE 802.3 PMD implementations (10BASE-T, 100BASE-TX, and 1000BASE-T) allow power to be supplied over the link for connected non-powered systems. The Power Via MDI TLV allows network management to advertise and discover the MDI power support capabilities of the sending IEEE 802.3 LAN station.

Specifies the Maximum Frame Size TLV to send or receive. The Maximum Frame

Size TLV indicates the maximum frame size capability of the implemented MAC and

PHY.

Default

Command Mode

No IEEE 802.3 Organizationally Specific TLV is selected.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command specifies the optional IEEE 802.3 Organizationally Specific TLVs advertisement settings. If the optional TLVs advertisement state enabled, they will be encapsulated in LLDPDU and sent to other devices

290

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

Example

This example shows how to enable MAC/PHY Configuration/Status TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp dot3-tlv-select mac-phy-config-status

DXS-3600-32S(config-if)#

Example

This example shows how to disable MAC/PHY Configuration/Status TLV advertisement.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no lldp dot3-tlv-select mac-phy-config-status

DXS-3600-32S(config-if)#

31-15 show lldp

This command is used to display the switch’s general LLDP configuration status.

show lldp

Parameters

Default

None.

None.

Command Mode

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Used to show LLDP system global configurations.

Example

DXS-3600-32S#show lldp

This example shows how to display the LLDP system global configuration status.

LLDP System Information

Chassis ID Subtype : MAC Address

Chassis ID : 00-01-02-03-04-00

System Name :

System Description : TenGigabit Ethernet Switch

System Capabilities : Repeater, Bridge

LLDP Configurations

LLDP Status : Disabled

LLDP Forward Status : Disabled

Message TX Interval : 30

Message TX Hold Multiplier: 4

ReInit Delay : 2

TX Delay : 2

Notification Interval : 5

DXS-3600-32S#

31-16 show lldp management-address

This command is used to display the LLDP management address information.

show lldp management-address [ipv4 ip-address | ipv6 ipv6-address]

291

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

Parameters ipv4 ip-address ipv6 ipv6-address

Specifies the IPv4 address used.

Specifies the IPv6 address used.

Default

Command Mode

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display the LLDP management address information.

Example

This example shows the output from the show lldp management-address ipv4 command. To display a specific management address information.

DXS-3600-32S#show lldp management-address ipv4 192.168.254.10

The following is sample Address 1

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

Subtype : IPV4

Address : 192.168.254.10

IF Type : IfIndex

OID : 1.3.6.1.4.1.171.10.127.1

Advertising Ports : 1-5

DXS-3600-32S#

Example

This example shows how to display all management address information.

DXS-3600-32S#show lldp management-address

Address 1 :

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

Subtype : IPv4

Address : 192.168.254.10

IF Type : IfIndex

OID : 1.3.6.1.4.1.171.10.127.1

Advertising Ports :

Total Entries : 1

DXS-3600-32S#

31-17 show lldp interface

This command is used to display the LLDP of each physical interface configuration for advertisement options.

show lldp interface interface-id [, | -]

Parameters

,

interface interface-id

-

Specifies the valid physicla interface.

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Default

None.

Command Mode

User EXEC Mode.

Command Default Level

Level: 3

292

Usage Guideline

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

This command displays the LLDP of each physical interface configuration for advertisement options.

Example

This example shows the output from the show lldp interface command. To display a specific physical interface configuration.

DXS-3600-32S#show lldp interface tenGigabitEthernet 1

Interface ID : 1

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

Admin Status : TX_and_RX

Notification Status : Disabled

Advertised TLVs Option :

Port Description Disabled

System Name Disabled

System Description Disabled

System Capabilities Disabled

Enabled Management Address

(None)

Port VLAN ID Disabled

Enabled Port_and_Protocol_VLAN_ID

(None)

Enabled VLAN Name

(None)

Enabled Protocol_Identity

(None)

MAC/PHY Configuration/Status Disabled

Link Aggregation Disabled

Maximum Frame Size Disabled

DXS-3600-32S#

31-18 show lldp local interface

This command is used to display the LLDP of each physical interface information currently available for populating outbound LLDP advertisements.

show lldp local interface interface-id [, | -] {brief | normal | detail}

Parameters

,

interface interface-id

brief normal detailed

Specifies the valid physical interface.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.

(Optional) Specifies a range of interfaces. No space before and after the hyphen.

Displays the information in brief mode.

Displays the information in normal mode. This is the default display mode.

Displays the information in detailed mode.

Default

None.

Command Mode

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command displays the LLDP of each physical interface information currently available for populating outbound LLDP advertisements.

293

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

Example

This example shows how to display outbound LLDP advertisements for an interface in detailed mode.

DXS-3600-32S#show lldp local interface tenGigabitEthernet 1 detail

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-01-02-03-05-00

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

Port PVID : 1

Management Address Count : 1

Subtype : IPv4

Address : 0.0.0.0

IF Type : IfIndex

OID : 1.3.6.1.4.1.171.10.127.1

PPVID Entries Count : 0

(None)

VLAN Name Entries Count : 1

Entry 1 :

VLAN ID : 1

VLAN Name : default

Protocol Identity Entries Count : 0

(None)

MAC/PHY Configuration/Status :

Auto-Negotiation Support : Supported

Auto-Negotiation Enabled : Not Enabled

Auto-Negotiation Advertised Capability : 8000(hex)

Auto-Negotiation Operational MAU Type : 0000(hex)

Link Aggregation :

Aggregation Capability : Aggregated

Aggregation Status : Not Currently in Aggregation

Aggregation Port ID : 0

Maximum Frame Size : 1536

DXS-3600-32S#

Example

This example shows how to display outbound LLDP advertisements for the interface in normal mode.

DXS-3600-32S#show lldp local interface tenGigabitEthernet 1 normal

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-01-02-03-05-00

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

Port PVID : 1

Management Address Count : 1

PPVID Entries Count : 0

VLAN Name Entries Count : 1

Protocol Identity Entries Count : 0

MAC/PHY Configuration/Status : (See Detail)

Link Aggregation : (See Detail)

Maximum Frame Size : 1536

DXS-3600-32S#

294

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

Example

This example shows how to display outbound LLDP advertisements for an interface in brief mode.

DXS-3600-32S#show lldp local interface tenGigabitEthernet 1 brief

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-01-02-03-05-00

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

DXS-3600-32S#

31-19 show lldp remote interface

This command is used to display the each physical interface information currently learned from the neighbor.

show lldp remote interface interface-id [, | -] {brief | normal | detail}

Parameters

,

interface interface-id

brief normal detailed

Specifies the valid physical interface.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.

(Optional) Specifies a range of interfaces. No space before and after the hyphen.

Displays the information in brief mode.

Displays the information in normal mode. This is the default display mode.

Displays the information in detailed mode.

Default

Command Mode

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command display the information learned from the neighbor parameters.

295

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

Example

This example shows how to display outbound LLDP advertisements for an interface in detailed mode.

DXS-3600-32S#show lldp remote interface tenGigabitEthernet 1 detail

Remote Entities Count : 1

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-02-03-04-05-06

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

Port PVID : 1

Management Address Count : 1

Subtype : IPv4

Address : 0.0.0.0

IF Type : IfIndex

OID : 1.3.6.1.4.1.171.10.127.1

PPVID Entries Count : 0

(None)

VLAN Name Entries Count : 1

Entry 1 :

VLAN ID : 1

VLAN Name : default

Protocol Identity Entries Count : 0

(None)

MAC/PHY Configuration/Status :

Auto-Negotiation Support : Supported

Auto-Negotiation Enabled : Not Enabled

Auto-Negotiation Advertised Capability : 8000(hex)

Auto-Negotiation Operational MAU Type : 0000(hex)

Link Aggregation :

Aggregation Capability : Aggregated

Aggregation Status : Not Currently in Aggregation

Aggregation Port ID : 0

Maximum Frame Size : 1536

DXS-3600-32S#

Example

This example shows how to display outbound LLDP advertisements for an interface in normal mode.

DXS-3600-32S#show lldp remote interface tenGigabitEthernet 1 normal

Remote Entities Count : 1

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-02-03-04-05-06

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

Port PVID : 1

Management Address Count : 1

PPVID Entries Count : 0

VLAN Name Entries Count : 1

Protocol Identity Entries Count : 0

MAC/PHY Configuration/Status : (See Detail)

Link Aggregation : (See Detail)

Maximum Frame Size : 1536

DXS-3600-32S#

296

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

Example

This example shows how to display outbound LLDP advertisements for an interface in brief mode.

DXS-3600-32S#show lldp remote interface tenGigabitEthernet 1 brief

Remote Entities Count : 1

Interface ID : 1

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

Port ID Subtype : MAC Address

Port ID : 00-02-03-04-05-06

Port Description : D-Link DXS-3600-32S R1.00.024 P

ort 1 on Unit 1

DXS-3600-32S#

31-20 show lldp statistic

This command is used to display the system global LLDP statistics information.

show lldp statistic

Parameters

Default

None.

None.

Command Mode

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The global LLDP statistics displays an overview of neighbor detection activity on the switch.

Example

This example shows how to display global statistics information.

DXS-3600-32S#show lldp statistic

Last Change Time : 6094

Number of Table Insert : 1

Number of Table Delete : 0

Number of Table Drop : 0

Number of Table Ageout : 0

DXS-3600-32S#

31-21 show lldp statistic interface

This command is used to display each physical interface LLDP statistics information.

show lldp statistic interface interface-id [, | -]

Parameters

,

interface interface-id

-

Specifies the valid physical interface.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.

(Optional) Specifies a range of interfaces. No space before and after the hyphen.

Default

Command Mode

None.

User EXEC Mode.

297

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

Command Default Level

Level: 3

Usage Guideline

The each physical interface LLDP statistics command displays each physical interface LLDP statistics

Example

This example shows how to display statistics information of an interface.

DXS-3600-32S#show lldp statistic interface tenGigabitEthernet 1

Interface ID : 1

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

LLDPStatsTXPortFramesTotal : 27

LLDPStatsRXPortFramesDiscardedTotal : 0

LLDPStatsRXPortFramesErrors : 0

LLDPStatsRXPortFramesTotal : 27

LLDPStatsRXPortTLVsDiscardedTotal : 0

LLDPStatsRXPortTLVsUnrecognizedTotal : 0

LLDPStatsRXPortAgeoutsTotal : 0

DXS-3600-32S#

298

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

LLDP-MED Commands

32-1 lldp-med fast-start-repeat-count

This command is used to set the fast start repeat count on the switch. Use the no form of this command to return to the default settings.

lldp-med fast-start-repeat-count value

no lldp-med fast-start-repeat-count

Parameters

value

Specifies the repeat count range from 1 to 10.

Default

4 times.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is used to configure the fast start repeat count. When an LLDP-MED

Capabilities TLV is detected for an MSAP identifier not associated with an existing

LLDP remote system MIB, then the application layer shall start fast start mechanism and shall set the ‘medFastStart’ timer to ‘medFastStartRepeatCount’ times 1.

Example

This example shows how to set LLDP MED fast start repeat count.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#lldp-med fast-start-repeat-count 10

DXS-3600-32S(config)#

32-2 lldp-med notification-topo-change

This command is used to enable the LLDP MED topology change notification. To disable LLDP MED topology change notification, use the no form of this command.

lldp-med notification-topo-change no lldp-med notification-topo-change

Parameters

Default

None.

Notification topology state is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Enable or disable each port for sending topology change notification to configured

SNMP trap receiver(s) if an endpoint device is removed or moved to another port.

Example

This example shows how to set LLDP MED topology change notification.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp-med notification-topo-change

DXS-3600-32S(config-if)#

32-3 lldp-med tlv-select

This command is used to specify which optional LLDP-MED TLV will be transmitted and encapsulated in the LLDPDUs and sent to neighbor devices. To disable transmit the TLVs, use the no form of this command.

299

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

lldp-med tlv-select {inventory-management | location | network-policy | power-management | capabilities} no lldp-med tlv-select {inventory-management | location | network-policy | power-management | capabilities}

Parameters inventory-management location network-policy power-management capabilities

This TLV type indicates that the LLDP agent should transmit 'LLDP-MED inventory

TLV'.

This TLV type indicates that the LLDP agent should transmit 'LLDP-MED location policy TLV'.

This TLV type indicates that the LLDP agent should transmit 'LLDP-MED network policy TLV'.

This TLV type indicates that the LLDP agent should transmit 'LLDP-MED extended

Power via MDI TLV' if local device is PSE device or PD device.

This TLV type indicates that the LLDP agent should transmit 'LLDP-MED capabilities

TLV'. If user wants to transmit LLDP-MED PDU, this TLV type should be enabled.

Otherwise, the interface cannot transmit LLDP-MED PDU

Default

Command Mode

No LLDP-MED TLV is selected.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is used to enable or disable transmit LLDP-MED TLVs.

Setting non-supported capability shall have no functional effect and will result in an inconsistent value error returned to the management application.

It’s effectively disables LLDP-MED on a per-port basis by disabling transmission of capabilities TLV. In this case the remote table’s objects in the LLDP-MED MIB corresponding to the respective port will not be populated.

Example

This example shows how to set LLDP MED inventory TLVs.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp-med tlv-select inventory-management

DXS-3600-32S(config-if)#

Example

This example shows how to enable LLDP-MED to transmit LLDP-MEDPDU.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#lldp-med tlv-select capabilities

DXS-3600-32S(config-if)#

32-4 show lldp-med

This command is used to display the switch’s global LLDP-MED configuration status.

show lldp-med

Parameters

Default

Command Mode

None.

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command displays the switch’s general LLDP-MED configuration status.

300

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

Example

DXS-3600-32S#show lldp-med

This example shows how to display the LLDP-MED system global configuration status.

LLDP-MED System Information:

Device Class : Network Connectivity Device

Hardware Revision :

Firmware Revision : 1.00.007

Software Revision : 1.00.024

Serial Number : D1234567890

Manufacturer Name : D-Link

Model Name : DXS-3600-32S TenGigabit Ethernet

Asset ID :

LLDP-MED Configuration:

Fast Start Repeat Count : 10

LLDP-MED Log State:Disabled

DXS-3600-32S#

32-5 show lldp-med interface

This command is used to display the LLDP-MED per port configuration for advertisement options.

show lldp-med interface interface-id [, | -]

Parameters

,

interface interface-id

-

Specifies the valid physical interface.

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Default

Command Mode

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command displays the LLDP-MED each interface configuration for advertisement options.

Example

This example shows how to display a specific physical interface configuration.

DXS-3600-32S#show lldp-med interface tenGigabitEthernet 1

Interface ID : 1

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

Topology Change Notification Status :Enabled

LLDP-MED Capabilities TLV :Enabled

LLDP-MED Inventory TLV :Enabled

DXS-3600-32S#

32-6 show lldp-med local

This command is used to display the each physical interface information currently available for populating outbound

LLDP-MED advertisements.

301

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

show lldp-med local interface interface-id [, | -] [capabilities | network_policy | location | extended_power]

Parameters

,

interface interface-id

capabilities network_policy location extended_power

Specifies the valid physical interface.

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Displays the LLDP-MED capabilities.

Displays the network policy.

Displays the location information.

Displays the power information.

Default

Command Mode

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command displays the each physical interface information currently available for populating outbound LLDP-MED advertisements.

Example

This example shows how to displays the each physical interface information currently available for populating outbound LLDP-MED advertisements.

DXS-3600-32S#show lldp-med local interface tenGigabitEthernet 1

Interface ID : 1

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

LLDP-MED Capabilities Support:

Capabilities :Support

Network Policy :Not Support

Location Identification :Not Support

Extended Power Via MDI PSE :Not Support

Extended Power Via MDI PD :Not Support

Inventory :Support

DXS-3600-32S#

32-7 show lldp-med remote

This command is used to display each physical interface’s information, currently learned from the neighbor.

show lldp-med remote interface interface-id [, | -] [capabilities | network_policy | location | extended_power]

Parameters

,

interface interface-id

capabilities network_policy location extended_power

Specifies the valid physical interface.

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Displays the LLDP-MED capabilities.

Displays the network policy.

Displays the location information.

Displays the power information.

302

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

Default

Command Mode

None.

User EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Used to display the LLDP-MED information learned from the neighbor.

Example

This example shows how to display the LLDP-MED information learned from the neighbor.

DXS-3600-32S#show lldp-med remote interface tenGigabitEthernet 1

Interface ID : 1

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

Remote Entities Count : 0

(None)

DXS-3600-32S#

303

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

Memory Commands

33-1 show memory

This command is used to display the current memory usage information.

show memory

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to view the current system memory state and usage information, including the memory information about DRAM and FLASH.

Example

DXS-3600-32S#show memory

This example shows the current memory usage information.

DRAM Utilization :

Total DRAM : 524288 KB

Used DRAM : 309220 KB

Utilization : 58 %

Flash Memory Utilization :

Total Flash : 126002 KB

Used Flash : 5271 KB

Utilization : 4 %

DXS-3600-32S#

304

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

Mirror Commands

34-1 monitor session

This command is used to monitor a session, create a mirror session, and to specify the destination port or source port.

The no form of the command is used to delete the whole session or delete the source port, destination port, acl mirror separately.

monitor session session_number {source interface interface-id [,|-] [{both | rx | tx}] |

destination interface interface-id [acl name]}

no monitor session session_number [{source interface interface-id [,|-] [{both | rx | tx}] |

destination interface interface-id [acl name]}]

Parameters

session_number

source

,

interface interface-id

both rx tx destination

interface interface-id

acl

name

Specifies the mirror session number.

Specifies the source port interface.

Specifies the physical interface ID used.

(Optional) Specifies a series of physical interfaces. No space before and after the comma.

(Optional) Specifies a range of physical interfaces. No space before and after the hyphen.

Specifies to monitor the inbounding and outbounding frames simultaneously.

Specifies to monitor only the inbounding frames.

Specifies to monitor only the outbounding frames.

Specifies the destination port, it can be one physical or a trunk member interface.

Specifies the physical interface ID used.

Specifies the flow-based mirror. Only the ingress mirror is supported.

Specifies the ACL name for the monitor session. If the ACL does not exist, then the flow-based mirror cannot be set.

Default

No monitoring session.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can be used to mirror all the packets received or sent at a port to another port for analysis. The valid interfaces for this command are physical port or trunk member port.

The user can configure one or multiple mirror session, the mirror function does not affect the normal operation of the switch. You can configure a mirror session on disabled ports. However, the mirror does not work unless you enable the source and destination ports.

A port can not be configured as the source port and the destination port at the same time, the source and destination port can reside in the same VLAN or different

VLANs. For each mirror session, source interface can be many ports, but destination interface can be a physical port or logical port.

Number of mirror ports are 4 MTPs, MTPs port can be same or different. For a mirrored packet, do no VLAN membership check, MTP port need not be member of all VLANs. An MTP port can be a logical port, if for trunk.

305

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

If the source ports overlapped with the destination trunk member ports while configure mirror session, the switch can be configured successfully and that the mirror cannot be worked well.

The flow-based mirror also can be supported, but only is ingress mirror. It will not affect mirror function and can be worked well simultaneously.

You will remove the whole session if you do not specify the source port or the destination port.

Use show monitor to display mirror session configurations.

Example

This example shows how to create mirror sessions:

Session 1: The source ports are 1-3, destination port is 9, RX and TX traffic are mirrored, the name of the ACL mirror is ‘mac_based_mirr’.

Session 2: The source port is 5, destination port is 21 and it is a member of trunk group 1, only RX traffic are mirrored.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#monitor session 1 source interface tenGigabitEthernet 1-3

DXS-3600-32S(config)#monitor session 1 destination interface tenGigabitEthernet 9 acl mac_based_mirr

DXS-3600-32S(config)#monitor session 2 destination interface tenGigabitEthernet 21

DXS-3600-32S(config)#monitor session 2 source interface tenGigabitEthernet 5 rx

DXS-3600-32S(config)#

Example

This example shows how to remove mirror sessions:

Session 1: Remove RX mode of mirrored traffic for the source port 3.

Session 2: Remove the whole mirror session 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no monitor session 1 source interface tenGigabitEthernet 3 rx

DXS-3600-32S(config)#no monitor session 2

DXS-3600-32S(config)#

34-2 no monitor session all

This command is used to delete all the monitor sessions directly.

no monitor session all

Parameters

Default

Command Mode

None.

All the monitor sessions are removed.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can be used to remove all the mirror sessions, and include bonded

flow_based mirrors.

Example

This example shows how to remove all the mirror sessions.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no monitor session all

DXS-3600-32S(config)#

34-3 show monitor

This command is used to display monitor sessions.

show monitor [session session_number]

306

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

Parameters

session_number

Specifies the mirror session number to display.

Default

Command Mode

All the monitor sessions are displayed.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The command can be used to display mirror sessions. All monitor sessions are displayed if you do not specify the session number.

Example

DXS-3600-32S#show monitor

This example shows how to display all the mirror sessions.

sess-num: 1

src-intf:

TenGigabitEthernet1 frame-type Both

TenGigabitEthernet2 frame-type Both

TenGigabitEthernet3 frame-type Both

dest-intf:

TenGigabitEthernet9

acl-name: mac_based_mirr

sess-num: 2

src-intf:

TenGigabitEthernet5 frame-type RX

dest-intf:

TenGigabitEthernet21 / port-group 1

acl-name:

DXS-3600-32S#

Display Parameters sess-num src-intf frame-type dest-intf acl-name

Description

Mirror session number, the range is from 1 to 4.

The source port list of mirror session.

The mode of mirrored traffic, such as RX, TX and both.

The destination port of mirror session. If it is a trunk member, the trunk group id will be also displayed.

The ACL name of flow_based mirror.

307

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

Multicast Filter Mode Commands

35-1 multicast filtering-mode

This command is used to configure multicast packets filtering mode for VLANs. To restore the default configuration, use

no form of this command.

multicast filtering-mode {forward-all | forward-unregistered | filter-unregistered} no multicast filtering-mode

Parameters forward-all forward-unregistered filter-unregistered

Specifies to flood all multicast packets based on the VLAN domain.

Specifies to forward the registered multicast packets based on the forwarding table, and flood all un-registered multicast packets based on the VLAN domain.

Specifies to forward the registered packets based on the forwarding table, and filter all un-registered multicast packets.

Default

The default selection is forward-unregistered.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

When a multicast packet arrives, the switch will look up forwarding table for this packet. If the lookup failed, the destination group is an unregistered group.

A forwarding entry lookup failed multicast packet is called unregistered packet, which will be forwarded according to the multicast filter mode setting on the VLAN, which might be VLAN flooding or dropping.

To verify your configuration, use the command show multicast filtering-mode.

Example

This example shows how to configure the filter mode for VLAN 1 to filterunregistered mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#multicast filtering-mode filter-unregistered

DXS-3600-32S(config-vlan)#

Example

This example shows how to set the filter mode for VLAN 2 back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1

DXS-3600-32S(config-vlan)#no multicast filtering-mode

DXS-3600-32S(config-vlan)#

35-2 show multicast filtering-mode

This command is used to display multicast information for VLANs.

show multicast filtering-mode [vlan <VLAN-ID>]

Parameters

VLAN-ID

Specifies the VLAN ID to be displayed.

Default

None.

308

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

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display information about the multicast filter mode configuration.

Example

This example shows how to display multicast filter mode information for all VLANs.

DXS-3600-32S#show multicast filtering-mode

VLAN ID/VLAN Name Multicast Filter Mode

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

1 /default forward-unregistered

2 /VLAN002 forward-all

3 /VLAN003 filter-unregistered

DXS-3600-32S#

Example

This example shows how to display multicast filter information for VLAN 1.

DXS-3600-32S#show multicast filtering-mode vlan 1

VLAN ID/VLAN Name Multicast Filter Mode

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

1 /default forward-unregistered

DXS-3600-32S#

309

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

Network Connectivity Test Commands

36-1 ping

This command is used to test the connectivity of a network.

ping {[ip] ip-address | host-name} [ntimes times] [timeout seconds] [source source]

Parameters

ip-address host-name times seconds source

Specifies the destination IPv4 address.

Specifies the destination’s host name.

Specifies the number of packets to be sent.

Specifies the time out value.

Specifies the source IPv4 address.

Default

By default the times is infinity, the timeout is 1 second.

Command Mode

Privileged Mode.

Command Default Level

Level: 1

Usage Guideline

This command tests the connectivity of a network.

Example

This example shows how to tests the connectivity of a network.

DXS-3600-32S#ping ip 192.168.69.66

Reply from 192.168.69.66, time<10ms

Reply from 192.168.69.66, time<10ms

Reply from 192.168.69.66, time<10ms

Reply from 192.168.69.66, time<10ms

Ping Statistics for 192.168.69.66

Packets: Sent =4, Received =4, Lost =0

DXS-3600-32S#

36-2 traceroute

This command is used to trace the routed path between the switch and a destination end station.

traceroute {[ip] ip-address | host-name} [probe number] [timeout seconds] [ttl maximum]

Parameters

ip-address host-name number seconds maximum

Specifies the IPv4 address of the destination end station.

Specifies the host name of the destination end station.

Specifies the number of probe packets for each TTL.

Specifies the timeout period while waiting for a response from the remote device.

Specifies the maximum number of routers that a trace route packet can cross, while seeking the network path between two devices.

Default

Command Mode

The default probe number is 1, timeout is 5 seconds and maximum TTL is 30.

Privileged Mode.

Command Default Level

Level: 1

310

Usage Guideline

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

This command is used to trace the routed path between the switch and a destination end station.

Example

This example shows how to trace the routed path between the switch and a destination end station.

DXS-3600-32S#traceroute 30.1.1.1

<10 ms 20.1.1.1

<10 ms 30.1.1.1

Trace complete.

DXS-3600-32S

311

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

Open Shortest Path First (OSPF) Version 2 Commands

37-1 area

This command is used to create an OSPF area. To remove an area, use the no form of this command.

area area-id

no area area-id

Parameters

area-id

Specifies the ID of the area. The ID should be specified as an IP address.

Default

The backbone area (0.0.0.0) is created by default.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The area created by this command is a normal area. Users can not create an existed area.

Use the no form of this command to remove a specified OSPF area and its configuration, including the removal of the area-based configuration commands, such as area default-cost, area nssa. Users can not remove the backbone area.

There is a limitation about number of OSPF areas and it depends on project.

Users can verify the settings by entering the show ip ospf or show ip ospf area command.

Example

This example shows how to create an OSPF area with area ID 0.0.0.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.1

DXS-3600-32S(config-router)#

Example

This example shows how to remove the area 0.0.0.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#no area 0.0.0.1

DXS-3600-32S(config-router)#

37-2 area default-cost

This command is used to specify the cost associated with the default summary route that will be automatically injected to the stub area and no-so-stubby area (NSSA). Use the no command to restore to the default setting.

area area-id default-cost cost

no area area-id default-cost

Parameters

area-id cost

Specifies the ID of the area. The ID should be specified as an IP address.

Specifies the cost for the default summary route used for a stub or NSSA area. The range of value is 0~65535.

Default

The default value is 1.

312

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

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command on the area border router (ABR) that is attached to stub area or

NSSA area to specify the cost associated with the default summary route generated by the ABR into the area. One area must be created before set its default cost.

This command can only take effect on the stub area or NSSA area.

Users can verify the settings by entering the show ip ospf or show ip ospf area command.

Example

This example shows how to assign a default cost of 20 to stub area 0.0.0.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.1 stub

DXS-3600-32S(config-router)#area 0.0.0.1 default-cost 20

DXS-3600-32S(config-router)#

37-3 area nssa

This command is used to assign an area as a NSSA area. Use the no command to remove the NSSA related settings associated with the area.

area area-id nssa [no-summary] [translate]

no area area-id nssa [no-summary] [translate]

Parameters

area-id

no-summary translate

Specifies the ID for the NSSA area. The ID should be specified as an IP address.

(Optional) Specifies to prohibit summary routes advertised into the NSSA area. This function only take effect when the router is an ABR.

(Optional) Specifies if leak type 7 LSA into other areas.

Default

Command Mode

By default no NSSA area is defined.

By default no-summary is not specified.

By default translate is not specified.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The command no area area-id nssa removes all NSSA related settings associated with the area and the area becomes a normal area. Otherwise, use no command with keyword no-summary or translate, the area remains as a NSSA area and the specified parameter is unset.

A NSSA allows external routes to be advertised to the area in type 7 LSA. These routes then could be leaked into other areas if translate option is used. Although, the external routes from other areas still do not enter the NSSA.

313

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

Use the area nssa command to simplify administration if you are connecting a central site using OSPF to a remote site that is using a different routing protocol. You can extend OSPF to cover the remote connection by defining the area between the central router and the remote router as a NSSA.

For ASBR NSSA re-distribute, external routes will only be redistributed to NSSA area when redistribution is configured for the associated OSPF process. The external routes from other area within the same AS will not be injected to the NSSA area.

If there are multiple default routes generated into the NSSA area, the following priority will be followed: intra-route > inter-route > external route.

Users can verify the settings by entering the show ip ospf or show ip ospf area command.

Example

This example shows how to assign OSPF area 0.0.0.2 to be a NSSA area and leak type 7 LSA into other areas.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.1 nssa no-summary

DXS-3600-32S(config-router)#area 0.0.0.2 nssa translate

DXS-3600-32S(config-router)#

37-4 area range

This command is used to summarize OSPF routes at an area border router (ABR). Use the no command to remove the defined summarization of routes.

area area-id range ip-address net-mask [{advertise | not-advertise}]

no area area-id range ip-address net-mask

Parameters

area-id ip-address net-mask

advertise not-advertise

Specifies the area from which the routes will be summarized. The ID should be specified as an IP address.

Specifies the IP address. With net-mask to inform the network segment whose routes are to be aggregated.

Specifies the IP address mask.

(Optional) Specifies the area range will be advertised.

(Optional) Specifies the area range will not be advertised.

Default

By default no area range is configured for one area.

By default advertise is specified.

Router Configuration Mode.

Command Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Users can use this command on the area border router to summarize the intra-area routes. This command can be used to specify the summarized route for area 0 or for non-zero area.

Multiple area range commands can be configured. Thus, OSPF can summarize addresses for multiple sets of address ranges.

Users can verify the settings by entering the show ip ospf command.

314

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

Example

This example shows how to set one area range 192.168.0.0/255.255.0.0 in area

0.0.0.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.1

DXS-3600-32S(config-router)#area 0.0.0.1 range 192.168.0.0 255.255.0.0

DXS-3600-32S(config-router)#

37-5 area stub

This command is used to assign an area as a stub area. Use the no command to remove the stub related settings associated with the area.

area area-id stub [no-summary]

no area area-id stub [no-summary]

Parameters

area-id

no-summary

Specifies the ID for the stub area. The ID should be specified as an IP address.

(Optional) Specifies to prohibit summary routes advertised into the stub area .this will make the stub area becomes a totally stub area.

Default

By default no stub area is configured.

By default no-summary is not specified.

Router Configuration Mode.

Command Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The command no area area-id stub removes all stub related settings associated with the area and the area becomes a normal area. Otherwise, use no command with keyword no-summary, the area remains as a stub area and the specified parameter is unset.

Use the no-summary keyword to specify the area as a totally stubby area when the routers in the area do not requires to know the inter-area routes except type 3 default route.

Users can verify the settings by entering the show ip ospf or show ip ospf area command.

Example

This example shows how to assign OSPF area 0.0.0.2 to be a stub area and prohibit summary routes advertised into this area.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.2 stub

DXS-3600-32S(config-router)#area 0.0.0.2 stub no-summary

DXS-3600-32S(config-router)#

37-6 area virtual-link

This command is used to configure a link for a non-backbone area that is physically separated from the backbone area.

Use the no command to remove a virtual link.

area area-id virtual-link router-id [authentication [{message-digest | null}]] [dead-interval seconds] [hello-

interval seconds] [[authentication-key password] | [message-digest-key key-id md5 key]]

no area area-id virtual-link router-id

315

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

Parameters

area-id router-id

authentication message-digest null

hello-interval seconds

dead-interval seconds

authentication-key

password

message-digest-key key-

id md5 key

Specifies the identifier of the area to establish the virtual link.

Specifies the Router ID of the virtual link neighbor.

(Optional) Specifies authentication type. If the authentication type is not specified for the virtual-link, the simple password authentication type for the area will be used.

(Optional) Specifies that MD5 authentication is used for the virtual link.

(Optional) Specifies that no authentication is used.

(Optional) Specifies the interval in seconds that the router sends the hello packet on the virtual link. The valid setting is 1-65535.

(Optional) Specifies the interval in seconds that a neighbor is regarded as off-line if no hello packets are received within that time. The valid setting is 1-65535.

(Optional) Specifies up to 8 bytes long password used for simple password authentication.

(Optional) Specifies up to 16 bytes long digest key for MD5 authentication. The range of key-id is 1-255.

Default

Command Mode

By default no virtual-link is configured.

Default authentication type is null.

Default hello-interval is 10 seconds.

Default dead-interval is 60 seconds.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

In the OSPF routing domain, all areas must be connected with the backbone area. If an area disconnects from the backbone area, it requires establish a virtual link to connect the backbone area. Otherwise, the network communication will become abnormal.

The virtual link requires a connection between two ABR. The area that belongs to both ABR is called the transition area. A stub Area or NSSA area cannot act as a transition area.

The virtual link is a point to point link. The router will send the OSPF message to the neighbor router via unicast IP packet.

The simple text authentication type and MD5 authentication type are mutually exclusive.

The Dead interval must be larger than and multiple as Hello interval.

Users can verify the settings by entering the show ip ospf or show ip ospf virtual-

link command.

Example

This example shows how to configure a virtual link with neighbor 3.3.3.3 and set the authentication type to simple password with password “yourpass”.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#area 0.0.0.1

DXS-3600-32S(config-router)#area 0.0.0.1 virtual-link 3.3.3.3 dead-interval 10 hello-interval 5

DXS-3600-32S(config-router)#area 0.0.0.1 virtual-link 3.3.3.3 authentication authentication-key yourpass

DXS-3600-32S(config-router)#

Example

This example shows how to set this virtual link’s authentication type to MD5.

DXS-3600-32S(config-router)#area 0.0.0.1 virtual-link 4.4.4.4 authentication message-digest message-digest-key 1 md5 1234567812345678

DXS-3600-32S(config-router)#

316

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

37-7 clear ip ospf process

This command is used to restart the OSPF process.

clear ip ospf process

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to restart the OSPF protocol. If the OSPF is disabled before this command executed, nothing will be done.

Example

This example shows how to restart OSPF.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear ip ospf process

DXS-3600-32S(config)#

37-8 default-information originate

This command is used to generate a default external route (AS external LSA) into the OSPF routing domain. Use no command to disable the generation of AS external LSA default route.

default-information originate [always] [metric metric-value]

no default-information originate [always] [metric metric-value]

Parameters always

metric metric-value

(Optional) Always generate the default route regardless of existence of a local default route.

(Optional) Specifies the cost associated the generated default route. The value range is 1 to 65535.

Default

Command Mode

By default, this function is disabled.

The default value of metric is 1.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When the default-information originate command is used to import an AS external default route (network 0.0.0.0/0) into an OSPF routing domain, the router will automatically becomes an ASBR.

If always is specified, the default route is generated all the time. If always is not specified, the default route will only be generated when the default route exists locally.

Users can verify the settings by entering the show ip ospf command.

Example

This example shows how to enable the default-information originate function and set the metric to 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#default-information originate metric 10

DXS-3600-32S(config-router)#default-information originate always

DXS-3600-32S(config-router)#

317

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

37-9 default-metric

This command is used to set the default metric value of OSPF redistributed routes. Use the no command to restore to the default value.

default-metric metric

no default-metric

Parameters

metric

Specifies the default metric value of OSPF redistributed routes. The value range is 1 to 16777214.

Default

Command Mode

The default metric value of OSPF redistributed routes is 20.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The default-metric command is used in conjunction with the redistribute command to cause the OSPF to use the default metric value for the redistributed routes that have no metric specified.

Precedence of setting to determine the metric are: set metric in route map > metric in redistributed command > default-metric setting.

Users can verify the settings by entering the show ip ospf command.

Example

This example shows how to set the default metric value of OSPF redistributed routes to 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#default-metric 10

DXS-3600-32S(config-router)#

37-10 route-preference ospf

This command is used to set the management route preference of different types of OSPF routes. Use the no command to restore to the default value.

route-preference ospf {intra-area value | inter-area value | external-1 value | external-2 value}

no route-preference ospf

Parameters

intra-area value

inter-area value

external-1 value

external-2 value

(Optional) Specifies the route preference for all routes within an area. The value range is 1 to 999.

(Optional) Specifies the route preference for all routes from one area to another area. The value range is 1 to 999.

(Optional) Specifies the route preference for type-1 routes from other routing domains. The value range is 1 to 999.

(Optional) Specifies the route preference for type-2 routes from other routing domains. The value range is 1 to 999.

318

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

Default

Command Mode

The default values are:

intra-area: 80.

inter-area: 90

external-1: 110

external-2: 115

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to set the route preference of different types of OSPF routes. A route preference is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. In general, the higher the value, the lower the trust rating is.

Please note that changing route preference of routes may cause routing loop.

Users can verify the settings by entering the show ip route-preference command.

Example

This example shows how to change route preference of OSPF routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#route-preference ospf intra-area 50

DXS-3600-32S(config-router)#

37-11 distribute-list in

This command is used to configure LSA filtering. Use the no command to restore to the default value.

distribute-list list-name in [ipif_name]

no distribute-list list-name in [ipif_name]

Parameters

list-name ipif_name

Specifies to use one access list.

(Optional) Specifies the name of the interface. If not specified, the configuration will apply to all interfaces.

Default

By default no distribute list in is configured.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This configuration filters OSPF routes, and those matching the filtering conditions will be or not be inserted into routing table with the access list permitting or denying clause. It does not affect the link status database or the routing table of the neighbors. It only affects the routing entries calculated by the local OSPF.

In the case, if there are one ECMP route, and one next hop of the ECMP route math the denying clause of access list, the route also should not be inserted into routing table with other next hops, namely the ECMP route is filtered from the routing table.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the distribute list in on the System interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#distribute-list 3 in System

DXS-3600-32S(config-router)#

319

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

37-12 ip ospf authentication

This command is used to configure the authentication type for an OSPF interface. Use the no command to restore to default value.

ip ospf authentication [{message-digest | null}] no ip ospf authentication

Parameters message-digest null

(Optional) Specifies to use the MD5 authentication.

(Optional) Specifies that no authentication is used.

Default

Command Mode

By default no authentication is configured.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The authentication type can be simple password authentication or MD5 authentication.

Use no ip ospf authentication or ip ospf authentication null command to remove the authentication.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the System interface (VLAN 1) authentication type to simple password.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf authentication

DXS-3600-32S(config-if)#ip ospf authentication-key yourpass

DXS-3600-32S(config-if)#

Example

This example shows how to set the System interface (VLAN 1) authentication type to

MD5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf authentication message-digest

DXS-3600-32S(config-if)#ip ospf message-digest-key 10 md5 yourpass

DXS-3600-32S(config-if)#

Example

This example shows how to remove the authentication on System interface (VLAN

1).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf authentication null

DXS-3600-32S(config-if)#

Example

This example shows how to remove the authentication on System interface (VLAN

1).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip ospf authentication

DXS-3600-32S(config-if)#

320

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

37-13 ip ospf authentication-key

This command is used to configure the plain text authentication key for an OSPF interface. Use the no command to delete the plain text authentication key.

ip ospf authentication-key password

no ip ospf authentication-key

Parameters

password

Specifies up to 8 bytes for the plain text authentication key. The syntax is general string that does not allow space.

Default

Command Mode

By default no key is configured.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command creates a password (key) that is inserted into the OSPF header when the router originates routing protocol packets. Assign a separate password to each network for different interfaces. Routers on the same network must use the same password to be able to exchange OSPF routing data.

Use the ip ospf authentication command to enable authentication. Configure the routers in the same routing domain with the same password.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the System interface (VLAN 1) authentication type to simple password.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf authentication

DXS-3600-32S(config-if)#ip ospf authentication-key yourpass

DXS-3600-32S(config-if)#

37-14 ip ospf cost

This command is used to configure the cost of sending a packet on an OSPF interface. Use the no command to restore to the default value.

ip ospf cost cost

no ip ospf cost

Parameters

cost

Specifies the OSPF interface cost. The value range is 1 to 65535.

Default

Command Mode

The default value is 1

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The interface cost reflects the overhead for sending the packet across the interface.

This cost is advertised as the link cost in the router link advertisement. The cost is inversely proportional to the speed of an interface. The cost can be either manually assigned or be automatically determined.

Users can verify the settings by entering the show ip ospf interface command.

321

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

Example

This example shows how to set System interface’s OSPF interface cost to 2,

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf cost 2

DXS-3600-32S(config-if)#

37-15 ip ospf dead-interval

This command is used to configure the interval during which at least one hello packet form a neighbor must be received before it is declared dead. Use the no command to restore it to the default value.

ip ospf dead-interval seconds

no ip ospf dead-interval

Parameters

seconds

Specifies the interval in seconds. The value range is 1 to 65535.

Default

The default interval is 40 seconds.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The dead-interval is the amount of time that the router waits to receive an OSPF hello packet from the neighbor before declaring the neighbor down. This value is advertised in the router’s hello packets. It must be the same for all routers on a specific network.

Please note that the dead-interval can not be less than the hello-interval and must be multiple times as hello-interval.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the dead-interval of System interface (VLAN 1) to 60 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf dead-interval 60

DXS-3600-32S(config-if)#

37-16 ip ospf hello-interval

This command is used to configure the interval between hello packets. Use the no command to restore it to the default value.

ip ospf hello-interval seconds

no ip ospf hello-interval

Parameters

seconds

Specifies the interval in seconds. The value range is 1 to 65535.

Default

Command Mode

The default interval is 10 seconds.

Interface Configuration Mode.

322

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

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The hello-interval is advertised in the hello packets.

Configure the same hello-interval for all routers on a specific network. A shorter hello interval ensures faster detection of topological changes but generates more routing traffic and might cause routing instability.

Please note that the dead-interval can not be less than the hello-interval and must be multiple times as hello-interval.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the hello-interval of System interface (VLAN 1) to 60 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf hello-interval 50

DXS-3600-32S(config-if)#

37-17 ip ospf message-digest-key

This command is used to configure the MD5 digest key for OSPF interface. Use the no command to delete the MD5 key.

ip ospf message-digest-key key-id md5 key

no ip ospf message-digest-key

Parameters

key-id key

Specifies a value for MD5 key identifier. The value range is 1 to 255.

Specifies up to 16 characters for the OSPF MD5 message digest key. The syntax is general string that does not allow space.

Default

By default no MD5 key is configured.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The authentication for OSPF messages can be either operated in password mode or

MD5 digest mode. This command defines the message digest key used by the MD5 digest mode.

In MD5 digest mode, the OSPF message sender will compute a message digest based on the message digest key for the TX message. The message digest and the key ID will be encoded in the packet. The receiver of the packet will verify the digest in the message against the digest computed based on the locally defined message digest key corresponding to the same key ID.

The same key ID on the neighboring router should be defined with the same key string.

All the neighboring routers on the same interface must use the same key to exchange the OSPF packet with each other. Normally, all neighboring routers on the interface use the same key

Users can verify the settings by entering the show ip ospf interface command.

323

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

Example

This example shows how to set the System interface (VLAN 1) authentication type to

MD5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf authentication message-digest

DXS-3600-32S(config-if)#ip ospf message-digest-key 10 md5 yourpass

DXS-3600-32S(config-if)#

37-18 ip ospf priority

This command is used to configure the router priority that is used to determine the designated router for the network.

Use the no command to restore it to the default value.

ip ospf priority priority

no ip ospf priority

Parameters

priority

Specifies the priority of the router on the interface. The value range is 0 to 255.

Default

The default priority is 1.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The OSPF router will determine a designated router for the multi-access network.This command sets the priority used to determine the OSPF Designated

Router (DR) for a network. If two routers attempt to become the DR, the router with the higher router priority will be elected the DR. If the routers have the same priority, the router with the higher router ID takes precedence.

Only routers with nonzero router priority values are eligible to become the designated or backup designated router.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set the priority of the System interface (VLAN 1) to 50.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip ospf priority 50

DXS-3600-32S(config-if)#

37-19 network area

This command is used to enable OSPF routing with a specified Area ID on interfaces with IP addresses that match or belong to the specified network address. Use the no command to remove the configuration.

network ipaddr netmask area area-id

no network ipaddr netmask area area-id

Parameters

ipaddr netmask area-id

Specifies the IP address of the interface.

Specifies the IP netmask of the interface.

Specifies the identifier of the area to be associated with the OSPF address range.

324

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

Default

Command Mode

All interfaces belong to backbone area.

The OSPF is disabled on each interface.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

OSPF routing can be enabled per IPv4 subnet basis. Each subnet can belong to one particular OSPF area.

Use no form of this command to remove the subnet from one particular OSPF area to backbone area and the administrative state of the interface becomes disabled.

When the area range are configured, and the area range network contain the subnet, the subnet should be moved into the area of the range. And user can’t change the area of the network, and when the ospf status of the subnet is enable, user can’t configure the status of subnet to disable, except remove the area range configuration.

Users can verify the settings by entering the show ip ospf or show ip ospf

interface command.

Example

This example shows how to enable OSPF interface (10.1.1.1/8) and set it to area

0.0.0.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#network 10.1.1.1 255.0.0.0 area 0.0.0.1

DXS-3600-32S(config-router)#

37-20 passive-interface

This command is used to configure the specified OSPF interface as passive interface. Use the no command to restore to the default value.

passive-interface {default | interface ipif_name}

no passive-interface {default | interface ipif_name}

Parameters default

interface ipif_name

Specifies all the interfaces as passive interfaces.

Specifies the interface with this name as passive interface.

Default

Command Mode

By default, no interface is configured as passive interface.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

If an interface is passive, the OSPF protocol packets are neither sent nor received through the specified interface.

Users can verify the settings by entering the show ip ospf interface command.

Example

This example shows how to set all the interfaces to be passive.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#passive-interface default

DXS-3600-32S(config-router)#

325

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

Example

This example shows how to set the System interface to be passive.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#passive-interface interface System

DXS-3600-32S(config-router)#

37-21 redistribute

This command is used to redistribute external routing information into the OSPF routing domain. Use no command to disable redistribution.

redistribute {connected | static | rip | bgp} [metric metric | metric-type {1 | 2} | route-map map-name]

no redistribute {connected | static | rip | bgp} [metric metric | metric-type {1 | 2} | route-map map-name]

Parameters connected static rip bgp

metric metric

metric-type {1 | 2}

route-map map-name

Specifies to redistribute connected routes to OSPF.

Specifies to redistribute static routes to OSPF.

Specifies to redistribute rip routes to OSPF.

Specifies to redistribute bgp routes to OSPF.

(Optional) Specifies the metric for the redistributed routes. The value range is 0-

16777214. If it is not specified or specified as 0, the redistributed routes will be associated with the metric as specified with the command default-metric.

(Optional) Allows the selection of one of two methods for calculating the metric value.

1 - Calculates the metric (for other routing protocols to OSPF) by adding the destination’s interface cost to the metric entered in the Metric field.

2 - Uses the metric entered in the Metric field without change. If the metric type is not specified, it will be type 2.

(Optional) Specifies a route map which will be used as the criteria to determine whether to redistribute specific routes. This map-name can be up to 16 characters long.

Default

Command Mode

By default route redistribution is disabled.

By default metric-type is 2.

By default no route map is used.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

326

Usage Guideline

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

External Routes can be redistributed to normal area as type 5 external routes, and redistributed to NSSA stub area as type 7 external routes by ASBR.

The external route type can be type 1 or type 2. If the redistributed external route is of type 1, the metric represents the internal metric. If the redistributed external route is of type 2, the metric represents the external metric. An internal metric will consider the cost of the route from itself to the redistributing router plus the advertised cost to reach the destination. An external metric only considers the advertised metric to reach the destination.

By default, connected and static route will not be re-distributed either.

Use the redistribute or the default-information router configuration commands make the router becomes an ASBR.

If a metric is not specified, metric will be the value set by default metric command. If no value specified by default metric, routes redistributed from other protocols will get

20 as the metric value with the following exception. BGP will get 1 as the metric value.

Note that if the redistricted route is a default route, then the metric is determined by default-information originate command.

Users can verify the settings by entering the show ip ospf command.

Example

This example shows how to enable redistribution of RIP routes into the OSPF routing domain and set the metric to 5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#redistribute rip metric 5 metric-type 1

DXS-3600-32S(config-router)#

37-22 router ospf

This command is used to enable OSPF and enter the router configuration mode. Use the no form of this command to disable OSPF.

router ospf no router ospf

Parameters

Default

None.

By default OSPF is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to enter router configuration mode to configure parameters needed by OSPF.

Users can verify the settings by entering the show ip ospf command.

Example

This example shows how to enter the router configuration mode and enable OSPF.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#

Example

This example shows how to disable OSPF.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no router ospf

DXS-3600-32S(config)#

327

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

37-23 router-id

This command is used to configure the router ID. Use the no command to restore to the default value.

router-id router-id

no router-id

Parameters

router-id

Specifies the router ID in IPv4 address format.

Default

Command Mode

The router-id is automatically chosen based on the highest IP address present on the router.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Router ID is a 32-bit number assigned to each router running the OSPF protocol.

This number uniquely identifies the router within an Autonomous System. You must configure each router with a unique router-id.

Users can verify the settings by entering the show ip ospf command.

Example

This example shows how to set the router-id to 1.1.1.1

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#router-id 1.1.1.1

DXS-3600-32S(config-router)#

Example

This example shows how to restore the router-id to auto-select.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router ospf

DXS-3600-32S(config-router)#no router-id

DXS-3600-32S(config-router)#

37-24 show ip ospf

This command is used to Use this command to show general information about OSPF.

show ip ospf

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Display general OSPF protocol information. It provides system-wise statistics and per area statistics for OSPF.

328

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

Example

DXS-3600-32S#show ip ospf

This example shows how to check OSPF settings.

OSPF Router ID : 10.90.90.90

State : Disabled

Default Information Originate:

State : Enabled

Always : On

Metric : 10

OSPF Interface Settings

Interface IP Address Area ID State Link Metric

Status

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

System 10.1.1.1/24 0.0.0.0 Enabled Link Up 1

OSPF Area Settings

Area ID Type Stub Import Summary LSA Stub Default Cost Translate

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

0.0.0.0 Normal None None None

0.0.0.1 NSSA Disabled 1 Disabled

0.0.0.2 Stub Disabled 1 None

Virtual Interface Configuration

Transit Virtual Hello Dead Authentication Link

Area ID Neighbor Router Interval Interval Status

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

4.4.4.4 1.1.1.1 10 60 MD5 Up

OSPF Area Aggregation Settings

Area ID Aggregated LSDB Advertise

Network Address Type

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

0.0.0.1 192.168.0.0/16 NSSA-Ext Enabled

OSPF Redistribution Settings

Source Destination Type Metric RouteMapName

Protocol Protocol

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

RIP OSPF Type-1 5

DXS-3600-32S#

Display Parameters

Interface

IP Address

State

Area ID

Link Status

Metric

Area ID

Type

Description

Name of the interface.

IP address of the source used to send out OSPF packet to neighbor.

The administrative state of this interface, it is enabled by the command network

area.

The area this interface belongs to. It is specified with the command network area.

The lower layer link status of the interface.

OSPF interface cost. It is specified with the command ip ospf cost.

Identifier of area. ID 0.0.0.0 is backbone area.

Type of area. It could be normal, stub or NSSA.

329

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

Display Parameters Description

Stub Import Summary LSA

Whether to prohibit summary routes advertised into the area. It is only for stub or

NSSA area. It is specified with the command area stub or area nssa.

Stub Default Cost

The cost for the default summary route used for a stub or NSSA area. It is specified with the command area default-cost.

Translate

Transit Area ID

Virtual Neighbor Router

Hello Interval

Whether on NSSA area leak the type-7 LSA outside to other areas. It is only for

NSSA area and specified with the command area nssa.

The non-backbone area the two endpoints of virtual link have in common.

Router ID of the other endpoint of the virtual link.

Dead Interval

The interval between hello packets. It is specified with the command area virtual-

link.

The interval during which at least one hello packet form a virtual neighbor must be received before it is declared dead. It is specified with the command area virtual-

link.

Authentication

Link Status

Area ID

Aggregated Network

Address

LSDB Type

The authentication type used by the virtual link. It is specified with the command

area virtual-link.

When the other endpoint is reachable according to routing table, the virtual link is link up. Or it is link down.

The area from which the routes will be summarized. It is specified with the command

area range.

The network segment whose routes are to be aggregated. It is specified with the command area range.

Advertise

Source Protocol

Destination Protocols

Type

If the area is normal, it is used for summary LSA. If the area is NSSA, it is used for type-7 LSA.

If the area range will be advertised. It is specified with the command area range.

The source route domain of redistribution. It is specified with the redistribute command.

The destination route domain of redistribution.

The methods for calculating the metric value. It is specified with the redistribute command.

Type-1 calculates the metric (for other routing protocols to OSPF) by adding the destination’s interface cost to the metric entered in the Metric field.

Type-2 uses the metric entered in the Metric field without change.

Metric

RouteMapName

Metric of routes redistributed into OSPF domain. It is specified with the redistribute command.

Route map name used to filter routes redistributed into OSPF domain. It is specified with the redistribute command.

37-25 show ip ospf area

This command is used to show general information about OSPF areas.

show ip ospf area [area-id]

Parameters

area-id

(Optional) Displays detailed information about the specified area.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

330

Usage Guideline

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

This command is used to show OSPF areas information. When the area ID is specified, the detail information about this area will be displayed.

Example

This example shows how to check OSPF area settings.

DXS-3600-32S#show ip ospf area

OSPF Area Settings

Area ID Type Stub Import Summary LSA Stub Default Cost Translate

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

0.0.0.0 Normal None None None

0.0.0.1 NSSA Disabled 1 Disabled

0.0.0.2 Stub Disabled 1 None

DXS-3600-32S#

Display Parameters Description

Area ID

Type

Identifier of area. ID 0.0.0.0 is backbone area.

Type of area. It could be normal, stub or NSSA.

Stub Import Summary LSA

Whether to prohibit summary routes advertised into the area. It is only for stub or

NSSA area. It is specified with the command area stub or area nssa.

Stub Default Cost

The cost for the default summary route used for a stub or NSSA area. It is specified with the command area default-cost.

Translate

Whether on NSSA area leak the type-7 LSA outside to other areas. It is only for

NSSA area and specified with the command area nssa.

Example

This example shows how to check OSPF areas 0.0.0.0 detail information.

DXS-3600-32S#show ip ospf area 0.0.0.0

Area ID: 0.0.0.0 Area Type: Normal

SPF algorithm runs for area 0.0.0.0: 0 time

Number of LSA in this area: 0 Checksum Sum: 0x0

Number of ABR in this area: 0 Number of ASBR in this area: 0

DXS-3600-32S#

Display Parameters Description

Area ID

Area Type

Identifier of area. ID 0.0.0.0 is backbone area.

Type of area. It could be normal, stub or NSSA. It is specified with the command

area, area stub and area nssa.

SPF algorithm runs for area

The times of SPF calculation in this area.

Number of LSA in this area

The count of LSAs in this area.

Checksum Sum

The sum of checksum for all LSAs in this area.

Number of ABR in this area

The count of area border router in this area.

Number of ASBR in this area The count of AS boundary router in this area.

37-26 show ip ospf database

This command is used to display a database summary for OSPF information.

show ip ospf [area-id] database [{asbr-summary | external | network | router | summary | nssa-external |

stub}] [{adv-device router-id | self-originate}]

331

Parameters

area-id

asbr-summary external network router summary nssa-external stub

adv-device router-id

self-originate

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

(Optional) Specifies the area ID.

(Optional) Specifies to only show ASBR summary LSA information.

(Optional) Specifies to only show AS external LSA information.

(Optional) Specifies to only show Network LSA information.

(Optional) Specifies to only show Router LSA information.

(Optional) Specifies to only show Summary LSA information.

(Optional) Specifies to only show NSSA type-7 LSA information.

(Optional) Specifies to only show all LSA information in stub and NSSA area.

(Optional) Specifies to display the LSA information generated by the specified advertising device.

(Optional) Specifies to display the LSA information generated by the device itself.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

In following cases, the detailed information of LSAs will be displayed:

1. LSA type is specified as asbr-summary, external, network, router,

summary, nssa-external or stub.

2. Area ID is specified.

3. Self-originate is specified.

4. Adv-device is specified.

Example

This example shows brief information about all LSAs.

DXS-3600-32S#show ip ospf database

Area LSDB Advertising Link State Cost Sequence

ID Type Router ID ID Number

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

0.0.0.0 RTRLink 1.1.1.1 1.1.1.1/0 * 0x8000000E

0.0.0.0 RTRLink 2.2.2.2 2.2.2.2/0 * 0x80000013

0.0.0.0 NETLink 2.2.2.2 10.1.1.2/24 * 0x8000000C

0.0.0.2 RTRLink 1.1.1.1 1.1.1.1/0 * 0x80000002

0.0.0.2 Summary 1.1.1.1 0.0.0.0/0 1 0x80000002

0.0.0.2 Summary 1.1.1.1 10.1.1.0/24 1 0x80000002

0.0.0.2 Summary 1.1.1.1 30.1.1.0/24 2 0x80000001

DXS-3600-32S#

Example

This example shows detailed information of LSAs in area 0.0.0.0.

DXS-3600-32S#show ip ospf 0.0.0.0 database

Area ID: 0.0.0.0 LS Type: Router Link

Link State ID: 1.1.1.1/0 Advertising Router: 1.1.1.1

Link State Age: 1462

Checksum: 0x68BA LS Sequence Number: 0x8000000E

Area ID: 0.0.0.0 LS Type: Router Link

Link State ID: 2.2.2.2/0 Advertising Router: 2.2.2.2

Link State Age: 1468

Checksum: 0x531 LS Sequence Number: 0x80000013

Area ID: 0.0.0.0 LS Type: Network Link

Link State ID: 10.1.1.2/24 Advertising Router: 2.2.2.2

Link State Age: 1468

Checksum: 0xF735 LS Sequence Number: 0x8000000C

DXS-3600-32S#

332

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

Example

This example shows detailed information of all Router LSAs in area 0.0.0.0.

DXS-3600-32S#show ip ospf 0.0.0.0 database router

Area ID: 0.0.0.0 LS Type: Router Link

Link State ID: 1.1.1.1/0 Advertising Router: 1.1.1.1

Link State Age: 120

Checksum: 0x66BB LS Sequence Number: 0x8000000F

Area ID: 0.0.0.0 LS Type: Router Link

Link State ID: 2.2.2.2/0 Advertising Router: 2.2.2.2

Link State Age: 126

Checksum: 0x332 LS Sequence Number: 0x80000014

DXS-3600-32S#

Example

This example shows detailed information of all LSAs originated by self.

DXS-3600-32S#show ip ospf database self-originate

Area ID: 0.0.0.0 LS Type: Router Link

Link State ID: 1.1.1.1/0 Advertising Router: 1.1.1.1

Link State Age: 175

Checksum: 0x66BB LS Sequence Number: 0x8000000F

DXS-3600-32S#

Display Parameters

Area ID

LSDB Type

Advertising Router ID

Link State ID

Cost

Sequence Number

LS Type

Advertising Router

Link State Age

Checksum

LS Sequence Number

Description

The area this LSA belongs to.

The LSA type.

The ID of the router originates this LSA.

The link state ID of this LSA.

The cost used by route calculating.

The sequence number of the LSA.

The LSA type.

The ID of the router originates this LSA.

The age of the LSA.

The checksum of the LSA.

The sequence number of the LSA.

37-27 show ip ospf interface

This command is used to display interface information for OSPF.

show ip ospf interface [ipif_name]

Parameters

ipif_name

(Optional) Specifies the interface name to display the OSPF information.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to check OSPF interface settings.

333

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

Example

This example shows information of all OSPF interfaces.

DXS-3600-32S#show ip ospf interface

Interface Name: vlan1 IP Address: 0.0.0.0/0 (Link Down)

Network Medium Type: Broadcast Metric: 2

Area ID: 0.0.0.0 Administrative State: Disabled

Priority: 50 DR State: Down

DR Address: None Backup DR Address: None

Hello Interval: 10 Dead Interval: 60

Transmit Delay: 1 Retransmit Time: 5

Authentication: MD5 MD5 Key ID for Authentication: 10

Passive Mode: Enabled

DXS-3600-32S#

Example

This example shows information of System interfaces.

DXS-3600-32S#show ip ospf interface System

Interface Name: System IP Address: 10.1.1.1/24 (Link Up)

Network Medium Type: BROADCAST Metric: 1

Area ID: 0.0.0.0 Administrative State: Enabled

Priority: 1 DR State: BDR

DR Address: 10.1.1.2 Backup DR Address: 10.1.1.1

Hello Interval: 10 Dead Interval: 40

Transmit Delay: 1 Retransmit Time: 5

Authentication: None

Passive Mode: Disabled

DXS-3600-32S#

Display Parameters

Interface Name

IP Address

Network Medium Type

Metric

Area ID

Administrative State

DR State

DR Address

Backup DR Address

Hello Interval

Dead Interval

Transmit Delay

Retransmit Time

Authentication

Passive Mode

Distribute List In

Description

Name of the interface.

IP address of the source used to send out OSPF packet to neighbor.

The type of OSPF network.

OSPF interface cost. It is specified with the command ip ospf cost.

The area this interface belongs to. It is specified with the command network area.

The administrative state of this interface. It is specified with the command network

area.

Interface state machine. It may be DR, BDR, OTHER, WAIT or DOWN.

The IP address of the Designated Router.

The IP address of the Backup Designated Router.

The interval between hello packets. It is specified with the command ip ospf hello-

interval.

The interval during which at least one hello packet form a neighbor must be received before it is declared dead. It is specified with the command ip ospf dead-interval.

The estimated number of seconds it takes to transmit a Link State Update Packet over this interface. It is not configurable and always is 1.

The number of seconds between LSA retransmissions, for adjacencies belonging to this interface. It is not configurable and always is 5.

The authentication type used on this interface. It is specified with the command ip

ospf authentication.

The status of passive. It is specified with the command passive-interface.

The inbound filter used on this interface. It is specified with the command distribute-

list in.

334

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

37-28 show ip ospf neighbor

This command is used to display information on OSPF neighbors.

show ip ospf neighbor [{detail | ipaddr}]

Parameters

ipaddr

detail

(Optional) Specifies the IP address of neighbor.

(Optional) Specifies to display detailed information of neighbors.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display information on OSPF neighbors.

If the detail or ipaddr is specified, detailed information of neighbors will be displayed.

Example

This example shows brief information about all OSPF neighbors.

DXS-3600-32S#show ip ospf neighbor

IP Address of Router ID of Neighbor Neighbor

Neighbor Neighbor Priority State

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

10.1.1.2 2.2.2.2 1 Full

DXS-3600-32S#

Example

This example shows detailed information about neighbor with IP 10.1.1.2.

DXS-3600-32S#show ip ospf neighbor 2.2.2.2

Neighbor ID: 2.2.2.2 IP Address: 10.1.1.2

Neighbor Options: 2 Neighbor Priority: 1

Neighbor State: Full State Changes: 6 times

DXS-3600-32S#

Display Parameters

IP Address of Neighbor

Router ID of Neighbor

Neighbor Priority

Neighbor State

Neighbor Options

State Changes

Description

Interface address of the neighbor router.

Router ID of the neighbor router.

Priority of the neighbor router.

State machine of adjacency.

Option in the Hello packet sent by neighbor router.

The times that neighbor state has changed.

37-29 show ip ospf virtual-link

This command is used to show information about OSPF virtual links.

show ip ospf virtual-link [area-id neighbor-id]

Parameters

area-id neighbor-id

(Optional) Specifies the area ID which the virtual link belongs to.

(Optional) Specifies the router ID of peer of virtual link.

335

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

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to show virtual link information. If area-id and neighbor-id is specified, only the virtual link with the same area ID and neighbor ID will be displayed.

Example

This example shows information about virtual link.

DXS-3600-32S#show ip ospf virtual-link

Virtual Interface Configuration

Transit Virtual Hello Dead Authentication Link

Area ID Neighbor Router Interval Interval Status

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

4.4.4.4 1.1.1.1 10 60 MD5 Up

4.4.4.4 6.6.6.6 10 250 Simple Down

DXS-3600-32S#

Display Parameters

Transit Area ID

Virtual Neighbor Router

Hello Interval

Dead Interval

Authentication

Link Status

Description

The non-backbone area the two endpoints of virtual link have in common.

Router ID of the other endpoint of the virtual link.

The interval between hello packets. It is specified with the command area virtual-

link.

The interval during which at least one hello packet form a virtual neighbor must be received before it is declared dead. It is specified with the command area virtual-

link.

The authentication type used by the virtual link. It is specified with the command

area virtual-link.

When the other endpoint is reachable according to routing table, the virtual link is link up. Or it is link down.

37-30 show ip ospf virtual-neighbor

This command is used to display information on OSPF neighbors built on virtual links.

show ip ospf virtual-neighbor [area-id neighbor-id]

Parameters

area-id neighbor-id

(Optional) Specifies the area ID which the virtual neighbor belongs to.

(Optional) Specifies the router ID of virtual neighbor.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display information of OSPF neighbors on virtual links. If the

area-id and neighbor-id is specified, only the virtual neighbor with the same area ID and neighbor ID will be displayed. If no parameter is specified, brief information about all OSPF virtual neighbors will be displayed.

336

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

Example

This example shows how to display information about a virtual neighbor.

DXS-3600-32S#show ip ospf virtual-neighbor

Transit Router ID of IP Address of Virtual Neighbor

Area ID Virtual Neighbor Virtual Neighbor State

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

1.1.1.1 2.2.2.2 100.1.1.1 Full

DXS-3600-32S#

Display Parameters

Transit Area ID

Router ID of

Virtual Neighbor Router

IP Address of

Virtual Neighbor

Virtual Neighbor State

Description

The non-backbone area between the two endpoints of a virtual neighbor in common.

Router ID of the other endpoint of the virtual neighbor.

IP address of the other endpoint of the virtual neighbor.

State machine of adjacency.

37-31 debug ip ospf

This command is used to turn on OSPF debug function. Use the no form of this command to turn off OSPF debug function.

debug ip ospf no debug ip ospf

Parameters

Default

None.

By default OSPF debug function is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF debug function while the global debug function has been turned on before.

Example

DXS-3600-32S#debug ip ospf

DXS-3600-32S#

This example shows how to turn on the OSPF debug function.

37-32 debug ip ospf neighbor

This command is used to turn on the OSPF neighbor state debug switch. Use the no form of the command to turn off the OSPF neighbor state debug switch.

debug ip ospf neighbor no debug ip ospf neighbor

Parameters

Default

Command Mode

None.

By default, the OSPF neighbor state debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

337

Usage Guideline

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

Use this command to turn on or turn off OSPF neighbor state debug switch. When neighbor state changes or some events happen to change neighbor state, debug information will print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF neighbor state debug switch.

DXS-3600-32S#debug ip ospf neighbor

DXS-3600-32S#

NBR 2.2.2.2 state change from LOADING to FULL tic 100

NBR 3.3.3.3 state change from FULL to DOWN tic 100

37-33 debug ip ospf interface

This command is used to turn on the OSPF interface state debug switch. Use the no form of the command to turn off the OSPF interface state debug switch.

debug ip ospf interface no debug ip ospf interface

Parameters

Default

Command Mode

None.

By default, the OSPF interface state debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF interface state debug switch. When

OSPF interface state changes or some events happen to change interface state, debug information will print. When DR selection happens, debug information will also print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF interface state debug switch.

DXS-3600-32S#debug ip ospf interface

DXS-3600-32S# intf 10.1.1.1 up tic 10 intf 100.1.1.1 down tic 20

OSPF: Select DR: 2.2.2.2

OSPF: Select BDR: 1.1.1.1

37-34 debug ip ospf lsa-originating

This command is used to turn on the OSPF LSA originating debug switch. Use the no form of the command to turn off the OSPF LSA originating debug switch.

debug ip ospf lsa-originating no debug ip ospf lsa-originating

Parameters

Default

None.

By default, the OSPF LSA originating debug switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

338

Usage Guideline

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

Use this command to turn on or turn off OSPF LSA originating debug switch. When

LSA is originated, debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF LSA originating debug switch.

DXS-3600-32S#debug ip ospf lsa-originating

DXS-3600-32S#

Build Router LSA id 100.1.1.2 for area 0.0.0.0 seq 80000001 tic 10

37-35 debug ip ospf lsa-flooding

This command is used to turn on the OSPF LSA flooding debug switch. Use the no form of the command to turn off the

OSPF LSA flooding debug switch.

debug ip ospf lsa-flooding no debug ip ospf lsa-flooding

Parameters

Default

None.

By default, the OSPF LSA flooding debug switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF LSA flooding debug switch. When

LSA is received, added into local database or flooded to neighboring router, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF LSA flooding debug switch.

DXS-3600-32S#debug ip ospf lsa-flooding

DXS-3600-32S#

Received LSA type 1 id 2.2.2.2 from nbr 2.2.2.2 in area 0.0.0.0 seq 80000001 csum fe3a tic 15

Flood LSAs in area 0.0.0.0 tic 15

37-36 debug ip ospf packet-receiving

This command is used to turn on the OSPF packet receiving debug switch. Use the no form of the command to turn off the OSPF packet receiving debug switch.

debug ip ospf packet-receiving no debug ip ospf packet-receiving

Parameters

Default

Command Mode

None.

By default, the OSPF packet receiving debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

339

Usage Guideline

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

Use this command to turn on or turn off OSPF packet receiving debug switch. When one OSPF protocol packet is received, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF packet receiving debug switch.

DXS-3600-32S#debug ip ospf packet-receiving

DXS-3600-32S#

Received a Hello packet from addr 10.1.1.2 at interface System tic 100

Received a Hello packet from addr 100.1.1.2 at interface ip100 tic 102

37-37 debug ip ospf packet-transmitting

This command is used to turn on the OSPF packet transmitting debug switch. Use the no form of the command to turn off the OSPF packet transmitting debug switch.

debug ip ospf packet-transmitting no debug ip ospf packet-transmitting

Parameters

Default

Command Mode

None.

By default, the OSPF packet transmitting debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF packet transmitting debug switch.

When one OSPF protocol packet is sent out, the debug information will be print if

OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF packet transmitting debug switch.

DXS-3600-32S#debug ip ospf packet-transmitting

DXS-3600-32S#

Send out a Hello on interface 10.1.1.1 dst 255.0.0.5 tic 200

Send out a Hello on interface 100.1.1.1 dst 255.0.0.5 tic 220

37-38 debug ip ospf spf

This command is used to turn on the OSPF SPF calculation debug switch. Use the no form of the command to turn off the OSPF SPF calculation debug switch.

debug ip ospf spf no debug ip ospf spf

Parameters

Default

None.

By default, the OSPF SPF calculation switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

340

Usage Guideline

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

Use this command to turn on or turn off OSPF SPF calculation debug switch. When one SFP calculation is processing, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF SPF calculation debug switch.

DXS-3600-32S#debug ip ospf spf

DXS-3600-32S#

Running SPF-intra for area 0.0.0.0 tic 300

SPF-intra calculation completed tic 310

37-39 debug ip ospf timer

This command is used to turn on the OSPF timer debug switch. Use the no form of the command to turn off the OSPF timer debug switch.

debug ip ospf timer no debug ip ospf timer

Parameters

Default

Command Mode

None.

By default, the OSPF timer switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF timer debug switch. When the event related to OSPF timer happens, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF timer debug switch.

DXS-3600-32S#debug ip ospf timer

DXS-3600-32S#

Start Hello timer at interface 10.90.90.90 tic 20

Wait timer expired at interface 10.90.90.90 tic 100

37-40 debug ip ospf virtual-link

This command is used to turn on the OSPF virtual link debug switch. Use the no form of the command to turn off the

OSPF virtual link debug switch.

debug ip ospf virtual-link no debug ip ospf virtual-link

Parameters

Default

None.

By default, the OSPF virtual link switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

341

Usage Guideline

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

Use this command to turn on or turn off OSPF virtual link debug switch. When the event related to OSPF virtual link happens, the debug information will be print.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF virtual link debug switch.

DXS-3600-32S#debug ip ospf virtual-link

DXS-3600-32S#

Virtual link up transit area 1.1.1.1 vnbr 3.3.3.3 tic 260

37-41 debug ip ospf route

This command is used to turn on the OSPF route debug switch. Use the no form of the command to turn off the OSPF route debug switch.

debug ip ospf route no debug ip ospf route

Parameters

Default

None.

By default, the OSPF route switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF route debug switch. When one OSPF route is added, updated or deleted, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

Example

This example shows how to turn on the OSPF route debug switch.

DXS-3600-32S#debug ip ospf route

DXS-3600-32S#

Add an OSPF route level 1 dst 172.18.1.1 mask 255.255.255.0 nh cnt 1 cost 10 cost2: 0 tic: 300

37-42 debug ip ospf redistribution

This command is used to turn on the OSPF redistribution debug switch. Use the no form of the command to turn off the

OSPF redistribution debug switch.

debug ip ospf redistribution no debug ip ospf redistribution

Parameters

Default

None.

By default, the OSPF redistribution switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off OSPF redistribution debug switch. When one route of other protocol is redistributed into OSPF or not redistributed into OSPF any more, the debug information will be print if OSPF debug function is turned on.

Use the command debug ip ospf to turn on the OSPF debug function.

342

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

Example

This example shows how to turn on the OSPF redistribution debug switch.

DXS-3600-32S#debug ip ospf redistribution

DXS-3600-32S#

Import AS external route from src 5 net 192.1.1.1 mask 255.255.255.0 type 2 cost 50 fwd

10.1.1.100 tic 500

37-43 debug ip ospf show counter

This command is used to display the OSPF statistic counter.

debug ip ospf show counter [packet | neighbor | spf]

Parameters packet neighbor spf

Specifies to display the OSPF packet counter.

Specifies to display the OSPF neighbor counter.

Specifies to display the OSPF SPF event counter.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check statistic information about the OSPF packet, neighbor and SPF calculation.

Example

This example displays all OSPF statistic counters.

DXS-3600-32S#debug ip ospf show counter

OSPF Debug Statistic Counters

Packet Receiving:

Total : 5

Hello : 5

DD : 0

LSR : 0

LSU : 0

LSAck : 0

Drop : 0

Auth Fail : 0

Packet Sending:

Total : 5

Hello : 5

DD : 0

LSR : 0

LSU : 0

LSAck : 0

Neighbor State:

Change : 3

SeqMismatch : 0

SPF Calculation:

Intra : 1

Inter : 1

Extern : 1

DXS-3600-32S#

343

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

37-44 debug ip ospf clear counter

This command is used to reset the OSPF statistic counter.

debug ip ospf clear counter [packet | neighbor | spf]

Parameters packet neighbor spf

Specifies to reset the OSPF packet counter.

Specifies to reset the OSPF neighbor counter.

Specifies to reset the OSPF SPF event counter.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to reset the OSPF statistic counter. After reset, the specified counter will change to 0.

Example

This example shows how to reset all OSPF statistic counters.

DXS-3600-32S#debug ip ospf clear counter

DXS-3600-32S#

37-45 debug ip ospf show database

This command is used to display detailed information about OSPF LSDB.

debug ip ospf show database {rt-link | net-link | summary-link | external-link | type7-link}

Parameters rt-link net-link summary-link external-link type7-link

Specifies to display information about the rt-link parameter.

Specifies to display information about the net-link parameter.

Specifies to display information about the summary-link parameter.

Specifies to display information about the external-link parameter.

Specifies to display information about the type7-link parameter.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check detailed information about OSPF LSDB.

344

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

Example

This example displays detailed information about Router LSA.

DXS-3600-32S#debug ip ospf show database rt-link

OSPF Phase2 RT Link:

===========

AREA 0.0.0.0:

Router LSA:

Link-State ID: 100.1.1.2

Advertising Router: 100.1.1.2

LS Age: 10 Seconds

Options: 0x2

.... ...0 = 0 Bit Isn't Set

.... ..1. = E: ExternalRoutingCapability

.... .0.. = MC: NOT Multicast Capable

.... 0... = N/P: NSSA Bit

...0 .... = EA: Not Support Rcv And Fwd EA_LSA

..0. .... = DC: Not Support Handling Of Demand Circuits

.0.. .... = O: O Bit Isn't Set

0... .... = 7 Bit Isn't Set

LS Sequence Number: 0x80000001

Length: 36

Flags: 0x0

.... ...0 = B: NO Area Border Router

.... ..0. = E: NO AS Boundary Router

.... .0.. = V: NO Virtual Link Endpoint

Number Of Links: 1

Type: Stub ID: 10.1.1.0 Data: 255.255.255.0 Metric: 1

Internal Field:

Del_flag: 0x0 I_ref_count: 0 Seq: 0x80000001 Csum: 0x4d28

Rxtime: 0 Txtime: 0 Orgage: 0

Current Time: 10

DXS-3600-32S#

37-46 debug ip ospf show request-list

This command is used to display current LSA information of internal OSPF request list.

debug ip ospf show request-list

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check the information about LSAs OSPF is requesting to neighbors.

345

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

Example

This example shows displays the current requested LSA.

DXS-3600-32S#debug ip ospf show request-list

OSPF Request List:

*Area 0.0.0.0:

Circuit: 1.1.1.1

Neighbor: 90.2.0.1 IP: 1.1.1.2

LSID: 192.194.134.0 RTID: 90.2.0.1 Type 257 Seq 0x8000002f

LSID: 192.194.135.0 RTID: 90.2.0.1 Type 257 Seq 0x8000002f

LSID: 192.194.136.0 RTID: 90.2.0.1 Type 257 Seq 0x8000002f

LSID: 192.194.137.0 RTID: 90.2.0.1 Type 257 Seq 0x8000002f

LSID: 192.194.138.0 RTID: 90.2.0.1 Type 257 Seq 0x8000002f

DXS-3600-32S#

37-47 debug ip ospf show redistribution

This command is used to display the current internal OSPF redistribution list.

debug ip ospf show redistribution

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check the information about the external route imported into

OSPF.

Example

This example displays the external routes imported into OSPF.

DXS-3600-32S#debug ip ospf show redistribution

OSPF Redistribution List:

IP Nexthop State Type Tag

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

1.1.1.0/24 0.0.0.0 ON 2 0.0.0.0

OSPF ASE Table:

IP Nexthop State Type Tag

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

1.1.1.0/24 0.0.0.0 ON 2 0.0.0.0

DXS-3600-32S#

37-48 debug ip ospf show summary-list

This command is used to display the current internal OSPF summary list.

debug ip ospf show summary-list

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

346

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

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to check the LSA information on summary-list which is used to exchange with neighbors.

Example

This example displays the LSA information on summary-list.

DXS-3600-32S#debug ip ospf show summary-list

OSPF Summary List:

Area 0.0.0.0:

Circuit: 1.1.1.1

Neighbor: 90.2.0.1 IP: 1.1.1.2

LSID: 1.1.1.1 RTID: 1.1.1.1

Circuit: 2.2.2.1

Circuit: 10.1.1.6

DXS-3600-32S#

37-49 debug ip ospf log

This command is used to turn on the OSPF debug log function. Use the no form of this command to turn off the OSPF debug log function.

debug ip ospf log no debug ip ospf log

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off the OSPF debug log function. When some important OSPF events happen, some system log entries will be added.

Example

This example shows how to turn on the OSPF debug log function.

DXS-3600-32S#debug ip ospf log

DXS-3600-32S#

347

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

Password Recovery Commands

The first two commands, listed in this chapter, are only available when the user enters the Password Recovery mode.

For more information about how to access the Password Recovery mode, see Appendix C.

38-1 clear

This command is used to clear the password, username or password on the current device.

clear {levelpassword | username | configure}

Parameters levelpassword username configure

Specifies to clear the password for each level.

Specifies to clear all the usernames and passwords on the device and set the line authentication to no login local, no login, and no login authentication at the same time.

Specifies to clear all the configurations on the DUT.

Default

None.

Command Mode

EXEC Mode in Password Recovery Mode.

Command Default Level

Level: 1

Usage Guideline

When the password is lost, or the username information is lost, the user can enter the password recovery mode and use this command to clear the level, clear the username or clear the configuration.

This example shows how to clear the configuration to factory default settings.

Example

>clear configure

>

This example shows how to clear the level password to factory default settings.

Example

>clear levelpassword

>

Example

>clear username

>

This example shows how to clear the local authentication database to factory default settings.

38-2 reload

This command is used to reboot the switch.

reload

Parameters

Default

None.

None.

Command Mode

EXEC Mode in Password Recover Mode.

Command Default Level

Level: 1

Usage Guideline

Used to reboot the switch.

348

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

Example

>reload

This example shows how to reboot the switch, using the reload command.

Save current settings before system restart?(y/n) y

Please wait, the switch is rebooting...

38-3 password-recover

This command is used to enable the password recover option. The no form of this command is usd to disable this option.

password-recover no password-recover

Parameters

Default

None.

By default, this option is enabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to enable the password recover option. The no form of this command is usd to disable this option.

Example

This example shows how to disabled the password recover option.

DXS-3600-32S#configure ter

DXS-3600-32S(config)#no password-recover

DXS-3600-32S(config)#

Example

This example shows how to enable the password recover option.

DXS-3600-32S#configure ter

DXS-3600-32S(config)#password-recover

DXS-3600-32S(config)#

38-4 show password-recover

This command is used to display the password recover option's state on the switch.

show password-recover

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

This command is used to display the password recover option's state on the switch.

Example

This example shows how to display the password recover option's state.

DXS-3600-32S#show password-recover

Running Configuration :Enabled

NV-RAM Configuration :Enabled

DXS-3600-32S#

349

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

350

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

Peripheral Commands

39-1 show system-info

This command is used to show system information.

show system-info

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command shows the system information.

Example

This example shows how to show the system information.

DXS-3600-32S#show system-info

Device Type : DXS-3600-32S TenGigabit Ethernet Switch

MAC Address : 00-01-02-03-04-00

IP Address : 0.0.0.0 (Manual)

VLAN Name : default

Subnet Mask : 0.0.0.0

Default Gateway : 0.0.0.0

Boot PROM Version : Build 1.00.007

Firmware Version : Build 1.00.024

Hardware Version :

Firmware Type : EI

Serial Number : D1234567890

System Name :

System Location :

System Uptime : 0 days, 0 hours, 0 minutes, 41 seconds

System Contact :

DXS-3600-32S#

39-2 show device-status

This command is used to show the device status.

show device-status

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command shows the device’s status about the temperature, fan and power. It includes the temperature log state. This command also shows the working state of the power and fan.

351

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

Example

This example shows the device status.

DXS-3600-32S#show device-status

Temperature Log State : Enabled

Current Temperature(Celsius) : 20

Power 1 : Active

Power 2 : Fail

FAN 1 : Speed Middle (10598 RPM)

FAN 2 : Speed Middle (10485 RPM)

FAN 3 : Speed Middle (10743 RPM)

DXS-3600-32S#

39-3 logging-server enable device

This command is used to enable the sending of log packets about peripheral devices. Use the no command to disable the sending of log packets.

logging-server enable device no logging-server enable device

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Use the command to enable the sending of log packets about peripheral devices.

Use the no command to disable the sending of log packets.

Example

This example shows how to enable the sending of log packets about Peripheral devices.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging-server enable device

DXS-3600-32S(config)#

352

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

Protocol Independent Multicast (PIM) Commands

40-1 ip pim

This command is used to enable Protocol Independent Multicast (PIM) on an interface. To disable PIM on the interface, use the no form of this command.

ip pim {dense-mode | sparse-mode | sparse-dense-mode} no ip pim

Parameters dense-mode sparse-mode sparse-dense-mode

Specifies to enables dense mode of operation.

Specifies to enables sparse mode of operation.

Specifies to enables sparse-dense-mode of operation.

Default

PIM is disabled on all interfaces.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command enables PIM protocol on the specified interface. An interface can be configured to be in dense mode, sparse mode or sparse-dense mode.

If you want to use PIM to forward multicast packets, use ip multicast-routing command to enable multicast global state.

To verify your configuration, use show ip pim sparse-mode interface or show ip

pim dense-mode interface.

Example

This example shows how to configure the interface VLAN 1 to enable PIM densemode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip pim dense-mode

DXS-3600-32S(config-if)#

Example

This example shows how to disable PIM on interface VLAN 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip pim

DXS-3600-32S(config-if)#

40-2 ip pim query-interval

This command is used to configure the frequency of Protocol Independent Multicast (PIM) router query messages. To return to the default interval, use the no form of this command.

ip pim query-interval SECONDS

no ip pim query-interval

Parameters

SECONDS

Specifies the interval of sending hello message, in the range of 1 to 65535 seconds.

Default

30 seconds.

353

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

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The change of hello interval would lead to the change of hello hold time. The principle of the updating hold time is configured hello interval * 3.5.

To verify your configuration, use show ip pim dense-mode interface detail or

show ip pim sparse-mode interface detail.

Example

This example shows how to configure the PIM query interval of VLAN 1 to 60 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip pim query-interval 60

DXS-3600-32S(config-if)#

Example

This example shows how to configure the query interval of VLAN 2 back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 2

DXS-3600-32S(config-if)#no ip pim query-interval

DXS-3600-32S(config-if)#

40-3 ip pim join-prune-interval

This command is used to configure the interval of Protocol Independent Multicast (PIM) router join/prune messages. To return default, use the no form of this command.

ip pim join-prune-interval SECONDS

no ip pim join-prune-interval

Parameters

SECONDS

Specifies the interval to send the join/prune message, in the range 1 to 65535 seconds.

Default

60 seconds.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command only takes effect when the interface is PIM-SM enabled.

When configuring the Join/Prune interval, the user needs to consider the factors, such as configured bandwidth and expected average number of multicast route entries for the attached network or link (For example, the period would be longer for lower-speed links, or for routers in the center of the network that expect to have a larger number of entries).

For SM-mode, router will periodically send the join message based on this interval.

The hold-time in a Join/Prune message is (3.5 * join-prune-interval). The receiving router will start a timer based on this hold-time, and prune the interface if hold-time timer expires.

You can verify your configuration through command show ip pim sparse-mode

interface detail.

354

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

Example

This example shows how to configure the PIM join/prune interval to 1000 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim join-prune-interval 1000

DXS-3600-32S(config)#

Example

This example shows how to configure the PIM join/prune interval back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim join-prune-interval

DXS-3600-32S(config)#

40-4 ip pim dr-priority

This command is used to configure the priority for which a switch is elected as the designated router (DR). To return default, use the no form of this command.

ip pim dr-priority PRIORITY

no ip pim dr-priority

Parameters

PRIORITY

Specifies that the larger the value is, the higher the priority will be. The range is 0 to

4294967294.

Default

Command Mode

The default value is 1.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The switch with the biggest priority would be selected as DR on a LAN. If several switches have the same

DR priority, the one with the highest IP address would be selected. If the DR priority field is not set in PIM hello messages, the one with highest IP address is selected to be DR.

To verify your configuration, use show ip pim sparse-mode interface detail.

Example

This example shows how to configure the priority of VLAN 1 to be 100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip pim dr-priority 100

DXS-3600-32S(config-if)#

Example

This example shows how to configure DR priority of VLAN 2 back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 2

DXS-3600-32S(config-if)#no ip pim dr-priority

DXS-3600-32S(config-if)#

40-5 ip pim register-suppression

This command is used to configure the register suppression time. To return to the default interval, use the no form of this command.

ip pim register-suppression SECONDS

355

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

no ip pim register-suppression

Parameters

SECONDS

Specifies the value of the register suppression time. The range of this value is 11-

255 seconds.

Default

Command Mode

60 seconds.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When a DR receives the register-stop message, it will start the suppression timer.

During suppression period, a DR stops sending the register message to the RP.

Use the command on the first hop router.

Please be noted, the parameter Register Probe Time in RFC 4601 is fixed to 5.

Because the value of the Register Probe Time must be less than half the value of the

Register Suppression Time to prevent a possible negative value in the setting of the

Register-Stop Timer, the minimal value for Register Suppression Time is 11.

To verify your configuration, use command show ip pim.

Example

This example shows how to configure the PIM register suppression to be 100 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim register-suppression 100

DXS-3600-32S(config)#

Example

This example shows how to restore the default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim register-suppression

DXS-3600-32S(config)#

40-6 ip pim rp-address

This command is used to create a static RP in PIM-SM. To delete the static RP entry, use the no form of this command.

ip pim rp-address RP-ADDRESS [ACCESS_LIST]

no ip pim rp-address RP-ADDRESS

Parameters

RP-ADDRESS

ACCESS_LIST

Specifies the IP address of the RP.

Specifies the name of the access list.

Default

Command Mode

No any static RP entry.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

356

Usage Guideline

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

This command is used to configure the static RP.

If no ACL is configured in this command, it means this static RP support all the multicast groups 224.0.0.0/4. To disable this configuration, use no ip pim rp-address

RP-ADDRESS.

You can configure only one ACL list on one RP, and in each list, the same group range can exist. And for the same group range entry, only the first configured one can work. If the working group range is deleted, the switch will auto search if there is another entry existed with the same group range. If does, this new entry will be selected, this may change the static RP address. The number of ACL entry configured to static RP is limited, and the total number of group range configured to static RP is also limited. If any limitation exceeded, no more static RP can be created.

To verify your configuration, you can use show ip pim.

Example

This example shows how to configure the static RP address 172.18.62.1 with a group range 234.0.0.0/12.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim rp-address 172.18.62.1 statirp-acl

DXS-3600-32S(config)#ip standard access-list statirp-acl

DXS-3600-32S(config-ip-acl)#permit 234.0.0.0/12

DXS-3600-32S(config-ip-acl)#

Example

This example shows how to configure the static RP address 172.18.63.254 with a group range 224.0.0.0/4.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim rp-address 172.18.63.254

DXS-3600-32S(config)#

Example

This example shows how to delete the access list of the static RP binding at

172.18.62.1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim rp-address 172.18.62.1

DXS-3600-32S(config)#

40-7 ip pim rp-candidate

This command is used to configure the router to advertise itself as a Protocol Independent Multicast (PIM) Version 2 candidate rendezvous point (RP) to the bootstrap router (BSR). To return default, use the no form of this command. If no parameter is added in no command, the device will restore default value for interval of CRP-Adv and priority of CRP interface. If interface name added in no form of this command, the device will clean the ACL information binding on this interface.

ip pim rp-candidate IFNAME [interval SECONDS] [priority PRIORITY] [group-list ACCESS_LIST] [wildcard-

prefix-cnt {0 | 1}]

no ip pim rp-candidate [IFNAME]

Parameters

IFNAME

ACCESS_LIST

SECONDS

PRIORITY

Specifies the interface name. The IP address associated with this interface is advertised as a candidate RP address.

Specifies the name of the access list. If no group-list is specified, the switch is a candidate RP for all groups.

Specifies the interval of the sending CRP-Adv message to BSR. The range is 0 to

102.

Specifies the priority of this CRP interface, in the range 0 to 255.

357

0

1

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

Specifies the Prefix Count value of the wildcard address (224.0.0.0/24) to be set to 0 in PIM C-RP-Adv message.

Specifies that the wildcard prefix count value will be set to 1 in PIM C-RP-Adv message.

Default

Command Mode

No candidate RP is configured. The default CRP-Adv interval is 60 seconds. The default priority value is 192. The default wildcard prefix count is 0.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to configure candidate RP information of PIM. The change of

CRP-Adv interval would also change the hold time of the CRP at the RP. And the hold time at RP is CRP-Adv interval times 2.5.

It is possible to have the cast, multiple CRP mapping to the same groups. At this situation, the method below is used.

1. Perform longest match on group-range to obtain a list of RPs.

2. From this list of matching RPs, find the one with highest priority. Eliminate any

RPs from the list that have lower priorities.

3. If only one RP remains in the list, use that RP.

4. If multiple RPs are in the list, use the PIM hash function to choose one.

So, you can use this command to configure the priority of this CRP to specify the sequence to select the RP for the groups.

This command can cause the router to send a PIM Version 2 message advertising itself as a candidate RP to the BSR and set the parameter of this CRP. To specify an interface as the candidate RP of a specific group, execute this command with ACL.

One interface can only configure one ACL. The number of ACL entry configured to candidate RP is limited, and the total number of group range configured to candidate

RP is also limited. If any limitation exceeded, no more candidate RP can be created.

To verify your configuration, use show ip pim.

Example

This example shows how to configure the candidate RP interface ‘vlan2’ with group range 234.0.0.0/12, and priority set to 100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim rp-candidate vlan2 priority 100 group-list crp-acl

DXS-3600-32S(config)#ip standard access-list crp-acl

DXS-3600-32S(config-ip-acl)#permit 234.0.0.0/12

DXS-3600-32S(config-ip-acl)#

Example

This example shows how to set the CRP configuration back to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim rp-candidate vlan2

DXS-3600-32S(config)#

Example

This example shows how to configure the PIM wildcard prefix count to be 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim rp-candidate vlan2 wildcard-prefix-cnt 1

DXS-3600-32S(config)#

Example

This example shows how to delete all CRP ACL lists binded on the interface ‘vlan2’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim rp-candidate vlan2

DXS-3600-32S(config)#

358

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

40-8 ip pim spt-threshold

This command is used to configure the condition to switchover to the source tree. To restore the default setting, use no form of this command.

ip pim spt-threshold {0 | infinity} no ip pim spt-threshold

Parameters

0 infinity

Specifies to establish the source tree right at the arrival of the first packet.

Specifies to always relay on the shared tree.

Default

Command Mode

Infinity.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command on the last hop of the router.

In PIM-SM mode, initially the multicast traffic from the source will be flowing along the RPT share tree to the receiver. After the first packet arrives at the last hop router, for each group of traffic, it can operate in one of the following two modes. With mode

“infinity”, the traffic keeps following the share tree. With mode “0”, the source tree will be established and the traffic switchover to the source tree.

To verify your configuration, use command show ip pim.

Example

This example shows how to configure the PIM to work in the SPT mode at the arrival of the first packet.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim spt-threshold 0

DXS-3600-32S(config)#

Example

This example shows how to configure the PIM to always work in the RPT mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim spt-threshold

DXS-3600-32S(config)#

40-9 ip pim rp-register-kat

This command is used to configure the keep alive time when RP receiving a register message. To restore default value, use no form of this command.

Use this command to ip pim rp-register-kat SECONDS

no ip pim rp-register-kat

Parameters

SECONDS

Specifies the keep alive time, in the range 1 to 65525 seconds

Default

Command Mode

185 seconds.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

359

Usage Guideline

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

When the DR receives multicast stream, it will send register message to the RP of the group. And when the RP receives this message, it would set up a timer for this

(S, G) entry. This command configures the value of this timer.

To verify your configuration, use command show ip pim.

Example

This example shows how to configure the PIM register keep alive time to 500 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim rp-register-kat 500

DXS-3600-32S(config)#

Example

This example shows how to restore the default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim rp-register-kat

DXS-3600-32S(config)#

40-10 ip pim bsr-candidate

This command is used to enable the candidate bootstrap function of the interface or set the hash mask length of calculating the property RP. To return default, use no form of this command.

ip pim bsr-candidate IFNAME [hash-mask-length VALUE] [priority PRIORITY]

no ip pim bsr-candidate IFNAME

Parameters

IFNAME

VALUE

PRIORITY

Specifies the interface whose IP address will be announced as the bootstrap router address.

Specifies to enter a hash mask length, which will be used with the IP address of the candidate RP and the multicast group address, to calculate the hash algorithm used by the router to determine which CRP on the PIM-SM enabled network will be the

RP. The range is 0 to 32.

Specifies to configure the priority for a BSR candidate. The candidate with the highest priority is preferred. If the priority values are the same, the router with the highest IP address is preferred. The range is 0 to 255. If not specified, the default priority is 64.

Default

The hash mask length is 30, the priority is 64, and the BSR function is disabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command only takes effect when the interface specified by the command has IP address configured and is PIM-SM enabled.

This command causes the router to send bootstrap messages to announce the IP address of the designated interface as the BSR candidate address.

The hash mask is used by all routers within a domain, to map a group to one of the

RPs from the matching set of group-range-to-RP mappings (this set all have the same longest mask length and same highest priority). The algorithm takes as input the group address, and the addresses of the candidate RPs from the mappings, and gives as output one RP address to be used.

To verify your configuration, use command show ip pim sparse-mode bsr-router.

360

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

Example

This example shows how to configure the PIM candidate BSR priority to be 10 and hash mask length to be 32.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim bsr-candidate vlan2 hash-mask-length 32 priority 10

DXS-3600-32S(config)#

Example

This example shows how to disable the function of BSR in ‘vlan2’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim bsr-candidate vlan2

DXS-3600-32S(config)#

40-11 ip pim old-register-checksum

This command is used to specify for which RP, the switch should calculate checksum include the data portion or not when transmitting and receiving register messages. To restore the default setting, use no form of this command.

ip pim old-register-checksum rp-address RP-ADDRESS

no ip pim old-register-checksum rp-address RP-ADDRESS

Parameters

RP-ADDRESS

Specifies that the RP will expect to receive a register packet in which the checksum will include the data portion or not.

Default

The checksum in the register message to any RP doesn’t include the data portion.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to decide the checksum in register packet will include the data portion or not. As defined in RFC 4601, the checksum for Registers is done only on the first 8 bytes of the packet, including the PIM header and the next 4 bytes, excluding the data packet portion. Some earlier PIM-SM routers calculate checksum for register packet including data portion. This configuration makes our routers communicate with those earlier routers smoothly. The default setting is not including data portion.

To verify your configuration, use command show ip pim.

Example

This example shows how to configure the checksum to include data for RP

172.18.63.2

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim old-register-checksum rp-address 172.18.63.2

DXS-3600-32S(config)#

Example

This example shows how to delete the checksum to include RP 172.18.63.2

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim old-register-checksum rp-address 172.18.63.2

DXS-3600-32S(config)#

40-12 ip pim ssm

This command is used to configure the SSM multicast group address range. Use the no form of the command to disable PIM SSM.

361

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

ip pim ssm {default | range ACCESS-LIST}

no ip pim ssm

Parameters

ACCESS-LIST

default

Specifies a standard IP access list that defines the user-specified SSM group addresses.

Specifies to use the default SSM group addresses. The default SSM group address range is 232/8.

Default

Command Mode

PIM SSM is disabled.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

For an SSM group, the switch will use (S, G) in IGMPv3 report to join SPT. And if the group address of configured range is reported by IGMPv1/v2, it will be ignored by

IGMP module. If the ACL entry configured for SSM group address range includes multiple networks, only the first group network will work.

To verify your configuration, use command show ip pim.

Example

This example shows how to configure the PIM SSM function enable, use default group address range.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim ssm default

DXS-3600-32S(config)#

Example

This example shows how to configure the PIM SSM function enable, and group address range is 239.0.0.0/11

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip pim ssm range ssm-acl

DXS-3600-32S(config)#ip standard access-list ssm-acl

DXS-3600-32S(config-ip-acl)#permit 239.0.0.0/11

DXS-3600-32S(config-ip-acl)#

Example

This example shows how to disable the PIM SSM function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip pim ssm

DXS-3600-32S(config)#

40-13 show ip pim dense-mode interface

This command is used to display information about PIM-DM interface.

show ip pim dense-mode interface [IFNAME [detail]]

Parameters

IFNAME

detail

Specifies the interface name to be displayed. If no interface name, display all PIM-

DM interfaces.

Displays the detailed information.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

362

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

This command displays PIM-DM configuration information.

Usage Guideline

Example

This example shows how to display the information of all PIM-DM interfaces.

DXS-3600-32S#show ip pim dense-mode interface

IP Address Interface Mode state Nbr count

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

10.90.90.90 vlan1 DM Enabled 0

Total Entries: 1

DXS-3600-32S#

Example

This example shows how to display the detailed information of PIM-DM interface

‘vlan1’.

DXS-3600-32S#show ip pim dense-mode interface vlan1 detail

Interface Name: vlan1

Address 10.90.90.90, DR 10.90.90.90

Hello period 30 seconds, Next hello in 29 seconds

Neighbor:

10.2.0.2

10.2.0.5

DXS-3600-32S#

Display Parameters

IP Address

Interface

Mode state

Nbr count

Neighbor

DR

Description

The IP Address of the interface displayed.

The name of the interface.

The mode of PIM of this interface, To change mode of PIM, use the ip pim command.

The PIM-DM state of this interface.

The numbers of neighbors connected to this interface in the LAN.

The address of the neighbors.

The DR address of this LAN.

40-14 show ip pim neighbor

This command is used to display PIM neighbor information.

show ip pim neighbor [IFNAME]

Parameters

IFNAME

Specifies the interface to display the neighbor. If no IFNAME specified, all interface’s neighbor would be displayed.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display the neighbor information of PIM. Both PIM-SM and

PIM-DM neighbor would be displayed.

363

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

Example

This example displays all the interface’s neighbor information.

DXS-3600-32S#show ip pim neighbor

Neighbor Address Interface Uptime Expires Mode

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

10.2.0.2 vlan1 00:00:32 00:01:26 SM

Total Entries: 1

DXS-3600-32S#

Display Parameters

Neighbor Address

Interface

Uptime

Expires

Mode

Description

Specify the neighbor’s address.

Specify the name of interface binding by the neighbor.

Length of time (in hours, minutes, and seconds) that the router has known about this neighbor.

Time (in hours, minutes, and seconds) this neighbor expires.

The mode of this interface. To configure this value, use command ip pim.

40-15 show ip pim sparse-mode bsr-router

This command is used to display PIM-SM bootstrap router information.

show ip pim sparse-mode bsr-router

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 show BSR information.

Example

This example displays PIM BSR information.

DXS-3600-32S#show ip pim sparse-mode bsr-router

PIMv2 Bootstrap information

This System is the Bootstrap Router (BSR)

BSR Address: 10.90.90.90

BSR Priority: 100, Hash mask length: 30

Role: Candidate BSR Priority: 100 Hash mask lenth: 30

Next bootstrap message in 00:00:17 state: Elected BSR

Candidate RP: 10.90.90.90(vlan1)

Group acl: crp-system

Candidate RP: 172.16.11.254(vlan2)

Group acl: crp-acl

Candidate RP priority : 192

Holdtime 150 seconds

Advertisement interval 60 seconds

Next Cand_RP_advertisement in 00:00:15

DXS-3600-32S#

Display Parameters

BSR Address

Description

IP address of the bootstrap router.

364

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

Display Parameters Description

BSR Priority

Role

Priority

Hash mask length state

Next

Cand_RP_advertisement in

Priority as configured in the ip pim bsr-candidate command.

The role of our CBSR.

Priority of our CBSR.

Length of a mask (32 bits maximum) that is to be ANDed with the group address before the hash function is called. This value is configured in the ip pim bsr-

candidate command.

State of this switch (elected or not).

Time in hours, minutes, and seconds in which the next candidate rendezvous-point advertisement will be sent.

Next bootstrap message in

Time in hours, minutes, and seconds in which the next bootstrap message is due from this BSR.

Holdtime

Candidate RP

The hold time of the candidate RP, this value is configured by ip pim rp-candidate

Candidate RP information of this switch.

40-16 show ip pim sparse-mode interface

This command is used to display PIM-SM interface information.

show ip pim sparse-mode interface [IFNAME [detail]]

Parameters

IFNAME

detail

Specifies the interface to display the neighbor. If no IFNAME specified, all interface’s neighbor would be displayed.

Displayd the detail information of interface.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use to display PIM-SM interface information.

Example

This example shows all PIM-SM interface information.

DXS-3600-32S#show ip pim sparse-mode interface

IP Address Interface Mode state Nbr count

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

10.90.90.90 vlan1 SM Enabled 1

172.18.63.1 vlan2 SM Enabled 2

Total Entries: 2

DXS-3600-32S#

365

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

Example

This example shows detailed information about the PIM interface ‘vlan1’.

DXS-3600-32S#show ip pim sparse-mode interface vlan1 detail

Interface Name: vlan1

Address 10.90.90.90, DR 10.90.90.90

My DR priority is: 1

Hello period 30 seconds, Next hello in 7 seconds

Join/Prune interval 60 seconds

Neighbors:

10.2.0.2

DXS-3600-32S#

Display Parameters

IP Address

Interface

Mode state

Nbr count

Neighbors

Join/Prune interval

DR

Description

The IP Address of the interface displayed.

The name of the interface.

The mode of PIM of this interface, To change mode of PIM, use ip pim command.

The PIM-DM state of this interface.

The number of neighbors connect to this interface.

List address of the neighbors below.

The period join message of PIM-SM if this switch has outgoing for a specified group.

This value is configured by ip pim join-prune-interval.

The DR address of this LAN. To change DR of a LAN, use command ip pim dr-

priority.

40-17 show ip pim sparse-mode rp mapping

This command is used to display RP mapping information.

show ip pim sparse-mode rp mapping

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 PIM-SM RP mapping information.

366

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

Example

This example displays PIM-SM RP mapping information.

DXS-3600-32S#show ip pim sparse-mode rp mapping

Group(s): 229.1.3.0/28

RP: 10.2.0.2

via bootstrap, priority 192, RP hold time: 150

Uptime: 00:17:37, expires: 00:01:52

Group(s): 229.1.5.16/28

RP: 10.90.90.90

via bootstrap, priority 192, RP hold time: 150

Uptime: 00:16:54, expires: 00:01:36

Group(s): 231.0.0.0/8

RP: 10.90.90.90

via bootstrap, priority 192, RP hold time: 150

Uptime: 00:16:54, expires: 00:01:36

Group(s): 233.0.0.0/8

RP: 10.90.90.90

via bootstrap, priority 192, RP hold time: 150

Uptime: 00:16:54, expires: 00:01:36

Group(s): 239.0.0.0/11, static

RP: 172.18.254.1

DXS-3600-32S#

Display Parameters

Groups

RP

RP hold time static expires

Uptime

Description

Group range mapping to the RP below.

Address of the rendezvous point for that group.

Hold time of the RP.

Group-to-mapping information from the static rendezvous-point configuration. Create by command ip pim rp-address.

Time (in hours, minutes, and seconds) after which the information about candidate

RP entry expires. If the router does not receive any refresh messages in this time, it discards information.

Length of time (in hours, minutes, and seconds) that the router has known about this rendezvous point.

40-18 show ip pim sparse-mode rp-hash

This command is used to display which rendezvous point is being selected for a specified group.

show ip pim sparse-mode rp-hash GROUP-ADDRESS

Parameters

GROUP-ADDRESS

Specifies the rendezvous point information for the specified group address.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command displays which rendezvous point was selected for the group specified. It also shows whether this rendezvous point was selected by the PIM

Version 2 bootstrap mechanism or manually configured.

367

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

Example

This example shows PIM-SM RP information for 229.1.3.1.

DXS-3600-32S#show ip pim sparse-mode rp-hash 229.1.3.1

RP: 10.2.0.2, via bootstrap

Uptime 00:36:46, expires in 00:01:44

DXS-3600-32S#

Example

This example shows PIM-SM RP information for 239.0.0.0.

DXS-3600-32S#show ip pim sparse-mode rp-hash 239.0.0.0

RP: 10.90.90.90, static

DXS-3600-32S#

Display Parameters static

RP

Description

Group-to-mapping information from the static rendezvous-point configuration.

Address of the rendezvous point for that group.

40-19 show ip pim

This command is used to display PIM global information.

show ip pim

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to display global information of PIM.

Example

DXS-3600-32S#show ip pim

This example shows global information of PIM.

Register Suppression Time : 100

Register Keepalive Time : 185

C-RP Wildcard Prefix Count : 1

SPT Threshold : 0

RP Address

1.1.1.1, group-list: static-rp-acl

RP Candidate

vlan1, group-list: candidate-rp

vlan2, group-list: crp-system

SSM Group : ssm-acl

Old Register Checksum to RP Address

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

172.18.1.2

DXS-3600-32S#

Display Parameters

Register Keepalive Time

Description

Value in seconds. To configure this value, use command ip pim rp-register-kat.

368

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

Display Parameters Description

Register Suppression Time

Value in seconds. To configure this value, use command ip pim register-

suppression.

SPT Threshold

Specify whether the switch forwarding in SPT, use command ip pim spt-threshold to change the value.

C-RP Wildcard Prefix Count

Specify the value to be set about Prefix Count value of the wildcard address

(224.0.0.0/24) in PIM C-RP-Adv message. To modify the setting, use command ip

pim rp-candidate

RP Address

RP Candidate

Display the static RP information. To configure static RP, use command ip pim rp-

address.

Display the candidate RP information. To configure candidate RP, use command ip

pim rp-candidate.

SSM Group

Old Register Checksum

This field specifies the SSM ACL information. Use command ip pim ssm to configure this value.

For the RP list, the register packets checksum will include data portion. To configure this value, use command ip pim old-register-checksum.

40-20 debug ip pim ssm

This command is used to enable the PIM SSM debug function. To disable this debug function, use no form of this command.

debug ip pim ssm no debug ip pim ssm

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Privileged EXEC Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

When PIM-SSM is enabled, some types of IGMP packet referring to multicast address in the SSM range will be ignored by IGMP module: group record

MODE_IS_EXCLUDE and CHANGE_TO_EXCLUDE_MODE, IGMPv1/v2 Reports, and IGMPv2 Leave messages.

Using this debug command, user can trace which IGMP packets were ignored for

SSM reason.

Example

This example shows how to enable the PIM SSM debug function.

DXS-3600-32S#debug ip pim ssm

DXS-3600-32S#

Example

Following debug trace message will be output when Switch receives IGMPv1/v2

Report referring to SSM group “232.0.0.0” from source IP “12.34.3.3” on interface

“vlan1”.

PIM_SSM, 20 Dec 2010 10:49:33 IGMP v1/v2 Report for group 232.0.0.0 from 12.34.3.3 on vlan1, ignored.

Example

Following debug trace message will be output when Switch receives IGMPv2 Leave referring to SSM group “232.0.0.0” from source IP “12.34.3.3” on interface “vlan1”.

PIM_SSM, 20 Dec 2010 10:50:07 IGMP Leave for group 232.0.0.0 from 12.34.3.3 on vlan1, ignored.

369

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

Example

Following debug trace message will be output when Switch receives IGMPv3 report with Group Record Type MODE_IS_EXCLUDE referring to SSM group “232.0.0.0” from source IP “12.34.3.3” on interface “vlan1”

PIM_SSM, 20 Dec 2010 10:52:11 IGMP Group Record Type 2 for group 232.0.0.0 from 12.34.3.3 on vlan1, ignored.

Example

Following debug trace message will be output when Switch receives IGMPv3 report with Group Record Type CHANGE_TO_EXCLUDE_MODE referring to SSM group

“232.0.0.0” from source IP “12.34.3.3” on interface “vlan1”.

PIM_SSM, 20 Dec 2010 10:52:11 IGMP Group Record Type 4 for group 232.0.0.0 from 12.34.3.3 on vlan1, ignored.

Example

This example shows how to disable the PIM SSM debug function.

DXS-3600-32S#no debug ip pim ssm

DXS-3600-32S#

370

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

Port Commands

41-1 interface

This command is used to enter the interface configure mode.

interface {tenGigabitEthernet <port>}

interface range {tenGigabitEthernet <portlist>}

Parameters

tenGigabitEthernet <port> Specifies that the Ten Gigabit Ethernet is the port type which want to configure, the

<port> is define the ports which want to configure

tenGigabitEthernet

<portlist>

Specifies that the Ten Gigabit Ethernet is the port type which want to configure, the

<portlist> is define the ports which want to configure

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To configure the attribute of the port-interface, use this command the enter port configure mode.

Example

This example shows how to configure the attributes of the port-interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#

41-2 medium-type

This command is used to specify the medium type while the configure ports are combo ports.

medium-type {copper | fiber} no medium-type

Parameters copper fiber

Specifies that the copper port will be configured.

Specifies that the fiber port will be configured.

Default

Command Mode

None.

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To configure the attributes of the port-interface for a specified type of combo port.

Use this command to change the medium type to the specified medium type.

371

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

Example

This example shows how to configure the attributes of the port-interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#medium-type copper

Only combo port interface can configure medium type.

Failure

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#medium-type copper

Only combo port interface can configure medium type.

Failure

DXS-3600-32S(config-if-range)#

41-3 speed

This command is used to specify the speed of the ports.

speed {1000 | 10G} no speed

Parameters

1000

10G

Specifies to set the port interface speed to 1000Mbps.

Specifies to set the port interface speed to 10Gbps.

Default

Command Mode

10G.

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Configure the speed of port. No form means to set the port interface speed to default.

Example

This example shows how to specify the speed of the ports.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#speed 10G

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#speed 10G

DXS-3600-32S(config-if-range)#

41-4 shutdown

This command is used to disable the port.

shutdown no shutdown

Parameters

Default

None.

By default, this option is disabled.

372

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

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to disable a port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#shutdown

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no shutdown

DXS-3600-32S(config-if-range)#

41-5 description

This command is used to specify the description of the ports.

description WORD

no description

Parameters

WORD

Specifies to set the description of the port interface.

Default

None.

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to specify the port description.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#description tengigabitethernet1

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no description

DXS-3600-32S(config-if-range)#

41-6 duplex

This command is used to specify the communication system used.

duplex {full} no duplex

Parameters full

Specifies that the communication system will be set to full-duplex.

Default

None.

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

373

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

None.

Usage Guideline

Example

This example shows how to set the communication system for a port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#duplex full

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no duplex

DXS-3600-32S(config-if-range)#

41-7 flowcontrol

This command is used to specify the flow control.

flowcontrol {auto | on | off} no flowcontrol

Parameters auto on off

Specifies that the flow control will be set to auto-negotiate.

Specifies that the flow control option will be enabled.

Specifies that the flow control option will be disabled.

Default

By default, this option is set to auto.

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to specify the flow control.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#flowcontrol on

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no flowcontrol

DXS-3600-32S(config-if-range)#

41-8 mtu

This command is used to specify the Maximum Transmission Unit (MTU) of the port.

mtu <64-12288>

no mtu

Parameters

64-12288

Specifies to set the Maximum Transmission Unit value. This value must be between

64 and 12288.

Default

The default MTU value is 1518.

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

374

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

This command is used to specify the Maximum Transmission Unit (MTU) of the port.

Usage Guideline

Example

This example shows how to specify the Maximum Transmission Unit (MTU) of the port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#mtu 1234

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no mtu

DXS-3600-32S(config-if-range)#

41-9 snmp trap link-status

This command is used to specify the SNMP trap-link status.

snmp trap link-status no snmp trap link-status

Parameters

Default

None.

By default, this option is enabled.

Command Mode

Port Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To set the port interface send trap when port interface link changes. The no form, of this command, means not to send traps when a port interface link changes.

Example

This example shows how to specify the SNMP trap-link status.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#snmp trap link-status

DXS-3600-32S(config-if)#exit

DXS-3600-32S(config)#interface range tenGigabitEthernet 1-10

DXS-3600-32S(config-if-range)#no snmp trap link-status

DXS-3600-32S(config-if-range)#

41-10 show interface

This command is used to display interface information.

show interface [{tenGigabitEthernet <portlist>}] [{description | status | switchport}]

Parameters

portlist

description status switchport

Specifies the range of ports that will be displayed.

Specifies the interface description, including the link status.

Specfies the display the interface status.

Specifies to display Layer 2 interface information.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 1

Usage Guideline

Use this command to show the interface information.

375

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

Example

This example shows how to display interface information of the 10G interface for port

1.

DXS-3600-32S#show interface tenGigabitEthernet 1

TenGigabitEthernet : 1

Description :

AdminStatus : Enabled

OperStatus : Disabled

Hardware : 10GBASE-R

MTU : 1536

PhysAddress : 00-01-02-03-05-00

AdminDuplex : Full

OperDuplex : Link Down

AdminSpeed : 10G

OperSpeed : Link Down

FlowControlAdminStatus: Enabled

FlowControlOperStatus : Link Down

Link Trap Status : Disabled

DXS-3600-32S#

Example

This example shows how to display the interface description of port 1.

DXS-3600-32S#show interface tenGigabitEthernet 1 description

Interface Status Administrative Description

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

TGi/1 Disabled Enabled

DXS-3600-32S#

Example

This example shows how to display switchport information of port 1.

DXS-3600-32S#show interface tenGigabitEthernet 1 switchport

Interface State/ Settings Connection Address

MDIX Speed/Duplex/FlowCtrl Speed/Duplex/FlowCtrl Learning

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

TGi/1 Enabled/Auto 10G/Full/Enabled Link Down Enabled

DXS-3600-32S#

376

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

Port Security Commands

42-1 switchport port-security

This command is used to configure port security and the way to deal with violation of the interface. Use the no form of the command to disable the port security or recover it to the default.

switchport port-security [violation {protect | restrict | shutdown}] no switchport port-security [violation]

Parameters port-security violation protect violation restrict violation shutdown

Specifies to enable the port security function of this interface.

Specifies to set the security violation to the protect mode. In this mode, when the number of port secure MAC address reaches the maximum limit allowed on the port, the packets with unknown source address will be dropped until you remove a sufficient number of secure MAC address or increase the number of maximum allowable address. When a security violation occurred, an SNMP trap is not sent, and a syslog message is not logged.

Specifies to set the security violation to the restrict mode. In this mode, when the number of port secure MAC address reaches the maximum limit allowed on the port, the packets with unknown source address will be dropped until you remove a sufficient number of secure MAC address or increase the number of maximum allowable address. At the same time, When a security violation occurred, an SNMP trap is not sent, but a syslog message is logged.

Specifies to set the security violation to the shutdown mode. In this mode, when the number of port secure MAC address reaches the maximum limit allowed on the port, the port will become error-disabled and be shut down immediately. When a security violation occurred, an SNMP trap is not sent, but a syslog message is logged.

Default

The default is to disabled port security for all ports.

The default violation mode is protect mode.

Interface Configuration Mode.

Command Mode

Command Default Level

Level: 8

Usage Guideline

With port security, you can use the port security feature to restrict input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port. When you assign secure MAC addresses to secure port, the port does not forward packets with source addresses outside the group of defined addresses. If a port is configured as a secure port and maximum number of secure MAC addresses is reached, when the MAC address of a station attempting to access the port is different from any of the identified secure MAC addresses, a security violation occurs. In addition, a secure port has the following limitations: A secure port cannot belong to link aggregation port, and if the state of sticky learning is enabled, and disables port security, an error message will also prompt. And port security and

802.1x authentication are not compatibility.

Example

This example shows how to enable port security on interface tenGigabitEthernet 1/1, and the way to deal with violation is restrict.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security violation restrict

DXS-3600-32S(config-if)#

377

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

Example

This example shows how to disable port security on the interface tenGigabitEthernet

1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#no switchport port-security

DXS-3600-32S(config-if)#

Example

This example shows how to set violation handling to the default mode for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#no switchport port-security violation

DXS-3600-32S(config-if)#

42-2 switchport port-security aging

This command is used to set the aging time for all secure addresses on an interface. In this way, you can make the switch automatically add or delete the secure addresses on the interface. Use the no form of the command to disable port security aging or to set the parameters to their default states.

switchport port-security aging {static | time <min 1–1440> | type {absolute | inactivity}}

no switchport port-security aging {static | time | type}

Parameters static time type absolute inactivity

Specifies to apply the aging time to manually configured secure addresses, sticky secure addresses and automatically learned addresses. Otherwise, apply it to only the automatically learned secure addresses.

Specifies the aging time for the secure address on this port. Its range is from 1 to

1440 in minutes. The aging time is the absolute time, which means that an address will be deleted automatically after the time specified expires after the address becomes the secure address of the port.

Specifies to set the aging type.

Specifies to set absolute aging type. All the secure addresses on this port age out exactly after the time specified and removed from the secure address list.

Specifies to set the inactivity aging type. The secure addresses on this port age out only if there is no data traffic from the secure source address for the specified time period. If the aging time of mac address table is 0, when there is data traffic, the inactivity aging time is not effective for the secure addresses.

Default

Command Mode

The port security aging feature is disabled.

The default time is 0 minutes.

The default aging type is absolute.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To disable port security aging for all secure addresses on a port, use no switchport

port-security aging time interface configuration command. To disable aging for only statically configured secure addresses and sticky secure addresses, use the no

switchport port-security aging static interface configuration command. To recover the type of aging time, use the no switchport port-security aging type interface configuration command.

378

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

Example

This example shows how to configure the aging time and type for the manually configured secure address and automatically learnt addresses on interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport port-security aging time 8

DXS-3600-32S(config-if)#switchport port-security aging type absolute

DXS-3600-32S(config-if)#switchport port-security aging static

DXS-3600-32S(config-if)#

Example

This example shows how to apply the aging time only for automatically learnt secure

MAC addresses for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#no switchport port-security aging static

DXS-3600-32S(config-if)#

Example

This example shows how to recover the port security aging time type for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#no switchport port-security aging type

DXS-3600-32S(config-if)#

Example

This example shows how to disable the port security aging time for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#no switchport port-security aging time

DXS-3600-32S(config-if)#

42-3 switchport port-security mac-address

This command is used to configure the secure address table. Use the no form of the command to delete the configured address or sticky address of this interface.

switchport port-security [{mac-address <mac-address> [vlan <vlan-id>] | mac-address sticky [<mac-address>

[vlan <vlan-id>]]}] [maximum <value 1-12288>]

no switchport port-security [{mac-address <mac-address> [vlan <vlan-id>] | mac-address sticky [<mac-

address> [vlan <vlan-id>]]}] [maximum]

Parameters

mac-address mac-address Specifies to set the secure MAC address of the port.

mac-address sticky mac-

address

vlan vlan-id

Specifies to set secure sticky MAC address of the port. These addresses can be dynamically learned or manually configured.

Specifies, except an access port, the VLAN ID and the MAC address. If no VLAN ID is specified, the native VLAN is used.

maximum

Specifies to set the maximum number of the addresses in the secure address table.

The range is from 1 to 12288.

Default

Not set any secure MAC address.

The default of maximum is 128.

The default of sticky address is disabled.

379

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

Command Mode

Interface Configuration Mode.

Command Default Level

Level 15 for creating configured addresses and sticky addresses and enable sticky learning and level 8 for configuring the maximum.

Usage Guideline

The first command is used to create secure MAC address, sticky MAC address and set the maximum of addresses in the secure address table. All configured secure

MAC address and sticky secure MAC addresses can be added to the running configuration file.

When you configure the MAC address and sticky MAC addresses manually, if the number of secure addresses which have been learned has hit the maximum number of the interface, the command will be rejected and the error message will prompt.

When you enter a maximum value for an interface, if the new value is greater than the number of addresses which have been learned, the new value will override the previously configured value. If the new value is less than the number of addresses which have been learned, the command will be rejected and the error message will prompt. To enable sticky learning, use switchport port-security mac-address

sticky interface configuration command. When sticky learning is enabled, the interface will convert all the dynamic secure MAC addresses, including those that were dynamically learned before sticky learning was enabled, to sticky secure MAC addresses. If the state of port security is disabled, and enables sticky learning, an error message will prompt.

To create sticky MAC addresses, use switchport port-security mac-address

sticky mac-address interface configuration command. If the state of sticky learning is disabled, and enters the switchport port-security mac-address sticky macaddress interface configuration command, an error message will prompt, and the sticky secure MAC address is not added to the running configuration file. If the port is trunk port or hybrid port or dot1q-tunnel port, when no VLAN ID is specified, the MAC address will be added to native VLAN, and otherwise, it will be added to the VLAN specified, if the VLAN does not exist, an error message will prompt. And if the interface is not the member of the VLAN, an error message will prompt.

To delete configured secure MAC address, use no switchport port-security mac-

address interface configuration command. And the configured secure MAC addresses will be removed from address table and running configuration file.

To disable sticky learning, use no switchport port-security mac-address sticky interface configuration command. And the sticky secure MAC addresses will be removed from address table.

Example

This example shows how to configure a secure address 00d0.f800.073c on the default VLAN for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security mac-address 00d0.f800.073c

DXS-3600-32S(config-if)#

Example

This example shows how to configure a secure address 00d0.f800.073c on specified

VLAN 3 for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security mac-address 00d0.f800.073c vlan 3

DXS-3600-32S(config-if)#

380

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

Example

This example shows how to enable sticky learning for interface tenGigabitEthernet 1/

1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security mac-address sticky

DXS-3600-32S(config-if)#

Example

This example shows how to configure a sticky secure address 00d0.f800.073c on specified VLAN 3 for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security mac-address sticky 00d0.f800.073c vlan 3

DXS-3600-32S(config-if)#

Example

This example shows how to delete the configured MAC address on specified VLAN for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#no switchport port-security mac-address 00d0.f800.073c vlan 3

DXS-3600-32S(config-if)#

Example

This example shows how to delete the sticky MAC address to dynamic MAC addresses on specified VLAN for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#no switchport port-security mac-address sticky 00d0.f800.073c vlan 3

DXS-3600-32S(config-if)#

Example

This example shows how to configure the maximum number of secure MAC addresses for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#switchport port-security

DXS-3600-32S(config-if)#switchport port-security maximum 100

DXS-3600-32S(config-if)#

Example

This example shows how to recover the maximum number of secure MAC addresses for interface tenGigabitEthernet 1/1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1/1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#no switchport port-security maximum

DXS-3600-32S(config-if)#

42-4 clear port-security

This command is used to delete all secure addresses of a specific type, including configured, sticky and dynamic on the interface.

clear port-security {all | configured | dynamic | sticky} [{address <mac-address> | interface <interface-id>}]

381

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

Parameters all configured dynamic sticky

address <mac-address>

interface <interface-id>

Specifies to delete all secure MAC addresses.

Specifies to delete configured secure MAC addresses.

Specifies to delete secure MAC addresses learned automatically.

Specifies to delete sticky secure MAC addresses

Specifies to delete the specified secure MAC addresses.

Specifies to delete secure MAC addresses on the specified interface.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

This command can clear all secure MAC addresses from the address table. When you enter an interface-id, the command deletes secure the MAC address from the interface.

Example

This example shows how to delete the all secure addresses from the MAC address table.

DXS-3600-32S#clear port-security all

DXS-3600-32S#

Example

This example shows how to delete a specified secure address from MAC address table.

DXS-3600-32S#clear port-security configured address 0008.0070.0007

DXS-3600-32S#

Example

This example shows how to delete a specific dynamic secure address from the MAC address table on the interface tenGigabitEthernet 1/1.

DXS-3600-32S#clear port-security dynamic interface tenGigabitEthernet 1/1

DXS-3600-32S#

42-5 show port-security

This command is used to show the port security settings.

show port-security [address] [interface <interface-id>]

Parameters address

interface <interface-id>

Specifies to display all the secure MAC addresses on all interfaces or a specified interface.

Specifies to display port security settings for the specified interface.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

382

Usage Guideline

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

This command shows all the port security configurations, secure addresses and the way to deal with violation if no parameter is configured. When you enter the command without keywords, the output includes the administrative and operational status of all secure ports on the switch. When you enter an interface-id, the command displays port security setting for the interface. When you enter the

address keyword, the command displays the secure MAC address for all interfaces and the aging information for each secure address.

Example

This example shows how to display the setting of all secure ports.

DXS-3600-32S#show port-security

Secure Port MaxSecureAddr CurrentAddr Security Action

(count) (count)

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

TGi/1 128 0 Protect

TGi/2 128 0 Protect

TGi/3 128 0 Protect

TGi/4 128 0 Protect

TGi/5 128 0 Protect

TGi/6 128 0 Protect

TGi/7 128 0 Protect

TGi/8 128 0 Protect

TGi/9 128 0 Protect

TGi/10 128 0 Protect

TGi/11 128 0 Protect

TGi/12 128 0 Protect

TGi/13 128 0 Protect

TGi/14 128 0 Protect

TGi/15 128 0 Protect

TGi/16 128 0 Protect

TGi/17 128 0 Protect

TGi/18 128 0 Protect

TGi/19 128 0 Protect

TGi/20 128 0 Protect

TGi/21 128 0 Protect

TGi/22 128 0 Protect

TGi/23 128 0 Protect

TGi/24 128 0 Protect

DXS-3600-32S#

Example

This example shows how to display the port security setting of specified interface.

DXS-3600-32S#show port-security interface tenGigabitEthernet 1/1

Port Security : Enabled

Port Status : Down

Violation Mode : Protect

Static Address Aging : Disabled

Sticky Learning : Enabled

Aging Time : 0 mins

Aging Type : Absolute

Maximum MAC Addresses : 128

Total MAC Addresses : 0

Configured MAC Addresses : 0

DXS-3600-32S#

383

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

Example

This example shows how to display all secure MAC addresses in the system.

DXS-3600-32S#show port-security address

VLAN MAC Address Type Ports Remaining Time

(mins)

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

1 00d0.f800.073c Configured Gi1/1 1

1 00d0.f800.3cc9 Dynamic Gi1/3 2

Total Addresses: 2

DXS-3600-32S#

Example

This example shows how to display the secure MAC address on the specified interface.

DXS-3600-32S#show port-security address interface tenGigabitEthernet 1/1

VLAN MAC Address Type Ports Remaining Time

(mins)

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

1 00d0.f800.073d Sticky Gi1/1 1(I)

Total Addresses: 1

DXS-3600-32S#

384

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

Protocol Independent Commands

43-1 clear ip route

This command is used to remove all or specified static routes from the IP routing table.

clear ip route {* | network [net-mask]}

Parameters

*

network net-mask

Specifies to remove all static routes.

Specifies that the IP address and network address are both accepted. If net-mask is not specified, the longest prefix matched route will be removed.

(Optional) Specifies the network mask of the destination network.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to remove all the static routes or the specified static routes from the IP routing table. If there area multi-paths to one destination, all these static routes will be removed.

Users can verify the settings by entering the show ip route static command.

Example

This example shows how to remove the static route 33.3.3.0/24.

DXS-3600-32S#clear ip route 33.3.3.0 255.255.255.0

DXS-3600-32S#

Example

This example shows how to remove all static routes.

DXS-3600-32S#clear ip route *

DXS-3600-32S#

43-2 route-preference default

This command is used to set the preference of the static default route. Use no form of this command to restore it to the default setting.

route-preference default value

no route-preference default

Parameters

value

Specifies the preference of the static default route. The value range is 1-999.

Default

Command Mode

The default value of the static default route’s preference is 1.

Global Configuration Mode.

Command Default Level

Level: 8

385

Usage Guideline

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

This command sets the preference of static default routes.

Among the different type default routes, the one with the lowest preference will be established as the active route. If that route has been found failed, then this route will be automatically deactivated and the route with the next lower preference will be the active route.

Users can verify the settings by entering the show ip route-preference command.

Example

This example shows how to set the preference of the static default route to 100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-preference default 100

DXS-3600-32S(config)#

43-3 route-preference static

This command is used to set the preference of the static route. Use no form of this command to restore to the default setting.

route-preference static value

no route-preference static

Parameters

value

Specifies the preference of the static route. The value range is 1-999.

Default

Command Mode

The default value of the static default route’s preference is 60.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Among the different type routes with same destination network address, the one with the lowest preference will be established as the active route. If that route has been found failed, then this route will be automatically deactivated and the route with the next lower preference will be the active route.

Users can verify the settings by entering the show ip route-preference command.

Example

This example shows how to set the preference of static route to 50.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-preference static 50

DXS-3600-32S(config)#

43-4 ip mtu

This command is used to set the Maximum Transmission Unit (MTU) size of IP packets sent on an interface. Use the no form of this command to restore to the default setting.

ip mtu bytes

no ip mtu

Parameters

bytes

Specifies the Maximum Transmission Unit of an IP packet. The value range is 512-

1712.

386

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

Default

Command Mode

The default value of IP MTU is 1500

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If an outgoing IP packet from CPU interface exceeds the MTU set for the interface, software will fragment it before sending out.

Note: Changing the MTU value (with the jumbo frame command) won’t affect the IP

MTU value, vice verse is same. Therefore you should care both MTU and IP MTU sizes to make the system working correctly. For example, if IP MTU is larger than

MTU at the egress port, the packet larger than MTU but less than IP MTU may be dropped by the egress port.

Use show ip interface to see the current setting of IP MTU

Example

This example shows how to set the IP MTU of interface ‘vlan1’ to 800 bytes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip mtu 800

DXS-3600-32S(config-if)#

43-5 ip ecmp load-balance

This command is used to set the load-balancing algorithm for ECMP/WCMP route. Use no form of this command to remove the configuration set before.

ip ecmp load-balance [{sip | crc32_lower | crc32_upper} | dip | port](1) no ip ecmp load-balance [{sip | crc32_lower | crc32_upper} | dip | port]

Parameters sip crc32_lower crc32_upper dip port

(Optional) Specifies that the load-balancing algorithm will include the lower 5 bits of the source IP address. This attribution is mutually exclusive with crc32_lower and

crc32_upper. If it is set, crc32_lower and crc32_upper will be excluded.

(Optional) Specifies that the load-balancing algorithm will include the lower 5 bits of the CRC. This attribution is mutually exclusive with crc32_upper and sip. If it is set,

crc32_upper and sip will be excluded.

(Optional) Specifies that the load-balancing algorithm will include the upper 5 bits of the CRC. This attribution is mutually exclusive with crc32_lower and sip. If it is set,

crc32_lower and sip will be excluded.

(Optional) Specifies that the load-balancing algorithm will include the destination IP address.

(Optional) Specifies that the load-balancing algorithm will include the TCP or UDP port.

Default

Command Mode

By default, dip and crc32_lower is set.

Global Configuration Mode.

Command Default Level

Level: 8

387

Usage Guideline

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

User can use any combination of dip, port, sip, crc32_lower or crc32_upper to build the Hash algorithm. sip, crc32_lower or crc32_upper are mutually exclusive with each other. User is required to select one and only one of them.

The no form of this command will remove the keywords it carries with as the components of a key from the saved setting. For example, if the system saves the setting of sip, dip and port. After the no ip ecmp load-balance dip port is executed, only sip is available for the key. If the no form of this command has the keywords not in the saved settings, the command runs properly. If using the no form of this command without any keywords, the configuration will go back to the default settings.

Use show ip ecmp load-balance to check the current setting of load-balancing algorithm.

Example

This example shows how to set the load-balancing algorithm to use sip and TCP or

UDP port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip ecmp load-balance sip port

DXS-3600-32S(config)#

43-6 ip route

This command is used to add a static route entry. Use no form of this command to remove a static route entry. Primary and backup are mutually exclusive. Users can select only one when creating a new route. If user sets neither of these, the system will try to set the new route first by primary and second by backup and not set this route to be a multipath route. The weight is used to configure the equal cost multiple paths (WCMP) function.

ip route network net-mask {ip-address [{primary | backup | weight number}]}

no ip route network net-mask {ip-address}

Parameters

network net-mask ip-address

primary backup

weight number

Specifies the network address of the destination. The destination of the route is determined by network and net-mask.

Specifies the network mask of the destination.

Specifies the IP address of the next-hop router

(Optional) Specifies the route as the primary route to the destination.

(Optional) Specifies the route as the backup route to the destination.

(Optional) Specifies a weight number greater than zero, but not greater than the maximum paths number for the WCMP. This number is used to replicate identical route path (multiple copies) in routing table, so the path get more chance to be hit for traffic routing.

Default

By default, no static route is configured.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

388

Usage Guideline

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

When the value of network and net-mask are both 0.0.0.0, it means to create a static default route.

Use the command with keyword primary or backup means the newly created route is a floating static route. The keyword weight means the newly created route is a static multipath route. The floating static route and the static multipath route are mutually exclusive. If none of the following parameters, “primary”, “backup” or “weight,” are selected, the static route will be:

1. Primary if there is no primary route to the same destination.

2. Backup if there has been a primary route to the same destination.

3. Fail to create if there have been a primary route and a backup route to the same destination.

4. Fail to create if there has been one static multipath route to the same destination.

Users can verify the settings by entering the show ip route static command.

Example

This example shows how to add a static route entry with destination 20.0.0.0/8 and nexthop 10.1.1.254.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip route 20.0.0.0 255.0.0.0 10.1.1.254

DXS-3600-32S(config)#

Example

This example shows how to add a static weighted multipath route entry with destination 30.0.0.0/8 and two nexthops: 10.1.1.253, 10.1.1.254.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip route 30.0.0.0 255.0.0.0 10.1.1.253 weight 1

DXS-3600-32S(config)#ip route 30.0.0.0 255.0.0.0 10.1.1.254 weight 1

DXS-3600-32S(config)#

Example

This example shows how to add a static route entry with destination 40.0.0.0/8 and nexthop 10.1.1.254 and specify this route to be a backup static route.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip route 40.0.0.0 255.0.0.0 10.1.1.254 backup

DXS-3600-32S(config)#

Example

This example shows how to remove the static route with destination 20.0.0.0/8 and nexthop 10.1.1.254.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no ip route 20.0.0.0 255.0.0.0 10.1.1.254

DXS-3600-32S(config)#

43-7 show ip route-preference

This command is used to display the preference of different route types.

show ip route-preference [{connected | static | default | rip | ospf | ospfIntra | ospfInter | ospfExt1 | ospfExt2

| ebgp | ibgp}]

Parameters connected static default rip ospf

(Optional) Specifies to show the route preference of connected route.

(Optional) Specifies to show the route preference of static route.

(Optional) Specifies to show the route preference of static default route.

(Optional) Specifies to show the route preference of RIP route.

(Optional) Specifies to show the route preference of all types of OSPF route.

389

ospfIntra ospfInter ospfExt1 ospfExt2 ebgp ibgp

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

(Optional) Specifies to show the route preference of OSPF intra-area route.

(Optional) Specifies to show the route preference of OSPF inter-area route.

(Optional) Specifies to show the route preference of OSPF external type-1 route.

(Optional) Specifies to show the route preference of OSPF external type-2 route.

(Optional) Specifies to show the route preference of BGP AS-external route.

(Optional) Specifies to show the route preference of BGP AS-internal route.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

In general, the higher the preference is, the lower the trust rating is. So, if there are two routes to a same destination, the source with lower preference will be selected to forward.

The preference for connected routes is fixed to 0. This means the connected route always has the highest priority.

Example

This example shows how to check the route preference of all route types.

DXS-3600-32S#show ip route-preference

Route Preference Settings

Protocol Preference

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

RIP 100

Static 100

Default 100

Connected 0

OSPF Intra 80

OSPF Inter 90

OSPF ExtT1 110

OSPF ExtT2 115

EBGP 70

IBGP 130

DXS-3600-32S#

Example

This example shows how to check the route preference of OSPF route.

DXS-3600-32S#show ip route-preference ospf

Route Preference Settings

Protocol Preference

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

OSPF Intra 80

OSPF Inter 90

OSPF ExtT1 110

OSPF ExtT2 115

DXS-3600-32S#

390

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

Example

This example shows how to check the route preference of RIP route.

DXS-3600-32S#show ip route-preference rip

Route Preference Settings

Protocol Preference

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

RIP 100

DXS-3600-32S#

Display Parameters

Protocol

Preference

OSPF Intra

OSPF Inter

OSPF ExtT1

OSPF ExtT2

Description

The route type.

Route Preference.

OSPF intra-area route type.

OSPF inter-area route type.

OSPF AS external type-1 route.

OSPF AS external type-2 route.

43-8 show ip ecmp load-balance

This command is used to show the load-balancing algorithm settings.

show ip ecmp load-balance

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to check the load-balancing algorithm settings.

Example

This example shows how to check the load-balancing algorithm settings.

DXS-3600-32S#show ip ecmp load-balance

ECMP Load Balance Algorithm :

Destination IP : used.

Source IP : used.

CRC_Low : not used.

CRC_High : not used.

TCP_UDP_Port : used.

DXS-3600-32S#

43-9 show ip route

This command is used to display the current state of the IP routing table.

show ip route [network [net-mask]] [{count | connected | static | rip | ospf | bgp | weight}]

Parameters

network

(Optional) Specify the destination IP address of the route want to be displayed. If netmask is not specified, the longest prefix matched route will be displayed.

391

net-mask

count connected static rip ospf bgp weight

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

(Optional) Specify the destination netmask of the route want to be displayed.

(Optional) Specifies to show the number of active route.

(Optional) Specifies to show only connected routes.

(Optional) Specifies to show only static routes. One static route may be active or inactive.

(Optional) Specifies to show only RIP routes.

(Optional) Specifies to show only OSPF routes.

(Optional) Specifies to show only BGP routes.

(Optional) Specifies to show only multipath static routes.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use the command with keyword count means to show the number of active routes, active route is the route which had been written into chip and can forward traffic.

User can specify the network as an IP address or a network address. They both are the same in this implementation. If net-mask is not specified, the longest prefix matched route will be displayed. If net-mask is specified, only the destination routes matched the specified network will be displayed

Example

DXS-3600-32S#show ip route

This example shows how to check the IP routing table.

Routing Table

IP Address/Netmask Gateway Interface Cost Protocol

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

20.1.1.0/24 10.1.1.9 vlan1 1 Static

30.1.1.0/24 10.1.1.9 vlan1 1 Static

10.0.0.0/8 0.0.0.0 vlan1 1 Connected

Total Entries: 3

DXS-3600-32S#

Example

This example shows how to check all static routes.

DXS-3600-32S#show ip route static

Routing Table

IP Address/Netmask Gateway Cost Protocol Backup Weight Status

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

20.1.1.0/24 10.1.1.9 1 Static Primary None Active

30.1.1.0/24 10.1.1.9 1 Static None 2 Active

30.1.1.0/24 10.1.1.89 1 Static None 2 Inactive

Total Entries: 3

DXS-3600-32S#

392

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

Example

This example shows how to check all static weighted multi-path routes.

DXS-3600-32S#show ip route weight

Routing Table

IP Address/Netmask Gateway Cost Protocol Weight Status

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

30.1.1.0/24 10.1.1.9 1 Static 2 Active

30.1.1.0/24 10.1.1.89 1 Static 2 Inactive

Total Entries: 2

DXS-3600-32S#

Example

This example shows how to check the number of active routes.

DXS-3600-32S#show ip route count

--------- route info ----------

The num of active route: 3

DXS-3600-32S#

Display Parameters

IP Address/Netmask

Gateway

Interface

Cost

Protocol

Weight

Status

Description

The network address of destination.

The IP address of next router.

The name of the outgoing interface.

The metric of route.

The route type.

The weight of static weighted multipath route.

The status of static route. If be active, the static route is able to used to forward packet.

393

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

Quality of Service (QoS) Commands

44-1 class

This command is used to specify a class map to be associated with a traffic policy and then enter into policy-map class configuration mode. Use the no form of this command to remove the specified class from the policy map.

class class-map-name

no class class-map-name

Parameters

class-map-name

Specifies the name of the class for the class map. The name can be a maximum of

32 alphanumeric characters.

Default

None.

Command Mode

Policy Map Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The class map needs be created by global configuration command class-map before being associated with a traffic policy. This command enters the policy-map class configuration mode. The user can use the following command to define the

QoS policy for the class:

set: Remark specify field of packets that match this classification.

police: Defines a policer for the classified traffic.

no: Remove a remark action or policer.

The user can use policy-map global configuration command to identify the policy map and enter the policy map configuration mode.

Example

This example shows how to create a class map called 'class1' and then use the command class in the policy map configuration mode associate class1 with policymap policy1. The traffic that match access-group 10 will be classified by this class map and then set DSCP value to 10 and policed by a single rate police.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#class-map class1

DXS-3600-32S(config-cmap)#match access-group 10

DXS-3600-32S(config-cmap)#exit

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#set dscp 10

DXS-3600-32S(config-pmap-c)#police rate 5000 20 exceed-action dscp 23

DXS-3600-32S(config-pmap-c)#

44-2 class-map

This command is used to create or modify a class map that defines the criteria for packet matching and to enter the class-map configuration mode. To remove an existing class map from the switch, use the no class-map command.

class-map class-map-name

no class-map class-map-name

Parameters

class-map-name

Specifies the name of the class for the class map. The name can be a maximum of

32 alphanumeric characters.

394

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

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The global configuration command class-map use to specify the name of the class map that user want to create or modify class-map match criteria. The class-map command and its subcommands are used to define packet classification. And these packets which match the class map will be performed specified action such as mark, meter, etc. that defined by globally named service policy applied on a per-port basis.

This command enters class-map configuration mode.

The user can use the following commands to define or modify the match criteria:

match: Configures classification criteria.

no: Removes a match statement from a class map.

A class map that attached to a policy map can not be modified before it was attached from the policy map with no class command.

Example

This example shows how to configure the class map called class1 with one match criterion, which is an access list called 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#class-map class1

DXS-3600-32S(config-cmap)#match access-group 10

DXS-3600-32S(config-cmap)#

44-3 match

This command is used to define the match criteria to classify traffic. Use the no form of this command to remove the match criteria.

match access-group {acl-name | acl-id}

no match access-group {acl-name | acl-id}

Parameters

acl-name acl-id

Specifies the name of an IP standard or extended access control list (ACL) or MAC access control list.

Specifies the ID of an IP standard or extended access control list (ACL) or MAC access control list.

Default

None.

Command Mode

Class Map Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To use the match command, the user must first enter the class-map command to specify the name of the class that will be used to establish the match criteria.

Example

This example shows how to configure the class map called class1 with one match criterion, which is an access list called 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#class-map class1

DXS-3600-32S(config-cmap)#match access-group 10

DXS-3600-32S(config-cmap)#

395

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

44-4 mls qos cos

This command is used to define the default class of service (CoS) value of a port. Use the no form of this command to return to the default setting.

mls qos cos default-cos

no mls qos cos

Parameters

default-cos

Specifies to assign a default CoS value to a port. If packets are untagged, the default

CoS value becomes the packet CoS value. The CoS range is 0 to 7.

Default

Command Mode

The default CoS value is 0.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Use mls qos cos command to specify the default CoS of the port. The CoS of the packets will be the packet’s CoS if the packets are tagged, and will be the port default CoS if the packet is untagged.

Example

This example shows how to set the default CoS to 4 for interface tenGigabitEthernet

1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#mls qos cos 4

DXS-3600-32S(config-if)#

44-5 mls qos map dscp-cos

This command is used to define a differentiated services code point (DSCP) to class of service (CoS) map in global configuration mode. To restore to the default setting, use the no form of this command.

mls qos map dscp-cos dscp-list to cos

no mls qos map dscp-cos

Parameters

dscp-list cos

Specifies the list of DSCP to be mapped to a COS value. The range of DSCP is 0 to

63. The series of DSCPs can be separated by comma (,) or hyphen (-) with no spaces or hyphen - before and after.

Specifies the associated CoS value.

Default

Command Mode

DSCP -> CoS:

0..7 => 1

8..15 => 2

16..23 => 0

24..31 => 3

32..40 => 4

41..47 => 5

48..55 => 6

56..63 => 7

Global Configuration Mode.

Command Default Level

Level: 15

396

Usage Guideline

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

The DSCP to CoS map is used by a DSCP trust port to map a DSCP value to an

CoS value. This CoS value is then mapped to CoS queue based on the CoS to queue map configured by the priority-queue cos-map command.

Example

This example shows how to configure the DSCP 12, 16, 18 to CoS 1 mapping.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mls qos map dscp-cos 12,16,18 to 1

DXS-3600-32S(config)#

44-6 mls qos scheduler

This command is used to configure the queue scheduling algorithm in global configuration mode. To restore to the default setting, use the no form of this command.

mls qos scheduler [sp | rr | wrr | wdrr] no mls qos scheduler

Parameters sp rr wrr wdrr

Specifies all queues of all ports in absolute priority scheduling.

Specifies all queues of all ports in round-robin scheduling.

Specifies the queues of all ports in frame count weighted round-robin scheduling. If the weight of a queue be configured to zero, the queue is in SP scheduling mode.

Specifies the queues of all ports in frame length weighted round-robin scheduling. If the weight of a queue be configured to zero, the queue is in SP scheduling mode.

Default

Command Mode

WRR queue scheduling algorithm.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The user can specify schedule algorithms to WRR, SP, RR or WDRR for the output queue. By default, the output queue algorithm is WRR (Weighted Round-Robin).

The user may specify the WRR weight by using the wrr-queue bandwidth command and specify the WDRR weight by using the wdrr-queue bandwidth command.

The user can also specify the “SP + WRR/WDRR” scheduling mode by configuring the WRR/WDRR weight of a queue to zero.

Example

This example shows how to configure the queue scheduling algorithm mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mls qos scheduler sp

DXS-3600-32S(config)#

44-7 mls qos trust

This command is used to trust either the CoS field or the DSCP field of the arriving packet for subsequent QoS operation. Use the no form of this command to restore it to default setting.

mls qos trust {cos | dscp} no mls qos trust

397

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

Parameters cos dscp

Specifies that the CoS field of the arriving packets are trusted for subsequent QoS operations. For an untagged packet, the default CoS value of the port is used.

Specifies that the DSCP field of the arriving packets is trusted for subsequent operations. For a non-IP packet, the packet CoS is used if the packet is tagged. For an untagged packet, the default CoS value of the port is used.

Default

Command Mode

Trust CoS.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Use the mls qos trust command to specify the port trust mode and which fields of the packet to use to classify traffic.

When the interface is set to trust DSCP, the DSCP of the arriving packet will be trusted for the subsequent QoS operations. First, the DSCP will be mapped to a CoS value, which will be subsequently used to determine the CoS queue. The DSCP to

COS map is configured by the mls qos map dscp-cos command. The CoS to queue map is configured by the priority-queue cos-map command. If the arriving packet is a non-IP packet, the CoS is trusted. The resulting COS mapped from

DSCP will also be the CoS in the transmitted packet.

When an interface is in the trust CoS state, the CoS of the arriving packet will be used to determine the CoS queue. The CoS to queue map is configured by the

priority-queue cos-map command.

Example

This example shows how to configure trust mode to trust DSCP on tenGigabitEthernet 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#mls qos trust dscp

DXS-3600-32S(config-if)#

44-8 police sr-tcm

This command is used to configure traffic policing using the single rate in the policy-map class configuration mode.

Remove the traffic policing from the switch configuration, use the no police command.

police sr-tcm bps [bc cbs] [be ebs] conform-action action exceed-action action [violate-action action]

no police

Parameters

bps

bc cbs

be ebs

conform-action exceed-action violate-action

Specifies the average rate in Kbps.

(Optional) Specifies the committed burst size in Kbyte. If not specify this item, the default committed burst will be use.

(Optional) Specifies the excess burst size in Kbyte. If not specify this item, the default excess burst will be use.

Specifies the action to take on green color packets.

Specifies the action to take on yellow color packets.

(Optional) Specifies the action to take on red color packets. The default action is as same as action for yellow color packets.

398

action

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

Specifies the action to take on packets describe following:

drop: Drops packet.

set-dscp-transmit new-dscp: Sets the IP differentiated services code points(DSCP) value and transmits the packet with the new DSCP value setting.

set-1p-transmit new-cos: Sets the packet COS value and transmits it with the new CoS value.

transmit: Transmit the packet with no change.

Default

Command Mode

None.

Policy-map Class Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use the police sr-tcm command to drop a packet or mark a packet with different quality of service (QoS) values based on conformance to the service-level agreement.

The CBS and EBS must be configured so that at least one of them is larger than 0.

The user may specify multiple policing actions for a color packet, but can not specified contradictory actions at one time. That is, the user can specify action setdscp-transmit and set-1p-transmit for a color packet at one time, but can not specify the action transmit and drop for it.

The algorithm of color classify is described following:

The two token buckets are initially (at time 0) full, that is, the token count Tbc(0) =

CBS and the token count Tbe(0) = EBS. Thereafter, the token counts Tbc and

Tbe are updated bps times per second as follows: a. If Tbc is less than cbs, Tbc is incremented by one, else b. if Tbe is less then ebs, Tbe is incremented by one, else c. neither Tbc nor Tbe is incremented.

When a packet of size B bytes arrives at time t, the following happens: a. If Tbc(t)-B >= 0, the packet is green and Tbc is decremented by B down to the minimum value of 0, else b. If Tbe(t)-B >= 0, the packets is yellow and Tbe is decremented by B down to the minimum value of 0, else.

c. The packet is red and neither Tc nor Te is decremented.

It is recommended that when the value of the CBS or the EBS is larger than 0, it is larger than or equal to the size of the largest possible IP packets in the stream.

Only one policer can be bound at one time in the policy-map class configuration mode

399

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

Example

This example shows how to define a traffic class (using the class-map command) and associate the policy with the match criteria for the traffic class in a policy map

(using the policy-map command). The service-policy command is then used to attach this service policy to the interface. In this particular example, traffic policing is configured with an average rate of 5000 Kbits per second and a Committed burst size of 4096 Kbytes for all ingress packets specified by class-map class1 at interface tenGigabitEthernet 3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#class-map class1

DXS-3600-32S(config-cmap)#match access-group 1

DXS-3600-32S(config-cmap)#exit

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#police sr-tcm 5000 4096 2048 conform-action transmit exceed-action set-dscp-transmit 54 violate-action drop

DXS-3600-32S(config-pmap-c)#exit

DXS-3600-32S(config-pmap)#exit

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#service-policy input policy1

DXS-3600-32S(config-if)#

44-9 police tr-tcm cir

This command is used to configure traffic policing using two rates in policy-map configuration mode. Remove traffic policing from the configuration, use the no police command.

police tr-tcm cir cir [bc cbs] pir pir [be pbs] [conform-action action [exceed-action action [violate-action

action]]]

no police

Parameters

cir cir

bc cbs

pir pir

be pbs

conform-action exceed-action violate-action

action

Specifies the committed information rate in kbps at which the first token bucket is updated.

(Optional) Specifies the committed burst size in Kbytes used by the first token bucket for policing. It must be configured to be greater than 0.

Specifies the peak information rate in kbps at which the second token bucket is updated. The pir must be equal to or greater than the cir.

(Optional) Specifies the peak burst size in Kbytes used by the second token bucket for policing. It must be configured to be greater than 0.

(Optional) Specifies the action to take on green color packets. The default action is

‘transmit’.

(Optional) Specifies the action to take on yellow color packets. The default action is

‘drop’.

(Optional) Specifies the action to take on red color packets. The default action is as same as action for yellow color packets.

Specifies the action to take on the following packets:

drop: Drops the packet.

set-dscp-transmit new-dscp: Sets the IP differentiated services code points(DSCP) value and transmits the packet with the new DSCP value setting.

set-1p-transmit new-cos: Sets the packet COS value and transmits it with the new CoS value.

transmit: Transmits the packet with no change.

Default

None.

400

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

Command Mode

Policy-map Class Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use the police tr-tcm cir command to drop a packet or mark a packet with different quality of service (QoS) values based on conformance to the service-level agreement.

The user may specify multiple policing actions for a color packet, but can not specified contradictory actions at one time. That is, the user can specify action setdscp-transmit and set-1p-transmit for a color packet at one time, but can not specify the action transmit and drop for it.

Two-rate traffic policing uses two token buckets (Tbc and Tbp) for policing traffic at two independent rates. The algorithm of color classify for this command is described following:

• The two token buckets are initially (at time 0) full, that is, the token count Tbp

(0) = PBS and the token count Tbc (0) = CBS. Thereafter, the token count Tbp is incremented by one pir times per second up to PBS and the token count

Tbc is incremented by one cir times per second up to CBS.

• When a packet of size B bytes arrives at time t, the following happens: a. If Tbp(t)-B < 0, the packet is red, else.

b. If Tbc(t)-B < 0, the packet is yellow and Tbp is decremented by B, else.

c. The packet is green and both Tbp and Tbc are decremented by B.

The pir must be equal to or greater than the cir.

The PBS and the CBS are measured in Kbytes and both of them must be configured to be greater than 0. It is recommended that they be configured to be equal to or greater than the size of the largest possible IP packet in the stream.

In the policy-map class configuration mode, only one policer can be bind at one time.

Example

This example shows how to define a traffic class (using the class-map command) and associate the policy with the match criteria for the traffic class in a policy map

(using the policy-map command). In the following example, two-rate traffic policing is configured on a class to limit traffic to an average committed rate of 2Mbps and a peak rate of 5Mbps.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#class-map class1

DXS-3600-32S(config-cmap)#match access-group 1

DXS-3600-32S(config-cmap)#exit

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#police tr-tcm cir 2000 bc 4096 pir 5000 be 2048 conform-action transmit exceed-action set-dscp-transmit 28 violate-action drop

DXS-3600-32S(config-pmap-c)#

44-10 police rate

This command is used to define a policer for classified traffic. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded. Use the no police command to remove an existing policer .

police rate bps burst-byte [exceed-action {drop | dscp dscp-value}]

no police

Parameters

bps burst-byte

Specifies the average rate in Kbps.

Specifies the burst size in Kbyte.

401

exceed-action drop

dscp dscp-value

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

(Optional) Specifies the action for the packets that exceeded the rate. The default action is ‘drop’.

Specifies to drop the packets exceeding the average rate.

Specifies to overwrite the DSCP value of the packets exceeding the average rate.

Default

Command Mode

None.

Policy-map Class Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to limit bandwidth of appointed flow and specify the method of handling the excessive part.

If not specify exceed action, the default action ‘drop’ will be used.

In the policy-map class configuration mode, only one policer can be bind at one time.

Example

This example shows how to configure the flow bandwidth.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#police rate 5000 4096 exceed-action dscp 23

DXS-3600-32S(config-pmap-c)#

44-11 policy-map

This command is used to create or modify a policy map that can be attached to multiple interfaces and to enter policymap configuration mode. To remove a existing policy map, use the no form of this command.

policy-map policy-map-name

no policy-map policy-map-name

Parameters

policy-map-name

Specifies the name of the policy map. The name can be a maximum of 32 alphanumeric characters.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

402

Usage Guideline

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

The global configuration command policy-map is used to specify the name of the policy map that user want to create or modify policy-map information and enter policy map configuration mode.

In the policy map configuration mode, the user can use the following command to attach or detach class map to/from the policy map:

class: Attach a exist class map that defined classification criteria to the policy map and enter the policy-map class configuration mode.

no: Remove a class map from this policy map.

Policy maps maybe contain more than one traffic class by using the class policymap configuration command.

The user can attach the policy map to an interface by using the service-policy interface configuration command. Only one policy map per interface is supported and a policy map can apply to multiple interfaces.

If user want modify the policy-map information that attached to one or more interfaces, they must first use no form of service-policy interface configuration command to detach it from these interfaces.

Example

This example shows how to create a policy map called policy1. When attached to the ingress port, it matches all the incoming traffic defined in class1, sets the COS to 5, and polices the traffic at an average rate of 1 Mbps and bursts at 20 KB. Traffic exceeding the profile is discarded.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#set cos 5

DXS-3600-32S(config-pmap-c)#police rate 1000 20 exceed-action drop

DXS-3600-32S(config-pmap-c)#

Example

This example shows how to configure multiple classes in a policy map called policy2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#policy-map policy2

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#set dscp 10

DXS-3600-32S(config-pmap-c)#police rate 1000 20 exceed-action dscp 12

DXS-3600-32S(config-pmap-c)#exit

DXS-3600-32S(config-pmap)#class class2

DXS-3600-32S(config-pmap-c)#police sr-tcm 2000 bc 20 be 40 conform-action drop exceed-action dropDXS-3600-32S(config-pmap-c)#exit

DXS-3600-32S(config-pmap)#class class3

DXS-3600-32S(config-pmap-c)#set cos-queue 5

DXS-3600-32S(config-pmap-c)#

44-12 priority-queue cos-map

This command is used to define a class of service (CoS) to queue maps in the global configuration mode. To restore to the default setting, use the no form of this command.

priority-queue cos-map qid cos0 [cos1 [cos2 [cos3 [cos4 [cos5 [cos6 [cos7]]]]]]]

no priority-queue cos-map

Parameters

qid cos0…cos7

Specifies the queue ID.

Specifies the associated CoS value.

403

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

Default

Command Mode

CoS -> queue:

0 -> 2

1 -> 0

2 -> 1

3 -> 3

4 -> 4

5 -> 5

6 -> 6

7 -> 7

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The priority-queue cos-map command use to configure the CoS to queue map table. When a packet is received, the packet will be given an internal CoS. This internal CoS is used to select the transmit queue based on the CoS to queue map table. The CoS queue with higher number owned with higher priority.

Example

This example shows how to assign the CoS priority 3,5,6 to CoS queue 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#priority-queue cos-map 2 3 5 6

DXS-3600-32S(config)#

44-13 queue bandwidth

This command is used to specify or modify the bandwidth allocated for a CoS. To remove the bandwidth allocated for a

CoS, use the no form of this command.

queue queue-id bandwidth min max

no queue queue-id bandwidth

Parameters

queue-id min max

Specifies the CoS queue to assign bandwidth.

Specifies the minimal guaranteed bandwidth in Kbps allocated to a specified COS.

Specifies the maximum bandwidth in Kbps for a specified COS.

Default

Command Mode

No limitation.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

When the minimal bandwidth is configured, the packet transmitted from the queue can be guaranteed even though the link is congested.

When the maximum bandwidth is configured, packets transmitted from the queue cannot exceed the maximum bandwidth even if the bandwidth is available.

Note that the configuration of queue bandwidth can only be attached to a physical port but not a port-channel. That is the bandwidth of one CoS cannot be summation across physical ports.

404

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

Example

This example shows how to set the queue bandwidth.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#queue 1 bandwidth 100 2000

DXS-3600-32S(config-if)#

44-14 rate-limit

This command is used to configure the rate limitation on the interface. Use the no form of the command to restore it to the default setting.

rate-limit {input | output} bps burst-size

no rate-limit {input | output}

Parameters input output

bps burst-size

Specifies the input rate limit.

Specifies the output rate limit.

Specifies the bandwidth limitation in Kbps.

Specifies the burst traffic limit in Kbyte.

Default

No limitation.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Example

This example shows how to set the input bandwidth on interface tenGigabitEthernet

3.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#rate-limit input 2000 4096

DXS-3600-32S(config-if)#

44-15 service-policy

This command is used to apply a policy map defined by the policy-map command to an interface. Use the no form of this command to remove the policy map from interface.

service-policy {input | output} policy-map-name

no service-policy {input | output}

Parameters input output

policy-map-name

Specifies to apply the policy map for ingress flow on interface.

Specifies to apply the policy map for egress flow on interface.

Specifies the name of the policy map. The name can be a maximum of 32 alphanumeric characters.

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 15

405

Usage Guideline

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

The service-policy command is used to attach a single policy map to interface. This policy is attached to the interface. A packet arriving at an interface will be treated based on the service policy attached to the interface.

A policy map needs be created by policy-map command before you apply it on an interface. An interface can just own one policy map.

A policy map that attached to an interface can not be modified unless detach it from the interface with no form of this command.

Example

This example shows how to apply the policy map policy1 to a physical ingress interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#service-policy input policy1

DXS-3600-32S(config-if)#

44-16 set

This command is used to set the new DSCP field, and CoS field of the out-going packet. The user can also specify the

CoS queue for the packet. Use the no form of this command to remove traffic remarking.

set {dscp dscp | cos cos | cos-queue cos-queue}

no set {dscp | cos | cos-queue}

Parameters

dscp dscp

cos cos

cos-queue cos-queue

Specifies a new DSCP for the packet. The range is 0 to 63.

Specifies to assign a new CoS value to the packet. The range is 0 to 7.

Specifies to assign the CoS queue to the packets. This action will overwrite the original CoS queue selection.

Default

Command Mode

None.

Policy-map Class Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The set command is used to set the DSCP field or the COS field of the matched packet to a new value and the set cos-queue command may be assigned directly to the CoS queue for the matched packets.

The user can configure multiple set commands for a class if they are not conflicting.

The set dscp command will not affect the CoS queue selection. The set cos-queue command will not alter the CoS field of the outgoing packet.

The police command and the set command may be configured for the same class.

The set command will be applied to all colors of packets and the police action takes affect after the set command.

The command set cos-queue can be used only for the policy map that is attached to the ingress interface.

Example

This example shows how to assign COS 4 for all packets classified by class1 without any police.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#policy-map policy1

DXS-3600-32S(config-pmap)#class class1

DXS-3600-32S(config-pmap-c)#set cos 4

DXS-3600-32S(config-pmap-c)#

406

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

44-17 show class-map

This command is used to display the quality of service (QoS) class maps, which define the match criteria to classify traffic.

show class-map [class-map-name]

Parameters

class-map-name

Specifies the name of the class for the class map. The name can be a maximum of

32 alphanumeric characters.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

If the class map name is not specified, all class map information will be displayed.

Example

DXS-3600-32S#show class-map

This example shows the output from the show class-map command.

Class Map class1

Match access-group 101

Class Map class2

Match access-group 8

DXS-3600-32S#

44-18 show mls qos interface

This command is used to display the QoS configuration on the interface.

show mls qos interface [INTERFACE-ID [,|-]] [policers]

Parameters

INTERFACE-ID [,|-]

policers

Specifies the interface ID for which the QoS configure information will be displayed.

You can specify multiple interface IDs, which are separated by commas (,) or hyphens (-). No space is before or after the commas or hyphens.

Specifies to only show the police associated with specify interface.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

If no interface ID is specified, all interfaces QoS information will be display. If the key policers is specified, just the policy map information of the specified interface will be displayed.

407

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

Example

This example shows the output from the show mls qos interface command.

DXS-3600-32S#show mls qos interface tenGigabitEthernet 1

Interface: TGi/1

Trust Mode: trust DSCP

Default COS: 0, Effective 0

Attached input policy-map: policy1

Attached output policy-map: policy2

DXS-3600-32S#

44-19 show mls qos maps

This command is used to display the QoS map information.

show mls qos maps dscp-cos

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

This command displays information about QoS maps.

Example

This example shows the output from the show mls qos maps command.

DXS-3600-32S#show mls qos maps

DSCP COS DSCP COS DSCP COS DSCP COS

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

0 1 1 1 2 1 3 1

4 1 5 1 6 1 7 1

8 2 9 2 10 2 11 2

12 2 13 2 14 2 15 2

16 0 17 0 18 0 19 0

20 0 21 0 22 0 23 0

24 3 25 3 26 3 27 3

28 3 29 3 30 3 31 3

32 4 33 4 34 4 35 4

36 4 37 4 38 4 39 4

40 5 41 5 42 5 43 5

44 5 45 5 46 5 47 5

48 6 49 6 50 6 51 6

52 6 53 6 54 6 55 6

56 7 57 7 58 7 59 7

60 7 61 7 62 7 63 7

DXS-3600-32S#

44-20 show mls qos queueing

This command is used to display the QoS queuing information.

show mls qos queueing

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

408

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

Command Default Level

Level: 15

Usage Guideline

This command displays information about CoS to queue map and QoS scheduling.

Example

This example shows how to output from the show mls qos queueing command.

DXS-3600-32S#show mls qos queueing

CoS-queue map:

CoS UC QID MC QID

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

0 2 1

1 0 0

2 1 0

3 3 1

4 4 2

5 5 2

6 6 3

7 7 3

WRR bandwidth weights:

QID Weights

--- -------

0 1

1 1

2 1

3 1

4 1

5 1

6 1

7 1

WDRR bandwidth weights:

QID Weights

--- -------

0 1

1 1

2 1

3 1

4 1

5 1

6 1

7 1

DXS-3600-32S#

44-21 show mls qos rate-limit

This command is used to show the information about the rate limit on the interface.

show mls qos rate-limit [interface INTERFACE-ID [,|-]]

Parameters

interface INTERFACE-ID

[,|-]

(Optional) Specifies the interface ID you want to display.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

If no interface ID is specified, then bandwidth information of all interfaces will be displayed.

409

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

Example

This example shows how to display the rate information of tenGigabitEthernet 1.

DXS-3600-32S#show mls qos rate-limit interface tenGigabitEthernet 1

Interface: TGi/1 rate limit:

input no limit

Effective no limit

output no limit

Effective no limit queue rate limit:

QID: 0 minimum rate no limit maximum rate no limit

QID: 1 minimum rate no limit maximum rate no limit

QID: 2 minimum rate no limit maximum rate no limit

QID: 3 minimum rate no limit maximum rate no limit

QID: 4 minimum rate no limit maximum rate no limit

QID: 5 minimum rate no limit maximum rate no limit

QID: 6 minimum rate no limit maximum rate no limit

QID: 7 minimum rate no limit maximum rate no limit

DXS-3600-32S#

44-22 show mls qos scheduler

This command is used to show the information for the queue scheduling algorithm.

show mls qos scheduler

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the information for the queue scheduling algorithm.

The show mls qos queueing command can also be used to display its weight value.

Example

This example shows how to display the information for queue scheduling.

DXS-3600-32S#show mls qos scheduler

Global Multi-Layer Switching scheduling:

Weighted Round Robin

DXS-3600-32S#

44-23 show policy-map

This command is used to display quality of service (QoS) policy maps, which defines the classification criteria for incoming or outgoing traffic.

show policy-map [policy-map-name [class class-map-name]]

Parameters

class-map-name policy-map-name

Specifies the name of the class for the class map. The name can be a maximum of

32 alphanumeric characters.

Specifies the name of a policy map that contains the class configuration to be displayed. The name can be a maximum of 32 alphanumeric characters.

410

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

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

If no policy map name is specified, all policy map information will be display.

If the class map name is not specified, all class maps attached to the policy map’s information will be displayed.

Example

This example shows the output from the show policy-map command.

DXS-3600-32S#show policy-map

Policy Map policy

Class class1

set dscp 22

Class class2

set dscp 14

set cos 2

police sr-tcm 8000 bc 8 be 9

conform-action: transmit

exceed-action: set-1p-transmit 3

violate-action: drop

Policy Map policy1

Class class3

set dscp 36

DXS-3600-32S#

44-24 wdrr-queue bandwidth

This command is used to set the queue weight in the WDRR scheduling mode. To restore to the default setting, use the no form of this command.

wdrr-queue bandwidth weight1...weight8

no wdrr-queue bandwidth

Parameters

weight1...weight8

Specifies the weight values per queue in frame length count weighted round-robin scheduling. weight1 is used for queue 0, weight2 is used for queue 1, and so on.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Before running the wdrr-queue bandwidth command, the scheduling mode must be configured as WDRR mode. If the weight of a queue is set to zero, the scheduling mode must be ‘SP + WDRR’, and the queue must be in SP scheduling mode.

Example

This example shows how to configure the queue weight of WDRR scheduling mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mls qos scheduler wdrr

DXS-3600-32S(config)#wdrr-queue bandwidth 1 2 3 4 5 6 7 8

DXS-3600-32S(config)#

411

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

44-25 wrr-queue bandwidth

This command is used to set the queue weight in the WRR scheduling mode. To restore to the default setting, use the no form of this command.

wrr-queue bandwidth weight1...weight8

no wrr-queue bandwidth

Parameters

weight1...weight8

Specifies the weight values, per queue, used in the frame count weighted roundrobin scheduling method. weight1 is used for queue 0, weight2 is used for queue 1, and so on.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Before running the wrr-queue bandwidth command, the scheduling mode must be confiugured as WRR mode. If the weight of a queue is configured to zero, the scheduling mode must be ‘SP + WRR’, and the queue must be in the SP scheduling mode.

Example

This example shows how to configure the queue weight of WRR scheduling mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#mls qos scheduler wrr

DXS-3600-32S(config)#wrr-queue bandwidth 1 2 3 4 5 6 7 8

DXS-3600-32S(config)#

412

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

RADIUS Commands

45-1 radius-server host

This command is used to specify a RADIUS security server host. The no form of this command without parameter is used to delete the RADIUS server host. The no form of this command with the parameters is used to restore the specified parameter to default value.

radius-server host ip-address [auth-port port-number] [acct-port port-number] [retransmit retries] [timeout

seconds] [key text-string]

no radius-server host ip-address [auth-port | acct-port | retransmit | timout | key]

Parameters

ip-address

auth-port

port-number

acct-port

port-number

key

text-string

retransmit

retries

timeout seconds

Specifies the IP address of the RADIUS security server host.

Specifies the UDP port used for RADIUS authentication. If not specified, the port number defaults to 1812.

Specifies the number of the UDP port used for RADIUS authentication. The range is

1 to 65535.

Specifies the UDP port used for RADIUS accounting. If not specified, the port number defaults to 1813.

Specifies the number of the UDP port used for RADIUS accounting. The range is 1 to 65535.

Specifies the shared password for the network access server (device) to communicate with the RADIUS security server.

Specifies the text of the shared password. The maximum length of the key is 32.

Specifies the number of packet retransmissions before the device considers that the

RADIUS security server does not respond.

Specifies the number of retransmissions in the range 1 to100.

Specifies to set the time for the device to wait for a response from the security server after retransmitting the RADIUS packet.

Specifies the timeout in the range 1 to1000 seconds.

Default

No RADIUS host is specified.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

In order to implement the AAA security service using RADIUS, you must define a

RADIUS security server. You can define one or more RADIUS security servers using the radius-server command.

Example

This example shows how to define a RADIUS security server host.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#radius-server host 192.168.12.1

DXS-3600-32S(config)#

45-2 radius-server key

This command is used to define a shared password for the network access server (device) to communicate with the

RADIUS security server. The no form of this command is used to remove the shared password.

radius-server key text-string

no radius-server key

413

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

Parameters

text-string

Specifies the text of the shared password. The maximum length of the key is 32.

Default

Command Mode

No shared password is specified.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

A shared password is the basis for communications between the device and the

RADIUS security server. In order to allow the device to communicate with the

RADIUS security server, you must define the same shared password on the device and the RADIUS security server.

Example

This example shows how to define the shared password aaa for the RADIUS security server.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#radius-server key aaa

DXS-3600-32S(config)#

45-3 radius-server retransmit

This command is used to configure the number of packet retransmissions before the device considers that the RADIUS security server does not respond. The no form of this command is used to restore it to the default setting.

radius-server retransmit retries

no radius-server retransmit

Parameters

retries

Specifies the number of retransmissions in the range 1 to100.

Default

Command Mode

The default number of retransmissions is 3.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

AAA uses the next method to authenticate users only when the current security server for authentication does not respond. When the device retransmits the

RADIUS packet for the specified times and the interval between every two retries is timeout, the device considers that the security sever does not respond.

Example

This example shows how to set the number of retransmissions to 4.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#radius-server retransmit 4

DXS-3600-32S(config)#

45-4 radius-server timeout

This command is used to set the time for the device to wait for a response from the security server after retransmitting the RADIUS packet. The no format of this command is used to restore it to the default setting.

radius-server timeout seconds

no radius-server timeout

414

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

Parameters

seconds

Specifies the timeout value in the range of 1 to 1000 seconds.

Default

Command Mode

5 seconds.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to change the timeout of packet retransmission.

Example

This example shows how to set the timeout to 10 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#radius-server timeout 10

DXS-3600-32S(config)#

45-5 show radius statistics

This command is used to display the RADIUS statistics for accounting and authentication packets.

show radius statistics

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show all RADIUS statistics.

Example

This example shows the output for the show radius statistics command.

DXS-3600-32S#show radius statistics

RADIUS Server: 192.168.12.1: Auth-Port 1812, Acct-Port 1813

Auth. Acct.

Round Trip Time: 0 0

Access Requests: 0 NA

Access Accepts: 0 NA

Access Rejects: 0 NA

Access Challenges: 0 NA

Acct Request: NA 0

Acct Response: NA 0

Retransmissions: 0 0

Malformed Responses: 0 0

Bad Authenticators: 0 0

Pending Requests: 0 0

Timeouts: 0 0

Unknown Types: 0 0

Packets Dropped: 0 0

DXS-3600-32S#

Display Parameters

Auth.

Acct.

Round Trip Time

Access Requests

Description

Statistics for authentication packets.

Statistics for accounting packets.

The time interval (in hundredths of a second) between the most recent Response and the Request that matched it from this RADIUS server.

The number of RADIUS Access-Request packets sent to this server. This does not include retransmissions.

415

Display Parameters

Access Accepts

Access Rejects

Access Challenges

Acct Request

Acct Response

Retransmissions

Malformed Responses

Bad Authenticators

Pending Requests

Timeouts

Unknown Types

Packets Dropped

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

Description

The number of RADIUS Access-Accept packets (valid or invalid) received from this server.

The number of RADIUS Access-Reject packets (valid or invalid) received from this server.

The number of RADIUS Access-Challenge packets (valid or invalid) received from this server.

The number of RADIUS Accounting-Request packets sent. This does not include retransmissions.

The number of RADIUS packets received on the accounting port from this server.

The number of RADIUS Request packets retransmitted to this RADIUS server.

Retransmissions include retries where the Identifier and Acct-Delay have been updated, as well as those in which they remain the same.

The number of malformed RADIUS Response packets received from this server.

Malformed packets include packets with an invalid length. Bad authenticators or

Signature attributes or unknown types are not included as malformed responses.

The number of RADIUS Response packets containing invalid authenticators or

Signature attributes received from this server.

The number of RADIUS Request packets destined for this server that have not yet timed out or received a response. This variable is incremented when an Request is sent and decremented due to receipt of an Response, a timeout or retransmission.

The number of timeouts to this server. After a timeout the client may retry to the same server, send to a different server, or give up. A retry to the same server is counted as a retransmit as well as a timeout. A send to a different server is counted as a Request as well as a timeout.

The number of RADIUS packets of unknown type which were received from this server.

The number of RADIUS packets of which were received from this server and dropped for some other reason.

45-6 show radius-server configuration

This command is used to display the RADIUS authentication & accounting server configuration.

show radius-server configuration

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show all RADIUS authentication & accounting server hosts.

416

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

Example

This example shows the output for the show RADIUS authentication & accounting server hosts command.

DXS-3600-32S#show radius-server configuration

IP-Address Auth-Port Acct-Port Key Retransmit Timeout

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

192.168.12.1 1812 1813

Default Key:aaa

Default Retransmit:4

Default Timeout:10

1 RADIUS server(s) in total

DXS-3600-32S#

Display Parameters

IP-Address

Auth-Port

Acct-Port

Key

Retransmit

Timeout

Default Key

Default Retransmit

Default Timeout

Description

IP address of the RADIUS security server host.

UDP port used for RADIUS authentication.

UDP port used for RADIUS accounting.

A shared password for the network access server (device) to communicate with the

RADIUS security server.

The number of packet retransmissions before the device considers that the RADIUS security server does not respond.

Set the time for the device to wait for a response from the security server after retransmitting the RADIUS packet. The unit is seconds.

A default shared password for the network access server (device) to communicate with the RADIUS security server

The default number of packet retransmissions before the device considers that the

RADIUS security server does not respond.

The default time for the device to wait for a response from the security server after retransmitting the RADIUS packet.

417

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

Routing Information Protocol (RIP) Commands

46-1 route-preference

This command is used to configure the route preference for the Routing Information Protocol (RIP) routes. Use the no form of this command to restore to the default value.

route-preference value

no route-preference

Parameters

value

Specifies the route preference of the RIP route. The value range is 1-999.

Default

The default value of route preference of RIP route is 100.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command sets the route preference of the RIP routes. A route preference is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. In general, the higher the value, the lower the trust rating is.

You can verify your settings by entering the show ip route-preference command.

Example

This example shows how to set the route preference of RIP routes to 120.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#route-preference 120

DXS-3600-32S(config-router)#

Example

This example shows how to restore the route preference of RIP route to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#no route-preference

DXS-3600-32S(config-router)#

46-2 distribute-list in (RIP)

This command is used to filter RIP routes inserted into routing table. Use the no form of this command to remove the setting.

distribute-list list_name in ipif_name

no distribute-list list_name in ipif_name

Parameters

list_name ipif_name

Specifies the name of the standard IP access list.

Specifies the interface name on which the access list should be applied to incoming updates.

Default

By default, no distribute-list in is configured.

Command Mode

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

418

Usage Guideline

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

This command must specify an access list name. According to access list rule, one route is determined to be or not to be inserted into routing table. It is independent to specify access list rule on each interface. The special access list will not affect the route to be inserted into routing table before it is created.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to configure the interface ‘vlan1’ to use access list list1 to filter RIP route.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list list1

DXS-3600-32S(config-ip-acl)#permit 172.18.0.0/16

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#distribute-list list1 in vlan1

DXS-3600-32S(config-router)#

46-3 ip rip authentication mode

This command is used to configure the simple password authentication type used by RIP interface. Use the no form of this command to restore to the default value.

ip rip authentication mode text no ip rip authentication mode

Parameters

Default

Command Mode

None.

By default, no-authentication is used by RIP interface.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

RIP Version 1 does not support authentication. To exchange RIP routing information directly, all devices must have the same IP authentication mode; otherwise, the RIP packets exchange will fail.

The configuration of authentication mode should be cleared, if the interface receive or send state is set as disable or receive or send version is set as Version 1, this because authentication just exist when the interface send or receive version is

Version 2, otherwise the configuration of authentication mode should be cleared.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to set the interface ‘vlan1’ to use simple password authentication.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip rip authentication mode text

DXS-3600-32S(config-if)#

46-4 ip rip authentication text-password

This command is used to configure the plaintext password for RIP simple password authentication. Use the no form of this command to remove the plaintext password.

ip rip authentication text-password password-string

no ip rip authentication text-password

419

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

Parameters

password-string

Specifies the plaintext password that must be sent and received in the RIP packets on the RIP interface using simple password authentication. The string can contain from 1 to 16 uppercase and lowercase alphanumeric characters.

Default

Command Mode

By default, no plaintext password is configured.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The RIP Version 1 does not support RIP authentication. To exchange RIP information directly, the password must be identify.

You can configure the authentication text-password and authentication mode individually. When enable the simple password authentication, the plaintext password should be used. If the plaintext password is not configured, the update packets should be sent and received without password.

The configuration of authentication text-password should be cleared, if the interface receive and send state is set as disable or receive and send version is set as Version

1, because authentication just exist when the interface send and receive version is

Version 2.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to configure the interface ‘vlan1’ to use simple password authentication and set the plaintext password to 1234.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip rip authentication mode text

DXS-3600-32S(config-if)#ip rip authentication text-password 1234

DXS-3600-32S(config-if)#

46-5 ip rip receive enable

This command is used to receive RIP packets on an RIP interface. Use the no form of this command to prohibit receiving RIP packets on the interface.

ip rip receive enable no ip rip receive enable

Parameters

Default

None.

By default, receiving RIP packets is enabled on each RIP interface.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

420

Usage Guideline

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

Use the no form of this command to prevent from receiving RIP packets on the interface, the RIP protocol should not receive the packets coming from the interface.

On one interface whose sending packets is disabled or Version 1, disabling receiving packets will cause the configuration of authentication on this interface to be cleared and can’t be restored when enable interface receiving packets again. The authentication needs to be reconfigured.

With the no form of this command, the configuration set by ip rip receive version command will be cleared. After enable interface receiving packets again, the receive version of the interface depends on global version setting with the version command.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to configure the interface ‘vlan1’ to not receive RIP packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip rip receive enable

The configuration of authentication is cleared because only Version 2 supports authentication.

DXS-3600-32S(config-if)#

46-6 ip rip receive version

This command is used to specify the version of RIP packet received on an RIP interface. Use the no form of this command to restore to the default value.

ip rip receive version [1 | 2] no ip rip receive version

Parameters

1

2

(Optional) Specifies to accept RIP Version 1 packets on the interface.

(Optional) Specifies to accept RIP Version 2 packets on the interface.

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to override the default behavior of RIP as specified by the version command. If the interface receive version isn’t specified, it should depend on the global version setting. This command applies only to the interface being configured.

You can configure the interface to accept both RIP Version 1 and Version 2.

When the send state is disable or send version is Version 1, Configure the receive version to Version 1 should cause the configuration of authentication cleared, because authentication just exist when the interface send and receive version is

Version 2.

You can verify your settings by entering the show ip rip interface command.

421

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

Example

This example shows how to configure the interface ‘vlan1’ to receive both RIP version 1 and version 2 packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip rip receive version 1 2

DXS-3600-32S(config-if)#

46-7 ip rip send enable

This command is used to send RIP packets on a RIP interface. Use the no form of this command to prohibit sending

RIP packets on the interface.

ip rip send enable no ip rip send enable

Parameters

Default

None.

By defaul, the sending of RIP packets is enabled on the RIP interface.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use the no form of this command to prevent from sending RIP packets on the interface, the RIP protocol should not send out RIP packets.

On one interface whose receiving packets is disabled or Version 1, disabling sending packets will cause the configuration of authentication on this interface to be cleared and can’t be restored when enable interface sending packets again. The authentication needs to be reconfigured.

With the no form of this command, the configuration set by ip rip send version command will be cleared. After enable interface sending packets again, the send version of the interface depends on global version setting with the version command.

Example

This example shows how to configure the interface ‘vlan1’ to not send out RIP packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no ip rip send enable

DXS-3600-32S(config-if)#

46-8 ip rip send version

This command is used to specify the version of RIP packets sent on a RIP interface. Use the no form of this command to restore to the default value.

ip rip send version {1 | 2} no ip rip send version

Parameters

1

2

(Optional) Specifies to send only RIP Version 1 packets out the interface.

(Optional) Specifies to send only RIP Version 2 packets out the interface.

Default

None.

422

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

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to override the default behavior of RIP as specified by the version command. If the interface send version isn’t specified, it should depend on the global version setting. This command applies only to the interface being configured.

When the receive state is disable or receive version is Version 1, configure the send version to Version 1 should cause the configuration of authentication cleared, because authentication just exist when the interface send and receive version is

Version 2.

You can verify your settings by entering the show ip rip command.

Example

This example shows how to configure the interface ‘vlan1’ to only send RIP version 2 packets.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip rip send version 2

DXS-3600-32S(config-if)#

46-9 ip rip v2-broadcast

This command is used to send RIP version 2 update packets as a broadcast instead of multicast. Use the no form of this command to restore to the default value.

ip rip v2-broadcast no ip rip v2-broadcast

Parameters

Default

None.

By default, this function is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to broadcast RIP version 2 updates to hosts that do not listen to multicast broadcast. Version 2 updates (requests and responses) will be sent to the

IP broadcast address instead of the IP multicast address 224.0.0.9.

In order to reduce unnecessary load on those hosts that are not listening to RIP

Version 2 broadcast, the system uses an IP multicast address for periodic broadcasts. The IP multicast address is 224.0.0.9.

When the interface send version is 2, use this command to enable v2-broadcast. If the send version is version 1, the command should not be effective. If restore the interface version to 2, the v2-broadcast setting should be cleared.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to configure the interface ‘vlan1’ to send RIP version 2 packets with broadcast.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#ip rip send version 2

DXS-3600-32S(config-if)#ip rip v2-broadcast

DXS-3600-32S(config-if)#

423

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

46-10 network

This command is used to enable RIP on one interface. Use the no form of this command to restore to the default setting.

network network-number

no network

Parameters

network-number

Specifies the IP address of the network of directly connected networks. The interface whose IP address belongs to the network can transmit and receive the RIP packets.

Default

Command Mode

By default, RIP is disabled on all interfaces.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

You can verify your settings by entering the show ip rip command.

Example

This example shows how to enable RIP on the interface ‘vlan1’ (10.0.0.0/8).

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#network 10.0.0.0

DXS-3600-32S(config-router)#

46-11 redistribute (RIP)

This command is used to redistribute routes from another routing domain into the RIP domain. Use no form of the command to remove route redistribution settings to RIP.

redistribute {connected | static | bgp |ospf} [metric value] [route-map map_name]

no redistribute {connected | static | bgp |ospf} [metric value] [route-map map_name]

Parameters connected static bgp ospf

metric value

route-map map_name

(Optional) Specifies that the connected routes are to be redistributed into RIP domain.

(Optional) Specifies that the static routes are to be redistributed into RIP domain.

(Optional) Specifies that the BGP routes are to be redistributed into RIP domain.

(Optional) Specifies that the OSPF routes are to be redistributed into RIP domain.

(Optional) Specifies that the RIP route metric value for the redistributed routes. The value range is 0 to 16.

(Optional) Specifies the route map that should be interrogated to filter the importation of routes from this source routing protocol to the RIP protocol. If not specified, all routes are redistributed.

Default

Command Mode

By default, no route redistribution to RIP is configured.

The default value of the metric is 0.

By default, no route map is configured.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

424

Usage Guideline

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

This command is used to add route redistribution from other routing protocols into

RIP on the switch. Changing or disabling any keyword will not affect the state of other key-words. It is not necessary to convert the metric of one routing protocol into that of another routing protocol for route redistribution, since different routing protocols use different metric measurement methods. However, a symbolic metric suggest to be set for route redistribution.

You can filter the routes redistributed into RIP domain using the route map. If the specified route map is not defined, all routes should be redistributed. You can use the route-map math-clauses to filter the routes, and use the route-map set-clauses to set the metric of routes redistributed into RIP domain.

You can verify your settings by entering the show ip rip command.

Example

This example shows how to configure the redistribution of static routes to RIP.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#redistribute static

DXS-3600-32S(config-router)#

Example

This example shows how to configure the redistribution of OSPF routes to RIP and specify the metric to 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#redistribute ospf metric 2

DXS-3600-32S(config-router)#

Example

This example shows how to configure the redistribution of OSPF routes to RIP and use the route map.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map map1 permit 1

DXS-3600-32S(config-route-map)#match ip address list1

DXS-3600-32S(config-route-map)#set metric 4

DXS-3600-32S(config-route-map)#exit

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#redistribute ospf route-map map1

DXS-3600-32S(config-router)#

46-12 router rip

This command is used to enable RIP and enter the RIP router configuration mode. Use the no form of this command to disable RIP.

router rip no router rip

Parameters

Default

Command Mode

None.

By default, RIP is disabled.

Global Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to enable the RIP and enter the Router configuration mode of

RIP protocol. The no form of this command will disable RIP function.

You can verify your settings by entering the show ip rip command.

425

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

Example

This example shows how to enable RIP and enter the RIP router configuration mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#

46-13 show ip rip

This command is used to show the RIP information.

show ip rip

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 show the settings about RIP timers, status, redistribution, and interface RIP version, authentication, and status.

Example

DXS-3600-32S#show ip rip

This example shows how to display RIP information.

RIP Global State : Enabled

Update Time : 30 seconds

Timeout Time : 180 seconds

Garbage Collection Time : 120 seconds

RIP Interface Settings

Interface IP Address TX Mode RX Mode Authen- State

tication

------------- ------------------ ---------- ------------- ---------- ----vlan1 10.90.90.90/8 V1 Only V1 or V2 Disabled Disabled

Total Entries : 1

RIP Redistribution Settings

Source Destination Type Metric RouteMapName

Protocol Protocol

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

OSPF RIP All 2

STATIC RIP All Transparency map1

Total Entries : 2

DXS-3600-32S#

Display Parameters

RIP Global state

Update Time

Timeout Time

Garbage Collection Time

Interface

Description

The global administrative status of RIP. It is specified with the router rip command.

Rate (in seconds) at which update packets are sent. It is specified with the timers

basic command.

Interval of time (in seconds) after which a route is declared invalid. It is specified with the timers basic command.

Amount of time (in seconds) that must pass before the route is removed from the garbage list. It is specified with the timers basic command.

The name of RIP interfaces.

426

Display Parameters

IP Address

TX Mode

RX Mode

Authentication

State

Source Protocol

Destination Protocols

Type

Metric

RouteMapName

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

Description

The IP address of RIP interfaces.

The version of RIP packets sent on the interface. It is specified with the ip rip send

version command, the ip rip send enable command and the version command.

The version of RIP packets received on the interface. It is specified with the ip rip

receive version command, the ip rip receive enable command and the version command.

The authentication type of RIP interfaces. It is specified with the ip rip

authentication mode command.

Administrative state of RIP interfaces. It is specified with the network command.

The source route domain of redistribution. It is specified with the redistribute command.

The destination route domain of redistribution.

The route type of source route domain of redistribution.

Metric of routes redistributed into RIP domain. It is specified with the redistribute command.

Route map name used to filter routes redistributed into RIP domain. It is specified with the redistribute command.

46-14 show ip rip interface

This command is used to show information of all RIP interfaces.

show ip rip interface

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

This command will display all interfaces specific information, such as:

authentication, send version, receive version, v2 broadcast mode, and status.

Example

This example shows how to check the settings of all RIP interfaces.

DXS-3600-32S#show ip rip interface

RIP Interface Settings

Interface Name: vlan1 IP Address: 10.90.90.90/8 (Link Up)

Interface Metric: 1 Administrative State: Enabled

TX Mode: V1 Broadcast RX Mode: V1 or V2

Authentication: Enabled

Password for Authentication: 1234

Distribute List In: map1

Interface Name: vlan2 IP Address: 172.18.1.1/24 (Link Down)

Interface Metric: 1 Administrative State: Disabled

TX Mode: V1 Broadcast RX Mode: V1 or V2

Authentication: Disabled

Distribute List In: None

Total Entries : 2

DXS-3600-32S#

427

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

Display Parameters Description

Interface Name

IP Address

Interface Metric

Administrative State

TX Mode

RX Mode

The name of RIP interfaces.

The IP address of RIP interfaces.

The metric used by RIP interfaces to send update.

Administrative state of RIP interfaces. It is specified with the network command.

The version of RIP packets sent on the interface. It is specified with the ip rip send

version command, the ip rip send enable command and the version command.

The version of RIP packets received on the interface. It is specified with the ip rip

receive version command, the ip rip receive enable command and the version command.

Authentication

The authentication type of RIP interfaces. It is specified with the ip rip

authentication mode command.

Password for Authentication The plain text password. It is specified with the ip rip authentication text-password command.

Distribute List In

Access list name used as distribute-list in list. It is specified with the distribute-list in command.

Total Entries

The total value of RIP interfaces.

46-15 timers basic

This command is used to configure RIP timers. Use the no form of this command to restore to the default value.

timer basic update timeout garbage_collection

no timer basic

Parameters

update timeout garbage_collection

Specifies the rate (in seconds) at which updates are sent. The value range is 5 to

65535.

Specifies the interval of time (in seconds) after which a route is declared invalid. A route becomes invalid when there is an absence of updates that refresh the route.

The invalid route is put in the garbage list, marked as inaccessible, and advertised as unreachable. The value range is 5 to 65535.

Specifies the amount of time (in seconds) that must pass before the route is removed from the garbage list. Before timeout, the entry is advertised as unreachable. The value range is 5 to 65535.

Default

By default, the update time is 30 seconds, the timeout time is 180 seconds and the garbage_collection time is 120 seconds

Router Configuration Mode.

Command Mode

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The basic timers’ parameters for RIP are adjustable. Although the RIP protocol does not require the router process RIP protocol with same basic timers, otherwise RIP is executing a distributed, asynchronous routing algorithm These timers are suggested to be the same for all routers and access servers in the network.

In this command, we don’t check that if the update timer is bigger than timeout timer, the user should configure the update timer bigger than timeout timer to ensure RIP to work normally.

You can verify your settings by entering the show ip rip command.

428

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

Example

This example shows how to configure the RIP update time to 20 seconds, the timeout time to 180 seconds, and the garbage collection time to 100.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#timer basic 20 180 100

DXS-3600-32S(config-router)#

46-16 version

This command is used to configure the default version for all RIP interfaces to send or receive RIP packets. Use the no form of this command to restore to the default value.

version {1 | 2} no version

Parameters

1

2

Specifies RIP Version 1.

Specifies RIP Version 2.

Default

Command Mode

By default RIPv1 packets are sent out and both RIPv1 and RIPv2 packets are received.

Router Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command defines the default RIP version. This version will be override if version is explicitly specified for the interface (e.g. interface command ip rip receive version).

Please note when receiving and sending packets are all be disabled or both version is Version 1, the configuration of authentication will be cleared.

You can verify your settings by entering the show ip rip interface command.

Example

This example shows how to configure the global RIP version to Version 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#router rip

DXS-3600-32S(config-router)#version 2

DXS-3600-32S(config-router)#

429

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

Remote Network MONitoring (RMON) Commands

47-1 rmon collection stats

This command is used to add a statistic entry. Use the no form of this command to remove a statistic entry.

rmon collection stats index [owner ownername]

no rmon collection stats index

Parameters

index

owner ownername

Specifies the statistic index in the range of 1 to 65535.

Specifies the string that describes the owner name information. The maximum length is 127 characters (please refer to the RFC1213 for more information about the

maximum length parameter).

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

At the present, this switch supports only the statistics of the Ethernet interface. Add an RMON collection statistic for the specified interface on the switch.

Example

This example shows how to add a statistic entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#rmon collection stats 100

DXS-3600-32S(config-if)#

Example

This example shows how to remove a statistic entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no rmon collection stats 100

DXS-3600-32S(config-if)#

47-2 rmon collection history

This command is used to add a history entry. Use the no form of this command to remove a history entry.

rmon collection history index [owner ownername] [buckets bucket-number] [interval seconds]

no rmon collection history index

Parameters

index

owner ownername

buckets bucket-number

interval seconds

Specifies the history index in the range of 1 to 65535.

Specifies the string that describes the owner name information. The maximum length is 127 characters (please refer to RFC1213 for the maximum length in detail).

Specifies the used data source and time interval. Each sampling interval should be sampled once. The sampling results are saved. The bucket-number specifies the maximum number of sampling. When the maximum is reached for the sampling records, the new one will overwrite the earliest one. The value range of Bucketnumber is 1 to 65535. Its default value is 50.

Specifies the sampling interval in the range of 1 to 3600 seconds, 1800 seconds by default.

430

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

Default

Command Mode

None.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

At the present, this switch supports only the records of Ethernet. Add an RMON history statistic for the specified interface on the switch.

Example

This example shows how to add a history entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#rmon collection history 100

DXS-3600-32S(config-if)#

Example

This example shows how to remove a history entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#no rmon collection history 100

DXS-3600-32S(config-if)#

47-3 rmon alarm

This command is used to add an alarm entry. Use the no form of this command to remove an alarm entry.

rmon alarm number variable interval {absolute | delta} rising-threshold value [event-number] falling-threshold

value [event-number] [owner ownername]

no rmon alarm number

Parameters

number variable interval

absolute delta

value event-number

owner ownername

Specifies the alarm index in the range of 1 to 65535.

Specifies the variable to be monitored by the alarm (in integer).

Specifies the sampling interval in the range of 1 to 2147483647.

Specifies each sampling value compared with the upper and lower limits.

Specifies the difference with previous sampling value compared with the upper and lower limits.

Specifies the upper and lower limits.

Specifies that when the value exceeds the upper or lower limit, the event with the index of Event-number will be triggered.

Specifies the string that describes the owner name information. The maximum length is 127 characters (please refer to RFC1213 for the maximum length in detail).

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Add the RMON alarm information on the switch.

Example

This example shows how to add an alarm entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#rmon alarm 100 1.3.6.1.2.1.16.1.1.1.14.1 30 delta rising-threshold 10000

100 falling-threshold 1000 200 owner test

DXS-3600-32S(config)#

431

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

Example

This example shows how to remove an alarm entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no rmon alarm 100

DXS-3600-32S(config)#

47-4 rmon event

This command is used to add an event entry. Use the no form of this command to remove an event entry.

rmon event number [log] [trap community] [description description-string]

no rmon event number

Parameters

number

log trap

community

description description-

string

Specifies the event index in the range of 1 to 65535.

Specifies to record the event.

Specifies to send the trap message to the NMS when the event is triggered.

Specifies the community string used for sending the SNMP trap message.

Specifies the description of the event.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Add the RMON event information on the switch.

Example

This example shows how to add an event entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#rmon event 100 log trap public description test

DXS-3600-32S(config)#

Example

This example shows how to remove an event entry.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no rmon event 100

DXS-3600-32S(config)#

47-5 show rmon statistics

This command is used to monitor basic statistics information.

show rmon statistics

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

432

Usage Guideline

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

Statistics is the first group in RMON. It measures the basic statistics information of each monitored subnet. At present, only the Ethernet interfaces of network devices can be monitored and measured. This group contains a statistics of Ethernet, including the discarded packets, broadcast packets, CRC errors, size block, conflicts, etc.

Example

This example shows how to display the RMON statistics information.

DXS-3600-32S#show rmon statistics

Statistics : 1

Data Source : 1.3.6.1.2.1.2.2.1.1.1

DropEvents : 0

Octets : 0

Pkts : 0

BroadcastPkts : 0

MulticastPkts : 0

CRCAlignErrors : 0

UndersizePkts : 0

OversizePkts : 0

Fragments : 0

Jabbers : 0

Collisions : 0

Pkts64Octets : 0

Pkts65to127Octets : 0

Pkts128to255Octets : 0

Pkts256to511Octets : 0

Pkts512to1023Octets : 0

Pkts1024to1518Octets : 0

Owner : monitor

Statistics : 2

Data Source : 1.3.6.1.2.1.2.2.1.1.2

DropEvents : 0

Octets : 0

CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All

47-6 show rmon history

This command is used to display history control and history data information.

show rmon history

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

History is the second group in RMON. It collects the network statistics information regularly and keeps them for processing later.

This group contains two subgroups:

1. The subgroup History Control is used to set such control information as sampling interval and sampling data source.

2. The subgroup Ethernet History provides history data about the network section traffic, error messages, broadcast packets, utilization, number of collision and other statistics for the administrator.

433

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

Example

This example shows how to display the RMON history entry.

DXS-3600-32S#show rmon history

Entry : 1

Data Source : 1.3.6.1.2.1.2.2.1.1.1

Buckets Requested : 50

Buckets Granted : 50

Interval : 30

Owner : monitor

Sample : 15

Interval Start : 45103

DropEvents : 0

Octets : 0

Pkts : 0

BroadcastPkts : 0

MulticastPkts : 0

CRCAlignErrors : 0

UndersizePkts : 0

OversizePkts : 0

Fragments : 0

Jabbers : 0

Collisions : 0

Utilization : 0

Sample : 16

Interval Start : 48103

DropEvents : 0

Octets : 0

CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All

47-7 show rmon alarm

This command is used to display alarm information.

show rmon alarm

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Alarm is the third group in RMON. It monitors a specific management information base (MIB) object at the specified interval. When the value of this MIB object is higher than the predefined upper limit or lower than the predefined lower limit, an alarm will be triggered. The alarm is handled as an event by means of recording the log or sending the SNMP Trap message.

Example

This example shows how to display the RMON alarm information.

DXS-3600-32S#show rmon alarm

Alarm : 1

Interval : 100

Variable : 1.3.6.1.2.1.16.1.1.1.14.1

Sample Type : delta

Last Value : 0

Startup Alarm : 3

Rising Threshold : 10000

Falling Threshold : 1000

Rising event : 1

Falling event : 1

Owner : test

DXS-3600-32S#

434

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

47-8 show rmon event

This command is used to display event information.

show rmon event

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Event is the ninth group in RMON. It determines to generate a log entry or a SNMP

Trap message when an event is generated due to alarms.

Example

This example shows how to display the RMON event information.

DXS-3600-32S#show rmon event

Entry : 1

Description : des

Event Type : log-and-trap

Community : public

Last Time Sent : 0d:4h:46m:3s

Owner : test

Log : 1

Log Time : 0d:4h:46m:3s

Log Description : des

DXS-3600-32S#

435

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

Route Map Commands

48-1 route-map

This command is used to create or configure a route map or enter route map configuration mode. Use the no form of this command to delete a route map or remove a clause of route map.

route-map MAP-NAME [permit | deny] [SEQUENCE-NUM]

no route-map MAP-NAME [permit | deny] [SEQUENCE-NUM]

Parameters

MAP-NAME

permit deny

SEQUENCE-NUM

Specifies the name of route map. It can accept up to 16 characters. The syntax is general string that does not allow space.

(Optional) Specifies a permit clause. If the match commands of one permit clause are met, the route will be redistributed while the set commands of this clause may modify the information of the route to be redistributed. If the match commands of one permit clause are not met, the next clause of this route map will be tested.

(Optional) Specifies a deny clause. If the match commands of one deny clause are met, the route will not be redistributed.

(Optional) Specifies the sequence number of clause. Each clause has a sequence number, which indicates the position of the clause. The clause with lower sequence number is preferred. The range is 1 to 65535.

Default

The permit keyword is the default.

The default value of the sequence number of the first clause is 10.

Global Configuration Mode.

Command Mode

Command Default Level

Level: 8

Usage Guideline

The route map can be used in route redistribution and route filtering. A route map could be configured with multiple permit/deny clauses, which can have multiple match or set commands.

The clause with lower sequence number has higher priority. If the route map clause with low sequence number is not met, the next clause with higher sequence number will be tested. If all clauses are not met, the test result is to deny (This means the route map is ended with a implicit deny clause if this route map is not empty). If one clause is met, next clauses will be skipped.

When one clause is tested, the logical AND algorithm is applied for multiple match commands and the logical OR algorithm is applied for multiple objects within one match command.

There is a limitation about sequence number. If the route map has been configured with one clause, the sequence number must be specified when configure more clauses for this route map.

If no argument is specified when use no route-map command, the route map is deleted.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add one route map and enter the route map configuration mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#

436

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

48-2 match as-path

This command is used to add a match command to match a BGP autonomous system (AS) path access list. Use the no form of this command to delete the match command with BGP autonomous system path access list.

match as-path ACCESS-LIST-NAME

no match as-path

Parameters

ACCESS-LIST-NAME

Specifies the name of the path access list. The length is up to 16 characters.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Only one path access list is supported. If this command is executed with a different path access list, the old one will be overwritten.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match clause to match AS path access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match as-path PATH_AC

DXS-3600-32S(config-route-map)#

48-3 match community

This command is used to add a match command to match a Border Gateway Protocol (BGP) community list. Use the no form of this command to delete the match command with BGP community list.

match community COMMUNITY-LIST-NAME [exact]

no match community

Parameters

COMMUNITY-LIST-NAME

Specifies the name of BGP community list. The length is up to 16 characters.

exact

(Optional) Specifies to match BGP community list exactly.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The BGP community list is created with the command ip community-list. If exact is specified, the communities in the community list must be exactly same as the communities of the route.

If exact is not specified, this command is matched as long as one community is matched.

Only one community list is supported. If this command is executed with a different community list, the old one will be overwritten.

You can verify your settings by entering the show route-map command.

437

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

Example

This example shows how to add a match command to match a BGP community list.

DXS-3600-32S(config)#ip community-list standard A-COMMUNITY permit 101:1

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match community A-COMMUNITY exact

DXS-3600-32S(config-route-map)#

48-4 match interface

This command is used to add a match command to match the outgoing interface of routes. Use the no form of this command to delete the match command with outgoing interface of routes.

match interface ipif_name

no match interface

Parameters

ipif_name

Specifies the name of the outgoing interface of routes.

Default

None.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Only one interface is supported. If this command is executed with a different interface, the old one will be overwritten.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match command to match a outgoing interface of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match interface System

DXS-3600-32S(config-route-map)#

48-5 match ip address

This command is used to add a match command to match the destination network address of routes. Use the no form of this command to delete the match command with destination network address of routes.

match ip address {ACCESS-LIST-NAME | prefix-list PREFIX-LIST-NAME}

no match ip address {ACCESS-LIST-NAME | prefix-list PREFIX-LIST-NAME}

Parameters

ACCESS-LIST-NAME

PREFIX-LIST-NAME

Specifies the name of a standard IP access list. The maximum length is 16 characters.

Specifies the name of an IP prefix list. The maximum length is 16 characters.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

438

Usage Guideline

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

The standard IP access list is created with the command ip standard access-list. The prefix list is created with the command ip prefix-list.

Only one of them can be supported for matching destination network address at one time.

The destination network address is testes with the specified standard IP access list or prefix list.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match command to match destination network address of routes using standard IP access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list Strict-Control

DXS-3600-32S(config-ip-acl)#permit 10.1.1.0/24

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match ip address Strict-Control

DXS-3600-32S(config-route-map)#

48-6 match ip next-hop

This command is used to add a match command to match the next hop of routes. Use the no form of this command to delete the match command with next hop of routes.

match ip next-hop {ACCESS-LIST-NAME | prefix-list PREFIX-LIST-NAME}

no match ip next-hop {ACCESS-LIST-NAME | prefix-list PREFIX-LIST-NAME}

Parameters

ACCESS-LIST-NAME

PREFIX-LIST-NAME

Specifies the name of a standard IP access list. The maximum length is 16 characters.

Specifies the name of an IP prefix list. The maximum length is 16 characters.

Default

None.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The standard IP access list is created with the command ip standard access-list. The prefix list is created with the command ip prefix-list.

Only one of them can be supported for matching the next hop of routes at one time.

The next hop of routes is testes with the specified standard IP access list or prefix list.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match command to match destination network address of routes using standard IP access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list Strict-Control

DXS-3600-32S(config-ip-acl)#permit 10.1.1.0/24

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match ip next-hop Strict-Control

DXS-3600-32S(config-route-map)#

439

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

48-7 match ip route-source

This command is used to add a match command to match the source router IP address of the routes. Use the no form of this command to delete the match command with source router IP address.

match ip route-source ACCESS-LIST-NAME

no match ip route-source

Parameters

ACCESS-LIST-NAME

Specifies the name of a standard IP access list. The maximum length is 16 characters.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The standard IP access list is created with the command ip standard access-list.

Only one standard IP access list is supported. If this command is executed with a different standard IP access list, the old one will be overwritten.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match command to match source router IP address of routes using standard IP access list.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list LocalServer

DXS-3600-32S(config-ip-acl)#permit 172.19.10.1/32

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match ip route-source LocalServer

DXS-3600-32S(config-route-map)#

48-8 match metric

This command is used to add a match command to match the metric of routes. Use the no form of this command to delete the match command with metric of routes.

match metric NUMBER

no match metric

Parameters

NUMBER

Specifies the metric of routes. The range is 0 to 4294967294.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

You can verify your settings by entering the show route-map command.

440

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

Example

This example shows how to add a match command to match the metric of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match metric 5

DXS-3600-32S(config-route-map)#

48-9 match route-type

This command is used to add a match command to match the type of routes. Use the no form of this command to delete the match command with type of routes.

match route-type {internal | external | type-1 | type-2} no match route-type

Parameters internal external type-1 type-2

Specifies the Intra-area and inter-area routes of Open Shortest Path First (OSPF).

Specifies the Autonomous System external route of OSPF, including type-1 and type-2 external routes.

Specifies the Type-1 external route of OSPF

Specifies the Type-2 external route of OSPF

Default

None.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

All types of routes, internal, external, type-1 and type-2, are only for OSPF.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a match command to match the metric of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match route-type internal

DXS-3600-32S(config-route-map)#

48-10 set as-path prepend

This command is used to add a set command to modify an autonomous system path of BGP routes. Use the no form of this command to delete this set command.

set as-path prepend ASPATH-LIST

no set as-path prepend

Parameters

ASPATH-LIST

Specifies the path list to be appended before the autonomous system path of the route. It could be an AS number or a list of AS numbers separated by comma.

Default

None.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

441

Usage Guideline

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

Use this command to change the length of the autonomous system path of BGP route. This can affect the best path selection.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to append an autonomous system path list to BGP routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mapaspath permit 10

DXS-3600-32S(config-route-map)#set as-path prepend 1,10,100,200

DXS-3600-32S(config-route-map)#

48-11 set community

This command is used to add a set command to modify the BGP communities attribute. Use the no form of this command to delete this set command.

set community [COMMUNITY-SET | internet | local-as | no-advertise | no-export](1) [additive]

no set community

Parameters

COMMUNITY-SET

internet local-as no-advertise no-export additive

(Optional) Specifies a 32-bits integer number represented by AA:NN, where AA (AS number) is the upper part of the word and NN (community number, user-specified) is the lower part of the word

(Optional) Specifies routes to be advertised to all peers (internal and external)

(Optional) Specifies routes not to be advertised to external BGP peers.

(Optional) Specifies routes not to be advertised to other BGP peers.

(Optional) Specifies routes not to be advertised outside of autonomous system boundary.

(Optional) Specifies to add the community to the existed communities.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to modify the BGP community attribute. If additive is not specified, the existing communities in the routes will be replaced.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to replace the BGP communities attribute.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mapdampending permit 10

DXS-3600-32S(config-route-map)#set community 2:1

DXS-3600-32S(config-route-map)#

48-12 set dampening

This command is used to add a set command specify the dampening parameters of routes. Use the no form of this command to delete this set command.

set dampening HALF-LIFE REUSE SUPPRESS MAX-SUPPRESS-TIME UN-REACHABILITY-HALF-LIFE

no set dampening

442

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

Parameters

HALF-LIFE

REUSE

SUPPRESS

MAX-SUPPRESS-TIME

UN-REACHABILITY-HALF-

LIFE

Specifies the time (in minutes) after which the penalty of the reachable routes is decreased by half. The range is 1 to 45.

Specifies that if the penalty of a route is lower than this value, the route is unsuppressed. The range is 1 to 20000.

Specifies that if the penalty of a route is higher than this value, the route is suppressed. The range is 1 to 20000.

Specifies the maximum time (in minutes) a route can be suppressed. The range is 1 to 255.

Specifies the time (in minutes) after which the penalty of the unreachable routes is decreased by half. The range is 1 to 45.

Default

Command Mode

HALF-LIFE: 15 minutes.

REUSE: 750.

SUPPRESS: 2000.

MAX-SUPPRESS-TIME: 60 minutes

UN-REACHABILITY-HALF-LIFE: 15 minutes

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to modify the dampening parameters of routes when match conditions are met.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the dampening parameters of route 120.1.1.0/24.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list Strict-Control

DXS-3600-32S(config-ip-acl)#permit 120.1.1.0/24

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map rmap1 permit 10

DXS-3600-32S(config-route-map)#match ip address Strict-Control

DXS-3600-32S(config-route-map)#set dampening 14 500 900 60 15

DXS-3600-32S(config-route-map)#

48-13 set ip next-hop

This command is used to add a set command to modify the next hop of routes. Use the no form of this command to delete this set command.

set ip next-hop {IP-ADDRESS | peer-address}

no set ip next-hop

Parameters

IP-ADDRESS

peer-address

Specifies the IP address the next hop.

This setting will take effect for both the ingress and egress directions. When set next hop to peer’s address, for ingress direction, the next hop will be set to the neighbor peer address. For egress direction, the next hop associated with the route in the packet will be local router id.

Default

Command Mode

None.

Route Map Configuration Mode.

443

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

Command Default Level

Level: 8

Usage Guideline

Use this command to modify the next hop of route when match conditions are met.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the next hop of route

10.1.1.0/24.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list Strict-Control

DXS-3600-32S(config-ip-acl)#permit 10.1.1.0/24

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map mapnexthop permit 10

DXS-3600-32S(config-route-map)#match ip address Strict-Control

DXS-3600-32S(config-route-map)#set ip next-hop 120.1.2.2

DXS-3600-32S(config-route-map)#

48-14 set local-preference

This command is used to add a set command to modify the local preference attribute of routes. Use the no form of this command to delete this set command.

set local-preference NUMBER

no set local-preference

Parameters

NUMBER

Specifies the value of local preference. The range is 0 to 4294967295.

Default

The default value of local preference is 100.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to modify the local preference attribute of route when match conditions are met.

By default, the BGP router will send the default local preference with the routes to

IBGP neighbors and to EBGP neighbors which are in one confederation. It can be overwritten by the local preference set by the route map. For the received route, the local preference sent with the route will be used in the best path selection. This local preference will be overwritten if the local preference is ingress set by the route map.

For the connected routes, the default local preference will be used for them in the best path selection.

This will take effect for both ingress and egress directions.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the local preference of route 120.1.1.0/24.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip standard access-list Strict-Control

DXS-3600-32S(config-ip-acl)#permit 120.1.1.0/24

DXS-3600-32S(config-ip-acl)#exit

DXS-3600-32S(config)#route-map mapprefer permit 10

DXS-3600-32S(config-route-map)#match ip address Strict-Control

DXS-3600-32S(config-route-map)#set local-preference 500

DXS-3600-32S(config-route-map)#

444

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

48-15 set metric

This command is used to add a set command to modify the metric of routes. Use the no form of this command to delete this command.

set metric NUMBER

no set metric

Parameters

NUMBER

Specifies the metric of routes. The range is 0 to 4294967294.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

.

Use this command to modify the metric of routes to be redistributed

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the metric of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mapmetric permit 10

DXS-3600-32S(config-route-map)#set metric 100

DXS-3600-32S(config-route-map)#

48-16 set metric-type

This command is used to add a set command to modify the metric type of routes. Use the no form of this command to delete this set command.

set metric-type {type-1 | type-2} no set metric-type

Parameters type-1 type-2

Specifies the OSPF external type 1 metric.

Specifies the OSPF external type 2 metric.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is only applied to the routes redistributed to OSPF.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the metric type of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mapmetrictype permit 10

DXS-3600-32S(config-route-map)#set metric-type type-1

DXS-3600-32S(config-route-map)#

445

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

48-17 set origin

This command is used to add a set command to modify the BGP origin code. Use the no form of this command to delete this set command.

set origin {igp | egp | incomplete} no set origin

Parameters igp egp incomplete

Specifies that the origin code of the route will be set to IGP.

Specifies that the origin code of the route will be set to EGP.

Specifies that the origin code of the route will be set to INCOMPLETE.

Default

Command Mode

None.

Route Map Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to modify the BGP origin code route attribute. The origin code

(ORIGIN) is a well-known mandatory attribute that indicates the origin of the prefix or, rather, the way in which the prefix was injected into BGP.

There are three origin codes, listed in order of preference:

IGP, meaning the prefix was originated from information learned from an interior gateway protocol.

EGP, meaning the prefix originated from the EGP protocol, which BGP replaced.

Incomplete, meaning the prefix originated from some unknown source, for example, redistribute.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the origin code of routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map maporigin permit 10

DXS-3600-32S(config-route-map)#match as-path PATH_ACL

DXS-3600-32S(config-route-map)#set origin egp

DXS-3600-32S(config-route-map)#

48-18 set weight

This command is used to add a set command to specify the weight of BGP routes. Use the no form of this command to delete this set command.

set weight NUMBER

no set weight

Parameters

NUMBER

Specifies the value of the weight The range is 0 to 65535.

Default

None.

Command Mode

Route Map Configuration Mode.

Command Default Level

Level: 8

446

Usage Guideline

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

Weights set by this command will override the weights specified by BGP neighbor commands. In other words, the weights specified with the command set weight in route map configuration mode override the weights specified with the command

neighbor weight in BGP router mode.

You can verify your settings by entering the show route-map command.

Example

This example shows how to add a set command to modify the weight of BGP routes.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#route-map mapweight permit 10

DXS-3600-32S(config-route-map)#match as-path PATH_ACL

DXS-3600-32S(config-route-map)#set weight 30

DXS-3600-32S(config-route-map)#

48-19 show route-map

This command is used to show route map settings.

show route-map [MAP-NAME]

Parameters

MAP-NAME

(Optional) Specifies to display information about specified route map. The maximum length is 16 characters.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to check the settings of route map, including permit or deny clauses and match or set commands.

Example

This example shows information of route map “rmap1”.

DXS-3600-32S#show route-map rmap1

route-map : rmap1

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

sequence : 10 (Permit)

Match clauses:

as-path : PATH_AC

community : ALPHA-COMMUNITY exact

interface : System

ip address : Strict-Control

ip next-hop : Strict-Control

route-source : LocalServer

metric : 5

route-type : internal

Set clauses:

dampening : 14 500 900 60 15

DXS-3600-32S#

Display Parameters

Route Map

Sequence

Match

Set

Description

The name of route map. It is specified with the command route-map.

The sequence number of clause. It is specified with the command route-map.

List of match commands.

List of set commands.

447

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

Simple Network Management Protocol (SNMP)

Commands

49-1 snmp-server

This command is used to enable the Simple Network Management Protocol (SNMP) agent. To stop and shield the

SNMP agent, use the no form of this command.

snmp-server no snmp-server

Parameters

Default

Command Mode

None.

SNMP global state is disabled.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The remote SNMP manager sends SNMP requests to agents and receives SNMP responses and notifications from agents. When the SNMP agent is enabled, the remote SNMP manager can query SNMP agents and send SNMP traps. This command will shield the SNMP agent service and related configuration by executing the no snmp-server command.

Example

This example shows how to enable the SNMP global setting.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server

DXS-3600-32S(config)#

Example

This example shows how to disable the SNMP global setting.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server

DXS-3600-32S(config)#

49-2 no enable service snmp-agent

This command is used to disable the SNMP Agent.

no enable service snmp-agent

Parameters

Default

Command Mode

None.

None.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command will act on all of the SNMP services instead of shielding the configuration information of the SNMP Agent.

Example

This example shows how to disable the SNMP global setting.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no enable service snmp-agent

DXS-3600-32S(config)#

448

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

49-3 snmp-server name

This command is used to configure the system name information in global configuration mode. Use the no form of this command to remove the configuration of system name information.

snmp-server name TEXT

no snmp-server name

Parameters

TEXT

Specifies the string that describes the system name information. The maximum length is 255 characters (please refer to RFC1213 for the maximum length in detail).

The syntax is general string that allows space.

Default

Command Mode

No system name string is set.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Configure the system name information on the switch.

Example

This example shows how to set up the system name information with string test.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server name test

DXS-3600-32S(config)#

Example

This example shows how to set system name information to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server name

DXS-3600-32S(config)#

49-4 snmp-server contact

This command is used to configure the system contact information in global configuration mode. Use the no form of this command to remove the configuration of system contact information.

snmp-server contact TEXT

no snmp-server contact

Parameters

TEXT

Specifies the string that describes the system contact information. The maximum length is 255 characters (please refer to RFC1213 for the maximum length in detail).

The syntax is general string that allows space.

Default

Command Mode

No system contact string is set.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Configure the system contact information on the switch.

Example

This example shows how to set up the system contact information with string test.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server contact test

DXS-3600-32S(config)#

449

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

Example

This example shows how to set system contact information to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server contact

DXS-3600-32S(config)#

49-5 snmp-server location

This command is used to configure the system location information in global configuration mode. Use the no form of this command to remove the configuration of system location information.

snmp-server location TEXT

no snmp-server location

Parameters

TEXT

Specifies the string that describes the system location information. The maximum length is 255 characters (please refer to RFC1213 for the maximum length in detail).

The syntax is general string that allows space.

Default

Command Mode

No system location string is set.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Configure the system location information on the switch.

Example

This example shows how to set up the system location information with string test.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server location test

DXS-3600-32S(config)#

Example

This example shows how to set system location information to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server location

DXS-3600-32S(config)#

49-6 snmp-server view

This command is used to create or update a view entry for the SNMP. Use the no form of this command to remove a specified SNMP view entry.

snmp-server view VIEW-NAME OID-TREE {included | excluded}

no snmp-server view VIEW-NAME [OID-TREE]

Parameters

VIEW-NAME

OID-TREE

Specifies the label for the view record that you are updating or creating. The name is used to reference the record. The valid length for VIEW-NAME is 1 to 32 characters.

The syntax is general string that does not allow space.

Specifies the object identifier of the ASN.1 subtree to be included or excluded from the view. To identify the subtree, specify a text string consisting of numbers, such as

1.3.6.2.4. Replace a single subidentifier with the asterisk (*) wildcard to specify a subtree family; for example 1.3.*.4.

450

included excluded

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

(Optional) Specifies to configure the OID (and subtree OIDs) specified in OID-TREE argument to be included in the SNMP view.

(Optional) Specifies to configure the OID (and subtree OIDs) specified in OID-TREE argument to be explicitly excluded from the SNMP view.

There are eight VIEWs in the default as following:

Default

VIEW-NAME restricted restricted restricted restricted restricted

CommunityView

CommunityView

CommunityView

OID-TREE

1.3.6.1.2.1.1

1.3.6.1.2.1.11

1.3.6.1.6.3.10.2.1

1.3.6.1.6.3.11.2.1

1.3.6.1.6.3.15.1.1

1

1.3.6.1.6.3

1.3.6.1.6.3.1

View Type

Included

Included

Included

Included

Included

Included

Excluded

Included

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

You use this command to create a view for the MIB object trees.

The user will need to specify the view when they use the snmp-server group command to define a user group.

Example

This example shows how to set a MIB view to interfacesMibView.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server view interfacesMibView 1.3.6.1.2.1.2 included

DXS-3600-32S(config)#

Example

This example shows how to set a MIB view of interfacesMibView to default value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server view interfacesMibView

DXS-3600-32S(config)#

49-7 snmp-server group

This command is used to create a new SNMP group entry that maps SNMP users to SNMP views. Use the no form of this command to remove a specified SNMP group entry.

snmp-server group GROUP-NAME {v1 | v2c | v3 {auth | noauth | priv}} [read READ-VIEW] [write WRITE-

VIEW] [notify NOTIFY-VIEW]

no snmp-server group GROUP-NAME

Parameters

GROUP-NAME

v1 v2c

Specifies the name of the group. The valid length for GROUP-NAME is 1 to 32 characters. The syntax is general string that does not allow space.

Specifies that SNMPv1 (the least secure of the possible SNMP security models) should be used for the group.

Specifies that SNMPv2c should be used for the group. The SNMPv2c security model allows for the transmission of informs, and supports 64 character strings (instead of

32 character strings).

451

v3 auth noauth priv

read READ-VIEW

write WRITE-VIEW

notify NOTIFY-VIEW

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

Specifies that SNMPv3 should be used for the group. SMNPv3 is the most secure of the supported security models, as it allows you to explicitly configure the authentication characteristics.

Specifies authentication of a packet without encrypting it.

Specifies no authentication of a packet.

Specifies authentication of a packet with encryption.

(Optional) Specifies a read view for the SNMP group. The read-view argument represents a string that is the name of the view that enables you to view only the contents of the agent.

(Optional) Specifies a write view for the SNMP group. The write-view argument represents a string that is the name of the view that enables you to enter data and configure the contents of the agent.

(Optional) Specifies a notify view for the SNMP group. The notify-view argument represents a string that is the name of the view that enables you to specify a notify, inform, or trap.

Default

No default access control list is associated with any group.

The default settings of SNMP group are as following:

Group Name

initial public public private private

Version

SNMPv3

SNMPv1

SNMPv2c

SNMPv1

SNMPv2c

Security Level Read View

Name

noauth noauth noauth noauth noauth

Write View

Name

Notify View

Name

restricted None

CommunityView None restricted

CommunityView

CommunityView None CommunityView

CommunityView CommunityView CommunityView

CommunityView CommunityView CommunityView

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

An SNMP group defines the access method, the read view, the write view, and the notification view.

For the access method, it means that when the user who belongs to this group must use the version, access method (for V3) to access the SNMP agent.

For the read view, it means that the user who belongs to this group can only read objects that fall in this view. For the write view, it means that the user who belongs to this group can only write objects that fall in this view. The access to objects range out of the view will get error messages.

For the notification view, it means that the system will check whether the trap manager owns the view to the binding objects associated with the notification packet. The notification will not sent to a trap manager if it does not own the notification view to the binding objects.

Example

This example shows how to create SNMP group test with SNMPv1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server group test v1

DXS-3600-32S(config)#

Example

This example shows how to remove snmp group test.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server group test

DXS-3600-32S(config)#

452

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

49-8 snmp-server user

This command is used to configure a new user to a Simple Network Management Protocol (SNMP) group. Use the no form of this command to remove a user from an SNMP group.

snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3 [encrypted] [auth {md5 | sha} AUTH-

PASSWORD] [priv des56 PRIV-PASSWORD]}

no snmp-server user USER-NAME

Parameters

USER-NAME

GROUP-NAME

v1 v2c v3 encrypted auth md5 sha

AUTH-PASSWORD

des56

PRIV-PASSWORD

Specifies the name of the user on the host that connects to the agent. The valid length is 1 to 32 characters. The syntax is general string that does not allow space.

Specifies the name of the group to which the user belongs. The valid length is 1 to 32 characters. The syntax is general string that does not allow space.

Specifies that the SNMPv1 security model should be used.

Specifies that the SNMPv2c security model should be used.

Specifies that the SNMPv3 security model should be used. Allows the use of the encrypted and or auth keywords.

(Optional) Specifies whether the password appears in encrypted format (a series of digits, masking the true characters of the string).

(Optional) Specifies which authentication level should be used.

Specifies the HMAC-MD5-96 authentication level.

Specifies the HMAC-SHA-96 authentication level.

Specifies the password used for authentication.

Specifies the 56-bit DES algorithm for encryption.

Specifies the password used for privacy.

Default

Command Mode

There is one user in default as following:

User Name: initial

Engine ID: 800000ab03000102030400

Storage-Type: nonVolatile

Security Level:

Auth Protocol: None

Priv Protocol: None

Group-Name: initial

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

Use this command to create an SNMP user. The group to which this user belongs must be created first. If this user belongs to a V3 group, then the password used for authentication and encryption needs to be defined.

Example

This example shows how to create an SNMP user called test in the SNMPv1 group public.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server user test public v1

DXS-3600-32S(config)#

Example

This example shows how to remove the SNMP user called test.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server user test

DXS-3600-32S(config)#

453

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

49-9 snmp-server community

This command is used to set up the community access string to permit access to the SNMP. Use the no command to remove the specified community string,

snmp-server community COMMUNITY-STRING view VIEW-NAME {ro | rw}

no snmp-server community COMMUNITY-STRING

Parameters

COMMUNITY-STRING

view VIEW-NAME

ro rw

Specifies the community string that consists of from 1 to 32 alphanumeric characters and functions much like a password, permitting access to the SNMP protocol. Blank spaces are not permitted in the community string. The syntax is general string that does not allow space.

(Optional) Specifies the name of a previously defined view. The view defines the objects available to the SNMP community.

(Optional) Specifies read-only access. Authorized management stations are only able to retrieve MIB objects.

(Optional) Specifies read-write access. Authorized management stations are able to both retrieve and modify MIB objects.

Default

There are two communities in the default as following:

Community Name: private

Community Index: private

Community SecurityName: private

Storage-type: nonVolatile active

Command Mode

Community Name: public

Community Index: public

Community SecurityName: public

Storage-type: nonVolatile active

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command creates a community name entry in the community name table.

Example

This example shows how to create SNMP community called ‘comaccess’ with view mib2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server community comaccess view mib2 rw

DXS-3600-32S(config)#

Example

This example shows how to remove the SNMP community called ‘comaccess’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server community comaccess

DXS-3600-32S(config)#

49-10 snmp-server enable traps

This command is used to enable all Simple Network Management Protocol (SNMP) notification types that are available on your system, use the snmp-server enable traps command in global configuration mode. To disable all available

SNMP notifications, use the no form of this command.

snmp-server enable traps

454

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

no snmp-server enable traps

Parameters

Default

None.

Sending SNMP traps is enabled.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

SNMP notifications can be sent as traps or inform requests. This command enables both traps and informs requests for the specified notification types.

To configure the router to send these SNMP notifications, you must enter at least one snmp-server enable traps command. If you enter the command with no keywords, all notification types are enabled. If you enter the command with a keyword, only the notification type related to that keyword is enabled. To enable multiple types of notifications, you must issue a separate snmp-server enable traps command for each notification type and notification option.

Example

This example shows how to enable the SNMP traps.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server enable traps

DXS-3600-32S(config)#

Example

This example shows how to disable the SNMP traps.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server enable traps

DXS-3600-32S(config)#

49-11 snmp-server host

This command is used to specify the recipient of a SNMP notification operation. Use the no command to remove the recipient.

snmp-server host {IP-ADDRESS} version {1 | 2c | 3 [auth | noauth | priv]} COMMUNITY-STRING

no snmp-server host {IP-ADDRESS}

Parameters

IP-ADDRESS

version

1

2c

3

COMMUNITY-STRING

Specifies the IPv4 address of the SNMP notification host.

(Optional) Specifies the version of the SNMP used to send the traps. The default is

1. If you use the version keyword, one of the following keywords must be specified:

Specifies to use SNMPv1. This option is not available with informs.

Specifies to use SNMPv2C.

Specifies to use SNMPv3. The most secure model, because it allows packet encryption with the priv keyword. One of the following three optional security level keywords can follow the 3 keyword:

auth - Enables Message Digest 5 (MD5) and Secure Hash Algorithm (SHA) packet authentication.

noauth — Specifies that the noAuthNoPriv security level applies to this host. This is the default security level for SNMPv3.

priv — Enables Data Encryption Standard (DES) packet encryption (also called

“privacy”).

Specifies the password-like community string is sent with the notification operation. If the version is 3, the COMMUNITY-STRING is used as the UserName as defined in

snmp-sever user command. The community string that consists of from 1 to 32 characters. The syntax is general string that does not allow space.

455

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

Default

Command Mode

No host entry exists.

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

SNMP notifications are sent as trap packets. If you do not enter an snmp-server

host command, no notifications are sent. In order to configure the switch to send

SNMP notifications, you must create at least one recipient of a SNMP notification by

snmp-server host command.

To create an SNMP host where the notification will be sent to, the user can specify the version of notification packet. For the V1/V2, the notification will be sent in trap protocol data unit (PDU). For V3, the notification will be sent in the SNMPv2-TRAP-

PDU with the SNMPv3 header.

If the user specifies to send the notification in V3 format, the user can further specify whether do authentication and encryption for the packet. The system will use the community string specified for this command as the user name and look up in the user table to get the password for the authentication and encryption.

For both V1/V2 and V3, the system will find out the notification view for the group associated with this SNMP host. If the binding variables associated with this notification are out of this notification view, then this notification will not send to this host. Even more if the IP access list associated with does not include the IP address of the host, this notification won’t be sent out, either.

For V3 host, the argument of COMMUNITY-STRING refers to a user created by the

snmp-server user command. For V1/V2 host, the community string can either refer to a user created by the snmp-server user command or a community string entry created by the snmp-server community command. To create a SNMP host, the community string (or user) must be created first. An error message will appear to indicate this situation.

If the host version is different from the group version defined for this host (via access control list option in snmp-server group command), it will not work because the version is not matched. If user creates the community, the system will create V1/V2 group implicitly.

Example

This example shows how to set up the trap recipient as 163.10.50.126 by using

SNMP version 1 with community string public.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#snmp-server host 163.10.50.126 version 1 public

DXS-3600-32S(config)#

Example

This example shows how to remove the trap recipient 163.10.50.126.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no snmp-server host 163.10.50.126

DXS-3600-32S(config)#

49-12 show snmp community

This command is used to display information about the configured characteristics of SNMP community.

Parameters

Default

None.

None.

456

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

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Used this command can view the SNMP community configured on the current SNMP agent.

Example

This example shows how to display the SNMP community information.

DXS-3600-32S#show snmp community

Community Name: private

Community Index: private

Community SecurityName: private storage-type: nonVolatile active

Community Name: public

Community Index: public

Community SecurityName: public storage-type: nonVolatile active

DXS-3600-32S#

49-13 show snmp user

This command is used to display information about the configured characteristics of SNMP user.

show snmp user

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command can view the SNMP users configured on the current SNMP agent.

Example

DXS-3600-32S#show snmp user

This example shows how to display the SNMP user information.

User Name: initial

Engine ID: 800000ab03000102030400

Storage-Type: nonVolatile

Security Level:

Auth Protocol: None

Priv Protocol: None

Group-Name: initial

DXS-3600-32S#

49-14 show snmp group

This command is used to display information about the configured characteristics of SNMP group.

show snmp group

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

457

Usage Guideline

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

Used this command can view the SNMP groups configured on the current SNMP agent.

Example

This example shows how to display the SNMP group information.

DXS-3600-32S#show snmp group

GroupName: public

SecurityModel: v1

SecurityLevel: NoAuthNoPriv

ReadView: CommunityView

WriteView:

NotifyView: CommunityView

GroupName: public

SecurityModel: v2c

SecurityLevel: NoAuthNoPriv

ReadView: CommunityView

WriteView:

NotifyView: CommunityView

GroupName: initial

SecurityModel: v3

SecurityLevel: NoAuthNoPriv

ReadView: restricted

WriteView:

NotifyView: restricted

GroupName: private

SecurityModel: v1

SecurityLevel: NoAuthNoPriv

ReadView: CommunityView

WriteView: CommunityView

NotifyView: CommunityView

GroupName: private

SecurityModel: v2c

SecurityLevel: NoAuthNoPriv

ReadView: CommunityView

WriteView: CommunityView

NotifyView: CommunityView

DXS-3600-32S#

49-15 show snmp view

This command is used to display information about the configured characteristics of SNMP view.

show snmp view

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command can view the SNMP views configured on the current SNMP agent.

458

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

Example

DXS-3600-32S#show snmp view

This example shows how to display the SNMP view information.

restricted(Include) 1.3.6.1.2.1.1

restricted(Include) 1.3.6.1.2.1.11

restricted(Include) 1.3.6.1.6.3.10.2.1

restricted(Include) 1.3.6.1.6.3.11.2.1

restricted(Include) 1.3.6.1.6.3.15.1.1

CommunityView(Include) 1

CommunityView(Exclude) 1.3.6.1.6.3

CommunityView(Include) 1.3.6.1.6.3.1

DXS-3600-32S#

49-16 show snmp host

This command is used to display information about the configured characteristics of SNMP host.

show snmp host

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Used this command can view the SNMP host configured on the current SNMP agent.

Example

DXS-3600-32S#show snmp host

This example shows how to display the SNMP host information.

Host IP: 10.90.90.9

SNMP Version: V1

Community Name: public

DXS-3600-32S#

459

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

Simple Network Time Protocol (SNTP) and Clock Commands

50-1 sntp enable

This command is used to enable the SNTP function. Use the no form of this command to restore the default value.

sntp enable no sntp enable

Parameters

Default

Command Mode

None.

Disabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to enable the SNTP function.

You can verify your settings by entering the show sntp command.

Example

This example shows how to enable the SNTP function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#sntp enable

DXS-3600-32S(config)#

50-2 sntp server

This command is used to configure a switch to use the Simple Network Time Protocol (SNTP) to request and accept

Network Time Protocol (NTP) traffic from a time server. Use the no form of this command to remove a server from the list of NTP servers.

sntp server {IP-ADDRES}

no sntp server {IP-ADDRESS}

Parameters

IP-ADDRESS

Specifies the IP address of the NTP server.

Default

By default no NTP server is configured.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

SNTP is a compact, client-only version of the NTP. SNTP can only receive the time from NTP servers; it cannot be used to provide time services to other systems.

SNTP typically provides time within 100 milliseconds of the accurate time, but it does not provide the complex filtering and statistical mechanisms of NTP. In addition,

SNTP does not authenticate traffic, although you can configure extended access lists to provide some protection. Enter this command once for each NTP server. You must configure the switch with this command in order to enable SNTP.

You can verify your settings by entering the show sntp command.

Example

This example shows how to set the switch to request and accept NTP packets from the server at 172.21.118.9.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#sntp server 172.21.118.9

DXS-3600-32S(config)#

460

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

Example

This example shows how to remove the NTP server.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no sntp server 172.21.118.9

DXS-3600-32S(config)#

50-3 sntp interval

This command is used to set the interval for the SNTP Client to synchronize its clock with the NTP Server.

sntp interval SECONDS

no sntp interval

Parameters

SECONDS

Specifies the synchronization interval from 30 to 99999 seconds

Default

Command Mode

720 seconds.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to set the query interval.

You can verify your settings by entering the show sntp command.

Example

This example shows how to set the poll interval to 100 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#sntp interval 100

DXS-3600-32S(config)#

50-4 show sntp

This command is used to to show the SNTP information.

show sntp

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to show the settings about the SNTP state, server status and poll interval.

461

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

Example

DXS-3600-32S#show sntp

This example shows how to check the SNTP information.

SNTP Status : Enabled

SNTP poll interval : 720 sec

SNTP Server Status:

Stratum Version Last Receive SNTP server

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

5 1 00:00:12 Synced 10.0.0.2

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

Total Entries: 1

DXS-3600-32S#

Display Parameters

SNTP server

Stratum

Version

Last Receive

Synced

Description

IP Address of the configured NTP server.

NTP stratum of the server. The stratum indicates how far away from an authoritative time source the server is.

NTP version of the server.

Time since the last NTP packet was received from the server.

Indicates the server chosen for synchronization.

50-5 clock set

This command is used to manually set the system clock.

clock set HH:MM:SS DDMMMYYYY

Parameters

HH:MM:SS

DDMMMYYYY

Specifies the current time, in the format of Hour (24-hour): Minute: Second

Specifies the current date.

DD - Current day (1-31) in the month.

MMM - Current month (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec).

YYYY - Current year (2000-2100).

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to set the system time to facilitate the management. For devices without hardware clock, the time set by the clock set command takes effect for only the current setting. Once the device powers off, the manually set time becomes invalid. The time specified in this command is relative to the configured time zone.

You can verify your settings by entering the show clock command.

Example

This example shows how to manually sets the software clock to 1:32 p.m. on

December 23, 2011.

DXS-3600-32S#clock set 13:32:00 23dec2011

DXS-3600-32S#

462

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

50-6 clock timezone

This command is used to set the time zone for display purposes. To set the time to Coordinated Universal Time (UTC), use the no form of this command.

clock timezone HOURS-OFFSET [MINUTES-OFFSET]

no clock timezone

Parameters

HOURS-OFFSET

MINUTES-OFFSET

Specifies the hour difference from UTC.

(Optional) Specifies the minute difference from UTC.

Default

Command Mode

UTC.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The system internally keeps time in UTC, so this command is used only for display purposes and when the time is manually set.

You can verify your settings by entering the show clock command.

Example

This example shows how to set the time zone to Pacific Standard Time, which is 8 hours behind UTC.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clock timezone -8

DXS-3600-32S(config)#

50-7 clock summer-time

This command is used to configure the system to automatically switch to summer time (daylight saving time). To configure the software not to automatically switch to summer time, use the no form of this command.

clock summer-time repeating WEEK WEEKDAY MONTH HH:MM WEEK WEEKDAY MONTH HH:MM [OFFSET]

clock summer-time date DDMMMYYYY HH:MM DDMMMYYYY HH:MM [OFFSET]

no clock summer-time

Parameters repeating date

WEEK

WEEKDAY

MONTH

DDMMMYYYY

HH:MM

OFFSET

Specifies that the summer time should start and end on the corresponding specified days every year.

Specifies that the summer time should start on the first specific date listed in the command and end on the second specific date in the command.

Specifies the week of the month (1 to 5 or last).

Specifies the day of the week (sun, mon, tue, wed, thu, fri, sat ).

Specifies the month (1-12).

Specifies the current date.

DD - Current day (1-31) in the month.

MMM - Current month (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec).

YYYY - Current year.

Specifies the time in hours (24-hour) and minutes.

Specifies the number of minutes to add during summer time (30-120, default is 60).

Default

Command Mode

Summer time is disabled.

Global Configuration Mode.

463

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

Command Default Level

Level: 8

Usage Guideline

In both the date and repeating forms of the command, the first part of the command specifies when summer time begins, and the second part specifies when it ends. All times are relative to the local time zone. The start time is relative to standard time.

The end time is relative to summer time. If the starting month is chronologically after the ending month, the system assumes that you are in the southern hemisphere.

You can verify your settings by entering the show clock command.

Example

This example shows how to specify that the summer time starts on the first Sunday in April at 2 a.m. and ends on the last Sunday in October at 2 a.m.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clock summer-time repeating 1 sun 4 2:00 last sun 10 2:00

DXS-3600-32S(config)#

Example

This example shows how to specify the exact date and time. In the following example, the daylight saving time (summer time) is configured to start on 2011

October 12 at 2 a.m., and end on 2012 April 26 at 2 a.m.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clock summer-time date 12oct2011 2:00 26apr2012 2:00

DXS-3600-32S(config)#

50-8 show clock

This command is used to display the time and date from the system clock.

show clock [detail]

Parameters detail

(Optional) Specifies the clock source (NTP, SNTP, hardware clock, and so on) and the current summer-time setting (if any).

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to show clock setting, time zone setting and summer time setting.

Example

This example shows the output from the show clock command.

DXS-3600-32S#show clock detail

Current Time Source : System Clock

Boot Time : 23 Dec 2011 05:40:42

Current Time : 23 Dec 2011 06:56:25

Time Zone : UTC -08:00

Summer Time : Date

Date From : 12 Oct 2011 02:00

To : 26 Apr 2012 02:00

Offset In Minutes : 60

DXS-3600-32S#

464

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

465

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

Secure Shell (SSH) Commands

51-1 ip ssh time-out

This command is used to specify the time interval that the switch waits for the SSH client to respond. Use the no form of this command to reset the time interval that the switch waits for the SSH client to respond.

ip ssh time-out <sec 30-600>

no ip ssh time-out

Parameters

time-out <sec 30-600> Specifies the time interval that the switch waits for the SSH client to respond. The range is 30 to 600 seconds and this parameter is only applied to the negotiation phase.

Default

The default time out value for the switch waiting for the SSH client to respond is 120 seconds.

Global Configuration Mode.

Command Mode

Command Default Level

Level: 8

Usage Guideline

This parameter is only applied to the negotiation phase. If the negotiation phase has not completed during the time specified by this parameter, the connection be disconnected directly.

After the execution shell starts, the CLI-based timers will start.

Note: The modification of CLI-based timers or other CLI-based parameters can not be applied the connected SSH sessions, i.e. the modification of CLI-based parameters can only be applied to the SSH sessions after those modifications.

Example

This example shows how to specify the SSH time interval value to 240 seconds.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip ssh time-out 240

DXS-3600-32S(config)#

51-2 ip ssh authentication-retries

This command is used to specify the number of authentication attempts after which the session is reset or authentication failed. Use the no form of this command to reset the number of authentication attempts after which the session is reset or authentication failed.

ip ssh authentication-retries <int 2-20>

no ip ssh authentication-retries

Parameters

authentication-retries <int

2-20>

Specifies the number of times that a client can reauthenticate. The range is 2 to 20 times.

Default

The default authentication retry time is 3.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If authentication fails, the SSH connection attempted will be disconnected if the total number of failed times has exceeded the value specified by this command.

466

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

Example

This example shows how to specify the number of SSH authentication retry times to

5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip ssh authentication-retries 5

DXS-3600-32S(config)#

51-3 ip ssh port

This command is used to specify the TCP port number on which SSH server listens. Use the no form of this command to reset the TCP port number to the default value 22.

ip ssh port <int 1-65535>

no ip ssh port

Parameters

port <int 1-65535> Specifies the TCP port number on which the SSH server listens. This port number can not be well-known port number and can no be occupied by other applications.

Default

The default TCP port number for the SSH server is 22.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

By default, the SSH server listens on TCP port number 22. If you want it to listen on other TCP port number in order to avoid regular SSH attacks or for other personal reasons, you can change the TCP port number to any one you like, but just make sure that the configured TCP port number is not occupied by other applications.

Example

This example shows how to specify the TCP port number of the SSH server to 2244.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip ssh port 2244

DXS-3600-32S(config)#

51-4 ip ssh server enable

This command is used to enable the SSH server on the switch. Use the no form of this command to disable the SSH server on the switch.

ip ssh server enable no ip ssh server

Parameters

Default

None.

The SSH server is disabled by default.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to enable SSH server on the switch in order to execute switch management in secure manner.

467

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

Example

This example shows how to enable the SSH server globally on the switch.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip ssh server enable

DXS-3600-32S(config)#

9 2011-12-23 07:22:12 INFO(6) SSH server is enabled

DXS-3600-32S(config)#

51-5 show ip ssh server

This command is used to show the version and configuration information of the SSH server.

show ip ssh server

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to show the version and configuration information of the SSH server.

Example

This example shows the SSH version and configuration information.

DXS-3600-32S#show ip ssh server

Version : 2.0

State : Enabled

Server port number : 2244

Connection timeout : 240 secs

Authentication retries : 5 times

DXS-3600-32S#

51-6 show ip ssh sessions

This command is used to show the status of SSH server connections on the switch.

show ip ssh sessions

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to show the status of SSH server connections on the switch.

Example

This example shows the status of SSH server connections on the switch.

DXS-3600-32S#show ip ssh sessions

Index Version Username IP

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

1 2.0 abc 172.180.161.242

2 2.0 tom 172.180.161.3

DXS-3600-32S#

468

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

469

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

Spanning Tree Protocol (STP) Commands

52-1 spanning-tree (global configuration)

This command is used to enable the STP mode. Use no form to disable STP.

spanning-tree no spanning-tree

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The spanning-tree/no spanning-tree command allows the Spanning Tree Protocol to be globally enabled/disabled on the switch.

Example

This example shows how to enable STP mode is the default mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree

Success

DXS-3600-32S(config)#

5 2000-02-15 00:22:09 INFO(6) Spanning Tree Protocol is enabled

DXS-3600-32S(config)#

52-2 spanning-tree reset

This command is used to restore the Spanning Tree configuration to the default value. This command does not have the no form.

spanning-tree reset

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

To reset the STP configuration to default.

Example

This example shows how to reset the STP configuration to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree reset

Success

DXS-3600-32S(config)#

52-3 spanning-tree (timers)

This command is used to set the value of Spanning-Tree Timers. Use the no form of this command to restore the default value.

spanning-tree [hello-time SECONDS | forward-time SECONDS | max-age SECONDS]

no spanning-tree [hello-time SECONDS | forward-time SECONDS | max-age SECONDS]

470

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

Parameters

hello-time SECONDS Specifies the time interval to send one BPDU at the Designated Port. The default setting is 2 seconds. The range is 1 to 2 seconds.

Note: This timer cannot be configured in MSTP mode.

forward-time SECONDS Specifies the maximum time (in seconds) the device will wait before changing states

(i.e., from the listening to learning to forwarding). The default setting is 15 seconds.

The range is 4 to 30 seconds.

max-age SECONDS Specifies the maximum aging time (in seconds) of the BPDU message. The default setting is 20 seconds.The range is 6 to 40 seconds.

Default

Command Mode

The default value of hello-time is 2.

The default value of forward-time is 15.

The default value of max-age is 20.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

There are some constraints on the relationship of the three timers.

Please refer to the following formulas :

• 2 × (Bridge_Forward_Delay – 1.0 seconds) >= Bridge_Max_Age

• Bridge_Max_Age >= 2 × (Bridge_Hello_Time + 1.0 seconds)

Parameters cannot be applied if the equation is not satisfied.

Example

This example shows how to configure the STP timer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree hello-time 1

Success

DXS-3600-32S(config)#spanning-tree forward-time 16

Success

DXS-3600-32S(config)#spanning-tree max-age 21

Success

DXS-3600-32S(config)#

52-4 spanning-tree tx-hold-count

This command is used to limit the maximum BPDU transmission rate for every port. Use the no form of this command to return the setting to default setting.

spanning-tree transmit-hold-count TX-HOLD-COUNT

no spanning-tree transmit-hold-count

Parameters

TX-HOLD-COUNT

Specifies the value to restrict the numbers of BPDU transmitted on a port in the period of a Hello Time. The range is 1 to 10.

Default

Command Mode

The default value is 6.

Global Configuration Mode.

471

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

Command Default Level

Level: 8

Usage Guideline

This parameter will be commonly used by STP, RSTP, and MSTP.

Note: Changing this parameter to a higher value may have a significant impact on

CPU utilization, especially in MSTP mode. Lowering this parameter could slow convergence in some scenarios. We recommend that you do not change the value from the default setting.

Example

This example shows how to configure the tx-hold-count value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree tx-hold-count 5

Success

DXS-3600-32S(config)#

52-5 spanning-tree max-hops

This command is used to configure the MSTP related max-hops timers. Use the no form of this command to return the setting to default setting.

spanning-tree max-hops MAX-COUNT

no spanning-tree max-hops

Parameters

MAX-COUNT

Specifies the MSTP maximum hop number. The range is 6 to 40 hops.

Default

Command Mode

The default value is 20.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to configure the MSTP related max-hops timers.

Example

This example shows how to configure the max-hops value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree max-hops 19

Success

DXS-3600-32S(config)#

52-6 spanning-tree mode

This command is used to decide the STP mode. To return to the default settings, use the no form of this command.

spanning-tree mode {mstp | rstp |stp} no spanning-tree mode

Parameters mstp rstp stp

Specifies to used the Multiple Spanning Tree Protocol (MSTP).

Specifies to used the Rapid Spanning Tree Protocol (RSTP).

Specifies to used the Spanning Tree Protocol (IEEE 802.1D-Compatible)

472

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

Default

Command Mode

The default mode is RSTP.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If mode is configured as STP or RSTP, all currently running MSTP instances will be cancelled automatically.

If the newly configured mode is changed from the previous one, the spanning-tree state machine will restart again, therefore all of the stable spanning-tree port states will transit into discarding states.

Example

This example shows how to configure the running version of STP module to RSTP.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mode rstp

Success

DXS-3600-32S(config)#

12 2000-02-15 00:46:00 INFO(6) Spanning Tree version change (new version:RSTP

)

DXS-3600-32S(config)#

52-7 spanning-tree mst configure

This command is used to enter the MST configuration mode in the global configuration mode and configure the MSTP region. Use the no form of the command to restore all parameters (name, revision, vlan map) to the default values.

spanning-tree mst configure no spanning-tree mst configure

Parameters

None.

Default

Command Mode

By default, all VLANs are mapped to the CIST (instance 0), name is ‘bridge mac’, and the revision is 0.

Global Configuration Mode.

Command Default Level

Level: 3

Usage Guideline

The MST configuration consists of three main parameters:

Instance VLAN mapping - See the instance command

Region name - See the name (MST configuration mode) command

Configuration revision number - See the revision (MST configuration mode) command

The exit command is used to leave MST configuration mode.

Example

This example shows how to enter the MST configuration mode in the global configuration.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#

473

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

52-8 instance

This command is used to map a VLAN or a set of VLANs to an MST instance. To return the VLANs to the default instance (CIST), use the no instance INSTANCE-ID vlans VLANDID [,|.] command. Use the no instance INSTANCE-

ID command to delete an MST instance.

instance INSTANCE-ID vlans VLANDID [,|.]

no instance INSTANCE-ID [vlans VLANDID [,|.]]

Parameters

INSTANCE-ID

vlans VLANDID [,|.]

Specifies the MSTP Instance identifier to which the specified VLANs are mapped.

The instance 0 represents for default instance, CIST.

Specifies the number of the VLANs to be mapped to the specified instance. Valid values are from 1 to 4094.

Default

Command Mode

All VLANs are mapped to the CIST instance in default.

MST Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to map VLANs to the MST instance.

When mapping VLAN(s) to a MST instance, if this instance is not exist, this instance will be created automatically. User can use no instance INSTANCE-ID command to delete a MST instance manually.

Example

This example shows how to map a range of VLANs to instance 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#instance 2 vlans 1-100

Success

DXS-3600-32S(config-mst)#

52-9 name

This command is used to set the name of an MST region. To return to the default name, use the no form of this command.

name NAME

no name

Parameters

NAME

Specifies the name given for a specified MST region. The name string has a maximum length of 32 characters.

Default

Command Mode

The default value for name is the Bridge MAC Address.

MST Configuration Mode.

Command Default Level

Level: 8

474

Usage Guideline

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

Two or more switches with the same VLAN mapping and configuration version number are considered to be in different MST regions if the region names are different.

Caution: Be careful when using the name command to set the name of an MST region. If you make a mistake, you can put the switch in a different region. The configuration name is a case-sensitive parameter.

Example

This example shows how to configure the MSTP configuration name to ‘region1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#name region1

Success

DXS-3600-32S(config-mst)#

13 2000-02-15 00:56:55 INFO(6) Spanning Tree MST configuration ID name and revision level change (name:region1 revision level:0)

DXS-3600-32S(config-mst)#

52-10 revision_level

This command is used to set the revision number for the MST configuration. To return to the default settings, use the no form of this command.

revision_level REVISION

no revision_level

Parameters

REVISION

Specifies the same given name with different revision level also represents for different MST region. The range is 0 to 65535.

Default

Command Mode

Default value for revision-level is 0.

MST Configuration Mode

Command Default Level

Level: 8

Usage Guideline

Two or more switches that have the same configuration but different revision numbers are considered to be part of two different regions.

Caution: Be careful when using the revision command to set the revision number of the MST configuration because a mistake can put the switch in a different region.

Example

This example shows how to configure the revision level of MSTP configuration to 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#revision_level 2

Success

DXS-3600-32S(config-mst)#

14 2000-02-15 01:00:08 INFO(6) Spanning Tree MST configuration ID name and revision level change (name:region1 revision level:2)

DXS-3600-32S(config-mst)#

475

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

52-11 spanning-tree mst

This command is used to set the path cost and port-priority parameters for any MST instance (including the CIST with instance ID 0). To return to the default settings, use the no form of this command.

spanning-tree mst INSTANCE-ID {cost COST | port-priority PRIORITY}

no spanning-tree mst INSTANCE-ID {cost | port-priority}

Parameters

INSTANCE-ID

cost COST

port-priority PRIORITY

Specifies the MSTP instance identifier. The instance 0 represents for default instance, CIST.

(Optional) Specifies the internal path cost for an instance. Valid values are from 0 to

200000000 and 0 means auto.

(Optional) Specifies the port priority for an instance. Valid values are from 0 to 240 in increments of 16.

Default

Command Mode

The default port priority is 128.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Higher cost values indicate higher costs.

Smaller port-priority priority values indicate higher priorities.

Example

This example shows how to set the internal path cost of instance 0.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree mst 0 cost 32

Success

DXS-3600-32S(config-if)#

52-12 spanning-tree mst priority

This command is used to configure the bridge priority value for the selected MSTP instance. Use the no form of this command to return the setting to default setting.

spanning-tree mst INSTANCE-ID priority PRIORITY

no spanning-tree mst INSTANCE-ID priority

Parameters

INSTANCE-ID

PRIORITY

Specifies the MSTP instance identifier. The instance 0 represents for default instance, CIST.

Specifies the bridge priority value must be divisible by 4096. The range is 0 to 61440.

Default

The default value is 32768.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to configure the bridge priority for special MST instance.

476

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

Example

This example shows how to configure bridge priority for the MSTP instance 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst 2 priority 0

Success

DXS-3600-32S(config)#

52-13 clear spanning-tree detected-protocols

This command is used to restart the protocol migration.

clear spanning-tree detected-protocols [interface INTERFACE-ID]

Parameters

interface INTERFACE-ID (Optional) Specifies the port interface that will be triggered the detecting action. If no option is specified, every port is affected by this command.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

This configuration is only effective for RSTP version or MSTP mode. By issuing the command Port protocol migrating state machine will be forced to SEND_RSTP state.

This action can be used to test whether all legacy bridges on a given LAN have been removed. If there is no STP Bridge on the LAN, the port will be operated in the configured mode, either in RSTP or MSTP mode. Otherwise, the port will be operated in STP mode.

RSTP and MST have built-in compatibility mechanisms that allow them to interact properly with other versions of IEEE spanning tree or other regions. For example, a bridge running RSTP can send 802.1D BPDUs on one of its ports when it is connected to a legacy bridge. An MST bridge can detect that a port is at the boundary of a region when it receives a legacy BPDU or an MST BPDU that is associated with a different region. These mechanisms are not always able to revert to the most efficient mode. For example, an RSTP bridge that is designated for a legacy 802.1D stays in 802.1D mode even after the legacy bridge has been removed from the link. Similarly, an MST port assumes that it is a boundary port when the bridges to which it is connected have joined the same region. To force the MST port to renegotiate with the neighbors, enter the clear spanning-tree detected-protocol command.

If you enter the clear spanning-tree detected-protocol command with no arguments, the command is applied to every port of the switch.

Example

This example shows how to trigger the protocol migration event for port 1.

DXS-3600-32S#clear spanning-tree detected-protocols interface tenGigabitEthernet 1

Success

DXS-3600-32S#

52-14 spanning-tree (interface configuration)

This command is used to enable the STP mode. Use no form to disable STP.

477

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

spanning-tree no spanning-tree

Parameters

Default

None.

The value is disabled in default.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The spanning-tree/no spanning-tree command allows the Spanning Tree Protocol to be enabled/disabled on the switch interface.

Example

This example shows how to enable STP on an interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree

Success

DXS-3600-32S(config-if)#

52-15 spanning-tree hello-time

This command is used to configure the MSTP port hello time. Use the no form of this command to return the setting to default setting.

spanning-tree hello-time SECONDS

no spanning-tree hello-time

Parameters

SECONDS

Specifies the time interval to send one BPDU at the Designated Port. The default setting is 2 seconds. The range is 1 to 2 seconds.

Default

Command Mode

The default value is 2.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The port hello time is only used in MSTP version. This parameter cannot be configured in STP or RSTP version.

Example

This example shows how to configure the port hello time.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree hello-time 1

Success

DXS-3600-32S(config-if)#

52-16 spanning-tree externalcost

This command is used to configure the STP port external cost. Use the no form of this command to return the setting to default setting.

spanning-tree externalcost COST

478

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

no spanning-tree externalcost

Parameters

COST

Specifies the external cost of interface. Valid values are from 0 to 200000000 and 0 means auto.

Default

Command Mode

The default port cost is calculated by port speed.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to configure the path cost between MST regions from the transmitting Bridge to the CIST Root Bridge.

Example

This example shows how to configure the external path cost.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree externalcost 22

Success

DXS-3600-32S(config-if)#

52-17 spanning-tree portfast

This command is used to enable fast forwarding mode where the interface is immediately put into the forwarding state upon linkup without waiting for the timer to expire.

spanning-tree portfast [disabled]

Parameters disabled

Specifies to disable the portfast on the interface.

Default

The default vaule is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

You should use this command only with interfaces that connect to end stations; otherwise, an accidental topology loop could cause a data-packet loop and disrupt the switch and network operation.

An interface with portfast mode enabled is moved directly to the spanning-tree forwarding state when linkup occurs without waiting for the standard forward-time delay.

Example

This example shows how to configure the portfast state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree portfast

Success

DXS-3600-32S(config-if)#

479

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

52-18 spanning-tree autoedge

This command is used to enable auto-edge on the interface. Use the disabled option of this command to disable autoedge on the interface.

spanning-tree autoedge [disabled]

Parameters disabled

Specifies to disable the auto-edge on the interface.

Default

Command Mode

By default, this option is enabled.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In auto mode, the bridge will delay for a period to become edge port if no bridge

BPDU is received

Example

This example shows how to configure auto-edge.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree autoedge

Success

DXS-3600-32S(config-if)#

52-19 spanning-tree guard root

This command is used to the guard mode. To return to the default settings, use the no form of this command.

spanning-tree guard root no spanning-tree guard root

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

BPDU guard prevents a port from being a root port BPDUs. Typically, this feature is used in a service-provider environment where the network administrator wants to prevent a low speed port being a root for the local bridge networks. This configuration will take effect on all the spanning-tree versions.

A Boolean value set by management. If TRUE causes the Port not to be selected as

Root Port for the CIST or any MSTI, even it has the best spanning tree priority vector. Such a Port will be selected as an Alternate Port after the Root Port has been selected. This parameter should be FALSE by default. If set, it can cause lack of spanning tree connectivity. It is set by a network administrator to prevent bridges external to a core region of the network influencing the spanning tree active topology, possibly because those bridges are not under the full control of the administrator.

480

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

Example

This example shows how to prevent a interface to being a root port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree guard root

Success

DXS-3600-32S(config-if)#

52-20 spanning-tree link-type

This command is used to configure the link type of the interface. Use the no form of the command to restore the configuration to the default value.

spanning-tree link-type [point-to-point | shared] no spanning-tree link-type

Parameters point-to-point shared

Specifies to set the link type of the interface to point-to-point.

Specifies to forcibly set the link type of the interface to shared.

Default

Command Mode

For a full-duplex interface, its link type is set to a point-to-point link. For a half-duplex interface, its link type is set to shared.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

A full-duplex port is considered to have a point-to-point connection. On the opposite, a half-duplex port is considered to have a shared connection. The port can’t transit into the forwarding state rapidly by setting the link type to shared-media. Hence, the auto-determination of link-type by the STP module is recommended.

This configuration will take effect on all the spanning-tree modes.

Example

This example shows how to configure link type.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree link-type point-to-point

Success

DXS-3600-32S(config-if)#

52-21 spanning-tree tc-guard

This command is used to enable the Topology Change guard at the specific interface. Use no form of this command to disable TCN filtering.

spanning-tree tc-guard no spanning-tree tc-guard

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Interface Configuration Mode.

481

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

Command Default Level

Level: 8

Usage Guideline

Both of the physical port and port-channel interfaces are valid for this command.

This configuration will take effect on all the spanning-tree modes.

A Boolean value set by management. If TRUE causes the Port not to propagate received topology changenotifications and topology changes to other Ports. This parameter should be FALSE by default. If set it can cause temporary loss of connectivity after changes in a spanning trees active topology as a result opersistent incorrectly learned station location information. It is set by a network administrator to prevent bridges external to a core region of the network, causing address flushing in that region, possibly because those bridges are not under the full control of the administrator or MAC_Operational for the attached LANs transitions frequently.

Example

This example shows how to configure TCN filtering.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree tc-guard

Success

DXS-3600-32S(config-if)#

52-22 show spanning-tree

This command is used to display the global spanning-tree configurations.

show spanning-tree [summary | forward-time | hello-time | max-age | tx-hold-count | max-hops]

Parameters summary forward-time hello-time max-age tx-hold-count max-hops

Displays the information on various instances of MSTP.

Displays the forward-time.

Displays the hello-time.

Displays the max-age.

Displays the tx-hold-count.

Displays the max_hops.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show the Spanning-Tree global configuration.

Example

This example shows how to display the global configuration of STP.

DXS-3600-32S#show spanning-tree

StpVersion : RSTP

StpStatus : Disabled

BridgeMaxAge : 21

BridgeHelloTime : 1

BridgeForwardDelay : 16

MaxHops : 19

TxHoldCount : 5

DXS-3600-32S#

482

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

Example

This example shows how to display the global configuration of STP summary.

DXS-3600-32S#show spanning-tree summary

StpVersion : RSTP

StpStatus : Disabled

BridgeMaxAge : 21

BridgeHelloTime : 1

BridgeForwardDelay : 16

MaxHops : 19

TxHoldCount : 5

###### MST 0 vlans mapped : 1-4094

BridgeAddr : 0001.0203.0400

Priority : 32768

TimeSinceTopologyChange : 0d:0h:0m:0s

TopologyChanges : 0

DesignatedRoot : 0000.0000.0000.0000

RootCost : 0

RootPort : 0

CistRegionRoot : 0000.0000.0000.0000

CistPathCost : 0

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about forwardtime.

DXS-3600-32S#show spanning-tree forward-time

BridgeForwardDelay : 16

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about hello-time.

DXS-3600-32S#show spanning-tree hello-time

BridgeHelloTime : 1

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about max-age.

DXS-3600-32S#show spanning-tree max-age

BridgeMaxAge : 21

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about max_hops.

DXS-3600-32S#show spanning-tree max-hops

MaxHops : 19

DXS-3600-32S#

Example

This example shows how to the display global configuration of STP about tx-holdcount.

DXS-3600-32S#show spanning-tree tx-hold-count

TxHoldCount : 5

DXS-3600-32S#

483

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

52-23 show spanning-tree interface

This command is used to show the STP configuration of the interface.

show spanning-tree interface INTERFACE-ID [{portfast | link-type}]

Parameters

interface INTERFACE-ID Displays the STP interface information.

portfast

Displays the STP interface's portfast information

link-type

Displays the STP interface's link-type information.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show the STP configuration of the interface.

Example

This example shows the port information.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1

PortAdminExternalCost : 22

operExternalPortPathCost : 200000

PortAdminPortFast : Disabled

PortAutoEdge : Enabled

PortOperPortFast : Disabled

PortAdminLinkType : point-to-point

PortOperP2PLinkType : point-to-point

PortRootGuard : Enabled

PortTcGuard : Enabled

###### MST 0 vlans mapped : 1-4094

PortState : Disabled

PortPriority : 128

PortDesignatedRoot : 0000.0000.0000.0000

PortDesignatedCost : 0

PortDesignatedBridge : 0000.0000.0000.0000

PortDesignatedPort : 0

PortAdminInternalCost : 32

PortOperInternalCost : 200000

PortRole : Disabled

DXS-3600-32S#

Example

This example shows the port information about portfast.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1 portfast

PortAdminPortFast : Disabled

PortOperPortFast : Disabled

PortAdminAutoEdge : Enabled

PortOperAutoEdge : Disabled

DXS-3600-32S#

484

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

Example

This example shows the port information about link-type.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1 link-type

PortAdminLinkType : point-to-point

PortOperP2PLinkType : point-to-point

DXS-3600-32S#

52-24 show spanning-tree mst

This command is used to display the information of MST and instances.

show spanning-tree mst {configuration | instance INTANCE-ID [interface INTERFACE-ID]}

Parameters configuration

INTANCE-ID

Specifies the MST configuration of the equipment.

Specifies the instance number.

interface INTERFACE-ID Specifies the interface number.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show about MSTP information.

Example

This example shows the MST configuration,

DXS-3600-32S#show spanning-tree mst configuration

Multi spanning tree protocol : Disabled

Name : region1

Revision Level : 2

Instance VLANS Mapped

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

CIST 1-4094

DXS-3600-32S#

Example

This example shows MSTP port information.

DXS-3600-32S#show spanning-tree mst instance 0 interface tenGigabitEthernet 1

###### MST 0 vlans mapped : 1-4094

PortState : Disabled

PortPriority : 128

PortDesignatedRoot : 0000.0000.0000.0000

PortDesignatedCost : 0

PortDesignatedBridge : 0000.0000.0000.0000

PortDesignatedPort : 0

PortAdminInternalCost : 32

PortOperInternalCost : 200000

PortRole : Disabled

DXS-3600-32S#

485

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

Example

This example shows MSTP instance information.

DXS-3600-32S#show spanning-tree mst instance 0

###### MST 0 vlans mapped : 1-4094

BridgeAddr : 0001.0203.0400

Priority : 32768

TimeSinceTopologyChange : 0d:0h:0m:0s

TopologyChanges : 0

DesignatedRoot : 0000.0000.0000.0000

RootCost : 0

RootPort : 0

CistRegionRoot : 0000.0000.0000.0000

CistPathCost : 0

DXS-3600-32S#

486

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

Storm Control Commands

53-1 storm-control

This command is used to enable the storm suppression. Use the no form of the command to disable the storm suppression.

storm-control {broadcast | multicast | unicast} {pps pps-rise [pps-low] | level level-rise [level-low]}

no storm-control {broadcast | multicast | unicast}

Parameters broadcast multicast unicast

pps pps-rise {pps-low}

Specifies to enable the broadcast storm suppression function on the port.

Specifies to enable the multicast storm suppression function on the port.

Specifies to enable the unknown unicast storm suppression function on the port.

Specifies the threshold as packet count per second at which traffic is received on the port. The range is 1 to 14881000.

level level-rise {level-low} Specifies the threshold as a percentage of total bandwidth per port at which traffic is received on the port. The range is 1 to 100.

Default

The default setting of broadcast, multicast, and unicast storm control are disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Too many broadcast, multicast or unknown unicast packets received on a port may cause storm and thus slow network.

A device can implement the storm suppression to a broadcast, a multicast, or a unicast storm respectively. When excessive broadcast, multicast or unknown unicast packets are received, the switch temporarily prohibits forwarding of relevant types of packets until data streams are recovered to the normal state (then packets will be forwarded normally).

The low threshold must be equal to or less than the rise threshold suppression value.

If don’t configure the low threshold, it default equal to rise threshold.

Use show storm-control to display configuration. Use storm-control action to config action.

Note:

1. The storm-control option is not supported on a link aggregation port.

2. The level-based storm control option has certain errors for the packets in the length of more than 64 bytes. The longer the packet length is, the greater the comparable error value is.

Example

This example shows how to enable the multicast storm suppression on port 1 with a

1000 pps rising suppression and a 500 pps falling suppression.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#storm-control multicast pps 1000 500

Success

DXS-3600-32S(config-if)#

487

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

53-2 storm-control action

This command is used to enable the specified action. Use the no form of this command to configure this option to the default settings.

storm-control action {block | shutdown | drop} no storm-control action

Parameters block shutdown drop

Specifies the storm-control block the flooding of which storm packets when the value specified for rise threshold is reached, and recover the flooding of which storm packets when the value specified for low threshold is falling.

Specifies the storm-control to shutdown the port when the value specified for rise threshold is reached.

Specifies the storm-control discard packets that exceed the rise threshold

Default

Command Mode

The default setting of the action is block storm packets.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If the port shutdown, you must use the no storm-control action or the no storm-

control {broadcast | multicast | unicast} commands to recover the port.

Example

This example shows how to enable the shutdown action on port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#storm-control action shutdown

Success

DXS-3600-32S(config-if)#

53-3 storm-control interval

This command is used to configure the interval time. Use the no form of the command to default time

storm-control interval <sec 1-300>

no storm-control interval

Parameters

interval <sec 1-300> Specifies the time interval that the switch checks the storm. The range of 1 to 300 in seconds.

Default

The default interval time is 5s.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In order to maintain the stability of network state, it is recommended to set the time interval of not less than the default value.

488

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

Example

This example shows how to set the interval time 5s.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#storm-control interval 5

Success

DXS-3600-32S(config)#

53-4 show storm-control

This command is used to display storm suppression information.

show storm-control [interface interface-id] [broadcast | multicast | unicast]

Parameters

interface interface-id

broadcast multicast unicast

(Optional) Specifies a port to display storm-control information

(Optional) Displays storm-control information for broadcast packets

(Optional) Displays storm-control information for multicast packets

(Optional) Displays storm-control information for unicast packets

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

If you do not specify a port, display all the ports of one traffic type.

If you do not specify a traffic type, display broadcast storm control.

489

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

Example

This example shows the storm control information for all interfaces.

DXS-3600-32S#show storm-control

Function Version : 1.01

Storm Control Statistic Interval: 5(seconds)

Interface Type Lower Upper Action Status

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

TGi/1 Broadcast 100 pps 200 pps Shutdown Normal

TGi/2 Broadcast 10 % 50 % Shutdown Shutdown

TGi/3 Broadcast 50 % 90 % Drop Drop

TGi/4 Broadcast - - Block Disabled

TGi/5 Broadcast 200 pps 500 pps None None

TGi/6 Broadcast - - Drop Disabled

TGi/7 Broadcast - - Drop Disabled

TGi/8 Broadcast - - Drop Disabled

TGi/9 Broadcast - - Drop Disabled

TGi/10 Broadcast - - Drop Disabled

TGi/11 Broadcast - - Drop Disabled

TGi/12 Broadcast - - Drop Disabled

TGi/13 Broadcast - - Drop Disabled

TGi/14 Broadcast - - Drop Disabled

TGi/15 Broadcast - - Drop Disabled

TGi/16 Broadcast - - Drop Disabled

TGi/17 Broadcast - - Drop Disabled

TGi/18 Broadcast - - Drop Disabled

TGi/19 Broadcast - - Drop Disabled

TGi/20 Broadcast - - Drop Disabled

TGi/21 Broadcast - - Drop Disabled

TGi/22 Broadcast - - Drop Disabled

TGi/23 Broadcast - - Drop Disabled

TGi/24 Broadcast - - Drop Disabled

DXS-3600-32S#

Example

This example shows the storm control information for a specified type and interface.

DXS-3600-32S#show storm-control interface tenGigabitEthernet 1 multicast

Function Version : 1.01

Storm Control Statistic Interval: 5(seconds)

Interface Type Lower Upper Action Status

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

TGi/1 Multicast 500 pps 1000 pps Shutdown Normal

DXS-3600-32S#

Display Parameters

Type

Status

Description

Displays the storm packet type:

Broadcast - broadcast packet.

Multicast - multicast packet.

Unicast - unicast packet.

Displays the status of the filter:

Normal - Storm control is enabled, and no storms have occurred

Block - Storm control is enabled, a storm has occurred, and has blocked the storm.

Shutdown - Storm control is enabled, a storm has occurred, and has shutdown the interface.

Drop - Storm control is enabled, discard packets that exceed the rise threshold

None - Storm control is detected, but not filter storm packets.

Disabled - Storm control is disabled.

490

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

491

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

Switch Management Commands

54-1 login (Console)

This command is used to login to the device.

login

Parameters

Default

Command Mode

None.

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Use the login command to login to the device.

When the user used this command, the DUT will ask the user to input a username and a password depending on the line login configurations.

Syslog information is requested to output, if the username and password is correct.

It will output:

INFO(6) Successful login through Console (Username: %s), otherwise output;

WARN(4) Login failed through Console (Username: %s)

Example

This example shows how to login to the device.

DXS-3600-32S#login

Username:admin

Password:*****

DXS-3600-32S#

14 2011-12-23 07:58:18 INFO(6) Logout through Console (Username: admin)

15 2011-12-23 07:58:18 INFO(6) Successful login through Console (Username: ad min)

DXS-3600-32S#

54-2 logout

This command is used to logout of the device.

logout

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

Use the logout command to logout of the device.

Example

DXS-3600-32S#logout

This example shows how to logout of the device.

Switch con0 is now available

Press any key to login...

492

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

54-3 username

This command is used to set a local username database for the purpose of authentication.

username name {{nopassword | password {password | encrypted encrypted-password}} | privilege privilege-

level}

no usename name

Parameters name nopassword

password {password |

encrypted encrypted-

password}

privilege privilege-level

Specifies the name of the access database name.

Specifies to identify that no password will be set.

password - Specifies to identify the plain text password.

encrypted - Specifies to identify that the password entered is encrypted.

encrypted-password - Specifies to identify that the password entered is a encrypted password. Consists out of 1-26 letters in upper/lower case and numerals. Leading spaces are allowed but ignored. Spaces in between or at the end are regarded as part of the password.

Specifies to identify the privilege level that will be entered when you use this username to login. If not specified, the privilege level is 1.

Default

Command Mode

By default, there is no username or password configured on this switch.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command is used to create a local user database for the purpose of authentication.

Example

This example shows how to create a username and password.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#username user password 12345

DXS-3600-32S(config)#

54-4 login local

This command is used to set the line login method.

login local no login local

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

When a user wants to use a username to enter the device on any line, we need to set the login method as login local. If no username was created, the interface will notify the user that no username is configured after which the switch will login automatically without asking for a username and a password.

Example

This example shows how to

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#login local

DXS-3600-32S(config-line)#

493

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

54-5 password

This command is used to create a password used on the line interface. The no form of this command will disable the use of a password.

password {password | encrypted encrypted-password}

no password

Parameters password encrypted

encrypted-password

Specifies to identify the plain text password.

Specifies to identify that the password entered is encrypted.

Specifies the encrypted pasword password used. This password must be between 1 to 26 characters long. Leading spaces will be ignored and spaces in between or at the end are regarded as part of the password.

Default

Command Mode

By default, there is no password specified.

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to create a password of ‘12345’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#line console

DXS-3600-32S(config-line)#password 12345

DXS-3600-32S(config-line)#

54-6 login (Line)

This command is used to configure the line login method

login no login

Parameters

Default

Command Mode

None.

By default, no login is configured.

Line Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to use the line login command.

DXS-3600-32S(config-line)#login

DXS-3600-32S(config-line)#

54-7 enable

This command is used to enter a privilege level.

enable [privilege-level]

494

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

Parameters

privilege-level

Specifies the privilege level used. If this value is not specified, then the default privilege level value will be used.

Default

Command Mode

The default privilege level is 15.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

When a user finds that some commands cannot be executed because the current level is lower than command’s required level, the user can use this command to login to a higher level. If the privilege level have a password configured, the user needs to input the required password before access to the higher privilege level will be given.

If the user inputs the incorrect password three times, the switch will stop requesting the user to input the password and return to current privilege level.

This example shows how to enable the privilege level of 15.

Example

DXS-3600-32S>enable 15

DXS-3600-32S#

54-8 disable

This command is used to leave a privilege level.

disable [privilege-level]

Parameters

privilege-level

Specifies the privilege level used. If this value is not specified, then the default privilege level value will be used.

Default

Command Mode

The default privilege level is 1.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

This example shows how to leave the privilege level.

Example

DXS-3600-32S#disable

DXS-3600-32S>

54-9 enable password

This command is used to create a privilege level password.

enable password [level privilege-level] {password | encrypted encrypted-password}

no enable password [level privilege-level]

Parameters

level privilege-level

password encrypted

Specifies the privilege level used. If not specified, the privilege level will set to 15.

Specifies that a plain text password will be used.

Specifies that the password will be encrypted.

495

encrypted-password

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

Specifies the encrypted password used. This password can be up to 26 characters long. Spaces will be ignored, however, if there is spaces before and after the password, they will be considered part of the password.

Default

Command Mode

No password encryption is applied.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to enable a password with the privilege level of 15.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#enable password level 15 12345

DXS-3600-32S(config)#

54-10 service password-encryption

This command is used to encrypt the password used. The no form of this command restores to the default value.

service password-encryption no service password-encryption

Parameters

Default

None.

By default, no encryption is applied.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Various passwords are displayed in the form of plain text, unless it is directly configured in the cipher text form. After executing the service password-

encryption command, the password will transform into ciphered text.

Example

This example shows how to encrypt the password used.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#enable password level 15 12345

DXS-3600-32S(config)#service password-encryption

DXS-3600-32S(config)#

54-11 show privilege

This command is used to display the current privilege level used.

show privilege

Parameters

Default

Command Mode

None.

None.

EXEC Mode.

Command Default Level

Level: 1

Usage Guideline

None.

Example

This example shows how to display the privilege level used.

DXS-3600-32S#show privilege

Current privilege level is 15

DXS-3600-32S#

496

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

54-12 privilege

This command is used to change the command string execution rights to a specific level. The no form of this command restores the command string, on this mode execution, to it’s default rights.

privilege mode {level privilege-level | reset} command-string

no privilege mode command-string

Parameters

mode

level privilege-level

reset

command-string

Specifies the CLI mode of the command in which the execution rights are attributed.

Specifies the execution right level (1–15) of a command.

Specifies to restore the command execution rights to its default level.

Specifies the command string of the level that will be changed. All the commands beginnig with this string will be changes.

Default

Command Mode

No privilege.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Privilege is used to attribute the rights of the command string to a command level.

Example

This example shows how to attribute the command config terminal to level 12.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#privilege exec level 12 configure terminal

DXS-3600-32S(config)#

497

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

Syslog Commands

55-1 logging on

This command is used to turn on logging of system messages. Use no form of this command to turn off the logging.

logging on no logging on

Parameters

Default

Command Mode

None.

By default, this option is enabled.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The logging of system messages must be enabled in order for the system messages to be logged to the local logging buffer, external log file or the remote host. If logging is turned off, no log will be displayed or recorded unless the severity level is greater than 1 such as: Console, VTY window, Memory buffer, Flash and syslog host.

Example

This example shows how to turn on logging of system messages.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging on

DXS-3600-32S(config)#

55-2 logging server

This command is used to send system log messages to a remote syslog server. Use no form of the command to disable logging to syslog servers.

logging server IP-ADDRESS

no logging server IP-ADDRESS

Parameters

IP-ADDRESS

Specifies the IP address of the syslog server.

Default

By default, don’t send system log messages to syslog server.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To send the system log messages to the remote syslog server, the user should use the logging on command to enable the logging function and use the logging server command to configure the remote syslog server.

Up to 4 syslog servers can be configured. The system log messages will be sent to all configured syslog servers at the same time.

Example

This example shows how to enable the logging of system messages to the remote syslog server 10.90.90.4.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging on

DXS-3600-32S(config)#logging server 10.90.90.4

DXS-3600-32S(config)#

498

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

55-3 logging console

This command is used to set the severity of logs that are allowed to be displayed on the console. The no format of the command disable show log on console.

logging console LEVEL

no logging console

Parameters

LEVEL

Specifies the severity of log messages, 0 to 7. The name of the severity or the numeral can be used.

Default

Command Mode

Debugging level.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

When a log severity is set here, the log messages at or below that severity will be displayed on the console.

The following table is description about the level:

Severity

Emergency

Alert

Critical

Error

Warning

Notice

Information

Debug

Level

6

7

4

5

2

3

0

1

Description

System is unusable.

Action must be taken immediately.

Critical conditions.

Error conditions.

Warning conditions.

Normal but significant condition.

Information messages.

Debug-level messages.

Example

This example shows how to set the severity of the log, that is allowed to be displayed on the console, as 6:

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging console informational

DXS-3600-32S(config)#

55-4 logging trap

This command is used to set the severity of logs that are allowed to be send to the syslog server. The no format of the command disable send log to syslog server.

logging trap LEVEL

no logging trap

Parameters

LEVEL

Specifies the severity of log messages, 0 to 7. The name of the severity or the numeral can be used.

Default

Informational level.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

499

Usage Guideline

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

To send logs to the syslog server, execute first the global configuration command logging server to configure syslog server. Then, execute logging trap to specify the severity of logs to be sent. The show logging command displays the related setting parameters and statistics of the log.

Example

This example shows how to enable logs at severity 6 to be sent to the syslog server at address 10.90.90.4

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging server 10.90.90.4

DXS-3600-32S(config)#logging trap 6

DXS-3600-32S(config)#

55-5 logging source

This command is used to configure the source IP address of logs. The no format of the command cancel the specified source’s configuration.

logging source {interface INTERFACE-ID | IP-ADDRESS}

no logging source

Parameters

interface INTERFACE-ID Specifies the interface which IP address that will be used as source to send logs to log server

IP-ADDRESS

Specifies the source IPV4 address that will be used as source to send logs to log server.

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

By default, the source address of the log messages sent to the syslog server is the address of the sending interface. For easy tracing and management, this command can be used to fix the source address of all log messages as an interface address, so that the administrator can identify which device is sending the message through the unique addresses.

Example

This example shows how to specify VLAN 1 as the source interface of the syslog messages.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging source interface vlan 1

DXS-3600-32S(config)#

55-6 logging facility

This command is used to configure the log device. The no format of the command restores it to the default device value.

logging facility FACILITY-TYPE

no logging facility

Parameters

FACILITY-TYPE

Specifies the Syslog device value.

500

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

Default

Command Mode

Local7.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

A list of facility descriptions and their respective codes are listed below:

Numberical code

12

13

14

15

8

9

10

11

6

7

4

5

2

3

0

1

20

21

22

23

16

17

18

19

Facility

Kernel messages

User-level messages

Mail system

System daemons

Security/authorization messages

Messages generated internally by syslogd

Line printer sub-system

Network news sub-system

UUCP sub-system

Clock daemon

Security/authorization messages

FTP daemon

NTP sub-system

Log audit

Log alert

Clock daemon

Local use 0 (local0)

Local use 1 (local1)

Local use 2 (local2)

Local use 3 (local3)

Local use 4 (local4)

Local use 5 (local5)

Local use 6 (local6)

Local use 7 (local7)

Example

This example shows how to set the facility as local1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging facility local1

DXS-3600-32S(config)#

55-7 logging count

This command is used to enable the log statistics function. The no format of the command deletes the log statistics and disables the statistics function.

logging count no logging count

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

501

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

Command Default Level

Level: 15

Usage Guideline

This command enables the log statistics function. The statistics begins when the function is enabled. If you run no logging count, the statistics function is disabled and the statistics data is deleted.

Example

This example shows how to enable the log statistics function.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging count

DXS-3600-32S(config)#

55-8 clear logging

This command is used to clear the logs from the buffer.

clear logging

Parameters

Default

Command Mode

None.

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

This command clears the log packets from the memory buffer. You cannot clear the statistics of the log packets.

Example

This example shows how to clear the log packets from the memory buffer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#clear logging

DXS-3600-32S(config)#

55-9 show logging

This command is used to display the logs in the buffer.

show logging

Parameters

Default

Command Mode

None.

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

This command only allows you to view the log files. You cannot use this command to view other non-log files.

502

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

Example

This example shows the result of the show logging command.

DXS-3600-32S#show logging

Syslog Logging: Enabled

Console Logging: Level Informational

Buffer Logging: Level Debugging

Trap Logging: Level Informational

Facility: local1 logging to 10.90.90.4

Logging File Write Delay: On_demand

Syslog Source IP Interface Configuration:

IP Interface : vlan1

IPv4 Address : 192.168.69.123

DXS-3600-32S#

55-10 show logging count

This command is used to show the log statistics.

show logging count

Parameters

Default

None.

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

To use the log packet statistics function, run logging count in the global configuration mode. The show logging count can show the information of a log.

Example

This example shows the log statistics.

DXS-3600-32S#show logging count

Total logging Count: 0

DXS-3600-32S#

55-11 logging buffered

This command is used to set the memory buffer parameters for logs. The no form of the command disables recording logs in memory buffer.

logging buffered [LEVEL] | [write-delay {SECONDS | INFINITE}]

no logging buffered

Parameters

LEVEL

SECONDS

INFINITE

Specifies the severity of log messages, 0 to 7. The name of the severity or the numeral can be used.

Specifies the minutes interval to write logs in the flash.

Specifies that the logs are not recorded in the flash.

Default

Command Mode

Default level : Debugging(7).

Default will log to buffer and disable periodical writing of the logging buffer to FLASH.

Global Configuration Mode.

Command Default Level

Level: 15

503

Usage Guideline

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

The memory buffer for the log is used in a recycled manner. That is, when it is full, the oldest information will be overwritten. The content of the logging buffer will be saved to the FLASH periodically if the interval time is specified, so the message can be restored on reboot. To show the log information in the memory buffer, run show

logging at the privileged user level.

As lower values indicate higher levels, level 0 indicates the information of the highest level. When the level of log information to be displayed on a specified device, the log information is at or below the set level will not be displayed.

Example

This example shows how to disable record logs into flash.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#logging buffered write-delay infinite

DXS-3600-32S(config)#

55-12 save log

This command is used to save the log.

save log

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

As log entries are created and store in the DRAM, a log message may be lost while powering down the switch. To avoid the loss of log entries, the administrator needs save the log into the NVRAM via UI or use the periodical save command to save the log to the NVRAM.

Example

This example shows the command of save log.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#save log

Saving all system logs to NV-RAM............. Done.

DXS-3600-32S(config)#

1 2011-12-23 17:35:27 INFO(6) System log saved to flash by console (Username

: Anonymous)

DXS-3600-32S(config)#

504

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

TACACS+ Commands

56-1 tacacs-server host

This command is used to configure the IP address of TACACS+ server host. The no form of this command without parameters is used to delete the TACACS+ server host. The no form of this command with the parameters is used to restore the specified parameter to default value.

tacacs-server host ip-address [port integer] [timout integer] [key string]

no tacacs-server host ip-address [port | timout | key]

Parameters

ip-address

port integer

timeout integer

key string

Specifies the IP address of the TACACS+ server host.

Specifies the TCP port used in TACACS+ communication. The range is 1 to 65535. If unspecified, the port number defaults to 49.

Specifies the timeout value of the TACACS+ host. The range is 1 to 1000s.

Specifies the shared keyword of the TACACS+ client and server. The maximum length of the key is 254.

Default

No specified TACACS+ host.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

To use TACACS+ to implement AAA security service, you must define TACACS+ secure server. You can define one or multiple TACACS+ secure servers by using

tacacs-server.

Example

This example shows how to define a TACACS+ secure server host.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#tacacs-server host 192.168.12.1

DXS-3600-32S(config)#

56-2 tacacs-server key

This command is used to configure global password of TACACS+.

tacacs-server key string

no tacacs-server key

Parameters

string

Specifies the text of the shared password. The maximum length of the key is 254.

Default

Command Mode

No specified shared password.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

The device and TACACS+ secure server communicates with each other successfully on the basis of the shared password. Therefore, in order to make the device and

TACACS+ secure server communicate with each other, the same shared password must be defined on both of them. When we need to specify different passwords to every server, use key option in host command. We can set a key to all the servers that have not set key option in global configuration mode.

505

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

Example

This example shows how to define the shared password of the TACACS+ secure server as ‘aaa’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#tacacs-server key aaa

DXS-3600-32S(config)#

56-3 tacacs-server timeout

This command is used to configure the global timeout time waiting for the server when communicatin with TACACS+ server.

tacacs-server timeout seconds

no tacacs-server timeout

Parameters

seconds

Specifies the timeout value used. The range is from 1 to 1000 seconds.

Default

5 seconds.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to adjust the timeout time of reply packet. When we need to specify different timeout time to every server, use timeout option in host command.

We can set a timeout to all the servers that have not set timeout option in global configuration mode.

Example

This example shows how to define the timeout time as 10 sec.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#tacacs-server timeout 10

DXS-3600-32S(config)#

56-4 show tacacs statistics

This command is used to show the interoperation condition with each TACACS+ server.

show tacacs statistics

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show the interoperation condition with each TACACS+ server.

506

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

Example

This example shows how to display all the server groups configured for TACACS+.

DXS-3600-32S#show tacacs statistics

TACACS+ Server: 192.168.12.1/49

Socket Opens: 0

Socket Closes: 0

Total Packets Sent: 0

Total Packets Recv: 0

Reference Count: 0

DXS-3600-32S#

Display Parameters

TACACS+ Server

Socket Opens

Socket Closes

Total Packets Sent

Total Packets Recv

Reference Count

Description

IP address of the TACACS+ server.

Number of successful TCP socket connections to the TACACS+ server.

Number of successfully closed TCP socket attempts.

Number of packets sent to the TACACS+ server.

Number of packets received from the TACACS+ server.

Number of authentication requests from the TACACS+ server.

56-5 show tacacs-server configuration

This command is used to display the TACACS+ server configuration.

show tacacs-server configuration

Parameters

Default

None.

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to show all TACACS+ server hosts.

Example

This example shows the output for the show TACACS+ server hosts command.

DXS-3600-32S#show tacacs-server configuration

IP-Address Port Key Timeout

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

192.168.12.1 49

Default Key:aaa

Default Timeout:10

1 TACACS+ server(s) in total

DXS-3600-32S#

Display Parameters

IP-Address

Port

Key

Timeout

Default Key

Description

IP address of TACACS+ server host.

TCP port used in TACACS+ communication.

Shared keyword of TACACS+ client and server.

Timeout time of TACACS+ host, the unit is seconds.

Global password of TACACS+.

507

Display Parameters

Default Timeout

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

Description

The global timeout time waiting for the server when communicating with TACACS+ server.

508

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

Telnet Commands

57-1 ip telnet server enable

This command is used to enable the Telnet server on the switch. Use the no form of this command to disable the Telnet server on the switch.

ip telnet server enable no ip telnet server enable

Parameters

Default

Command Mode

None.

By default the Telnet server is enabled.

Global Configure Mode.

Command Default Level

Level: 8

Usage Guideline

This command enables the Telnet server service on the switch. It allows communication with and management of the switch using the Telnet protocol.

Example

This example shows how to enable the Telnet server on the switch.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#ip telnet server enable

DXS-3600-32S(config)#

57-2 telnet

This command is used to Telnet to a remote server and manage it through the Telnet protocol.

telnet <ip-address> [port]

Parameters

ip-address port

Specifies the IPv4 address of the destination end station.

Specifies the TCP port number of the Telnet server.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 2

Usage Guideline

This command is used to Telnet to a remove server and manage it through the Telnet protocol

Example

This example shows how to Telnet to a remove server.

DXS-3600-32S#telnet 10.90.90.91

509

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

Time Range Commands

58-1 time-range

This command is used to enter the Time Range configuration mode in the global configuration mode. To delete a time range, use the no to form of this command.

time-range <range_name 32>

no time-range <range_name 32>

Parameters

range_name 32

Specifies the time range name string in the range of 1 to 32.

Default

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In the time range configuration mode, the time range can be configured periodically.

Use the no time-range command to delete the time range. If the time range is binded to an ACL profile or a PoE port (if PoE is supported), the deletion will fail.

Example

This example shows how to enter time range configure mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#time-range a

DXS-3600-32S(config-time-range)#

Example

This example shows how to delete a time range.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no time-range a

Success

DXS-3600-32S(config)#

58-2 periodic

This command is used to configure the time range.

periodic <daylist> HH:MM to HH:MM

Parameters

daylist

HH:MM

Specifies the day list string used. Options to choose from are sun, mon, tue, wen, thu, fri and sat.

Specifies the start or end time used. The range is from 00:00 to 23:59.

Default

The maximum number of the time range is 64.

Command Mode

Time Range Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command configures the time range. If the time range already exists, this command will modify the configuration. If not, this command will add a time range.

To verify your configuration, use show time-range.

510

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

Example

This example shows how to configure a new time range called time1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#time-range time1

DXS-3600-32S(config-time-range)#periodic sun-tue 1:00 to 2:00

Success

DXS-3600-32S(config-time-range)#

58-3 show time-range

This command is used to display all existing time ranges.

show time-range

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 4

Usage Guideline

None.

Example

This example shows how to display all existing time range.

DXS-3600-32S#show time-range

Time Range Information

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

Range Name : time1

Weekdays : Sun,Mon,Tue

Start Time : 01:00

End Time : 02:00

Total Entries :1

DXS-3600-32S#

511

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

Traffic Segmentation Commands

59-1 switchport protected unidirectional

This command is used to enable the interface isolated to a specified interface list for unidirectional protected. Use the no form of the command to disable the interface isolated to a specified interface list.

switchport protected unidirectional {interface-type interface-list}

no switchport protected unidirectional [interface-type interface-list]

Parameters

interface-type interface-list

Specifies the interface type, such as fastEthernet, gigabitEthernet and tenGigabitEthernet.

Specifies the interface list.

Default

The main interface is not isolated.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

After the interface is isolated to a specified interface, the interface can not switch on

L2 and route on L3 to the specified interface. But the specified interface to it has no limit.

If not specified, all interfaces will be included.

Use the show protected-ports command to display unidirectional configuration.

Example

This example shows how to enable the port 1 isolated to port 2-6.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport protected unidirectional tenGigabitEthernet 2-6

Success

DXS-3600-32S(config-if)#

59-2 show protected-ports

This command is used to display the switch port’s protected configuration information.

show protected-ports interface interface-id

Parameters

interface interface-id Displays the specified interface’s unidirectional isolated information.

Default

Command Mode

None.

Privileged Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display the switch port’s protected configuration information.

512

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

Example

This example shows how to display the switch port’s protected unidirectional information for interface 1.

DXS-3600-32S#show switchport protected interface tenGigabitEthernet 1

Function Version: 1.01

Interface Unidirectional Portlist

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

TGi/1 1:2, 1:4-1:26

DXS-3600-32S#

513

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

Upgrade and Maintenance Commands

60-1 copy

This command is used to upgrade and maintain the switch by use of the TFTP protocol for uploads and downloads.

copy flash: filename tftp://location/filename

copy tftp://location/filename flash: filename

Parameters

filename

//location/filename

Specifies the file name used.

Specifies the file's location or the server IP address.

Default

None.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

If the file is transmitted successfully, show the length of the transmitted file.

Otherwise, show the failure information. Only configuration and firmware files can be transmitted by TFTP.

Example

This example shows how to download a firmware named “firmware.had” from a

TFTP server.

DXS-3600-32S#copy tftp: //192.168.0.27/firmware.had flash: run.had

Address of remote host [192.168.0.27]

Source filename [firmware.had]

Destination filename [run.had]

Accessing tftp://192.168.0.27/ firmware.had...

Transmission start...

Transmission finished, file length 5156864 bytes.

Please wait, programming flash... Done

DXS-3600-32S#

Example

This example shows how to upload a firmware to a TFTP server.

DXS-3600-32S#copy flash: run.had tftp: //192.168.0.27/firmware.had

Source filename [run.had]

Address of remote host [192.168.0.27]

Destination filename [firmware.had]

Accessing tftp://192.168.0.27/firmware.had...

Transmission start...

Transmission finished, file length 5156864 bytes.

DXS-3600-32S#

60-2 boot system

This command is used to configure the specific firmware as the boot up image.

boot system flash filename

Parameters

filename

Specifies the file name used.

514

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

Default

Command Mode

None.

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

By default, the switch attempts to automatically boot the system using the information in the BOOT environment variable. If this variable is not set, the switch attempts to load and execute the first executable image.

Example

This example shows how to configure the ‘firmware.had’ file as the boot up image.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#boot system flash firmware.had

DXS-3600-32S(config)#

60-3 show bootup

This command is used to display the boot up file information.

show bootup

Parameters

Default

Command Mode

None.

None.

Privileged EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Used to display the boot up file information.

Example

DXS-3600-32S#show bootup

This example shows how to display the boot up file information.

Bootup Firmware : /c:/runtime.had

Bootup Configuration : /c:/y

DXS-3600-32S#

515

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

Virtual LAN (VLAN) Commands

61-1 vlan

This command is used to create VLANs and enter the VLAN configuration mode. Use the no vlan configuration command to remove VLANs.

vlan VLAN-ID [, | -]

no vlan VLAN-ID [, | -]

Parameters

VLAN-ID

,

-

Specifies the ID of the VLAN to be created, removed or configured. The valid VLAN

ID range is from 1 to 4094. The default VLAN with VLAN ID 1 can not be removed.

Specifies a series of VLANs, or separate a range of VLANs from a previous range.

No space is required before and after the comma.

(Optional) Specifies a range of VLANs. No space is required before and after the hyphen.

Default

VLAN ID 1 exists in the system as the default VLAN.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can be used to create VLANs. Entering the vlan command with a

VLAN ID enters VLAN configuration mode. Entering the VLAN ID of an existing

VLAN does not create a new VLAN, but allows the user to modify VLAN parameters for the specified VLAN. When the user enters the VLAN ID of a new VLAN, the

VLAN will be automatically created. If the new VLAN is a port allowed VLAN, the port will join to the new VLAN automatically.

The user can use the no vlan command to remove VLANs. The default VLAN cannot be removed. The dynamic VLAN that is created through GVRP cannot be removed through this command. If the VLAN is used as ERPS R-APS VLAN,

RSPAN VLAN, voice VLAN, subnet VLAN or MAC-based VLAN, it cannot be removed too.

Removing VLAN doesn’t remove the association of the VLAN with its static member ports. Once the VLAN is re-created, these ports will join into it automatically.

The learned dynamic FDB entries in the removed VLAN will be cleared. The static

FDB entries in this VLAN will not be removed.

If the removed VLAN is a private VLAN, the configuration for the private VLAN will be cleared.

If the removed VLAN is a port’s access VLAN, the port’s access VLAN will be reset to VLAN 1.

If the VLAN is used as protocol VLAN or VLAN translation, removing it doesn’t affect the VLAN assignment.

If the VLAN is used as super VLAN or L3 interface, removing it will lead to these functions become unavailable until this VLAN is re-created.

516

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

Example

In the following example, the user adds a new VLAN, assigning the new VLAN with the VLAN IDs 1000 to 1005.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1000-1005

DXS-3600-32S(config-vlan)#

Example

In the following example, the user removes the existing VLANs with the VLAN IDs.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#no vlan 1000-1005

DXS-3600-32S(config)#

61-2 name

This command is used to specify the name of a VLAN. Use the no name command to reset the VLAN name to the default VLAN name.

name VLAN-NAME

no name

Parameters

VLAN-NAME

Specifies the VLAN name. This name is an ASCII string from 1 to 32 characters that must be unique within the administrative domain. The syntax is a general string that does not allow spaces.

Default

The default VLAN name is VLANxxxx, where xxxx represents four numeric digits

(including the leading zeros) that are equal to the VLAN ID.

VLAN Configuration Mode.

Command Mode

Command Default Level

Level: 12

Usage Guideline

The user can use the name VLAN-NAME VLAN configuration command to specify a

VLAN name. The VLAN name length must be between 1 and32 characters, and it must be unique within the administrative domain.

Example

In the following example, the user configures the VLAN name of VLAN 1000 to be

“admin-vlan”.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 1000

DXS-3600-32S(config-vlan)#name admin-vlan

DXS-3600-32S(config-vlan)#

61-3 switchport mode

This command is used to specify the VLAN mode for the port. Use no switchport command to reset the VLAN mode to default setting.

switchport mode {access | hybrid | trunk | dot1q-tunnel} no switchport mode

Parameters access hybrid trunk

Specifies the port as an access port.

Specifies the port as a hybrid port.

Specifies the port as a trunk port.

517

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

Specifies the port as a dot1q-tunnel port.

dot1q-tunnel

Default

Command Mode

Access mode.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical ports or link aggregation groups.

When the port changes the VLAN mode, the VLAN membership setting related to the previous mode will be lost. The PVID is set to default value too. If setting the port mode to access or dot1q tunnel, the GVRP status of the port will be disabled.

The user can specify the access VLAN for an access port. On an access port, only untagged packets are processed, they are transmitted and received on the access

VLAN. The user can specify multiple VLANs for a trunk port. Packets on a trunk port are received and transmitted on trunk VLANs in tagged form. The user can specify multiple VLANs for a hybrid port. Packets on a hybrid can be received and transmitted in tagged form or untagged form.

Creating a link aggregation doesn’t need the VLAN setting of its member ports are same as. The VLAN setting of the new link aggregation is default value. The VLAN setting of member ports become inactive. Once a member port is removed from the link aggregation group, its VLAN setting becomes active again.

Example

This example shows how to set an interface port 1 as a trunk port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#

61-4 switchport access vlan

This command is used to specify the access VLAN for the interface. Use no switchport access vlan interface command to reset to default setting.

switchport access vlan VLAN-ID

no switchport access vlan

Parameters

VLAN-ID

Specifies the access VLAN for the interface.

Default

Command Mode

VLAN 1.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or link aggregation groups that are set to access mode or dot1q-tunnel mode.

This command sets the access VLAN for an access port. The port becomes an untagged member of access VLAN and the port’s PVID will also be changed to the access VLAN. If the specified access VLAN does not exist, it will be created automatically. Only one access VLAN can be specified. The succeeding command overwrites the previous command.

518

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

The switchport access vlan command can also be used to configure the tunnel

VLAN for a Dot1q-tunnel port. Removing the VLAN that is used as a port’s access

VLAN will lead to the port’s access VLAN to reset to the default VLAN.

Example

This example shows how to set an interface port 1 to access mode with access

VLAN 1000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode access

DXS-3600-32S(config-if)#switchport access vlan 1000

DXS-3600-32S(config-if)#

61-5 switchport trunk allowed vlan

This command is used to configure the VLANs that will be allowed to receive and send traffic on the specified interface in a tagged format. Use the no switchport trunk allowed vlan command to reset the VLAN membership of the port.

switchport trunk allowed vlan {all | {add | remove } VLAN-ID [, | -]}

no switchport trunk allowed vlan

Parameters

, all add remove

VLAN-ID

-

Specifies to add all VLANs to the allowed VLAN list.

Specifies to add the specified VLAN list to the allowed VLAN list.

Specifies to remove the specified VLAN list from the allowed VLAN list.

Specifies the VLAN list that will be added or removed from.

(Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is required before and after the comma.

(Optional) Specifies a range of VLANs. No space is required before and after the hyphen.

Default

By default a port that is set to trunk mode allows all VLANs.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or link aggregation groups that are set to trunk mode.

If a trunk port is allowed all VLANs, the traffic of all VLANs can be transmitted over it.

Entering the switchport trunk allowed vlan command to restrict the traffic of some

VLANs from passing the trunk port. A trunk port is a tagged member of a VLAN if the

VLAN is existed and it is in the allowed VLAN list of this port. If an allowed VLAN is created at later, the trunk port joins to it automatically.

Using no switchport trunk allowed-vlan command resets the allowed VLAN list of the trunk port to default.

Example

This example shows how to configure an interface port 1 allowed VLAN list to 1-

1000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport trunk allowed vlan add 1-1000

DXS-3600-32S(config-if)#

519

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

61-6 switchport hybrid allowed vlan

This command is used to specify if the port will be a tagged or untagged member of the specified VLAN for a hybrid port. Use the no switchport hybrid allowed vlan command to reset the membership.

switchport hybrid allowed vlan {add {tagged | untagged} | remove} VLAN-ID [, | -]

no switchport hybrid allowed vlan

Parameters

VLAN-ID add remove tagged

, untagged

-

Specifies the VLAN to add or remove the VLAN membership from.

Specifies the port will be added into the specified VLAN(s).

Specifies the port will be removed from the specified VLAN(s).

Specifies the port as a tagged member of the specified VLAN(s).

Specifies the port as an untagged member of the specified VLAN(s).

(Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. Enter a space before and after the comma.

(Optional) Specifies a range of VLANs. Enter a space before and after the hyphen.

Default

Command Mode

By default, no VLAN memberships are configured for a hybrid port.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The command can only be configured on physical ports or port-channels that are set to hybrid mode or dot1q-tunnel mode. The command can be used to setting the

VLAN membership of a hybrid port. If the port has already been the tagged member of a VLAN, adding the VLAN into the port untagged membership VLAN will lead to the port becomes its untagged member, and vice versa. You cannot add a port into its forbidden membership VLAN.

Use no switchport hybrid allowed vlan command all VLAN membership will be removed, and the port will reset to default VLAN as untagged member. The port remains in hybrid mode. The switchport hybrid allowed vlan command can also be used to specify the VLAN membership for a dot1q-tunnel port.

The configuration doesn’t need the specified VLAN exist. Once the VLAN is created, the interface will join to the VLAN automatically.

Example

In the following example, the user configures interface port 1 to be a tagged member of VLAN 1000, and an untagged member of VLAN 2000 & 3000.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode hybrid

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add tagged 1000

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add untagged 2000,3000

DXS-3600-32S(config-if)#

61-7 switchport native vlan

This command is used to specify the native VLAN (PVID) of a trunk or hybrid mode interface. Use the no switchport

native vlan command to reset to the native VLAN ID to the default setting.

switchport native vlan VLAN-ID

no switchport native vlan

520

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

Parameters

VLAN-ID

Specifies the native VLAN ID for the trunk or hybrid interface.

Default

Command Mode

The default is VLAN 1.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can only be configured on physical ports or link aggregation groups that set to trunk or hybrid mode. This command is used to set the native VLAN

(PVID) of a trunk or hybrid port.

An interface can be specified with only one native VLAN. The succeeding command overwrites the previous command.

The configuration doesn’t need the specified VLAN exist. For making the port join to its native VLAN, the user shall add the native VLAN into its allowed VLAN. If the port mode is trunk, the port will join to its native VLAN as untagged member. If the port mode is hybrid, user can set its native VLAN as tagged or untagged.

Example

In the following example, the user configures interface port 1 to become a trunk interface and configure its native VLAN to 20.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport native vlan 20

DXS-3600-32S(config-if)#

61-8 acceptable-frame

This command is used to set acceptable frame type of a port. The default acceptable frame type is admit-all.

acceptable-frame {tagged-only | untagged-only | admit-all}

Parameters tagged-only untagged-only admit-all

Specifies that only tagged frames will be accepted by the interface.

Specifies that only untagged frames will be accepted by the interface.

Specifies that all frames will be accepted by the interface.

Default

Command Mode

The default acceptable frame setting is admit-all.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical port or link aggregation groups.

The acceptable-frame interface command can be used to set the acceptable frame type for an interface. If the acceptable frame type is set to tagged-only, only tagged incoming packets will be received by the interface and untagged packets will be dropped. If specifying untagged-only, only untagged packets will be received and tagged packets will be dropped. If specifying admit-all, the interface will receive all packets.

The access port only accepts untagged packets, no matter its acceptable-frame type.

521

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

Example

In the following example, the user sets the acceptable frame type to be tagged-only on port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#acceptable-frame tagged-only

DXS-3600-32S(config-if)#

61-9 ingress-checking

This command is used to enable the ingress checking of the received frames on a port. Use the no ingress-checking interface command to disable the ingress checking function.

ingress-checking no ingress-checking

Parameters

Default

None.

By default, ingress checking is enabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are physical ports or link aggregation groups.

You can use the ingress-checking interface command to enable ingress checking on interfaces. If ingress checking is enabled, if the port is not member port of the

VLAN that has been classified for the received packet, the packet will be dropped.

The user can use the no ingress-checking interface command to disable this function on a port.

Example

This example shows how to set ingress checking to enable of port 1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#ingress-checking

DXS-3600-32S(config-if)#

61-10 mac-base (vlan)

This command is used to create a MAC-based VLAN classification entry. Use the no mac-base command to remove a

MAC-based VLAN classification entry.

mac-base MAC-ADDRESS [priority COS-VALUE]

no mac-base MAC-ADDRESS

Parameters

MAC-ADDRESS

priority COS-VALUE

Specifies the MAC address for the entry.

Specifies the priority for the entry. The value is a number from 0 to 7, if the priority is not specified, the default value is 0.

Default

No MAC-based VLAN ID classification entries exist.

Command Mode

VLAN Configuration Mode.

Command Default Level

Level: 12

522

Usage Guideline

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

The user can use the mac-base command in VLAN configuration mode to create the

MAC entry that will be classified to the MAC based VLAN. If MAC based VLAN entries are configured, the packet received by the switch regardless of the incoming port that have a source MAC address matching an the entry will be classified to the corresponding MAC-based VLAN. The maximum number of MAC-based VLAN assignment entry is project dependent.

The precedence to classify the VLAN for an untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN membership for the MAC-based VLAN.

Example

This example shows how to create a MAC-based VLAN entry for the MAC address

00-80-cc-00-00-11.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 101

DXS-3600-32S(config-vlan)#mac-base 00-80-cc-00-00-11 priority 4

DXS-3600-32S(config-vlan)#

61-11 subnet-base (vlan)

This command is used to specify subnet-based VLAN ID assignment entry for un-tagged incoming packets. Use the no

subnet-base command to remove a subnet-based VLAN ID assignment entry.

subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH} [priority

COS-VALUE]

no subnet-base {NETWORK-PREFIX /PREFIX-LENGTH | IPV6-NETWORK-PREFIX /PREFIX-LENGTH}

Parameters

NETWORK-PREFIX /

PREFIX-LENGTH

IPV6-NETWORK-PREFIX /

PREFIX-LENGTH

priority COS-VALUE

Specifies the network prefix and the prefix length in the form of A.B.C.D/x

Specities the IPv6 network prefix and the prefix length in the form of x:x:x:x:x:x:x:x/n.

The prefix length of IPv6 network address shall not greater than 64 bits.

Specifies the priority for the entry. The value is a number from 0 to 7, if the priority is not specified, the default value is 0.

Default

Command Mode

No subnet-based VLAN.

VLAN Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A subnet VLAN entry is an IP subnet-based VLAN classification rule. If an untagged or priority-tagged IP packet is received on a port, its source IPv4 address or the upper 64 bits of source IPv6 address will be used to match the subnet VLAN entries.

If the source IP matches the subnet of an entry, the packet will be classified to the

VLAN of this entry. If the packet is untagged, the priority will be picked up from it too.

For priority-tagged packet, its priority will not change. The number of subnet-based

VLAN entries is project dependent.

The precedence to classify an untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN membership for the subnet-based VLAN user.

523

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

Example

In the following example, the user creates a subnet-based VLAN entry for VLAN

100, specifying the subnets 20.0.1.0/8, 192.0.1.0/8 and 3ffe:22:33:44::55/64.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan 100

DXS-3600-32S(config-vlan)#subnet-base 20.0.1.0/8

DXS-3600-32S(config-vlan)#subnet-base 192.0.1.0/8 priority 4

DXS-3600-32S(config-vlan)#subnet-base 3ffe:22:33:44::55/64

DXS-3600-32S(config-vlan)#

61-12 show vlan

This command is used to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.

show vlan [VLAN-ID [, | -] | interface [INTERFACE-ID [, | -]] | subnet-base | mac-base]

Parameters

VLAN-ID

interface

,

INTERFACE-ID

subnet-base mac-base

(Optional) Displays information about a signal VLAN identified by VLAN ID number.

The VLAN ID range is 1 to 4094. Separate nonconsecutive VLAN-ID with a comma; use a hyphen to designate a range of VLAN-ID.

(Optional) Displays the port PVID, ingress checking, acceptable frame type information.

Specifies the port to display.

(Optional) Specifies a series of ports, or separate a range of ports from a previous range. No space before and after the comma.

(Optional) Specifies a range of ports. No space before and after the hyphen.

(Optional) Displays the subnet-based VLAN related configuration.

(Optional) Displays the mac-based VLAN related configuration.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The user can use the show vlan command to display the current VLAN status. The user can display the VLAN list using the show vlan command. The user can display a specific VLAN entry by specifying a VLAN-ID. The user can use the show vlan

interface command to show port related VLAN information, such as port PVID, ingress checking, and acceptable frame type information.

If no optional keywords are specified, all of the VLAN configurations will be displayed.

524

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

Example

DXS-3600-32S#show vlan

This example displays all the current VLAN entries.

VLAN 1

Name : default

Tagged Member Ports : 1

Untagged Member Ports : 2-24

VLAN 100

Name : VLAN0100

Tagged Member Ports : 1

Untagged Member Ports :

VLAN 101

Name : VLAN0101

Tagged Member Ports : 1

Untagged Member Ports :

VLAN 1000

Name : admin-vlan

Tagged Member Ports : 1

Untagged Member Ports :

Total Entries : 4

DXS-3600-32S#

Example

This example displays the PVID, ingress checking, and acceptable frame type information for ports 1- 4.

DXS-3600-32S#show vlan interface tenGigabitEthernet 1-4

TGi1

VLAN mode : Trunk

Trunk allowed VLAN : 1-4094

Dynamic Tagged VLAN :

Native VLAN : 20

GVRP State : Disabled

Forbidden VLAN :

Ingress checking : Enabled

Acceptable frame type : Tagged-Only

TGi2

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

TGi3

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

TGi4

VLAN mode : Access

Access VLAN : 1

Ingress checking : Enabled

Acceptable frame type : Untagged-Only

DXS-3600-32S#

525

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

Example

This example displays the MAC-based VLAN table: The MAC-based VLAN can be set by manual configuration or by MAC-based authorization. If the authorization assigns the MAC address that is set by manual configuration to different VLAN, the manual configuration MAC-based VLAN entry becomes inactive.

DXS-3600-32S#show vlan mac-base

MAC Address VLAN ID Priority Status

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

00-80-CC-00-00-11 101 4 Active

Total Entries: 1

DXS-3600-32S#

Example

This example displays the subnet-based VLAN table.

DXS-3600-32S#show vlan subnet-base

Subnet VLAN ID Priority

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

20.0.0.0/8 100 0

192.0.0.0/8 100 4

3FFE:22:33:44::/64 100 0

Total Entries: 3

DXS-3600-32S#

61-13 protocol-vlan profile

This command is used to create a protocol group. Use the no protocol-vlan profile command to remove the specified protocol group.

protocol-vlan profile PROFILE-ID frame-type {ethernet2 | snap | llc} ether-type TYPE-VALUE

no protocol-vlan profile PROFILE-ID

Parameters

PROFILE-ID

frame-type ethernet2 snap

Specifies the profile ID to add or delete.

Specifies the frame type that will be bound to the entry.

Specifies the operational protocol value of Ethernet II type frames.

Specifies the operational protocol value of SNAP type frames.

llc

Specifies the operational protocol value of LLC type frames.

ether-type TYPE-VALUE Specifies the protocol value of the specific frame type. The value is in hexadecimal form. The range is 0x0 to 0xFFFF.

Default

By default, the protocol VLAN table is empty.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The protocol-vlan profile configuration command can be used to create a protocol group.

The no protocol-vlan profile command can be used to delete an existing protocol

VLAN group.

526

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

Example

This example shows how to create a protocol VLAN group with a group ID of 10, specifying that the IPv6 protocol (frame type is ethernet2 value is 0x86dd) will be used.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#protocol-vlan profile 10 frame-type ethernet2 ether-type 0x86dd

DXS-3600-32S(config)#

61-14 protocol-vlan profile (interface)

This command is used to bind the protocol VLAN classification rule to a port. The no protocol-vlan profile command is used to remove the binding of a protocol VLAN classification from the port.

protocol-vlan profile PROFILE-ID vlan VLAN-ID [priority COS-VALUE]

no protocol-vlan profile [PROFILE-ID]

Parameters

PROFILE-ID

vlan VLAN-ID

priority COS-VALUE

Specifies the profile ID to be classified. The range is 1 to 32.

Specifies the VLAN ID of the protocol VLAN. Only one VLAN ID can be specified for each binding group on a port.

Specifies the priority of the protocol VLAN to a port. The value is a number from 0 to

7, if the priority is not specified, the default value is 0.

Default

No protocol classification rules are created.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The valid interfaces for this command are either physical ports or link aggregation groups. The command can only be configured on hybrid port or dot1q-tunnel port.

The user can use the protocol-vlan profile interface command to bind a protocol

VLAN group with a VLAN id. As a result, the packet received by the port that matches the specified protocol group will be classified to the binding VLAN. The number of supported protocol classification entries is depending on hardware. The

VLAN does not need to exist to successfully execute the command. If the user does not specify the profile ID with the no protocol-vlan profile command, the switch will remove all the protocol group and VLAN bindings on the specified interface.

The precedence for classifying the untagged packet is

MAC-based > Subnet-based > Protocol VLAN > Port-based VLAN

The user should use the switchport hybrid allowed vlan command to set the

VLAN member port for the protocol-based VLAN user.

Example

This example shows how to bind the protocol VLAN group 10 with VLAN ID 3000 on port 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 2

DXS-3600-32S(config-if)#switchport mode hybrid

DXS-3600-32S(config-if)#switchport hybrid allowed vlan add untagged 3000

DXS-3600-32S(config-if)#protocol-vlan profile 10 vlan 3000

DXS-3600-32S(config-if)#

527

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

61-15 show protocol-vlan

This command is used to display the configuration settings of a protocol VLAN. The show protocol-vlan profile command displays the protocol VLAN list and its protocols. The show protocol-vlan interface command displays the protocol group binding VLAN of the ports.

show protocol-vlan {profile [PROFILE-ID] | interface [INTERFACE-ID [, | -]]}

Parameters profile

PROFILE-ID

, interface

INTERFACE-ID

-

Specifies the display protocol group.

(Optional) Specifies the profile ID of the protocol group. If not specified, display all protocol groups.

Specifies the display protocol VLAN that is associated to interfaces

Specifies the interface to display.

(Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space is required before or after the comma.

(Optional) Specifies a range of interfaces. No space is required before or after the hyphen.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

The user can use the show protocol-vlan command to display the current protocol

VLAN status. The user can display the protocol VLAN group list table by using the

show protocol-vlan profile command. The user can display the protocol VLAN binding of the ports by using the show protocol-vlan interface command.

Example

This example shows how to display the protocol VLAN binding of ports 1-3.

DXS-3600-32S#show protocol-vlan interface tenGigabitEthernet 1-3

Interface Profile ID/Binding-VLAN/Priority

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

TGi2 10/3000/ -

DXS-3600-32S#

Example

This example shows how to display the protocol group settings.

DXS-3600-32S#show protocol-vlan profile

Profile ID Frame-type Ether-type

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

10 Ethernet2 0x86DD(IPv6)

DXS-3600-32S#

528

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

VLAN Mapping Commands

62-1 vlan mapping profile

This command is used to enter the VLAN mapping profile configuration mode. If the VLAN mapping profile doesn’t exist, it will be created. Use no command to remove the VLAN mapping profile.

vlan mapping profile ID [type [ethernet | ip | ipv6]]

no vlan mapping profile ID

Parameters

ID

type

Specifies the ID of the VLAN mapping profile. A lower ID has a higher priority. The ID range is from 1 to 1000.

Specifies the profile types. Different profiles can match different fields.

ethernet: The profile can match L2 fields.

ip: The profile can match L3 IP fields.

ipv6: The profile can match IPv6 destination or source address.

Default

No VLAN mapping profile.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

A VLAN mapping profile can be used to provide flexible and powerful flow-based

VLAN translation.

Creating a VLAN mapping profile, users must specify the type to decide which fields can be matched by the profile rules.

Example

This example shows how to create a VLAN mapping profile for matching Ethernet fields.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan mapping profile 1 type ethernet

DXS-3600-32S(config-vlan-map)#

62-2 vlan mapping rule

This command is used to configure the VLAN mapping rules of the profile. Use the no rule command to remove the previous configured rules

rule {SN} match [src-mac MAC-ADDRESS | dst-mac MAC-ADDRESS | priority COS-VALUE | inner-vid VLAN-

ID | ether-type VALUE | src-ip NETWORK-PREFIX | dst-ip NETWORK-PREFIX | src-ipv6 IPV6-NETWORK-

PREFIX / PREFIX-LENGTH | dst-ipv6 IPV6-NETWORK-PREFIX / PREFIX-LENGTH | dscp VALUE | src-port

VALUE | dst-port VALUE | ip-protocol VALUE] {dot1q-tunnel | translate} outer-vid VLAN-ID [priority COS-

VALUE] [inner-vid VLAN-ID]

no rule SN [- | ,]

Parameters

SN

(Optional) Specifies the sequence number of the VFP rule. If not specified, the SN begins from 10 and the increment is 10. The SN range is from 1 to 10000.

action

Specifies that the following parameters are lookup fields of the rule.

src-mac MAC-ADDRESS Specifies the source MAC address.

dst-mac MAC-ADDRESS Specifies the destination MAC address.

priority COS-VALUE Specifies the 802.1p priority.

inner-vid VLAN-ID Specifies the inner VLAN ID.

529

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

ether-type VALUE Specifies the Ethernet type.

src-ip NETWORK-PREFIX Specifies the source IPv4 address.

dst-ip NETWORK-PREFIX Specifies the destination IPv4 address.

src-ipv6 IPV6-NETWORK-

PREFIX / PREFIX-

LENGTH

Specifies the source IPv6 address.

dst-ipv6 IPV6-NETWORK-

PREFIX / PREFIX-

LENGTH

Specifies the destination IPv6 address.

dscp VALUE

src-port VALUE

dst-port VALUE

ip-protocol VALUE

Specifies the DSCP value.

Specifies the source TCP/UDP port number.

Specifies the destination TCP/UDP port number.

Specifies the L3 protocol value.

action drop dot1q-tunnel translate

outer-vid VLAN-ID

priority COS-VALUE

inner-vid VLAN-ID

Specifies the follows parameters are the action for matched packets.

Specifies that the matched packets will be dropped.

Specifies the follows outer-vid will be added for matched packets.

Specifies the follows outer-vid will replace the outer-vid of the matched packets.

Specifies the new outer VLAN ID.

(Optional) Specifies the 802.1p priority in the new outer TAG.

(Optional) Specifies the new inner VLAN ID.

Default

Command Mode

No VLAN mapping rule.

VLAN Mapping Profile Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

The rule command is used to configure the VLAN mapping rules of the profile. If a profile is applied on an interface, the switch tests the incoming packets according the rules of the profile. If the packets match a rule, the action of the rule will be taken.

The action may be adding or replacing the outer-VID. Optional, you can specify the priority of the new outer-TAG or specify the packets new inner-VID. If no specified, the priority of the new outer-TAG is the incoming port default priority and the inner-

VID will not be modified.

The test order depends on the rule’s sequence number of the profile and stopped when first matched. If no specifies the sequence number, it will be allocated automatically. The sequence number begins from 10 and the increment is 10.

Multiple different types of profiles could be configured onto one interface.

Example

This example shows how to configure rules for VLAN mapping profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan mapping profile 1

DXS-3600-32S(config-vlan-map)#rule 10 match src-ip 100.1.1.0/24 dot1q-tunnel outer-vid 100

DXS-3600-32S(config-vlan-map)#rule 20 match dst-ip 200.1.1.0/24 dot1q-tunnel outer-vid 200

DXS-3600-32S(config-vlan-map)#rule 30 match src-ip 254.1.1.0/24 dot1q-tunnel outer-vid 300

DXS-3600-32S(config-vlan-map)#

Example

This example shows how to remove previous configured VLAN mapping rules.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan mapping profile 1

DXS-3600-32S(config-vlan-map)#no rule 10

DXS-3600-32S(config-vlan-map)#no rule 20

DXS-3600-32S(config-vlan-map)#no rule 30

DXS-3600-32S(config-vlan-map)#

530

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

62-3 show vlan mapping profile

This command is used to display previously configured VLAN mapping profile information.

show vlan mapping profile [ID]

Parameters

ID

(Optional) Specifies the ID of the VLAN mapping profile. If not specified, all configured VLAN mapping profiles will be displayed..

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display previously configured VLAN mapping profile information.

Example

This example shows all VLAN mapping profile information.

DXS-3600-32S#show vlan mapping profile

VLAN mapping profile:1 type:ethernet rule 10 match src-ip 100.1.1.0/24, dot1q-tunnel outer-vid 100 rule 20 match dst-ip 200.1.1.0/24, dot1q-tunnel outer-vid 200 rule 30 match src-ip 300.1.1.0/24, dot1q-tunnel outer-vid 300

VLAN mapping profile 2: type:ethernet rule 10 match src-mac 00-00-00-00-00-01, translate outer-vid 40 rule 20 match outer-vid 5, translate outer-vid 10

Total Entries: 2

DXS-3600-32S#

62-4 switchport vlan mapping profile

This command is used to apply the VLAN mapping rules of profile to specified interface. Use no switchport vlan-

mapping profile command to remove the application.

switchport vlan mapping profile ID

no switchport vlan mapping profile ID

Parameters

ID

Specifies the VLAN mapping profile ID.

Default

None.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

531

Usage Guideline

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

Use this command to apply the VLAN mapping profile to specified interface. The interface can be a physical port or a link aggregation group which is set to dot1q tunnel mode.

If a profile is applied on an interface, the switch tests the incoming packets according the rules of the profile. If the packets match a rule, the action of the rule will be taken.

And the switch stops the testing of the profile.

Setting the port mode to no dot1q tunnel will lead to its VLAN mapping profile configuration is cleaned.

Example

This example shows how to configure a VLAN mapping profile and apply it to UNI port 1. The customer packets that go to 100.1.1.0/24 will be added to S-VLAN 100 and the packets that go to 200.1.1.0/24 will be added to S-VLAN 200.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#vlan mapping profile 1 type ip

DXS-3600-32S(config-vlan-map)#rule 10 match src-ip 100.1.1.0/24 dot1q-tunnel out er-vid 100

DXS-3600-32S(config-vlan-map)#rule 20 match dst-ip 200.1.1.0/24 dot1q-tunnel out er-vid 200

DXS-3600-32S(config-vlan-map)#exit

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport vlan mapping profile 1

The interface shall be dot1q-tunnel port.

DXS-3600-32S(config-if)#

532

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

VLAN Tunnel Commands

63-1 switchport mode dot1q-tunnel

This command is used to specify the port as a dot1q-tunnel port. Use the no command to reset the VLAN mode to default setting.

switchport mode dot1q-tunnel no switchport mode

Parameters

Default

Command Mode

None.

By default, the switch port is operated as an access port.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is available for physical ports or link aggregation groups that are no trunk mode.

An 802.1q tunnel port behaves as an UNI port on the provider edge bridge. Setting an interface to 802.1q tunnel mode will lead to the GVRP disable on it. A service

VLAN will be added for packets which ingress from the 802.1q tunnel port. The service VLAN assignment method can be flow-based, C-VLAN based or port-based.

If the content (include DA, SA, DIP, SIP etc) of the incoming packet matches a flowbased VLAN mapping rule that is configured on this 802.1q tunnel port, the service

VLAN will be assigned according the flow-based VLAN mapping rule.

If the C-VLAN tag of the incoming packet matches a C-VLAN based VLAN mapping rule that is configured on this port, the service VLAN will be assigned according the

C-VLAN based VLAN mapping rule.

The service VLAN will be assigned according to the port-based VLAN of this port. If the inner-priority-trust is enabled on this port, the L2 priority in the C-VLAN tag will be copied to the service VLAN. Otherwise, the priority in the service VLAN tag is the default priority of this port.

When the service VLAN tagged packets are transmitted out from the 802.1q tunnel port, the service VLAN tag will be stripped.

If you configured layer 2 protocol tunneling on the 802.1q tunnel port, the layer 2 protocol packets will be tunneled to remote PE. Otherwise, the layer 2 protocol packets received on this port will be discarded.

Layer 3 routing protocols cannot be running on the 802.1q tunnel port. Other layer 3 application packets maybe tunneled to remote PE.

Management of a Provider Edge Bridge is directly under the control of the service provider. Provider network customers shall not have access to managed objects related to elements of Provider Bridges within the provider network [IEEE 802.1ad --

16.6].

Example

This example shows how to set an interface port 1 as a dot1q tunnel port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#

533

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

63-2 frame-tag tpid

This command is used to specify the outer TPID associated with a NNI port.

frame-tag tpid TPID

no frame-tag tpid

Parameters

TPID

Specifies the TPID for the outer VLAN tag. The value is in hexadecimal form. Range is 0x0 to 0xFFFF.

Default

Command Mode

The default value is 0x8100.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is available for physical ports or link aggregation groups that are set to trunk mode only.

This setting is only effective for trunk port that is used as service provider NNI port.

When packets are egress from NNI port, its TPID in the service VLAN tag will be set according the configuration.

Setting port to no trunk mode leads to its outer TPID reset to default value.

Example

This example shows how to set the TPID of interface port 1 to 0x88A8.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#frame-tag tpid 0x88a8

DXS-3600-32S(config-if)#

63-3 switchport vlan mapping

This command is used to specify the VLAN translation or selective QinQ rule. Use no command to remove the rule.

switchport vlan mapping ORIGINAL-VLAN [,|-] {[original-inner-vlan VLAN-ID] TRANSLATED-VLAN | dot1q-

tunnel VLAN-ID} [priority COS-VALUE] [inner-vlan VLAN-ID]

no switchport vlan mapping ORIGINAL-VLAN [,|-] [ORIGINAL-INNER-VLAN]

Parameters

ORIGINAL-VLAN

original-inner-vlan VLAN-

ID

TRANSLATED-VLAN

dot1q-tunnel VLAN-ID

priority COS-VALUE

inner-vlan VLAN-ID

Specifies the original VLAN ID that will be matched for incoming packets. The range is 1-4094.

(Optional) Specifies the original inner VLAN ID that will be matched for incoming packets. The range is 1-4094.

Specifies the translated service VLAN ID. The range is 1-4094. The service VLAN will replace the original VLAN for matched packets.

Specifies the service VLAN ID that will be added for matched packets.

(Optional) Specifies the priority for the rule. If no specified, the priority of the service

VLAN tag will be set according the default priority of the reception port.

(Optional) Specifies the new inner VLAN that will replace original inner VLAN.

Default

No VLAN mapping rule is configured.

534

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

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command can be configured on physical ports or link aggregation groups. This command specifies the VLAN translation or selective QinQ rule on 801.1q tunnel or trunk port.

If the dot1q-tunnel parameter is specified in this command, the rule is selective

QinQ. Once the C-VLAN tag of the incoming packet matches the specified original

VLAN, the specified S-VLAN is added to make the packet becomes double tagged.

You can specify a VLAN range to map multiple original VLANs to single S-VLAN.

The selective QinQ shall be configured on 802.1q tunnel port. Otherwise, the rule will not take effect (its status is inactive).

If the translated VLAN parameter is specified in this command, the rule performs

VLAN translation. Once the VLAN tag of the incoming packet matches the specified original VLAN, the specified S-VLAN replaces original VLAN. The VLAN translation is one-to-one mapping, i.e. you cannot configure multiple original VLANs map to single S-VLAN. The VLAN translation can be configured on both 802.1q tunnel or trunk port.

Optional, you can configure 2:1 VLAN translation rule by specified original inner

VLAN parameter. In this case, the outer and inner tag of the incoming packets is used to match the VLAN translation rule. The outer VLAN of the matched packet is replaced by translated service VLAN and the original inner VLAN is no modified.

Moreover, you can configure 2:2 VLAN translation rule by specified inner-vlan parameter. In this case, the original inner VLAN of the matched packet will be replaced by the specified new inner VLAN too. Usually, the 2:1 and 2:2 VLAN translations are configured on trunk port.

If configured rule to translate an original VLAN to an S-VLAN, you shall not configure rule to translate other original VLAN to the S-VLAN, or configure selective QinQ rule bundling C-VLANs to the S-VLAN, vice versa.

If there is no VLAN mapping rule that match the incoming tagged packet, and the

vlan mapping drop is enabled on the port, the packet will be dropped. If the vlan

mapping drop is disabled, the port-based service VLAN will be assigned for the no matched packet.

Adding a port into a link aggregation group will lead to the VLAN mapping configuration on this member port is cleaned.

Example

This example shows how to set VLAN translation on port 1. C-VLAN 1 is translated to S-VLAN 101, C-VLAN 2 is translated to S-VLAN 102 and C-VLAN 3 is translated to S-VLAN 103.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#switchport vlan mapping 1 100

DXS-3600-32S(config-if)#switchport vlan mapping 2 102

DXS-3600-32S(config-if)#switchport vlan mapping 3 103

DXS-3600-32S(config-if)#

535

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

Example

This example shows how to set selective QinQ on port 2. C-VLANs 1-10 are mapped to S-VLAN 200.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 2

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#switchport vlan mapping 1-10 dot1q-tunnel 200

DXS-3600-32S(config-if)#

Example

This example shows how to set 2:1 VLAN translation on trunk port 3. This rule translates the outer VLAN 10 to 100 for the packet which has the original outer VLAN

10 and inner VLAN 20.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#switchport mode trunk

DXS-3600-32S(config-if)#switchport vlan mapping 10 original-inner-vlan 20 100

DXS-3600-32S(config-if)#

63-4 inner-priority-trust

This command is used to set the trusting Dot1Q priority. Use no command to remove the setting.

Parameters

Default

None.

No trust dot1q priority set.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is available for on physical ports or link aggregation groups that are set to 802.1Q tunnel mode.

When trusting the Dot1Q priority on a Dot1Q tunnel port, the priority of the Dot1Q

VLAN tag in the received packets will be copied to service VLAN tag. If no trust value is set, the priority of the service VLAN tag will be assigned according to the default priority of the reception port.

Example

This example shows how to set the interface port 1 to trust Dot1Q priority.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#inner-priority-trust

DXS-3600-32S(config-if)#

63-5 insert-dot1q-tag

This command is used to specify the Dot1Q VLAN tag inserting. Use the no command to remove the Dot1Q VLAN tag inserted.

insert-dot1q-tag VLAN-ID

Parameters

VLAN-ID

Specifies the Dot1Q VLAN ID that is inserted to the untagged packets which are received on the Dot1Q tunnel port.

536

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

Default

Command Mode

No Dot1Q VLAN tag inserted.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is available for on physical ports or link aggregation groups that are set to the 802.1Q tunnel mode.

If the insert-dot1q-tag is configured, when the untagged packets are received on the 802.1Q tunnel port, the specified Dot1Q VLAN tag will be inserted into it.

Example

This example shows how to set an interface port 1 to insert inner tag with VLAN 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#insert-dot1q-tag 10

DXS-3600-32S(config-if)#

63-6 vlan mapping miss drop

This command is used to enable the dropping of VLAN mapping unmatched packets. Use the no command to disable the VLAN mapping miss dropping action.

vlan mapping miss drop no vlan mapping miss drop

Parameters

Default

Command Mode

None.

VLAN mapping miss dropping is disabled.

Interface Configuration Mode.

Command Default Level

Level: 12

Usage Guideline

This command is available for on physical ports or link aggregation groups that are set to the 802.1Q tunnel mode.

If the VLAN mapping miss dropping option is enabled on the reception port, when the original VLAN of the received packets cannot match the VLAN mapping rules on this port, the received packets will be dropped.

Example

This example shows how to set interface port 1 to enable the VLAN mapping miss dropping option.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#switchport mode dot1q-tunnel

DXS-3600-32S(config-if)#vlan mapping miss drop

DXS-3600-32S(config-if)#

63-7 show dot1q-tunnel

This command is used to display Dot1Q VLAN tunneling configuration on interfaces.

show dot1q-tunnel [interface INTERFACE-ID [, | -]]

Parameters

interface INTERFACE-ID (Optional) Specifies the interfaces that will be displayed. If not specified, display all

802.1Q tunnel ports.

537

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

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display the 802.1Q tunneling configuration on interfaces.

Example

This example shows all 802.1Q tunnel port configurations.

DXS-3600-32S#show dot1q-tunnel dot1q Tunnel Interface:TGi1

Trust inner priority :Enabled

VLAN mapping miss drop:Enabled

Insert dot1q tag :VLAN10 dot1q Tunnel Interface:TGi2

Trust inner priority :Disabled

VLAN mapping miss drop:Disabled

DXS-3600-32S#

63-8 show frame-tag tpid

This command is used to display the outer TPID configuration.

show frame-tag tpid [interface INTERFACE-ID [, | -]]

Parameters

interface INTERFACE-ID (Optional) Specifies the interfaces that will be displayed. If not specified, display the outer TPID of all trunk ports.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

This command is used to display the outer TPID configuration on trunk ports.

Example

This example shows the outer TPID of trunk ports.

DXS-3600-32S#show frame-tag tpid

Interface TPID

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

TGi3 0x8100

DXS-3600-32S#

63-9 show vlan mapping

This command is used to display the VLAN mapping configuration.

show vlan mapping [interface INTERFACE-ID [, | -]]

538

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

Parameters

interface INTERFACE-ID (Optional) Specifies the interfaces that will be displayed. If not specified, display the all VLAN mapping.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Use this command to display the VLAN mapping configuration.

Example

This example shows all VLAN mappings.

DXS-3600-32S#show vlan mapping

Interface Original VLAN Translated VLAN Priority Status

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

TGi1 1 translate 100 - Active

TGi1 2 translate 102 - Active

TGi1 3 translate 103 - Active

TGi2 1-10 dot1q-tunnel 200 - Active

TGi3 10/20 translate 100 - Active

Total Entries : 5

DXS-3600-32S#

539

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

Virtual Router Redundancy Protocol (VRRP)

Commands

64-1 vrrp authentication

This command is used to enable VRRP authentication and set the password on an interface. Use the no form of this command to remove the authentication.

vrrp authentication string

no vrrp authentication

Parameters

string

Specifies the plaintext authentication password (8 bytes).

Default

By default no authentication is configured.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to enable VRRP authentication on an interface. The authentication is applied to all virtual routers on this interface.

The devices in the same VRRP group must have the same authentication password.

Use the command show vrrp to verify your settings.

Example

This example shows how to configure one interface’s VRRP authentication.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#vrrp authentication test

DXS-3600-32S(config-if)#

64-2 vrrp critical-ip

This command is used to set the critical IP address of a virtual router. Use the no form of this command to remove the critical IP address.

vrrp vrid critical-ip ip-address

no vrrp vrid critical-ip

Parameters

vrid ip-address

Specifies the virtual router identifier. The valid range is from 1 to 255.

Specifies the critical IP address.

Default

By default, no critical IP address is configured.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command is used to set the critical IP address for one virtual router. If the critical

IP is configured on one virtual router, the virtual router can not be active when the critical IP address is unreachable. The critical IP address is a valid host address and must belong to one existing interface on switch.

Use command show vrrp to verify your settings.

540

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

Example

This example shows how to set the critical IP address of virtual router 1 on the interface ‘vlan1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan1

DXS-3600-32S(config-if)#vrrp 1 critical-ip 192.168.100.1

DXS-3600-32S(config-if)#

64-3 vrrp ip

This command is used to create a VRRP router. Use the no form of this command to remove a VRRP router.

vrrp vrid ip ip-address

no vrrp vrid

Parameters

vrid ip-address

Specifies the virtual router identifier that identifies the VRRP group. The valid range is from 1 to 255.

Specifies the IP address for the virtual router.

Default

Command Mode

No virtual group is created on the interface.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

This command creates a virtual router and specifies its IP address. All routers in the same VRRP group must be configured with the same virtual router ID and IP address. A virtual router group is represented by a virtual router ID. The IP address of the virtual router is the default router configured on hosts. The virtual router’s IP address can be a real address configured on the routers, or an unused IP address. If the virtual router address is a real IP address, the router that has this IP address is the IP address owner.

A master will be elected in a group of routers that supports the same virtual routers.

Others are the backup routers. The master is responsible for forwarding the packets that are sent to the virtual router. The limitation about the number of supported virtual router groups is project dependent.

Use the command show vrrp to verify your settings.

Example

This example shows how to create a VRRP virtual router on an interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#vrrp 1 ip 10.1.1.100

DXS-3600-32S(config-if)#

Example

This example shows how to remove the VRRP virtual router.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no vrrp 1

DXS-3600-32S(config-if)#

64-4 vrrp preempt

This command is used to allow a router to take over the master role if it has a better priority than the current master.

Use the no form of the command to restore to the default setting.

541

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

vrrp vrid preempt

no vrrp vrid preempt

Parameters

vrid

Specifies the virtual router identifier. The valid range is from 1 to 255.

Default

Command Mode

By default, the preempt mode is enabled.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

In preempt mode, a router will take over the master role if it has a better priority than the current master. To reduce unnecessary changes to the role in an unstable network, the router will delay the process of taking over the master role for the specified period of time. In non-preempt mode, the master will not be preempted unless the incoming router is the IP address owner of the virtual router.

Use the command show vrrp to verify your settings.

Example

This example shows how to configure the router for VRRP group 7 to preempt the current master router.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#vrrp 7 preempt

DXS-3600-32S(config-if)#

Example

This example shows how to configure the router to disable the preempt function of the virtual router.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no vrrp 7 preempt

DXS-3600-32S(config-if)#

64-5 vrrp priority

This command is used to set the priority of a virtual router. Use the no form of this command to restore to the default priority,

vrrp vrid priority priority

no vrrp vrid priority

Parameters

vrid priority

Specifies the virtual router identifier. The valid range is from 1 to 255.

Specifies the priority of the virtual router. A higher value means a higher priority. The valid range is from 1 to 254.

Default

The default value of priority of virtual router is 100.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

542

Usage Guideline

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

The master of a virtual router is elected based on the priority setting. The router that owns the virtual router IP address has the highest priority to be elected.

The router with the highest priority will become the master, and other routers with a lower priority will then act as the backup for the virtual router. Each router should be configured with different priority values. If there are multiple routers with the same highest priority value, the router with the highest numbers in its IP address will become the master. The router that is the IP address owner of the VRRP group is always the master of the VRRP group.

Use the command show vrrp to verify your settings.

Example

This example shows how to configure the priority of VRRP group 7 to be 200 on interface vlan1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#vrrp 7 priority 200

DXS-3600-32S(config-if)#

Example

This example shows how to reset the priority of VRRP group 7 to the default value on interface vlan1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no vrrp 7 priority

DXS-3600-32S(config-if)#

64-6 vrrp timers advertise

This command is used to configure the interval between successive VRRP advertisements by the master router. Use the no form of this command to restore to the default value.

vrrp vrid timers advertise interval

no vrrp vrid timers advertise

Parameters

vrid interval

Specifies the virtual router identifier. The valid range is from 1 to 255.

Specifies the time interval between successive advertisements by the master router.

The unit of the interval is second. The valid value is from 1 to 255.

Default

Command Mode

The default value of advertisement interval is 1 second.

Interface Configuration Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

The maser will constantly send the VRRP advertisements to communicate the related information of the current master virtual router. The vrrp timers advertise command configures the interval between advertisement packets and the time before other routers declare the master router as down. All routers in a VRRP group must use the same timer values.

Use the command show vrrp to verify your settings.

543

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

Example

This example shows how to configure the router to send advertisements for VRRP 7 every 10 seconds on interface vlan1.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#vrrp 7 timers advertise 10

DXS-3600-32S(config-if)#

Example

This example shows how to configure the advertisement interval to use the default settings.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface vlan 1

DXS-3600-32S(config-if)#no vrrp 7 timers advertise

DXS-3600-32S(config-if)#

64-7 show vrrp

This command is used to display the VRRP status.

show vrrp [interface ipif_name [group vrid]] [brief]

Parameters

interface ipif_name

vrid

brief

Displays information about the virtual routers that belong to specified interface.

Displays the detailed information about the specified virtual router. The valid range is from 1 to 255.

Displays brief information.

Default

Command Mode

None.

Privileged EXEC Mode.

Command Default Level

Level: 3. (EI Mode Only Command)

Usage Guideline

Use this command to show the VRRP related setting and status.

Example

This example shows brief information about all virtual routers.

DXS-3600-32S#show vrrp brief

Interface Grp Pri Own Pre State Master addr Group addr vlan1 1 255 Y Y Master 10.1.1.1 10.1.1.1

vlan1 2 100 Y Master 10.1.1.1 10.1.1.101

vlan2 1 50 Y Init 100.1.1.1 100.1.1.100

DXS-3600-32S#

Example

This example shows brief information about the virtual routers belong to interface

‘vlan2’.

DXS-3600-32S#show vrrp interface vlan2 brief

Interface Grp Pri Own Pre State Master addr Group addr vlan2 1 50 Y Init 100.1.1.1 100.1.1.100

DXS-3600-32S#

544

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

Example

This example shows brief information about the group 1 on interface ‘vlan1’.

DXS-3600-32S#show vrrp interface vlan1 group 1 brief

Interface Grp Pri Own Pre State Master addr Group addr vlan1 1 255 Y Y Master 10.1.1.1 10.1.1.1

DXS-3600-32S#

Example

DXS-3600-32S#show vrrp

This example shows detailed information about all virtual routers.

vlan1 – Group 1

State is Master

Virtual IP Address is 10.1.1.1

Virtual MAC Address is 00-00-5E-00-01-01

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 255

Master Router is 10.1.1.1

vlan1 – Group 2

State is Master

Virtual IP Address is 10.1.1.101

Virtual MAC Address is 00-00-5E-00-01-02

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 100

Master Router is 10.1.1.1

vlan2 - Group 1

State is Init

Virtual IP Address is 100.1.1.100

Virtual MAC Address is 00-00-5E-00-01-01

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 100

Authentication is enabled

Authentication Text is 12345678

Master Router is 100.1.1.1

DXS-3600-32S#

Example

This example shows detailed information about groups on interface ‘vlan1’.

DXS-3600-32S#show vrrp interface vlan1 vlan1 – Group 1

State is Master

Virtual IP Address is 10.1.1.1

Virtual MAC Address is 00-00-5E-00-01-01

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 255

Master Router is 10.1.1.1

vlan1 – Group 2

State is Master

Virtual IP Address is 10.1.1.101

Virtual MAC Address is 00-00-5E-00-01-02

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 100

Master Router is 10.1.1.1

DXS-3600-32S#

545

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

Example

This example shows detailed information about group 1 on interface ‘vlan1’.

DXS-3600-32S#show vrrp interface vlan1 group 1 vlan1 – Group 1

State is Master

Virtual IP Address is 10.1.1.1

Virtual MAC Address is 00-00-5E-00-01-01

Advertisement Interval is 1 seconds

Preemption is enabled

Priority is 255

Master Router is 10.1.1.1

DXS-3600-32S#

Display Parameters

Interface

Grp

Pri

Own

Pre

State

Master addr

Group addr

Description

Interface name the virtual routers belong to.

Group ID, the identifier of virtual router, as specified with the vrrp ip command.

The priority of virtual router, as specified with the vrrp priority command.

“Y” represents IP address owner.

The preempt mode of virtual router, as specified with the vrrp preempt command.

“Y” represents the preempt mode is enabled.

State of this virtual router, which could be Master, Backup or Init.

The IP address of the interface that the Master virtual router belongs to.

The IP address of virtual router, as specified with the vrrp ip command.

64-8 debug vrrp

This command is used to turn on the VRRP debug function. Use the no form of the command to turn off the VRRP debug function.

debug vrrp no debug vrrp

Parameters

Default

None.

By default the VRRP debug is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off the VRRP debug function.

Example

DXS-3600-32S#debug vrrp

DXS-3600-32S#

This example shows how to turn on the VRRP debug function.

64-9 debug vrrp errors

This command is used to turn on the VRRP error prompt debug switch. Use the no form of the command to turn off the

VRRP error prompt debug switch.

debug vrrp errors no debug vrrp errors

Parameters

None.

546

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

Default

Command Mode

By defaultn the VRRP error prompt debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to turn on or turn off the VRRP error prompt debug switch.

Example

This example shows how to turn on the VRRP error prompt debug switch.

DXS-3600-32S#debug vrrp errors

DXS-3600-32S#

Received an ADV msg with incorrect checksum on VR 1 at interface vlan1

Received an ADV msg with incorrect checksum on VR 1 at interface vlan1

Received an ADV msg with incorrect checksum on VR 1 at interface vlan1

64-10 debug vrrp events

This command is used to turn on the VRRP event debug switch. Use the no form of the command to turn off the VRRP event debug switch.

debug vrrp events no debug vrrp events

Parameters

Default

None.

By default, the VRRP event debug switch is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to turn on or turn off all VRRP event debug switch.

Example

This example shows how to turn on the VRRP event debug switch.

DXS-3600-32S#debug vrrp events

DXS-3600-32S# interface vlan2 link up interface vlan2 link down

Master received a higher priority ADV msg at VR 2 at interface vlan1

Master received a higher priority ADV msg at VR 2 at interface vlan1

Authentication type mismatch on VR 1 at interface vlan1

64-11 debug vrrp packets

This command is used to turn on the VRRP packet debug switch. Use the no form of the command to turn off the

VRRP packet debug switch.

debug vrrp packets no debug vrrp packets

Parameters

Default

Command Mode

None.

By default, the VRRP packet debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to turn on or turn off all VRRP packet debug switch.

547

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

Example

This example shows how to turn on the VRRP packet debug switch.

DXS-3600-32S#debug vrrp packets

DXS-3600-32S#

Received an ADV msg at VR 2 on interface vlan1

Received an ADV msg at VR 2 on interface vlan1

Received an ADV msg at VR 2 on interface vlan1

Send out an ADV msg at VR 1 at interface vlan1 priority 255

Send out an ADV msg at VR 1 at interface vlan1 priority 255

Send out an ADV msg at VR 1 at interface vlan1 priority 255

64-12 debug vrrp state

This command is used to turn on the VRRP state debug switch. Use the no form of the command to turn off the VRRP state debug switch.

debug vrrp state no debug vrrp state

Parameters

Default

Command Mode

None.

By default, the VRRP state debug switch is turned off.

Privileged EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to turn on or turn off the VRRP state debug switch.

Example

This example shows how to turn on the VRRP state debug switch.

DXS-3600-32S#debug vrrp state

DXS-3600-32S#

VR 1 at interface vlan1 switch to Master

VR 2 at interface vlan1 switch to Master

VR 1 at interface vlan2 switch to Init

64-13 debug vrrp log

This command is used to turn on the log of VRRP. Use the no form of the command to turn off the log of VRRP.

debug vrrp log no debug vrrp log

Parameters

Default

None.

By default, the log of VRRP is turned off.

Command Mode

Privileged EXEC Mode.

Command Default Level

Level: 8. (EI Mode Only Command)

Usage Guideline

Use this command to turn on or turn off the log of VRRP. When the log of VRRP is turned on and there are some VRRP change events, some logs will be recorded.

Example

DXS-3600-32S#debug vrrp log

DXS-3600-32S#

This example shows how to turn on the log of VRRP.

548

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

549

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

Weighted Random Early Detection (WRED) Commands

65-1 clear random-detect drop-counter

This command is used to clear WRED drop counters.

clear random-detect drop-counter

Parameters

Default

Command Mode

None.

None.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Example

This example shows how to clear WRED drop counters.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#clear random-detect drop-counter

Success

DXS-3600-32S(config-if)#

65-2 random-detect

This command is used to enable the WRED function. The no form of this command use to disable the WRED function.

random-detect COS-VALUE [profile id]

no random-detect COS-VALUE

Parameters

COS-VALUE

profile id

Specifies CoS queues on which WRED state will be set.

Specifies the WRED profile that will be applied. If not specified, the WRED profile 1 will be applied

Default

Command Mode

WRED is disabled.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command. When a packet arrives, the current average queue size is calculated by the hardware. The weight value is set by the command random-detect exponential-weight.

If the current average queue size is less than the min-threshold of the queue, the arriving packet is queued. If the current queue length is between the min-threshold and the max-threshold of the queue, the packet is either dropped or queued depending on the packet drop probability. If the average queue size is greater than the max-threshold of the queue, all packets will be dropped

Example

This example shows how to enable the WRED function queue 5 and apply WRED profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#random-detect 5 profile 10

Success

DXS-3600-32S(config-if)#

550

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

65-3 random-detect exponential-weight

This command is used to configure the WRED exponential weight factor for the average queue size calculation for the queue. The no form is used to configure it to the default setting.

random-detect exponential-weight COS-VALUE exponent <VALUE 0-15>

no random-detect exponential-weight

Parameters

COS-VALUE

Specifies the CoS queues on which exponent will be set.

exponent <VALUE 0-15> Specifies the exponent value used in the average queue size calculation. This value must be between 0 and 15.

Default

Command Mode

The default exponential weight factor is 9.

Interface Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

Only physical ports are valid for this command.

Example

This example shows how to configure the exponent to 10 and the queue to 5.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 3

DXS-3600-32S(config-if)#random-detect exponential-weight 5 exponent 10

Success

DXS-3600-32S(config-if)#

65-4 random-detect profile

This command is used to configure the WRED profile. Use no form of this command to configure it to default setting.

random-detect profile id [tcp | non-tcp] [green | yellow | red] min-threshold <0-100> max-threshold <0-100>

max-drop-rate <0-14>

no random-detect profile id

Parameters

id

tcp non-tcp green yellow red

min-threshold <0-100>

max-threshold <0-100>

Specifies the ID of the WRED profile that will be set.

Specifies the WRED drop parameters for TCP packet to be set. If not specified, the same WRED drop parameter will be set for both type of traffic.

Specifies the WRED drop parameters for a Non-TCP packet to be set. If not specified, the same WRED drop parameter will be set for both type of traffic.

Specifies the WRED drop parameters for the green packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the WRED drop parameters for the yellow packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the WRED drop parameters for the red packet to be set. If not specified, the same WRED drop parameter will be set for all color packet.

Specifies the minimum queue size (in percentage of total queue size) to start WRED dropping. This value must be between 0 and 100.

Specifies the maximum queue size (in percentage of total queue size) over which

WRED will drop all packets destined for this queue. This value must be between 0 and 100.

551

max-drop-rate <0-14>

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

Specifies the drop probability when the average queue size reaches max-threshold.

This value must be between 0 and 14.

Default

Command Mode

The default maximum drop rate is 0

Global Configuration Mode.

Command Default Level

Level: 15

Usage Guideline

None.

Example

This example shows how to configure the WRED drop parameter for all types and color packets on profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#random-detect profile 10 min-threshold 30 max-threshold 50 max-drop-rate 10

Success

DXS-3600-32S(config)#

Example

This example shows how to configure the WRED drop parameter for TCP yellow and red packets on profile 10.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#random-detect profile 10 tcp yellow red min-threshold 20 max-threshold 40 max-drop-rate 5

Success

DXS-3600-32S(config)#

65-5 show queueing random-detect

This command is used to display the WRED configuration on specified interfaces.

show queueing random-detect [interface INTERFACE-ID [,|-]]

Parameters

interface INTERFACE-ID

[,|-]

Specifies the interface ID for which the WRED configuration will be displayed. You can specify multiple interface IDs, which are separated by commas (,) or hyphens (-

). No spaces are allowed before or after the commas or hyphens.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

The command will display the WRED configuration. If the interface ID isn’t specified, the WRED configuration for all ports on the system will be displayed.

552

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

Example

This example displays the WRED configuration and CoS queue status.

DXS-3600-32S#show queueing random-detect tenGigabitEthernet 3

Current WRED configuration:

Interface: 3

CoS WRED State Exp-weight-constant Profile

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

0 Disabled 9 1

1 Disabled 9 1

2 Disabled 9 1

3 Disabled 9 1

4 Disabled 9 1

5 Enabled 10 10

6 Disabled 9 1

7 Disabled 9 1

DXS-3600-32S#

65-6 show random-detect drop-counter

This command is used to display the WRED drop counter.

show random-detect drop-counter [interface INTERFACE-ID [,|-]]

Parameters

interface INTERFACE-ID

[,|-]

Specifies the interface ID for which the WRED drop counter will be displayed. You can specify multiple interface IDs, which are separated by commas (,) or hyphens (-

). No spaces are allowed before or after the commas or hyphens.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the WRED drop counter.

Example

This example shows how to display the WRED drop counter.

DXS-3600-32S#show random-detect drop-counter tenGigabitEthernet 3

Current WRED Drop Counter:

Interface Green Yellow Red

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

3 0 5 10

DXS-3600-32S#

65-7 show random-detect profile

This command is used to display the WRED profile setting.

show random-detect profile [profile id]

553

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

Parameters

profile id Specifies the WRED profile ID for which the WRED profile configuration will be displayed. If not specified, the configuration for all WRED profiles will be displayed.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 15

Usage Guideline

Use this command to display the WRED profile setting.

Example

This example shows how to display the WRED profile 1 setting.

DXS-3600-32S#show random-detect profile 1

WRED Profile 1

Packet Type Min-Threshold Max-Threshold Max-Drop-Rate

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

TCP-GREEN 20 80 0

TCP-YELLOW 20 80 0

TCP-RED 20 80 0

NON-TCP-GREEN 20 80 0

NON-TCP-YELLOW 20 80 0

NON-TCP-RED 20 80 0

DXS-3600-32S#

554

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

Appendix A - Password Recovery Procedure

This section describes the procedure for resetting passwords on the D-Link DXS-3600-32S switch.

Authenticating any user who tries to access networks is necessary and important. The basic authentication method used to accept qualified users is through a local login, utilizing a Username and Password. Sometimes, passwords get forgotten or destroyed, so network administrators need to reset these passwords. This section will explain how the

Password Recovery feature can help network administrators reach this goal.

The following steps explain how to use the Password Recovery feature on this switch to easily recover passwords.

Complete these steps to reset the password:

1. For security reasons, the Password Recovery feature requires the user to physically access the device. Therefore this feature is only applicable when there is a direct connection to the console port of the device. It is necessary for the user needs to attach a terminal or PC with terminal emulation to the console port of the switch.

2. Power on the Switch. After the UART init is loaded to 100%, the Switch will allow 2 seconds for the user to press the hotkey [^] (Shift + 6) to enter the “Password Recovery Mode.” Once the Switch enters the “Password

Recovery Mode,” all ports on the Switch will be disabled.

Boot Procedure V1.00.007

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

Power On Self Test ........................................ 100 %

MAC Address : 00-01-02-03-04-00

H/W Version :

Please Wait, Loading V1.00.024 Runtime Image .............. 100 %

UART init ................................................. 100 %

Password Recovery Mode

>

1. In the “Password Recovery Mode” only the following commands can be used.

Command clear configure clear levelpassword clear username reload

Parameters

This command allows the administrator to clear the configuration of this switch to the factory default settings. This includes resetting the user accounts to the defaults.

This command allows the administrator to clear the level password used on this switch to the factory default settings.

This command allows the administrator to clear the usernames used on this switch to the factory default settings.

This command will restart the switch.

555

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

Appendix B - System Log Entries

The following table lists all possible entries and their corresponding meanings that will appear in the System Log of this

Switch.

Category

IP Directedbroadcast

Log Description

Event description: IP Directed-broadcast rate exceed 50 packets per second on a certain subnet.

Log Message: IP Directed Broadcast packet rate is high on subnet. [(IP:

%s)]

Severity

Informational

Note

TFTP

Parameters description:

IP: the Broadcast IP destination address.

Event description: IP Directed-broadcast rate exceed 100 packets per second

Log Message: IP Directed Broadcast rate is high.

Parameters description: None.

Event description: Firmware upgraded successfully.

Log Message: [TFTP(1):] Firmware upgraded by <session> was successfully (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Informational

Informational

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Firmware upgrade was unsuccessful.

Log Message: [TFTP(2):] Firmware upgrade by <session> was unsuccessfully (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Warning

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Firmware successfully uploaded.

Log Message: [TFTP(3):]Firmware successfully uploaded by <session>

(Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Informational

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Firmware upload was unsuccessful.

Log Message: [TFTP(4):]Firmware upload by <session> was unsuccessful!

(Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Warning

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

556

Category

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

Log Description

Event description: Configuration successfully downloaded.

Log Message: [TFTP(5):]Configuration successfully downloaded by

<session> (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Severity

Informational

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Configuration download was unsuccessful.

Log Message: [TFTP(6):]Configuration download by <session> was unsuccessful! (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Configuration upload was unsuccessful.

Log Message: [TFTP(8):]Configuration upload by <session> was unsuccessful! (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Warning

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Configuration successfully uploaded.

Log Message: [TFTP(7):]Configuration successfully uploaded by <session>

(Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Informational

Warning

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Log message successfully uploaded.

Log Message: [TFTP(9):]Log message successfully uploaded by <session>

(Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Informational

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Log message upload was unsuccessful.

Log Message: [TFTP(10):]Log message upload by <session> was unsuccessful! (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Warning

Note

557

Category

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

Log Description

Event description: Attack log message successfully uploaded.

Log Message: [TFTP(13):]Attack log message successfully uploaded by

<session> (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Severity

Informational

TELNET

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

Event description: Attack log message upload was unsuccessful.

Log Message: [TFTP(14):]Attack log message upload by <session> was unsuccessful! (Username: <username>, IP: <ipaddr>, MAC: <macaddr>)

Warning

Parameters description: session: The user’s session.

Username: Represent current login user.

Ipaddr: Represent client IP address.

macaddr : Represent client MAC address.

DNS Resolver

Event description: Duplicate Domain name cache added, leads a dynamic domain name cache be deleted

Log Message: [DNS_RESOLVER(1):]Duplicate Domain name case name:

<domainname>, static IP: <ipaddr>, dynamic IP:<ipaddr>

Informational

Parameters description: domainame: the domain name string.

ipaddr: IP address.

Event description: Successful login through Telnet.

Log Message: Successful login through Telnet (Username: <username>, IP:

<ipaddr>)

Informational

Interface

Parameters description: ipaddr: The IP address of telnet client.

username: the user name that used to login telnet server.

Event description: Login failed through Telnet.

Log Message: Login failed through Telnet (Username: <username>, IP:

<ipaddr>)

Parameters description: ipaddr: The IP address of telnet client.

username: the user name that used to login telnet server.

Event description: Logout through Telnet.

Log Message: Logout through Telnet (Username: <username>, IP:

<ipaddr>)

Warning

Informational

Parameters description: ipaddr: The IP address of telnet client.

username: the user name that used to login telnet server.

Event description: Telnet session timed out.

Log Message: Telnet session timed out (Username: <username>, IP:

<ipaddr>).

Parameters description: ipaddr: The IP address of telnet client.

username: the user name that used to login telnet server.

Event description: Port link up.

Log Message: Port <portNum> link up, <link state>

Parameters description: portNum: 1.Interger value;2.Represent the logic port number of the device.

link state: for ex: , 100Mbps FULL duplex

Informational

Informational

Note

558

Category

802.1X

RADIUS

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

Log Description

Event description: Port link down.

Log Message: Port <portNum> link down

Severity

Informational

Parameters description: portNum: 1.Interger value;2.Represent the logic port number of the device.

Event description: 802.1X Authentication failure.

Log Message: 802.1X Authentication failure [for <reason> ] from

(Username: <username>, <interface-id>, MAC: <macaddr> )

Warning

Parameters description: reason: The reason for the failed authentication.

username: The user that is being authenticated..

interface-id: The interface name.

macaddr: The MAC address of thr authenticated device.

Event description: 802.1X Authentication successful.

Log Message: 802.1X Authentication successful from (Username:

<username>, <interface-id>, MAC: <macaddr>)

Informational

Parameters description: username: The user that is being authenticated.

interface-id: The interface name.

macaddr: The MAC address of the authenticated device.

Event description: VID assigned from RADIUS server after RADIUS client is authenticated by RADIUS server successfully .This VID will be assigned to the port and this port will be the VLAN untagged port member.

Log Message: RADIUS server <ipaddr> assigned VID :<vlanID> to port

<interface-id> (account :<username> )

Informational

Parameters description: ipaddr: The IP address of the RADIUS server.

vlanID: The VID of RADIUS assigned VLAN.

interface-id: The interface name.

Username: The user that is being authenticated.

Event description: Ingress bandwidth assigned from RADIUS server after

RADIUS client is authenticated by RADIUS server successfully .This

Ingress bandwidth will be assigned to the port.

Log Message: RADIUS server <ipaddr> assigned ingress bandwith

:<ingressBandwidth> to port <interface-id> (account : <username>)

Informational

Parameters description: ipaddr: The IP address of the RADIUS server.

ingressBandwidth: The ingress bandwidth of RADIUS assign.

interface-id: The interface name.

Username: The user that is being authenticated.

Event description: Egress bandwidth assigned from RADIUS server after

RADIUS client is authenticated by RADIUS server successfully .This egress bandwidth will be assigned to the port.

Log Message: RADIUS server <ipaddr> assigned egress bandwith

:<egressBandwidth> to port <interface-id> (account: <username>)

Informational

Parameters description: ipaddr: The IP address of the RADIUS server.

egressBandwidth: The egress bandwidth of RADIUS assign.

interface-id: The interface name.

Username: The user that is being authenticated.

Note

559

Category

LLDP-MED

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

Log Description

Event description: 802.1p default priority assigned from RADIUS server after RADIUS client is authenticated by RADIUS server successfully. This

802.1p default priority will be assigned to the port.

Log Message: RADIUS server <ipaddr> assigned 802.1p default priority:<priority> to port <interface-id> (account : <username>)

Severity

Informational

Parameters description: ipaddr: The IP address of the RADIUS server.

priority: Priority of RADIUS assign.

interface-id: The interface name.

Username: The user that is being authenticated.

Event description: Failed to assign ACL profiles/rules from RADIUS server.

Log Message: RADIUS server <ipaddr> assigns <username> ACL failure at port <interface-id> (<string>)

Warning

Parameters description: ipaddr: The IP address of the RADIUS server.

interface-id: The interface name.

Username: The user that is being authenticated.

string: The failed RADIUS ACL command string.

Event description: LLDP-MED topology change detected

Log Message: LLDP-MED topology change detected (on port <portNum>. chassis id: <chassisType>, <chassisID>, port id: <portType>, <portID>, device class: <deviceClass>)

Notice

Parameters description: portNum: The port number.

chassisType: chassis ID subtype.

Value list:

1. chassisComponent(1)

2. interfaceAlias(2)

3. portComponent(3)

4. macAddress(4)

5. networkAddress(5)

6. interfaceName(6)

7. local(7) chassisID: chassis ID.

portType: port ID subtype.

Value list:

1. interfaceAlias(1)

2. portComponent(2)

3. macAddress(3)

4. networkAddress(4)

5. interfaceName(5)

6. agentCircuitId(6)

7. local(7) portID: port ID.

deviceClass: LLDP-MED device type.

Note

560

Category

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

Log Description Severity

Event description: Conflict LLDP-MED device type detected

Log Message: Conflict LLDP-MED device type detected ( on port < portNum

>, chassis id: < chassisType>, <chassisID>, port id: < portType>, <portID>, device class: <deviceClass>)

Notice

Parameters description: portNum: The port number.

chassisType: chassis ID subtype.

Value list:

1. chassisComponent(1)

2. interfaceAlias(2)

3. portComponent(3)

4. macAddress(4)

5. networkAddress(5)

6. interfaceName(6)

7. local(7) chassisID: chassis ID.

portType: port ID subtype.

Value list:

1. interfaceAlias(1)

2. portComponent(2)

3. macAddress(3)

4. networkAddress(4)

5. interfaceName(5)

6. agentCircuitId(6)

7. local(7) portID: port ID.

deviceClass: LLDP-MED device type.

Event description: Incompatible LLDP-MED TLV set detected

Log Message: Incompatible LLDP-MED TLV set detected ( on port < portNum >, chassis id: < chassisType>, <chassisID>, port id: < portType>,

<portID>, device class: <deviceClass>)

Notice

Parameters description: portNum: The port number.

chassisType: chassis ID subtype.

Value list:

1. chassisComponent(1)

2. interfaceAlias(2)

3. portComponent(3)

4. macAddress(4)

5. networkAddress(5)

6. interfaceName(6)

7. local(7) chassisID: chassis ID.

portType: port ID subtype.

Value list:

1. interfaceAlias(1)

2. portComponent(2)

3. macAddress(3)

4. networkAddress(4)

5. interfaceName(5)

6. agentCircuitId(6)

7. local(7) portID: port ID.

deviceClass: LLDP-MED device type.

Note

561

Category

BGP

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

Log Description

Event description: BGP FSM with Peer has gone to the successfully established state.

Log Message: [BGP(1):] BGP connection is successfully established

(Peer:<ipaddr>).

Severity

Informational

Parameters description: ipaddr: IP address of BGP peer.

Event description: BGP connection is normally closed.

Log Message:[BGP(2):] BGP connection is normally closed(Peer:<ipaddr>).

Informational

Parameters description: ipaddr: IP address of BGP peer.

Event description: BGP connection is closed due to error (Error Code, Error

Subcode and Data fields Refer to RFC).

Log Message: [BGP(3):] BGP connection is closed due to error

(Code:<num> Subcode:<num> Field:<field> Peer:<ipaddr>).

Warning

Parameters description: num: Error Code or Error Subcode is defined in RFC 4271 etc.

field: field value when an error happen.

ipaddr: IP address of the BGP peer.

Event description: Receive a BGP notify packet with an undefined error code or sub error code in RFC 4271.

Log Message: [BGP(4):] BGP Notify: unkown Error code(num), Sub Error code(num), Peer:<ipaddr>.

Warning

Parameters description: num: Error Code or Error Subcode is defined in RFC 4271 etc.

ipaddr: IP address of BGP peer.

Event description: Receive a BGP update packet but the next_hop points to a local interface.

Log Message: [BGP(5):] BGP Update Attr NHop: Erroneous NHop <ipaddr>

Peer:<ipaddr>.

Warning

Parameters description: ipaddr: IP address of BGP peer.

Event description: BGP connection is closed due to some events happens.

(Event refer to RFC)

Log Message: [BGP(6):] BGP connection is closed due to Event: <num>

(Peer:<ipaddr>).

Warning

Parameters description: num: Event is defined in RFC 4271 etc.

ipaddr: IP address of BGP peer.

Event description: BGP connection is closed due to receive notify packet.

(Error Code and Error Subcode refer to RFC)

Log Message: [BGP(7):] BGP connection is closed due to Notify: Code

<num> Subcode <num> (Peer:<ipaddr>).

Warning

Parameters description: num: Error Code or Error Subcode is defined in RFC 4271 etc.

ipaddr: IP address of BGP peer.

Note

562

Category

SNMP

OSPFv2

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

Log Description

Event description: The number of bgp prefix received from this neighbor reaches the threshold.

Log Message: [BGP(8):] The number of prefix received reaches <num>, max <limit> (Peer < ipaddr >).

Severity

Warning

Parameters description: num: The number of prefix received.

limit: Max number of prefix allowed to receive.

ipaddr: IP address of BGP peer.

Event description: The total bgp prefix number received exceeds the limit.

Log Message: [BGP(9):] The total number of prefix received reaches max prefix limit.

Warning

Event description: BGP received unnecessary AS4-PATH attribute from new 4-bytes AS BGP peer

Log Message: [BGP(10):] Received AS4-PATH attribute from new (4-bytes

AS) peer. (Peer <ipaddr>).

Warning

Event description: BGP received unnecessary AS4-AGGREGATOR attribute from new 4-bytes AS BGP peer

Log Message: [BGP(11):] Received AS4-AGGREGATOR attribute from new

(4-bytes AS) peer. (Peer <ipaddr>).

Warning

Event description: BGP received AS_CONFED_SEQUENCE or

AS_CONFED_SET path segment type in AS4-PATH attribute.

Log Message: [BGP(12):] Received AS_CONFED_SEQUENCE or

AS_CONFED_SET path segment type in AS4-PATH attribute. (Peer

<ipaddr>).

Warning

Warning Event description: BGP received invalid AS4-PATH attribute.

Log Message: [BGP(13):] Received invalid AS4-PATH attribute. Value :

<STRING> (Peer <ipaddr>).

Event description: BGP received invalid AS4- AGGREGATOR attribute.

Log Message: [BGP(14):] Received invalid AS4- AGGREGATOR attribute.

Value : <STRING> (Peer <ipaddr>).

Event Description: SNMP request received with invalid community string

Log Message: SNMP request received from <ipaddr> with invalid community string.

Warning

Informational

Parameters Description: ipaddr: The IP address.

Event description: OSPF interface link state changed.

Log Message: OSPF interface <intf-name> changed state to [Up | Down]

Informational

Parameters description: intf-name: Name of OSPF interface.

Event description: OSPF interface administrator state changed.

Log Message: OSPF protocol on interface <intf-name> changed state to

[Enabled | Disabled]

Informational

Parameters description: intf-name: Name of OSPF interface.

Event description: One OSPF interface changed from one area to another.

Log Message: OSPF interface <intf-name> changed from area <area-id> to area <area-id>

Informational

Parameters description: intf-name: Name of OSPF interface.

area-id: OSPF area ID.

Note

563

Category

VRRP Debug

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

Log Description

Event description: One OSPF neighbor state changed from Loading to Full.

Log Message: OSPF nbr <nbr-id> on interface <intf-name> changed state from Loading to Full

Severity

Notice

Parameters description: intf-name: Name of OSPF interface.

nbr-id: Neighbor's router ID.

Event description: One OSPF neighbor state changed from Full to Down.

Log Message: OSPF nbr <nbr-id> on interface <intf-name> changed state from Full to Down

Notice

Parameters description: intf-name: Name of OSPF interface.

nbr-id: Neighbor's router ID.

Event description: One OSPF neighbor state’s dead timer expired.

Log Message: OSPF nbr <nbr-id> on interface <intf-name> dead timer expired

Notice

Parameters description: intf-name: Name of OSPF interface.

nbr-id: Neighbor's router ID.

Event description: One OSPF virtual neighbor state changed from Loading to Full.

Log Message: OSPF nbr <nbr-id> on virtual link changed state from

Loading to Full

Notice

Parameters description: nbr-id: Neighbor's router ID.

Event description: One OSPF virtual neighbor state changed from Full to

Down.

Log Message: OSPF nbr <nbr-id> on virtual link changed state from Full to

Down

Notice

Parameters description: nbr-id: Neighbor's router ID.

Event description: OSPF router ID was changed.

Log Message: OSPF router ID changed to <router-id>

Informational

Parameters description: router-id: OSPF router ID.

Event description: Enable OSPF.

Log Message: OSPF state changed to Enabled

Event description: Disable OSPF.

Log Message: OSPF state changed to Disabled

Event description: One virtual router state becomes Master.

Log Message: VR <vr-id> at interface <intf-name> switch to Master

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: One virtual router state becomes Backup.

Log Message: VR <vr-id> at interface <intf-name> switch to Backup

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Informational

Informational

Informational

Informational

Note

564

Category

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

Log Description

Event description: One virtual router state becomes Init.

Log Message: VR <vr-id> at interface <intf-name> switch to Init

Severity

Informational

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: Authentication type mismatch of one received VRRP advertisement message.

Log Message: Authentication type mismatch on VR <vr-id> at interface

<intf-name>

Warning

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: Authentication checking fail of one received VRRP advertisement message.

Log Message: Authentication fail on VR <vr-id> at interface <intf-name>.

Auth type <auth-type>

Warning

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Auth-type: VRRP interface authentication type.

Event description: Checksum error of one received VRRP advertisement message.

Log Message: Received an ADV msg with incorrect checksum on VR <vrid> at interface <intf-name>

Warning

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: Virtual router ID mismatch of one received VRRP advertisement message.

Log Message: Received ADV msg virtual router ID mismatch. VR <vr-id> at interface <intf-name>

Warning

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: Advertisement interval mismatch of one received VRRP advertisement message.

Log Message: Received ADV msg adv interval mismatch. VR <vr-id> at interface <intf-name>

Warning

Parameters description: vr-id: VRRP virtual router ID.

intf-name: Interface name on which virtual router is based.

Event description: A virtual MAC address is added into switch L2 table

Log Message: Added a virtual MAC <vrrp-mac-addr> into L2 table

Parameters description: vrrp-mac-addr: VRRP virtual MAC address

Event description: A virtual MAC address is deleted from switch L2 table.

Log Message: Deleted a virtual MAC <vrrp-mac-addr> from L2 table

Parameters description: vrrp-mac-addr: VRRP virtual MAC address

Notice

Notice

Note

565

Category

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

Log Description Severity

Event description: A virtual MAC address is adding into switch L3 table.

Log Message: Added a virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into

L3 table

Notice

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address

Event description: A virtual MAC address is deleting from switch L3 table.

Log Message: Deleted a virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> from L3 table

Notice

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address

Event description: Failed when adding a virtual MAC into switch chip L2 table.

Log Message: Failed to add virtual MAC <vrrp-mac-addr> into chip L2 table.

Errcode <vrrp-errcode>

Error

Parameters description: vrrp-mac-addr: VRRP virtual MAC address vrrp-errcode: Errcode of VRRP protocol behavior.

Event description: Failed when deleting a virtual MAC from switch chip L2 table.

Log Message: Failed to delete virtual MAC <vrrp-mac-addr> from chip L2 table. Errcode <vrrp-errcode>

Error

Parameters description: vrrp-mac-addr: VRRP virtual MAC address vrrp-errcode: Errcode of VRRP protocol behaviour.

Event description: Failed when adding a virtual MAC into switch L3 table.

The L3 table is full.

Log Message: Failed to add virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into L3 table. L3 table is full

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address

Event description: Failed when adding a virtual MAC into switch L3 table.

The port where the MAC is learned from is invalid.

Log Message: Failed to add virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into L3 table. Port <mac-port> is invalid

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address mac-port: port number of VRRP virtual MAC.

Event description: Failed when adding a virtual MAC into switch L3 table.

The interface where the MAC is learned from is invalid.

Log Message: Failed to add virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into L3 table. Interface <mac-intf> is invalid

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address mac-intf: interface id on which VRRP virtual MAC address is based.

Note

566

Category

WEB

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

Log Description Severity

Event description: Failed when adding a virtual MAC into switch L3 table.

The box where the MAC is learned from is invalid.

Log Message: Failed to add virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into L3 table. Box id <mac-box> is invalid

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address mac-box: stacking box number of VRRP virtual MAC.

Event description: Failed when adding a virtual MAC into switch chip’s L3 table.

Log Message: Failed to add virtual IP <vrrp-ip-addr> MAC <vrrp-mac-addr> into chip L3 table. Errcode <vrrp-errcode>

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address vrrp-errcode: Err code of VRRP protocol behavior.

Event description: Failed when deleting a virtual MAC from switch chip’s L3 table.

Log Message: Failed to delete virtual IP <vrrp-ip-addr> MAC <vrrp-macaddr> from chip L3 table. Errcode <vrrp-errcode>

Error

Parameters description: vrrp-ip-addr: VRRP virtual IP address vrrp-mac-addr: VRRP virtual MAC address vrrp-errcode: Err code of VRRP protocol behavior.

Event description: Successful login through Web.

Log Message: Successful login through Web (Username: <username>, IP:

<ipaddr>).

Informational

Parameters description: username: The use name that used to login HTTP server.

ipaddr: The IP address of HTTP client.

Event description: Login failed through Web.

Log Message: Login failed through Web (Username: <username>, IP:

<ipaddr>).

Parameters description: username: The use name that used to login HTTP server.

ipaddr: The IP address of HTTP client.

Event description: Web session timed out.

Log Message: Web session timed out (Username: <usrname>, IP:

<ipaddr>).

Warning

Informational

Parameters description: username: The use name that used to login HTTP server.

ipaddr: The IP address of HTTP client.

Event description: Logout through Web.

Log Message: Logout through Web (Username: %S, IP: %S).

Parameters description: username: The use name that used to login HTTP server.

ipaddr: The IP address of HTTP client.

Informational

Note

567

Category

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

Log Description

Port Security

Event description: Address full on a port

Log Message: Port security violation

(MAC address: < macaddr > on < interface-id >)

Severity

Warning

SSH

AAA

Parameters description: macaddr: The violation MAC address.

interface-id: The interface name.

Event description: SSH server is enabled.

Log Message: SSH server is enabled

Event description: SSH server is disabled.

Log Message: SSH server is disabled

Event description: Successful login.

Log Message: Successful login through <Console | Telnet | Web(SSL) |

SSH>(Username: <username>, IP: <ipaddr >).

Informational

Informational

Informational

Parameters description: ipaddr: IP address.

username: user name.

Event description: Login failed.

Log Message: Login failed through <Console | Telnet | Web(SSL) | SSH>

(Username: <username>, IP: <ipaddr >).

Warning

Parameters description: ipaddr: IP address.

username: user name.

Event description: Logout.

Log Message: Logout through <Console | Telnet | Web(SSL) | SSH>

(Username: <username>, IP: <ipaddr >).

Parameters description: ipaddr: IP address.

username: user name.

Event description: session timed out.

Log Message: <Console | Telnet | Web(SSL) | SSH> session timed out

(Username: <username>, IP: <ipaddr >).

Informational

Informational

Parameters description: ipaddr: IP address.

username: user name.

Event description: Authentication Policy is enabled.

Log Message: Authentication Policy is enabled (Module: AAA).

Event description: Authentication Policy is disabled.

Log Message: Authentication Policy is disabled (Module: AAA).

Event description: Login failed due to AAA server timeout or improper configuration.

Log Message: Login failed through <Console | Telnet | Web(SSL) | SSH> from <ipaddr > due to AAA server <ipaddr> timeout or improper configuration (Username: <username>).

Informational

Informational

Warning

Parameters description: ipaddr: IP address.

username: user name.

Note

568

Category

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

Log Description

Event description: Successful Enable Admin authenticated by AAA local or none or server.

Log Message: Successful Enable Admin through <Console | Telnet |

Web(SSL) | SSH> from <ipaddr > authenticated by AAA <local | none | server <ipaddr>> (Username: <username>).

Severity

Informational

Parameters description: local: enable admin by AAA local method.

none: enable admin by AAA none method.

server: enable admin by AAA server method.

ipaddr: IP address.

username: user name.

Event description: Enable Admin failed due to AAA server timeout or improper configuration.

Log Message: Enable Admin failed through <Console | Telnet | Web(SSL) |

SSH> from <ipaddr > due to AAA server <ipaddr > timeout or improper configuration (Username: <username>)

Warning

Parameters description: ipaddr: IP address.

username: user name.

Event description: Enable Admin failed authenticated by AAA local or server.

Log Message: Enable Admin failed through <Console | Telnet | Web(SSL) |

SSH> from <ipaddr > authenticated by AAA < local | server <ipaddr >>

(Username: <username>).

Warning

Parameters description: local: enable admin by AAA local method.

server: enable admin by AAA server method.

ipaddr: IP address.

username: user name.

Event description: Successful login authenticated by AAA local or none or server.

Log Message: Successful login through <Console | Telnet | Web(SSL) |

SSH> from < ipaddr > authenticated by AAA <local | none | server <ipaddr

>> (Username: <username>).

Informational

Parameters description: local: specify AAA local method.

none: specify none method.

server: specify AAA server method.

ipaddr: IP address.

username: user name.

Event description: Login failed authenticated by AAA local or server.

Log Message: Login failed through <Console | Telnet | Web(SSL) | SSH> from <ipaddr> authenticated by AAA <local | server <ipaddr> (Username:

<username>).

Warning

Parameters description: local: specify AAA local method.

server: specify AAA server method.

ipaddr: IP address.

username: user name.

Traffic Control

Event description: Broadcast storm occurrence.

Log Message: <interface-id> Broadcast storm is occurring.

Parameters description: interface-id: The interface name.

Warning

Note

569

Category

MSTP Debug

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

Log Description

Event description: Broadcast storm cleared.

Log Message: <interface-id> Broadcast storm has cleared.

Severity

Informational

Parameters description: interface-id: The interface name.

Event description: Multicast storm occurrence.

Log Message: <interface-id> Multicast storm is occurring.

Parameters description: interface-id: The interface name.

Event description: Multicast Storm cleared.

Log Message: <interface-id>Multicast storm has cleared.

Parameters description: interface-id: The interface name.

Event description: Unicast storm occurrence.

Log Message: <interface-id> Unicast storm is occurring.

Parameters description: interface-id: The interface name.

Event description: Unicast Storm cleared.

Log Message: <interface-id> Unicast storm has cleared.

Warning

Informational

Warning

Informational

Parameters description: interface-id: The interface name.

Event description: Port shut down due to a packet storm

Log Message: <interface-id> is currently shut down due to a packet storm.

Warning

Parameters description: interface-id: The interface name.

Event description: Topology changed.

Log Message: Topology changed [( [Instance:<InstanceID> ] ,port:< portNum> ,MAC: <macaddr>)]

Notice

Parameters description:

InstanceID: Instance ID.

portNum:Port ID macaddr: MAC address

Event description: Spanning Tree new Root Bridge

Log Message: [CIST | CIST Regional | MSTI Regional] New Root bridge selected( [Instance: <InstanceID> ]MAC: <macaddr> Priority :<value>)

Informational

Parameters description:

InstanceID: Instance ID.

macaddr: Mac address value: priority value

Event description: Spanning Tree Protocol is enabled

Log Message: Spanning Tree Protocol is enabled

Event description: Spanning Tree Protocol is disabled

Log Message: Spanning Tree Protocol is disabled

Event description: New root port

Log Message: New root port selected [( [Instance:<InstanceID> ], port:< portNum>)]

Parameters description:

InstanceID: Instance ID.

portNum:Port ID

Informational

Informational

Notice

Note

570

Category

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

Log Description Severity

Event description: Spanning Tree port status changed

Log Message: Spanning Tree port status changed [( [Instance:<InstanceID>

], port:< portNum>)] <old_status> -> <new_status>

Notice

Parameters description:

InstanceID: Instance ID.

portNum: Port ID old_status: Old status new_status: New status

Event description: Spanning Tree port role changed.

Log Message: Spanning Tree port status changed. [(

[Instance:<InstanceID> ], port:<[ portNum>)] <old_role> -> <new_role>

Parameters description:

InstanceID: Instance ID.

portNum:Port ID/ old_role: Old role new_status:New role

Event description: Spannnig Tree instance created.

Log Message: Spanning Tree instance created. Instance:<InstanceID>

Parameters description:

InstanceID: Instance ID.

Event description: Spannnig Tree instance deleted.

Log Message: Spanning Tree instance deleted. Instance:<InstanceID>

Informational

Informational

Informational

Parameters description:

InstanceID: Instance ID.

Event description: Spanning Tree Version changed.

Log Message: Spanning Tree version changed. New version:<new_version>

Informational

Parameters description: new_version: New STP version.

Event description: Spanning Tree MST configuration ID name and revision level changed.

Log Message: Spanning Tree MST configuration ID name and revision level changed (name:<name> ,revision level <revision_level>).

Informational

Parameters description: name : New name.

revision_level:New revision level.

Event description: Spanning Tree MST configuration ID VLAN mapping table deleted.

Log Message: Spanning Tree MST configuration ID VLAN mapping table changed (instance: <InstanceID> delete vlan <startvlanid> [- <endvlanid>]).

Informational

Parameters description:

InstanceID: Instance ID.

startvlanid- endvlanid:VLANlist

Event description: Spanning Tree MST configuration ID VLAN mapping table added.

Log Message: Spanning Tree MST configuration ID VLAN mapping table changed (instance: <InstanceID> add vlan <startvlanid> [- <endvlanid>]).

Informational

Parameters description:

InstanceID: Instance ID.

startvlanid- endvlanid:VLANlist

Note

571

Category

Port

DLMS

Peripheral

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

Log Description

Event description: port linkup

Log Message: Port <port> link up, <nway>

Severity

Informational

Parameters description: port: Represents the logical port number.

nway: Represents the speed and duplex of link.

Event description: port linkdown

Log Message: Port <port> link down

Parameters description: port: Represents the logical port number.

Event Description: Input an illegal activation code.

Log Message: Illegal activation code (AC: <string25>).

Parameters Description:

<string25>: Activation Code

Event Description: License Expired.

Log Message: License expired (license:<license-model>, AC: <string25>).

Critical

Parameters Description:

<license-model>: License Model Name.

<string25>: Activation Code

Event Description: License successfully installed.

Log Message: License successfully installed (license:<license-model>, AC:

<string25>).

Informational

Parameters Description:

<license-model>: License Model Name.

<string25>: Activation Code

Event Description:The Activation Code is unbound.

Log Message: Unbound Activation Code (AC: <string25>).

Critical

Parameters Description:

<string25>: Activation Code

Event Description:When a license is going to expire, it will be logged before

30 days.

Log Message: License will expire in 30 days. (license:<license-model>, AC:

<string25>).

Informational

Parameters Description:

<license-model>: License Model Name.

<string25>: Activation Code

Event description: Fan Recovered .

Log Message: Unit <id>, Fan <id> recovered

Parameters description:

Unit <id>: The unit ID.

Fan <id>: The FAN ID.

Event description: Fan Fail

Log Message: Unit <id>, Fan <id> failed.

Parameters description:

Unit <id>: The unit ID.

Fan <id>: The FAN ID.

Informational

Informational

Critical

Critical

Note

572

Category

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

Log Description Severity

Event description: Temperature sensor enters alarm state.

Log Message: [Uint <unitID>] Temperature sensor <sensorID> enters alarm state (current temperature: <temperature>)

Warning

Parameters description: unitID: The unit ID.

sensorID: The sensor ID.

temperature: The temperature.

Event description: Temperature recovers to normal.

Log Message: [Uint <unitID>] Temperature sensor <sensorID> recovers to normal state (current temperature: <temperature>)

Informational

Parameters description: unitID: The unit ID.

sensorID: The sensor ID.

temperature: The temperature.

Event description: Power failed.

Log Message: Unit <id>, Power <id> failed

Parameters description:

Unit <id>: The unit ID.

Power <id>: The Power ID.

Event description: Power is recovered.

Log Message: Unit <id>, Power <id> is recovered

Parameters description:

Unit <id>: The unit ID.

Power <id>: The Power ID.

Critical

Critical

Note

573

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

Appendix C - Trap Entries

This table lists the trap logs found on the Switch.

Category Trap Name

UP/Download

agentFirmwareUpgrade

Description

This trap is sent when the process of upgrading the firmware via SNMP has finished.

Binding objects:

(1) swMultiImageVersion

VRRP

MSTP

Port Trap

agentCfgOperCompleteTrap vrrpTrapNewMaster vrrpTrapAuthFailure newRoot topologyChange linkUp linkDown

OID

1.3.6.1.4.1.171.12.1.7.2.0.7

The trap is sent when the configuration is completely saved, uploaded or downloaded

Binding objects:

(1) unitID

(2) agentCfgOperate

(3) agentLoginUserName

1.3.6.1.4.1.171.12.1.7.2.0.9

The newMaster trap indicates that the sending agent has transitioned to

'Master' state.

Binding objects:

(1) vrrpOperMasterIpAddr

1.3.6.1.2.1.68.0.1

A vrrpAuthFailure trap signifies that a packet has been received from a router whose authentication key or authentication type conflicts with this router's authentication key or authentication type. Implementation of this trap is optional.

Binding objects:

(1) vrrpTrapPacketSrc

(2) vrrpTrapAuthErrorType

1.3.6.1.2.1.68.0.2

The newRoot trap indicates that the sending agent has become the new root of the Spanning Tree; the trap is sent by a bridge soon after its election as the new root, e.g., upon expiration of the Topology Change Timer, immediately subsequent to its election.

Implementation of this trap is optional.

1.3.6.1.2.1.17.0.1

A topologyChange trap is sent by a bridge when any of its configured ports transitions from the Learning state to the Forwarding state, or from the

Forwarding state to the Blocking state.

The trap is not sent if a newRoot trap is sent for the same transition.

Implementation ofthis trap is optional.

1.3.6.1.2.1.17.0.2

1.3.6.1.6.3.1.1.5.4

A notification is generated when port linkup.

Binding objects:

(1) ifIndex,

(2) if AdminStatus

(3) ifOperStatu

A notification is generated when port linkdown.

Binding objects:

(1) ifIndex,

(2) if AdminStatus

(3) ifOperStatu

1.3.6.1.6.3.1.1.5.3

574

Category

Start Trap

RMON

Trap Name

coldStart warmStart risingAlarm fallingAlarm

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

Authentication

authenticationFailure

Description OID

A coldStart trap signifies that the

SNMPv2 entity, acting in an agent role, is reinitializing itself and that its configuration may have been altered.

1.3.6.1.6.3.1.1.5.1

A warmStart trap signifies that the

SNMPv2 entity, acting in an agent role, is reinitializing itself such that its configuration is unaltered.

1.3.6.1.6.3.1.1.5.2

An authenticationFailure trap signifies that the SNMPv2 entity, acting in an agent role, has received a protocol message that is not properly authenticated. While all implementations of the SNMPv2 must be capable of generating this trap, the snmpEnableAuthenTraps object indicates whether this trap will be generated.

1.3.6.1.6.3.1.1.5.5

The SNMP trap that is generated when an alarm entry crosses its rising threshold and generates an event that is configured for sending SNMP traps.

Binding objects:

(1) alarmIndex

(2) alarmVariable

(3) alarmSampleType

(4) alarmValue

(5) alarmRisingThreshold

1.3.6.1.2.1.16.0.1

The SNMP trap that is generated when an alarm entry crosses its falling threshold and generates an event that is configured for sending SNMP traps.

Binding objects:

(1) alarmIndex

(2) alarmVariable

(3) alarmSampleType

(4) alarmValue

(5) alarmFallingThreshold

1.3.6.1.2.1.16.0.2

575

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

Appendix D - List of Commands

aaa accounting exec................................................................................................................................................ 21

aaa accounting network........................................................................................................................................... 26

aaa authentication enable ....................................................................................................................................... 18

aaa authentication login........................................................................................................................................... 17

aaa authentication network...................................................................................................................................... 25

aaa authorization console........................................................................................................................................ 20

aaa authorization exec ............................................................................................................................................ 19

aaa authorization network ....................................................................................................................................... 25

aaa group server ..................................................................................................................................................... 27

aaa local authentication attempts ............................................................................................................................ 24 aaa local authentication lockout-time ...................................................................................................................... 24

aaa........................................................................................................................................................................... 17

acceptable-frame................................................................................................................................................... 521

accounting exec....................................................................................................................................................... 22

action ....................................................................................................................................................................... 54

aggregate-address .................................................................................................................................................. 65

aggregateport load-balance................................................................................................................................... 275

area default-cost.................................................................................................................................................... 312

area nssa............................................................................................................................................................... 313

area range ............................................................................................................................................................. 314

area stub................................................................................................................................................................ 315 area virtual-link ...................................................................................................................................................... 315

area ....................................................................................................................................................................... 312

arp timeout............................................................................................................................................................... 57 arp ........................................................................................................................................................................... 57

authorization exec ................................................................................................................................................... 21

banner login............................................................................................................................................................... 2

bgp aggregate-next-hop-check................................................................................................................................ 66

bgp always-compare-med ....................................................................................................................................... 67 bgp bestpath as-path ignore.................................................................................................................................... 67

bgp bestpath compare-confed-aspath..................................................................................................................... 68

bgp bestpath compare-routerid ............................................................................................................................... 69 bgp bestpath med confed ........................................................................................................................................ 69

bgp bestpath med missing-as-worst........................................................................................................................ 70 bgp client-to-client reflection.................................................................................................................................... 70

bgp cluster-id ........................................................................................................................................................... 71 bgp confederation identifier ..................................................................................................................................... 71

bgp confederation peers.......................................................................................................................................... 72

bgp dampening........................................................................................................................................................ 73

bgp default local-preference .................................................................................................................................... 74

bgp deterministic-med ............................................................................................................................................. 75

bgp enforce-first-as.................................................................................................................................................. 76 bgp fast-external-fallover ......................................................................................................................................... 76

bgp router-id ............................................................................................................................................................ 65

boot config flash .................................................................................................................................................... 158

boot system ........................................................................................................................................................... 514

bootfile ................................................................................................................................................................... 184

cd........................................................................................................................................................................... 218

class ...................................................................................................................................................................... 394 class-map .............................................................................................................................................................. 394

clear arp cache ........................................................................................................................................................ 58

576

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

clear counters ........................................................................................................................................................ 166

clear debug buffer.................................................................................................................................................. 174

clear error-log ........................................................................................................................................................ 173

clear gvrp statistics interface ................................................................................................................................. 223

clear host ............................................................................................................................................................... 199

clear ip bgp dampening ........................................................................................................................................... 78

clear ip bgp external ................................................................................................................................................ 79

clear ip bgp flap-statistics ........................................................................................................................................ 80 clear ip bgp peer-group ........................................................................................................................................... 80

clear ip bgp .............................................................................................................................................................. 77

clear ip dhcp binding.............................................................................................................................................. 193 clear ip dhcp conflict .............................................................................................................................................. 193

clear ip igmp group ................................................................................................................................................ 229

clear ip igmp snooping statistics............................................................................................................................ 244

clear ip ospf process.............................................................................................................................................. 317

clear ip prefix-list counter....................................................................................................................................... 262

clear ip route.......................................................................................................................................................... 385

clear logging .......................................................................................................................................................... 502

clear mac-address-table ........................................................................................................................................ 209

clear port-security .................................................................................................................................................. 381

clear random-detect drop-counter ......................................................................................................................... 550

clear spanning-tree detected-protocols ................................................................................................................. 477

clear....................................................................................................................................................................... 348

clock set................................................................................................................................................................. 462

clock summer-time ................................................................................................................................................ 463 clock timezone....................................................................................................................................................... 463

configure replace ................................................................................................................................................... 157

copy bootup-config ................................................................................................................................................ 160

copy debug buffer.................................................................................................................................................. 171 copy error-log ........................................................................................................................................................ 171

copy running-config ............................................................................................................................................... 159

copy tech-support .................................................................................................................................................. 176

copy ....................................................................................................................................................................... 162

copy ....................................................................................................................................................................... 514

cp........................................................................................................................................................................... 218

debug enable......................................................................................................................................................... 170

debug ip bgp access-list ........................................................................................................................................ 142 debug ip bgp error ................................................................................................................................................. 142

debug ip bgp fsm-event ......................................................................................................................................... 140

debug ip bgp packet .............................................................................................................................................. 141

debug ip bgp prefix-list .......................................................................................................................................... 143

debug ip bgp route-map ........................................................................................................................................ 142

debug ip bgp show aggregate ............................................................................................................................... 147

debug ip bgp show as-path-access-list ................................................................................................................. 150

debug ip bgp show community-list ........................................................................................................................ 151

debug ip bgp show damp ...................................................................................................................................... 147

debug ip bgp show global...................................................................................................................................... 143

debug ip bgp show interface.................................................................................................................................. 148

debug ip bgp show neighbors................................................................................................................................ 144

debug ip bgp show network................................................................................................................................... 146

debug ip bgp show peer-group.............................................................................................................................. 145

debug ip bgp show redistribution........................................................................................................................... 149 debug ip bgp show timer ....................................................................................................................................... 149

debug ip bgp.......................................................................................................................................................... 140

577

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

debug ip ospf clear counter ................................................................................................................................... 344

debug ip ospf interface .......................................................................................................................................... 338

debug ip ospf log ................................................................................................................................................... 347

debug ip ospf lsa-flooding...................................................................................................................................... 339

debug ip ospf lsa-originating.................................................................................................................................. 338

debug ip ospf neighbor .......................................................................................................................................... 337

debug ip ospf packet-receiving.............................................................................................................................. 339

debug ip ospf packet-transmitting.......................................................................................................................... 340

debug ip ospf redistribution ................................................................................................................................... 342 debug ip ospf route................................................................................................................................................ 342

debug ip ospf show counter................................................................................................................................... 343

debug ip ospf show database................................................................................................................................ 344

debug ip ospf show redistribution .......................................................................................................................... 346

debug ip ospf show request-list ............................................................................................................................. 345

debug ip ospf show summary-list .......................................................................................................................... 346

debug ip ospf spf ................................................................................................................................................... 340

debug ip ospf timer ................................................................................................................................................ 341 debug ip ospf virtual-link........................................................................................................................................ 341

debug ip ospf ......................................................................................................................................................... 337

debug ip pim ssm .................................................................................................................................................. 369

debug output.......................................................................................................................................................... 172

debug show module_version................................................................................................................................. 177

debug vrrp errors ................................................................................................................................................... 546

debug vrrp events.................................................................................................................................................. 547

debug vrrp log........................................................................................................................................................ 548

debug vrrp packets ................................................................................................................................................ 547

debug vrrp state..................................................................................................................................................... 548

debug vrrp ............................................................................................................................................................. 546

default-information originate .................................................................................................................................. 317

default-metric......................................................................................................................................................... 318

default-router ......................................................................................................................................................... 184

defense.................................................................................................................................................................. 201

del.......................................................................................................................................................................... 220

deny....................................................................................................................................................................... 255

description ............................................................................................................................................................. 373

dir........................................................................................................................................................................... 217

disable ................................................................................................................................................................... 495

distribute-list in (RIP) ............................................................................................................................................. 418

distribute-list in....................................................................................................................................................... 319

dns-server.............................................................................................................................................................. 185 domain-name......................................................................................................................................................... 185

dot1x control-direction ............................................................................................................................................... 7

dot1x default .............................................................................................................................................................. 6

dot1x initialize .......................................................................................................................................................... 10

dot1x max-req............................................................................................................................................................ 9

dot1x pae authenticator ............................................................................................................................................. 7

dot1x port-control....................................................................................................................................................... 6

dot1x port-fwd-pdu................................................................................................................................................... 13

dot1x port-max-user ................................................................................................................................................ 12

dot1x re-authenticate............................................................................................................................................... 10

dot1x reauthentication ............................................................................................................................................... 9

dot1x system-auth-control ....................................................................................................................................... 11

dot1x system-fwd-pdu ............................................................................................................................................. 12

dot1x system-max-user ........................................................................................................................................... 11

578

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

dot1x timeout ............................................................................................................................................................. 8

duplex .................................................................................................................................................................... 373

enable asf ................................................................................................................................................................ 63

enable password ................................................................................................................................................... 495

enable.................................................................................................................................................................... 494

end............................................................................................................................................................................. 4

error-reboot enable................................................................................................................................................ 170

exec-timeout .......................................................................................................................................................... 272

execute flash: ........................................................................................................................................................ 156

exit ............................................................................................................................................................................. 4

expert access-group ................................................................................................................................................ 49

expert access-list..................................................................................................................................................... 42

flowcontrol ............................................................................................................................................................. 374

forbidden vlan ........................................................................................................................................................ 225

frame-tag tpid ........................................................................................................................................................ 534

gvrp (Global).......................................................................................................................................................... 223 gvrp (Interface) ...................................................................................................................................................... 223

gvrp advertise (Interface)....................................................................................................................................... 224

gvrp dynamic-vlan-creation ................................................................................................................................... 225

gvrp timer............................................................................................................................................................... 226

hardware-address.................................................................................................................................................. 186

help............................................................................................................................................................................ 1

host........................................................................................................................................................................ 186

ingress-checking.................................................................................................................................................... 522

inner-priority-trust .................................................................................................................................................. 536 insert-dot1q-tag ..................................................................................................................................................... 536

install dlms activation_code................................................................................................................................... 196

instance ................................................................................................................................................................. 474

interface out-band.................................................................................................................................................. 253

interface................................................................................................................................................................. 371

ip access-group ....................................................................................................................................................... 47

ip access-list extended ............................................................................................................................................ 35

ip access-list resequence ........................................................................................................................................ 45

ip access-list standard ............................................................................................................................................. 34

ip address dhcp ..................................................................................................................................................... 258 ip address .............................................................................................................................................................. 258

ip as-path access-list ............................................................................................................................................... 82 ip community-list...................................................................................................................................................... 82

ip default-gateway ................................................................................................................................................. 259

ip dhcp excluded-address...................................................................................................................................... 187 ip dhcp ping packet................................................................................................................................................ 187

ip dhcp ping timeout .............................................................................................................................................. 188 ip dhcp pool ........................................................................................................................................................... 188

ip dhcp relay information option82......................................................................................................................... 178

ip dhcp relay option60 default................................................................................................................................ 180

ip dhcp relay option60 identifier............................................................................................................................. 179 ip dhcp relay option60 ........................................................................................................................................... 179

ip dhcp relay option61 default................................................................................................................................ 182 ip dhcp relay option61 identifier............................................................................................................................. 182

ip dhcp relay option61 ........................................................................................................................................... 181

ip directed-broadcast ............................................................................................................................................. 259

ip dns server .......................................................................................................................................................... 200

ip domain-lookup ................................................................................................................................................... 198

ip dvmrp metric ...................................................................................................................................................... 204

579

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

ip dvmrp................................................................................................................................................................. 204

ip ecmp load-balance ............................................................................................................................................ 387

ip helper-address................................................................................................................................................... 178

ip host .................................................................................................................................................................... 198

ip http authentication aaa ........................................................................................................................................ 23

ip igmp check-subscriber-source-network ............................................................................................................. 233

ip igmp last-member-query-interval ....................................................................................................................... 230 ip igmp query-interval ............................................................................................................................................ 230

ip igmp query-max-response-time ......................................................................................................................... 231 ip igmp robustness-variable................................................................................................................................... 231

ip igmp snooping dyn-mr-aging-time ..................................................................................................................... 240

ip igmp snooping fast-leave................................................................................................................................... 238

ip igmp snooping max-response-time.................................................................................................................... 242

ip igmp snooping mrouter ...................................................................................................................................... 239

ip igmp snooping querier ....................................................................................................................................... 240

ip igmp snooping query-interval............................................................................................................................. 243

ip igmp snooping static-group................................................................................................................................ 241

ip igmp snooping version....................................................................................................................................... 243

ip igmp snooping ................................................................................................................................................... 238

ip igmp static-group ............................................................................................................................................... 229

ip igmp version ...................................................................................................................................................... 232

ip mroute................................................................................................................................................................ 265

ip mtu..................................................................................................................................................................... 386

ip multicast-routing ................................................................................................................................................ 266

ip name-server....................................................................................................................................................... 198

ip ospf authentication............................................................................................................................................. 320

ip ospf authentication-key...................................................................................................................................... 321 ip ospf cost ............................................................................................................................................................ 321

ip ospf dead-interval .............................................................................................................................................. 322 ip ospf hello-interval............................................................................................................................................... 322

ip ospf message-digest-key................................................................................................................................... 323

ip ospf priority ........................................................................................................................................................ 324

ip pim bsr-candidate .............................................................................................................................................. 360

ip pim dr-priority..................................................................................................................................................... 355

ip pim join-prune-interval ....................................................................................................................................... 354

ip pim old-register-checksum................................................................................................................................. 361

ip pim query-interval .............................................................................................................................................. 353

ip pim register-suppression ................................................................................................................................... 355

ip pim rp-address................................................................................................................................................... 356

ip pim rp-candidate ................................................................................................................................................ 357

ip pim rp-register-kat.............................................................................................................................................. 359 ip pim spt-threshold ............................................................................................................................................... 359

ip pim ssm ............................................................................................................................................................. 361

ip pim ..................................................................................................................................................................... 353

ip prefix-list description .......................................................................................................................................... 262

ip prefix-list ............................................................................................................................................................ 261

ip rip authentication mode ..................................................................................................................................... 419 ip rip authentication text-password ........................................................................................................................ 419

ip rip receive enable .............................................................................................................................................. 420

ip rip receive version.............................................................................................................................................. 421

ip rip send enable .................................................................................................................................................. 422 ip rip send version ................................................................................................................................................. 422

ip rip v2-broadcast ................................................................................................................................................. 423

ip route................................................................................................................................................................... 388

580

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

ip ssh authentication-retries................................................................................................................................... 466

ip ssh port .............................................................................................................................................................. 467 ip ssh server enable .............................................................................................................................................. 467

ip ssh time-out ....................................................................................................................................................... 466

ip standard access-list ........................................................................................................................................... 255

ip telnet server enable ........................................................................................................................................... 509

ipv6 access-list ........................................................................................................................................................ 38

ipv6 traffic-filter ........................................................................................................................................................ 48

lacp port-priority..................................................................................................................................................... 275

lacp system-priority................................................................................................................................................ 276 lacp timeout ........................................................................................................................................................... 276

lease ...................................................................................................................................................................... 189

line ......................................................................................................................................................................... 272

list-remark text ......................................................................................................................................................... 46

lldp dot1-tlv-select.................................................................................................................................................. 288

lldp dot3-tlv-select.................................................................................................................................................. 290

lldp forward ............................................................................................................................................................ 281

lldp management-address ..................................................................................................................................... 285

lldp message-tx-hold-multiplier.............................................................................................................................. 282 lldp message-tx-interval......................................................................................................................................... 282

lldp notification....................................................................................................................................................... 285

lldp notification-interval .......................................................................................................................................... 284

lldp receive ............................................................................................................................................................ 287

lldp reinit-delay ...................................................................................................................................................... 283

lldp run................................................................................................................................................................... 281

lldp tlv-select.......................................................................................................................................................... 287

lldp transmit ........................................................................................................................................................... 286

lldp tx-delay ........................................................................................................................................................... 283

lldp-med fast-start-repeat-count ............................................................................................................................ 299 lldp-med notification-topo-change ......................................................................................................................... 299 lldp-med tlv-select.................................................................................................................................................. 299

logging buffered..................................................................................................................................................... 503

logging console...................................................................................................................................................... 499

logging count ......................................................................................................................................................... 501

logging facility ........................................................................................................................................................ 500

logging on .............................................................................................................................................................. 498 logging server ........................................................................................................................................................ 498

logging source ....................................................................................................................................................... 500

logging trap............................................................................................................................................................ 499

logging-server enable device................................................................................................................................. 352

login (Console) ...................................................................................................................................................... 492

login (Line)............................................................................................................................................................. 494

login authentication.................................................................................................................................................. 19

login local............................................................................................................................................................... 493

logout..................................................................................................................................................................... 492

ls ............................................................................................................................................................................ 217

mac access-group ................................................................................................................................................... 49

mac access-list ........................................................................................................................................................ 40

mac-address-table aging-time ............................................................................................................................... 209

mac-address-table filtering .................................................................................................................................... 211

mac-address-table notification............................................................................................................................... 212

mac-address-table static ....................................................................................................................................... 210

mac-base (vlan)..................................................................................................................................................... 522

makefs ................................................................................................................................................................... 221

581

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

match as-path........................................................................................................................................................ 437 match community .................................................................................................................................................. 437

match interface ...................................................................................................................................................... 438

match ip / mac address ........................................................................................................................................... 53

match ip address ................................................................................................................................................... 438

match ip next-hop .................................................................................................................................................. 439

match ip route-source............................................................................................................................................ 440 match metric .......................................................................................................................................................... 440

match route-type.................................................................................................................................................... 441

match..................................................................................................................................................................... 395

medium-type.......................................................................................................................................................... 371

mkdir...................................................................................................................................................................... 219

mls qos cos............................................................................................................................................................ 396 mls qos map dscp-cos........................................................................................................................................... 396

mls qos scheduler.................................................................................................................................................. 397 mls qos trust .......................................................................................................................................................... 397

monitor session ..................................................................................................................................................... 305

mtu......................................................................................................................................................................... 374

multicast filtering-mode.......................................................................................................................................... 308

name...................................................................................................................................................................... 474

name...................................................................................................................................................................... 517

neighbor activate ..................................................................................................................................................... 84 neighbor advertisement-interval .............................................................................................................................. 84

neighbor allowas-in.................................................................................................................................................. 85

neighbor capability orf prefix-list .............................................................................................................................. 86

neighbor default-originate........................................................................................................................................ 87

neighbor description ................................................................................................................................................ 88

neighbor ebgp-multihop........................................................................................................................................... 89

neighbor filter-list ..................................................................................................................................................... 90 neighbor maximum-prefix ........................................................................................................................................ 90

neighbor next-hop-self............................................................................................................................................. 91

neighbor password .................................................................................................................................................. 92

neighbor peer-group (add group member) .............................................................................................................. 93

neighbor peer-group (create group) ........................................................................................................................ 95 neighbor prefix-list ................................................................................................................................................... 95

neighbor remote-as ................................................................................................................................................. 96

neighbor remove-private-as..................................................................................................................................... 97

neighbor route-map ................................................................................................................................................. 98 neighbor route-reflector-client.................................................................................................................................. 98

neighbor send-community ....................................................................................................................................... 99

neighbor shutdown ................................................................................................................................................ 100 neighbor soft-reconfiguration inbound ................................................................................................................... 100

neighbor timers...................................................................................................................................................... 101

neighbor unsuppress-map..................................................................................................................................... 102

neighbor update-source......................................................................................................................................... 103 neighbor weight ..................................................................................................................................................... 103

netbios-name-server.............................................................................................................................................. 190 netbios-node-type.................................................................................................................................................. 190

network (BGP) ....................................................................................................................................................... 104

network area.......................................................................................................................................................... 324

network .................................................................................................................................................................. 191

network .................................................................................................................................................................. 424

network-access authentication-mode .................................................................................................................... 153

network-access guest-vlan .................................................................................................................................... 152

582

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

next-server............................................................................................................................................................. 192

no asf....................................................................................................................................................................... 63

no enable service snmp-agent .............................................................................................................................. 448

no monitor session all............................................................................................................................................ 306

passive-interface ................................................................................................................................................... 325

password ............................................................................................................................................................... 494

password-recover .................................................................................................................................................. 349

periodic .................................................................................................................................................................. 510

permit | deny (expert access-list)............................................................................................................................. 43

permit | deny (ip extended access-list) .................................................................................................................... 36

permit | deny (ip standard access-list) ..................................................................................................................... 34

permit | deny (ipv6 access-list) ................................................................................................................................ 38

permit | deny (mac access-list) ................................................................................................................................ 41

permit..................................................................................................................................................................... 256

ping........................................................................................................................................................................ 310

police rate .............................................................................................................................................................. 401

police sr-tcm .......................................................................................................................................................... 398

police tr-tcm cir ...................................................................................................................................................... 400

policy-map ............................................................................................................................................................. 402

port-group mode .................................................................................................................................................... 277 port-group .............................................................................................................................................................. 277

priority-queue cos-map.......................................................................................................................................... 403

privilege ................................................................................................................................................................. 497

prompt ....................................................................................................................................................................... 2

protocol-vlan profile (interface) .............................................................................................................................. 527

protocol-vlan profile ............................................................................................................................................... 526

pwd ........................................................................................................................................................................ 221

queue bandwidth ................................................................................................................................................... 404

radius-server host.................................................................................................................................................. 413 radius-server key ................................................................................................................................................... 413

radius-server retransmit......................................................................................................................................... 414 radius-server timeout............................................................................................................................................. 414

random-detect exponential-weight ........................................................................................................................ 551 random-detect profile............................................................................................................................................. 551

random-detect ....................................................................................................................................................... 550

rate-limit................................................................................................................................................................. 405

redistribute (RIP) ................................................................................................................................................... 424

redistribute............................................................................................................................................................. 105

redistribute............................................................................................................................................................. 326

reload..................................................................................................................................................................... 348

rename .................................................................................................................................................................. 219

revision_level......................................................................................................................................................... 475

rm .......................................................................................................................................................................... 220 rmdir ...................................................................................................................................................................... 220

rmon alarm ............................................................................................................................................................ 431

rmon collection history........................................................................................................................................... 430 rmon collection stats.............................................................................................................................................. 430

rmon event............................................................................................................................................................. 432

route-map .............................................................................................................................................................. 436

route-preference default ........................................................................................................................................ 385

route-preference ospf ............................................................................................................................................ 318

route-preference static........................................................................................................................................... 386

route-preference .................................................................................................................................................... 106

route-preference .................................................................................................................................................... 418

583

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

router bgp .............................................................................................................................................................. 106

router ospf ............................................................................................................................................................. 327

router rip ................................................................................................................................................................ 425

router-id ................................................................................................................................................................. 328

save log ................................................................................................................................................................. 504

server....................................................................................................................................................................... 27

service dhcp .......................................................................................................................................................... 178

service dhcp .......................................................................................................................................................... 192

service password-encryption ................................................................................................................................. 496

service-policy......................................................................................................................................................... 405

set as-path prepend............................................................................................................................................... 441

set community ....................................................................................................................................................... 442 set dampening ....................................................................................................................................................... 442

set ip next-hop ....................................................................................................................................................... 443

set local-preference ............................................................................................................................................... 444

set metric ............................................................................................................................................................... 445 set metric-type ....................................................................................................................................................... 445

set origin ................................................................................................................................................................ 446 set weight .............................................................................................................................................................. 446

set.......................................................................................................................................................................... 406

show aaa accounting............................................................................................................................................... 30

show aaa application ............................................................................................................................................... 31

show aaa authentication.......................................................................................................................................... 29

show aaa authorization............................................................................................................................................ 30

show aaa server group ............................................................................................................................................ 28 show aaa ................................................................................................................................................................. 28

show access-group.................................................................................................................................................. 50

show access-lists..................................................................................................................................................... 46

show aggregateport............................................................................................................................................... 278

show arp counter ..................................................................................................................................................... 61 show arp timeout ..................................................................................................................................................... 61

show arp .................................................................................................................................................................. 59

show asf .................................................................................................................................................................. 63

show bootup .......................................................................................................................................................... 515

show bootup-config ............................................................................................................................................... 155

show class-map..................................................................................................................................................... 407

show clock ............................................................................................................................................................. 464

show cpu ............................................................................................................................................................... 169

show debug buffer ................................................................................................................................................. 174

show debug status................................................................................................................................................. 175

show defense ........................................................................................................................................................ 203

show device-status ................................................................................................................................................ 351

show dlms license ................................................................................................................................................. 196

show dot1q-tunnel ................................................................................................................................................. 537

show dot1x .............................................................................................................................................................. 13

show error-log........................................................................................................................................................ 172

show error-reboot .................................................................................................................................................. 173

show expert access-group....................................................................................................................................... 52

show frame-tag tpid ............................................................................................................................................... 538

show gvrp statistics ............................................................................................................................................... 227

show gvrp .............................................................................................................................................................. 226

show hosts............................................................................................................................................................. 199

show interface out-band ........................................................................................................................................ 253

show interface ....................................................................................................................................................... 375

584

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

show interfaces counters....................................................................................................................................... 166

show ip access-group.............................................................................................................................................. 51

show ip arp .............................................................................................................................................................. 62

show ip as-path access-list.................................................................................................................................... 107

show ip bgp aggregate .......................................................................................................................................... 110

show ip bgp cidr-only............................................................................................................................................. 111

show ip bgp community ......................................................................................................................................... 112

show ip bgp community-list ................................................................................................................................... 114

show ip bgp confederation..................................................................................................................................... 115

show ip bgp dampening dampened-paths............................................................................................................. 116

show ip bgp dampening flap-statistics................................................................................................................... 117 show ip bgp dampening parameters ..................................................................................................................... 117

show ip bgp filter-list .............................................................................................................................................. 118

show ip bgp inconsistent-as .................................................................................................................................. 119

show ip bgp neighbors........................................................................................................................................... 121

show ip bgp network.............................................................................................................................................. 129

show ip bgp parameters ........................................................................................................................................ 131

show ip bgp peer-group......................................................................................................................................... 133

show ip bgp quote-regexp ..................................................................................................................................... 135

show ip bgp reflection............................................................................................................................................ 129

show ip bgp route-map .......................................................................................................................................... 130

show ip bgp summary............................................................................................................................................ 137

show ip bgp ........................................................................................................................................................... 108

show ip community-list .......................................................................................................................................... 138

show ip dhcp binding ............................................................................................................................................. 194 show ip dhcp conflict ............................................................................................................................................. 194

show ip dhcp relay option60 .................................................................................................................................. 180

show ip dhcp relay option61 .................................................................................................................................. 183

show ip dvmrp interface......................................................................................................................................... 205

show ip dvmrp neighbor ........................................................................................................................................ 206

show ip dvmrp route .............................................................................................................................................. 207

show ip ecmp load-balance ................................................................................................................................... 391

show ip igmp groups.............................................................................................................................................. 234

show ip igmp interface........................................................................................................................................... 233

show ip igmp snooping forwarding-table ............................................................................................................... 250

show ip igmp snooping groups .............................................................................................................................. 247

show ip igmp snooping mrouter............................................................................................................................. 249

show ip igmp snooping querier.............................................................................................................................. 246

show ip igmp snooping static-group ...................................................................................................................... 248

show ip igmp snooping statistics ........................................................................................................................... 251

show ip igmp snooping .......................................................................................................................................... 245

show ip interface.................................................................................................................................................... 260

show ip mroute ...................................................................................................................................................... 266

show ip multicast interface .................................................................................................................................... 269

show ip multicast-routing ....................................................................................................................................... 270

show ip ospf area .................................................................................................................................................. 330

show ip ospf database........................................................................................................................................... 331

show ip ospf interface............................................................................................................................................ 333

show ip ospf neighbor............................................................................................................................................ 335 show ip ospf virtual-link ......................................................................................................................................... 335

show ip ospf virtual-neighbor................................................................................................................................. 336

show ip ospf........................................................................................................................................................... 328

show ip pim dense-mode interface........................................................................................................................ 362

show ip pim neighbor............................................................................................................................................. 363

585

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

show ip pim sparse-mode bsr-router ..................................................................................................................... 364

show ip pim sparse-mode interface....................................................................................................................... 365

show ip pim sparse-mode rp mapping................................................................................................................... 366

show ip pim sparse-mode rp-hash ........................................................................................................................ 367

show ip pim............................................................................................................................................................ 368

show ip prefix-list ................................................................................................................................................... 263

show ip rip interface............................................................................................................................................... 427

show ip rip ............................................................................................................................................................. 426

show ip route ......................................................................................................................................................... 391

show ip route-preference....................................................................................................................................... 389

show ip rpf ............................................................................................................................................................. 268

show ip ssh server................................................................................................................................................. 468 show ip ssh sessions............................................................................................................................................. 468

show ip standard access-list.................................................................................................................................. 256

show ipv6 access-group .......................................................................................................................................... 51

show lacp summary............................................................................................................................................... 278

show line................................................................................................................................................................ 273

show lldp interface................................................................................................................................................. 292

show lldp local interface ........................................................................................................................................ 293

show lldp management-address............................................................................................................................ 291

show lldp remote interface..................................................................................................................................... 295

show lldp statistic interface.................................................................................................................................... 297 show lldp statistic................................................................................................................................................... 297

show lldp................................................................................................................................................................ 291

show lldp-med interface......................................................................................................................................... 301 show lldp-med local ............................................................................................................................................... 301

show lldp-med remote ........................................................................................................................................... 302

show lldp-med ....................................................................................................................................................... 300

show logging count................................................................................................................................................ 503

show logging.......................................................................................................................................................... 502

show mac access-group.......................................................................................................................................... 52

show mac-address-table aging-time...................................................................................................................... 213 show mac-address-table notification ..................................................................................................................... 213

show mac-address-table ....................................................................................................................................... 214

show memory ........................................................................................................................................................ 304

show mls qos interface .......................................................................................................................................... 407

show mls qos maps ............................................................................................................................................... 408 show mls qos queueing ......................................................................................................................................... 408

show mls qos rate-limit .......................................................................................................................................... 409

show mls qos scheduler ........................................................................................................................................ 410

show monitor ......................................................................................................................................................... 306

show multicast filtering-mode ................................................................................................................................ 308

show network-access auth-configure .................................................................................................................... 153

show network-access guest-vlan........................................................................................................................... 152

show password-recover......................................................................................................................................... 349

show policy-map.................................................................................................................................................... 410

show port-security ................................................................................................................................................. 382

show privilege........................................................................................................................................................ 496

show protected-ports ............................................................................................................................................. 512

show protocol-vlan................................................................................................................................................. 528

show queueing random-detect .............................................................................................................................. 552

show radius statistics............................................................................................................................................. 415

show radius-server configuration........................................................................................................................... 416

show random-detect drop-counter......................................................................................................................... 553

586

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

show random-detect profile ................................................................................................................................... 553

show rmon alarm ................................................................................................................................................... 434

show rmon event ................................................................................................................................................... 435

show rmon history ................................................................................................................................................. 433

show rmon statistics .............................................................................................................................................. 432

show route-map..................................................................................................................................................... 447

show running-config .............................................................................................................................................. 155

show snmp community .......................................................................................................................................... 456

show snmp group .................................................................................................................................................. 457

show snmp host..................................................................................................................................................... 459

show snmp user .................................................................................................................................................... 457

show snmp view .................................................................................................................................................... 458

show sntp .............................................................................................................................................................. 461

show spanning-tree interface ................................................................................................................................ 484

show spanning-tree mst ........................................................................................................................................ 485

show spanning-tree ............................................................................................................................................... 482

show storm-control ................................................................................................................................................ 489

show system-info................................................................................................................................................... 351

show tacacs statistics ............................................................................................................................................ 506

show tacacs-server configuration .......................................................................................................................... 507

show tech-support ................................................................................................................................................. 175

show time-range .................................................................................................................................................... 511

show utilization ...................................................................................................................................................... 167

show vlan access-map ............................................................................................................................................ 55

show vlan filter......................................................................................................................................................... 56

show vlan mapping profile ..................................................................................................................................... 531

show vlan mapping................................................................................................................................................ 538

show vlan............................................................................................................................................................... 524

show vrrp ............................................................................................................................................................... 544

shutdown ............................................................................................................................................................... 253

shutdown ............................................................................................................................................................... 372

snmp trap link-status ............................................................................................................................................. 375

snmp trap mac-notification .................................................................................................................................... 213

snmp-server community ........................................................................................................................................ 454

snmp-server contact .............................................................................................................................................. 449

snmp-server enable traps...................................................................................................................................... 454

snmp-server group ................................................................................................................................................ 451

snmp-server host................................................................................................................................................... 455

snmp-server location ............................................................................................................................................. 450

snmp-server name................................................................................................................................................. 449

snmp-server user................................................................................................................................................... 453

snmp-server view .................................................................................................................................................. 450

snmp-server........................................................................................................................................................... 448

sntp enable ............................................................................................................................................................ 460

sntp interval ........................................................................................................................................................... 461

sntp server............................................................................................................................................................. 460

spanning-tree (global configuration) ...................................................................................................................... 470

spanning-tree (interface configuration).................................................................................................................. 477

spanning-tree (timers) ........................................................................................................................................... 470

spanning-tree autoedge......................................................................................................................................... 480

spanning-tree externalcost .................................................................................................................................... 478

spanning-tree guard root ....................................................................................................................................... 480

spanning-tree hello-time ........................................................................................................................................ 478

spanning-tree link-type .......................................................................................................................................... 481

587

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

spanning-tree max-hops........................................................................................................................................ 472 spanning-tree mode............................................................................................................................................... 472

spanning-tree mst configure .................................................................................................................................. 473

spanning-tree mst priority ...................................................................................................................................... 476 spanning-tree mst.................................................................................................................................................. 476

spanning-tree portfast............................................................................................................................................ 479

spanning-tree reset................................................................................................................................................ 470

spanning-tree tc-guard .......................................................................................................................................... 481

spanning-tree tx-hold-count................................................................................................................................... 471

speed..................................................................................................................................................................... 273

speed..................................................................................................................................................................... 372

storm-control action ............................................................................................................................................... 488 storm-control interval ............................................................................................................................................. 488

storm-control.......................................................................................................................................................... 487

subnet-base (vlan)................................................................................................................................................. 523

switchport access vlan........................................................................................................................................... 518

switchport hybrid allowed vlan............................................................................................................................... 520

switchport mode dot1q-tunnel ............................................................................................................................... 533

switchport mode .................................................................................................................................................... 517

switchport native vlan ............................................................................................................................................ 520

switchport port-security aging................................................................................................................................ 378

switchport port-security mac-address.................................................................................................................... 379

switchport port-security.......................................................................................................................................... 377

switchport protected unidirectional ........................................................................................................................ 512

switchport trunk allowed vlan................................................................................................................................. 519

switchport vlan mapping profile ............................................................................................................................. 531

switchport vlan mapping ........................................................................................................................................ 534

synchronization...................................................................................................................................................... 139

tacacs-server host ................................................................................................................................................. 505 tacacs-server key .................................................................................................................................................. 505

tacacs-server timeout ............................................................................................................................................ 506

telnet...................................................................................................................................................................... 509

time-range ............................................................................................................................................................. 510

timers basic ........................................................................................................................................................... 428

timers bgp.............................................................................................................................................................. 139

traceroute .............................................................................................................................................................. 310

username............................................................................................................................................................... 493

version ................................................................................................................................................................... 429

vlan access-map...................................................................................................................................................... 53

vlan filter .................................................................................................................................................................. 55

vlan mapping miss drop......................................................................................................................................... 537

vlan mapping profile .............................................................................................................................................. 529 vlan mapping rule .................................................................................................................................................. 529

vlan ........................................................................................................................................................................ 516

vrrp authentication ................................................................................................................................................. 540 vrrp critical-ip ......................................................................................................................................................... 540

vrrp ip..................................................................................................................................................................... 541 vrrp preempt .......................................................................................................................................................... 541

vrrp priority............................................................................................................................................................. 542

vrrp timers advertise .............................................................................................................................................. 543

wdrr-queue bandwidth ........................................................................................................................................... 411

wrr-queue bandwidth ............................................................................................................................................. 412

588

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