D-Link DGS-6600-48T Product Manual

D-Link DGS-6600-48T Manual




Type your new search above

The manual viewer requires the flash plugin to be installed and enabled.
To view this page ensure that Adobe Flash Player version 10 or greater is installed.

D-Link DGS-6600-48T manual table of contents:

  • Page 1
    - ii
  • Page 2
    - DGS-6604 CLI Reference Guide Software Release 2.00.022 Date: November 3, 2011 Copyright Statement D-Link Corporation © 2011 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 ...
  • Page 3
    ... commands listed here are the subset of commands that are supported by the DGS-6600 series switches. Note: Other Ethernet L2/L3 Chassis-Based Switch series ...a further source of information in regards to configuring and troubleshooting the switch . All the documents are available for download from...
  • Page 4
    ..., 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,... hardware or loss of data and tells you how to avoid the problem CAUTION: A CAUTION indicates a potential for property damage, personal ...
  • Page 5
    - Command Descriptions: The information pertaining to each command in this reference guide is presented using a number of template fields. The fields ... and change any of the system configuration settings expressed in this configuration guide. The command-line interface has a number of command modes....
  • Page 6
    - • 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...
  • Page 7
    - Note: Not all configuration modes are listed in the above figure. For example, in global configuration mode, enter "router ospf" to enter OSPF router configuration mode The following table briefly lists the available command modes. Only the basic command modes and some of the sub-configuration ...
  • Page 8
    ...user in privileged EXEC mode and uses the disable command to return to user EXEC mode at advanced user level: DGS-6604:15#disable DGS-6604:2> Privileged EXEC Mode at Power User Level Users logged into the Switch in privileged EXEC mode at this level ...
  • Page 9
    ... Access Verification Username: power-user Password: DGS-6604 Chassis-based High-Speed Switch ... 2010 D-Link Corporation. All rights reserved. DGS-6604:12# In the following example, the user ... any system configuration settings mentioned in this Configuration Guide. There are two methods that a user can ...
  • Page 10
    ...enter privileged EXEC mode at an administrator level: DGS-6604:12#enable privilege 15 ... can be found in the related chapters in this Configuration Guide. The command modes are used to configure the individual ... in global configuration mode: Command Explanation DGS-6604:15(config)#interface vlanVLAN-...
  • Page 11
    DGS-6604 m Command Listing by Feature 802.1x dot1x auth-mode - 160 dot1x auth-protocol - 161 dot1x control-direction - 162 dot1x default - 163 dot1x ... aaa authentication - 27 aaa authorization - 29 aaa group server - 30 server - 526 show aaa - 557 show aaa group server - 560 CLI Reference Guide 1
  • Page 12
    DGS-6604 m Access Control Lists ip access-group - 214 ip access-list - 215 ipv6 access-group - 317 ipv6 access-list - 319 mac access-group - 399... - 177 enable password - 178 end - 179 exit - 180 help - 206 ip http server - 254 ip http service-port - 255 ip telnet server - 313 2 CLI Reference Guide
  • Page 13
    DGS-6604 m ip telnet service-port - 314 ip trusted-host - 315 login - 392 logout - 393 password encryption - 456 show history - 590 show ip trusted-...105 default ipv6 nd prefix - 141 ipv6 address - 320 ipv6 enable - 330 ipv6 hop-limit - 331 ipv6 nd managed-config-flag - 332 CLI Reference Guide 3
  • Page 14
    DGS-6604 m ipv6 nd other-config-flag - 333 ipv6 nd prefix - 334 ipv6 nd ra-interval - 335 ipv6 nd ra-lifetime - 336 ipv6 nd reachable...default ipv4-unicast - 73 bgp default local-preference - 74 bgp deterministic-med - 75 bgp enforce-first-as - 76 bgp log-neighbor-changes - 77 CLI Reference Guide 4
  • Page 15
    DGS-6604 m bgp router-id - 78 clear ip bgp - 94 clear ip bgp peer-group - 96 default-information originate (BGP) - 137 ip dhcp screening ports - ... network (BGP) - 445 redistribute - 502 router bgp - 517 set as-path - 534 set community - 535 set origin - 549 set weight - 550 CLI Reference Guide 5
  • Page 16
    DGS-6604 m show ip as-path access-list - 594 show ip bgp - 595 show ip bgp community-list - 597 show ip bgp filter-list - 599 show ip bgp...refresh minimum - 325 ipv6 dhcp client pd - 326 show ipv6 dhcp - 681 show ipv6 general-prefix - 685 DHCP Relay (IPv4) CLI Reference Guide ip dhcp relay - 243 6
  • Page 17
    DGS-6604 m ip dhcp relay address - 244 ip dhcp relay hops - 245 ip dhcp relay information check - 246 ip dhcp relay information option - 247 ...81 clear ip dhcp binding - 98 clear ip dhcp conflict - 100 clear ip dhcp server statistics - 102 default-router - 146 dns-server - 153 CLI Reference Guide 7
  • Page 18
    DGS-6604 m domain-name - 154 ip address-list - 219 ip dhcp ping packets - 240 ip dhcp... scope-id - 442 netbios wins-server - 443 next-server - 447 service dhcp - 528 show ip dhcp binding - 604 show ip ... - 225 ip dhcp snooping verify MAC-address - 237 ip dhcp snooping vlan - 238 CLI Reference Guide 8
  • Page 19
    DGS-6604 m show ip dhcp snooping - 615 show ip dhcp snooping binding - 773 show ip dhcp snooping database - 776 DoS Prevention clear dos prevention counter...- 190 erpi protected-vlan - 191 erpi timer - 193 erpi tc-propagation - 195 show erps domain - 777 show erps erpi - 779 CLI Reference Guide 9
  • Page 20
    DGS-6604 m Errdisable errdisable recovery - 196 show errdisable recovery - 582 File System delete - 147 dir - 149 GVRP clear gvrp statistics interface - ... 262 ip igmp snooping (multicast router) - 264 ip igmp snooping immediate-leave - 266 ip igmp snooping querier - 267 CLI Reference Guide 10
  • Page 21
    DGS-6604 m ip igmp snooping static-group - 268 show ip igmp snooping - 626 show ip igmp snooping group - 628 show ip igmp snooping mrouter - 631... binding - 789 show ip verify source - 791 IPv6 Tunnel interface tunnel - 213 ipv6 nd suppress-ra - 339 tunnel destination - 893 CLI Reference Guide 11
  • Page 22
    DGS-6604 m tunnel mode - 894 tunnel source - 895 Jumbo Frame ip mtu - 273 max-rcv-frame-size - 414 mtu - 424 L2 FDB clear mac address-...108 lldp dot1-tlv-select - 368 lldp dot3-tlv-select - 371 lldp fast-count - 373 lldp hold-multiplier - 374 lldp management-address - 375 CLI Reference Guide 12
  • Page 23
    DGS-6604 m lldp med-tlv-select - 377 lldp receive - 379 lldp reinit - 380 lldp run - 381 lldp tlv-select - 382 lldp transmit - 384 lldp tx-delay - ... port) - 274 ipv6 address (management port) - 323 ipv6 default-gateway (management port) - 324 mgmt-if - 415 show mgmt-if - 714 13 CLI Reference Guide
  • Page 24
    DGS-6604 m shutdown (Management Port ) - 771 Mirror monitor session - 416 monitor session destination remote vlan - 418 monitor session source remote vlan - ... reference-bandwidth - 55 clear ip ospf - 103 default-information originate (BGP) - 137 default-metric (OSPF) - 142 CLI Reference Guide 14
  • Page 25
    DGS-6604 m host area - 207 ip ospf authentication - 276 ip ospf authentication-key - 277 ip ospf cost - 278 ip ospf dead-interval - 279 ip ospf ... database nssa-external - 647 show ip ospf database router - 649 show ip ospf database summary - 652 show ip ospf host-route - 654 CLI Reference Guide 15
  • Page 26
    DGS-6604 m show ip ospf interface - 655 show ip ospf neighbor - 657 show ip ospf virtual-links - 658 OSPFv3 area default-cost (IPv6) - 40 area ...-id (IPv6) - 519 router ipv6 ospf - 521 show ipv6 ospf - 690 show ipv6 ospf border-routers - 692 show ipv6 ospf database - 693 CLI Reference Guide 16
  • Page 27
    DGS-6604 m show ipv6 ospf interface - 694 show ipv6 ospf neighbor - 695 show ipv6 ospf route - 696 show ipv6 ospf virtual-links - 697 show ipv6 protocols [... - 662 show ip pim mroute - 664 show ip pim neighbor - 666 show ip pim rp mapping - 668 show ip pim rp-hash - 669 CLI Reference Guide 17
  • Page 28
    DGS-6604 m POE poe port priority - 467 poe port description - 468 poe service-policy - 469 poe power-inline - 470 show poe power system - 814 show ... - 86 class-map - 87 color-aware - 120 match - 405 police - 472 police aggregate - 477 CLI Reference Guide 18
  • Page 29
    DGS-6604 m police cir - 478 policy-map - 482 qos aggregate-policer - 487 qos bandwidth - ...-cos - 498 qos map dscp-mutation - 499 qos trust - 500 service-policy - 529 set - 532 show class-map - 569 show ... remarking - 902 vlan-tunnel - 904 vlan-tunnel ctag-mapping dynamic - 905 CLI Reference Guide 19
  • Page 30
    ... neighbor - 427 network - 444 passive interface (RIP) - 450 redistribute (RIP) - 507 router rip - 523 send-lifetime - 524 show ip key-chain - 634 show ip rip database - 672 show ip rip interface - 673 timers - 882 version - 898 RIPng clear ipv6 rip - 107 20 CLI Reference Guide - Preliminary Draft
  • Page 31
    ...hop - 538 set ip precedence - 540 set interface - 541 set ip default next-hop - 544 set ipv6 next-hop - 546 set default interface - 548 set ipv6 default next-hop - 542 show route-map - 728 Safeguard clear cpu-protect counters - 92 cpu-protect type - 131 CLI Reference Guide - Preliminary Draft 21
  • Page 32
    DGS-6604 m cpu-protect safeguard - 129 cpu-protect sub-interface - 134 show cpu-protect safeguard - 571 show cpu-protect type - 572 show cpu-protect sub-... - 832 snmp-server location - 834 snmp-server user - 835 snmp-server view - 837 system-name - 872 SSH crypto key - 135 CLI Reference Guide 22
  • Page 33
    DGS-6604 m ip ssh - 311 show ip ssh - 679 show ssh - 743 ssh - 819 STP clear spanning-tree detected-protocols - 114 show spanning-tree - 738... - 198 shutdown (interface) - 770 speed - 857 Syslog clear logging - 110 logging file - 387 logging host - 388 logging level - 390 CLI Reference Guide 23
  • Page 34
    DGS-6604 m logging on - 391 show logging - 707 System File Management boot config - 79 boot image - 82 clear running-config factory-defaults - 113 copy - 124 ...- 159 hybrid vlan VLAN-ID - 208 ingress-checking - 209 mac-base ( VLAN ) - 404 pvid VLAN-ID - 486 show dot1v - 576 CLI Reference Guide 24
  • Page 35
    DGS-6604 m show vlan - 757 subnet-base ( VLAN ) - 866 trunk allowed-vlan - 892 vlan - 899 vlan name - 901 VRRP show vrrp - 766 show vrrp brief ...Voice Vlan show vlan voice-vlan 757 switchport voice-vlan state - 821 voice-vlan - 911 voice-vlan cos - 912 voice-vlan oui - 913 CLI Reference Guide 25
  • Page 36
    DGS-6604 m CLI Reference Guide 26
  • Page 37
    DGS-6604 m aaa authentication aaa authentication A Use this command to enable the AAA authentication function (console, telnet, ssh or http) using the .... If no application is specified, all applications (console, telnet,ssh, or http) are assumed valid for sytem access. 27 CLI Reference Guide
  • Page 38
    DGS-6604 m aaa authentication Multiple methods for the login/enable authentication per application can be specified. The new setting will overwrite ...(config)# aaa authentication login group group2 local Switch(config)# Verify the settings by entering the show aaa command. CLI Reference Guide 28
  • Page 39
    DGS-6604 m aaa authorization aaa authorization Use this command to enable the authorization function. Use the no form of the command to ...: Switch# configure terminal Switch(config)# aaa authorization Verify the settings by entering the show system protocol-state command. CLI Reference Guide 29
  • Page 40
    DGS-6604 m aaa group server aaa group server Use the aaa group server command to enter AAA group server mode and identify AAA server groups ....10.200 key 12345678 Switch(config-aaa-group-server)# end Switch# Verify the settings by entering the show aaa group server command. CLI Reference Guide 30
  • Page 41
    DGS-6604 m accept dhcp client-identifier accept dhcp client-identifier Use this command to... address. If the values match, the DHCP server provides service to the client. If the values do not match, the ... switch(config-dhcp)# accept dhcp client-identifier switch(config-dhcp)# CLI Reference Guide 31
  • Page 42
    DGS-6604 m accept dhcp relay-agent accept dhcp relay-agent To accept relay agent information use the accept dhcp relay-agent command, use the no form ... terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# no accept dhcp relay-agent remote-id switch(config-dhcp)# CLI Reference Guide 32
  • Page 43
    DGS-6604 m acceptable-frame acceptable-frame Use the acceptable-frame interface command to set the acceptable frame type of a port for IEEE ...)# interface eth3.1 Switch(config-if)# acceptable-frame tagged-only Verify the settings by entering the show vlan interface command. CLI Reference Guide 33
  • Page 44
    DGS-6604 m accept-lifetime accept-lifetime The accept-lifetime command is used to set a time period when an authentication key on a key chain is ... one of the following values: infinite, end-time, or duration seconds. duration SECONDS Default Command Mode Usage Guideline CLI Reference Guide 34
  • Page 45
    DGS-6604 m accept-lifetime Example The following example configures a key chain named chain1. Key 1 named "forkey1string" will be accepted from ... Switch(config-keychain-key)# exit Switch(config-keychain)# exit Verify the settings by entering the show ip key-chain command. CLI Reference Guide 35
  • Page 46
    DGS-6604 m access vlan access vlan Use the access vlan interface configuration command to specify the access VLAN for the interface. Use .... Switch(config)# interface eth3.1 Switch(config-if)# access vlan 1000 Verify the settings by entering the show vlan interface command. CLI Reference Guide 36
  • Page 47
    DGS-6604 m address-family ipv4 address-family ipv4 Use this command to enter address ... IP Version 4 unicast address prefixes. Unicast prefix support is enabled by default when this command is entered without any ... ipv4 Switch(config-router-af)# exit Switch(config-router)# CLI Reference Guide 37
  • Page 48
    DGS-6604 m aggregate-address aggregate-address Use this command to configure BGP aggregate entries. Use the no form of the command to disable this... specific route 172.10.0.0: Switch(config)# router bgp 65534 Switch(config-router)# aggregate-address 172.0.0.0/8 summary-only CLI Reference Guide 38
  • Page 49
    DGS-6604 m area default-cost area default-cost The cost of the default summary route sent into a not-so-stubby area (NSSA) or a stub area...)# router ospf Switch (config-router)# area 10.0.0.0 default-cost 20 Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 39
  • Page 50
    DGS-6604 m area default-cost (IPv6) area default-cost (IPv6) To set the summary-default cost of a stub area, use the area default-cost command. ...> enable # configure terminal (config) # router ipv6 ospf (config-router) # area 1 stub (config-router) # area 1 default-cost 10 CLI Reference Guide 40
  • Page 51
    DGS-6604 m area nssa area nssa Use this command to define an area as an NSSA (not-so-...remove the NSSA designation. Note: For OSPFv3 this command is not supported. area AREA-ID nssa [no-redistribution] [... is not possible to redistribute from another protocol into a stub area. CLI Reference Guide 41
  • Page 52
    DGS-6604 m area nssa An NSSA allows external routes to be advertised to the area in type 7 link state advertisement (LSA). These routes are then leaked ... Switch(config)# router ospf Switch(config-router)# area 1 nssa Verify the settings by entering the show ip ospf command. CLI Reference Guide 42
  • Page 53
    DGS-6604 m area range area range Use this command to summarize and consolidate routes at an area boundary. Use the no area range command to ...(config)# router ospf Switch(config-router)# area 1 range 192.168.0.0/16 Verify the settings by entering the show ip ospf command. CLI Reference Guide 43
  • Page 54
    DGS-6604 m area range (IPv6) area range (IPv6) To consolidate and summarize routes at an area boundary, use the area range command. To disable ...Switch(config)# router ipv6 ospf Switch(config-router)# router-id 20.0.1.10 Switch(config-router)# area 1 range 2001:0DB8:0:1::/64 CLI Reference Guide 44
  • Page 55
    DGS-6604 m area stub area stub Use this command to configure an area as a stub area. Use the no area stub command to disable this function. ... terminal Switch(config)# router ospf Switch(config-router)# area 1 stub Verify the settings by entering the show ip ospf command. CLI Reference Guide 45
  • Page 56
    DGS-6604 m area stub (IPv6) area stub (IPv6) To set the summary-default cost of a stub area, use the area default-cost command. To disable this ... > enable # configure terminal (config) # router ipv6 ospf (config-router)# router-id 20.0.1.10 (config-router)# area 1 stub CLI Reference Guide 46
  • Page 57
    DGS-6604 m area virtual-link area virtual-link Use this command to configure a link between two backbone areas that are physically separated through other non-backbone ... key, to be allowed to route OSPF traffic. There is no default value. message-digest-key KEY-ID md5 KEY CLI Reference Guide 47
  • Page 58
    DGS-6604 m area virtual-link Default • AREA-ID: None • ROUTER-ID: None • authentication: null • hello-interval:10 seconds • dead-interval: ... command is used, configure the message-digest key for the virtual link using area virtual-link message-digest-key command. CLI Reference Guide 48
  • Page 59
    DGS-6604 m area virtual-link The password created by the area virtual-link authentication-key command is used as a "key" that is inserted directly....168.255.1. 1. Specify "yourpass" as the key for simple password authentication. 2. Set authentication type to simple password. CLI Reference Guide 49
  • Page 60
    DGS-6604 m area virtual-link Switch# configure terminal Switch(config)# router ospf 1 Switch(config-router)# area virtual-link 192.168.255.1 ...-router)# area 1 virtual-link 192.168.255.1 authentication Verify the settings by entering the show ip ospf virtual-links command. CLI Reference Guide 50
  • Page 61
    DGS-6604 m area virtual-link (IPv6) area virtual-link (IPv6) To define an OSPF virtual link, use the area virtual-link command with the optional ... configured, is known as a transit area, and it must have the full routing information. The transit area cannot be a stub area. CLI Reference Guide 51
  • Page 62
    DGS-6604 m area virtual-link (IPv6) In OSPF, all non-backbone areas must be connected to a backbone area. If the connection to the backbone is ...Switch Switch Switch > enable # configure terminal (config) # router ipv6 ospf (config-router)# area 1 virtual-link 192.168.255.1 CLI Reference Guide 52
  • Page 63
    DGS-6604 m arp arp Use this command to add a static entry in the Address Resolution Protocol (ARP) cache. Use the no arp command to remove a static... a typical Ethernet host: Switch(config)# arp 10.31.7.19 0800.0900.1834 Verify the settings by entering the show arp command. CLI Reference Guide 53
  • Page 64
    DGS-6604 m arp timeout arp timeout Use the arp timeout command to set the ARP aging time for the ARP table. arp timeout SECONDS Syntax ... Example Switch(config)# interface vlan1 Switch(config-if)# arp timeout 12000 Verify the settings by using show ip interface command CLI Reference Guide 54
  • Page 65
    DGS-6604 m auto-cost reference-bandwidth auto-cost reference-bandwidth Use this command ... costs on those links. Before the cost is changed to the manual configuration mode, the cost must be configured in ... 50 Verify the settings by entering the show ip protocol ospf command. CLI Reference Guide 55
  • Page 66
    DGS-6604 m auto-cost reference-bandwidth (IPv6) auto-cost reference-bandwidth (IPv6) To control the reference value IPv6 OSPF uses when calculating ... Switch Switch > enable # configure terminal (config) # router ipv6 ospf (config-router)# auto-cost reference-bandwidth 1000 CLI Reference Guide 56
  • Page 67
    DGS-6604 banner login banner login AB Use banner login to enter the banner ...more detail. Project dependent Sample Banner Login Message: DGS-6604 Chassis Ethernet Switch Command Line Interface,... line, then the line will be truncated and the first 80 characters are displayed. CLI Reference Guide 57
  • Page 68
    DGS-6604 banner login Example This example shows how to modify the banner login message: Switch:12(config)# banner login DGS-6604 Chassis Ethernet Switch Command Line Interface, Access for authorized users only. Please enter your username and password. Switch:12# CLI Reference Guide 58
  • Page 69
    DGS-6604 based-on client-id based-on client-id This command is used to specify the ... client sends the no DHCP Client Identifier option, the service continues to operate as it bases it on the hardware type and a ... pool1 switch(config-dhcp)#based-on client-id hex 0x0152415320 CLI Reference Guide 59
  • Page 70
    DGS-6604 based-on c-vid based-on c-vid This command is used to specify the customer vlan ID (C-VID) as a rule for IP address assignment from the DHCP address pool. ... the rule is added to and now based on C-VID 100/ 200 and S-VID 1000. switch(config-dhcp)#based-on s-vid 1000 CLI Reference Guide 60
  • Page 71
    DGS-6604 based-on interface-ip-address based-on interface-ip-address This command is used to specify a rule for a DHCP address pool to respond to a ... interface 172.19.10.100. switch(config)#ip dhcp pool pool1 switch(config-dhcp)#based-on interface-ip-address 172.19.10.100 CLI Reference Guide 61
  • Page 72
    DGS-6604 based-on mac-address based-on mac-address This command is used to specify the host MAC address as a rule for IP address assignment from the DHCP address pool. ...from the DHCP address pool1. switch(config-dhcp)#based-on mac-address 00:80:C8:11:33:00,00:80:C8:11:33:FF CLI Reference Guide 62
  • Page 73
    DGS-6604 based-on relay-ip-address based-on relay-ip-address This command is used to specify a rule for the DHCP address pool's only response for ...) based on the Relay IP address. switch(config)#ip dhcp pool pool1 switch(config-dhcp)#based-on relay-ip-address 10.1.1.254 CLI Reference Guide 63
  • Page 74
    DGS-6604 based-on s-vid based-on s-vid This command is used to specify the service provider vlan ID (S-VID) as a rule for IP address assignment from the DHCP address ... based on S-VID 100/ 200 and C-VID 1000. switch(config-dhcp)#based-on c-vid 1000 CLI Reference Guide 64
  • Page 75
    DGS-6604 based-on user-class based-on user-class This command is used so that DHCP administrators can define specific user class identifiers to convey information ... from DHCP address pool1. switch(config)#ip dhcp pool pool1 switch(config-dhcp)#based-on user-class hex 0x8080 CLI Reference Guide 65
  • Page 76
    DGS-6604 based-on vendor-class based-on vendor-class This command is used to create an address binding rule for the DHCP address pool based on the vendor ... both Win98SE/ME and 2000/XP. switch(config)#ip dhcp pool pool1 switch(config-dhcp)#based-on vendor-class string MSFT CLI Reference Guide 66
  • Page 77
    DGS-6604 bgp always-compare-med bgp always-compare-med Use this command to compare the Multi-Exit Discriminator (MED) for paths from ... of the autonomous system from which the paths are received: Switch(config)# router bgp 65534 Switch(config-router)# bgp always-compare-med CLI Reference Guide 67
  • Page 78
    DGS-6604 bgp asnotation dot bgp asnotation dot Use this command to change the default display and regular expression match format of BGP 4-byte AS ... This example (on the next page) shows how to configure asnotation and shows the difference using the command show ip bgp: CLI Reference Guide 68
  • Page 79
    DGS-6604 bgp asnotation dot Switch # show ip bgp BGP table version is 30, local router ID is 10.10.11.50 Status codes: s suppressed, d damped, ...10.71.100 10.10.71.100 Metric LocPrf Weight Path 0 0 1.101 100 i 0 0 1.101 100 {80} i Total Entries: 2 entries, 2 routes Switch # CLI Reference Guide 69
  • Page 80
    DGS-6604 bgp bestpath as-path ignore bgp bestpath as-path ignore Use this command to ignore AS path as a factor in the selection of... multiple paths, prefer the path with the minimum cluster list length. 13. Always prefer the path that comes from the lowest neighbor address. CLI Reference Guide 70
  • Page 81
    DGS-6604 bgp bestpath as-path ignore Use the commands, bgp bestpath as-path ignore, bgp bestpath comparerouter-id or bgp default local-preference to ... best path for autonomous system 65534: Switch(config)# router bgp 65534 Switch(config-router)# bgp bestpath as-path ignore CLI Reference Guide 71
  • Page 82
    DGS-6604 bgp bestpath compare-routerid bgp bestpath compare-routerid Use this command to... and the route with the lowest router ID is selected. Unless manually defined, the router ID is the highest IP address on ... bgp 65534 Switch(config-router)# bgp bestpath compare-routerid CLI Reference Guide 72
  • Page 83
    DGS-6604 bgp default ipv4-unicast bgp default ipv4-unicast Use this command to enable the IP version 4 (IPv4) unicast address family for all ... of a peer by default for autonomous system 65534: Switch(config)# router bgp 65534 Switch(config-router)# bgp default ipv4-unicast CLI Reference Guide 73
  • Page 84
    DGS-6604 bgp default local-preference bgp default local-preference Use this command to change the default local preference value. To return the ... bgp 65534 Switch(config-router)# bgp default local-preference 200 Verify the settings by entering show ip protocols bgp command. CLI Reference Guide 74
  • Page 85
    DGS-6604 bgp deterministic-med bgp deterministic-med Use this command to include the Multi Exit Discriminator (MED) value for comparison of the best ... of MED values for autonomous system 65534: Switch(config)# router bgp 65534 Switch(config-router)# bgp deterministic-med CLI Reference Guide 75
  • Page 86
    DGS-6604 bgp enforce-first-as bgp enforce-first-as Use this command to enforce the first AS for the eBGP routes. To disable this feature, use ... local AS number of the transmitting peer: Example Switch(config)# router bgp 65534 Switch(config-router)# bgp enforce-first-as CLI Reference Guide 76
  • Page 87
    DGS-6604 bgp log-neighbor-changes bgp log-neighbor-changes Use the bgp log-neighbor-changes command to enable logging of BGP neighbor ... 65534 Switch(config-router)# bgp log-neighbor-changes Use the show logging buffer command to display the log for the BGP neighbor changes. CLI Reference Guide 77
  • Page 88
    DGS-6604 bgp router-id bgp router-id Use this command to configure a fixed router ID for the Border Gateway Protocol (BGP) routing process. Use the ... to change the router ID with 192.168.1.1 Switch(config)# router bgp 65100 Switch(config-router)# bgp router-id 192.168.1.1 CLI Reference Guide 78
  • Page 89
    DGS-6604 boot config boot config Use this command to specify the file that will be used as the ...a first-time start-up). If the software detects a problem with the boot config file, the device uses the ... the factory default configuration. Default Command Mode Usage Guideline CLI Reference Guide 79
  • Page 90
    DGS-6604 boot config The specified URL must be represented by an absolute path. It cannot be represented by a relative path. Examples The following ...# configure terminal Switch(config)# boot config flash:\yyy-config.exe Illegal configuration file Switch(config)# end T CLI Reference Guide 80
  • Page 91
    DGS-6604 bootfile bootfile This command is used to specify the name of the default boot image for a Dynamic Host Configuration Protocol (DHCP)... terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# bootfile \dgs-6600\bootimage\mdubootfile.bin switch(config-dhcp)# CLI Reference Guide 81
  • Page 92
    DGS-6604 boot image boot image Use this command to specify the file used as the image file for the next boot. boot image [ check ... previous boot image,flash:\switch-image0.bin becomes the secondary boot image file in the list and changes the status to the backup boot image. CLI Reference Guide 82
  • Page 93
    DGS-6604 boot image Switch# configure terminal Switch(config)#boot image flash:\images\switch_image1.had Checking image at local flash:\images\switch_image1.had ...Update bootlist ...Done. Success Done. Verify the settings by entering the show boot command. CLI Reference Guide 83
  • Page 94
    DGS-6604 m channel-group channel-group AC Use the channel-group command to assign an interface to a channel group. Use no ...various duplex setting in the same channel group. LACP protocol behavior will choose the members that are set to full duplex for the link aggregation. CLI Reference Guide 84
  • Page 95
    DGS-6604 m channel-group • In order to be a member of the LACP channel-group, the member ports must have the same speed setting. LACP will not prevent... eth3.4-3.5 Switch(config-if)# channel-group 3 mode active Verify the settings by entering the show channel-group command CLI Reference Guide 85
  • Page 96
    DGS-6604 m class class Use this command to specify the name of the class map in order to define its traffic policy and enter into policy-map class ...-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# exit Verify the settings by entering the show policy-map command. CLI Reference Guide 86
  • Page 97
    DGS-6604 m class-map class-map To create a class map to be used for matching packets to a specified class, use the class-map command. To... example (on the next page) specifies class_home_user as the name of a class map. In this class map, a match statement specifies that the CLI Reference Guide 87
  • Page 98
    DGS-6604 m class-map traffic that matches the access control list acl_home_user or match ipv6 protocol will be included in class_home_user. Switch(...)# match protocol ipv6 Switch(config-cmap)# exit Switch(config)# Verify the settings by entering the show class-map command. CLI Reference Guide 88
  • Page 99
    DGS-6604 m clear arp-cache clear arp-cache To remove dynamically created entries from the Address Resolution Protocol (ARP) cache, use the clear arp...how to removes all dynamic entries from the ARP cache. Default Command Mode Usage Guideline Example Switch#clear arp-cache CLI Reference Guide 89
  • Page 100
    DGS-6604 m clear counters clear counters Use the command to clear counters for a specific port interface or all port interfaces. clear counters [INTERFACE-ID [ ,... example will clear eth 3.1-3.24 physical port s' statistic counters. Switch# clear counters eth3.1-3.24 Switch# CLI Reference Guide 90
  • Page 101
    DGS-6604 m clear dos prevention counter clear dos prevention counter Use this command to clear the counter of all attack types. clear dos_prevention ... Enabled Smurf Attack Enabled TCP Null Enabled TCP Xmas Enabled TCP SYNFIN Enabled TCP SYN SrcPort Less Than 1024 Enabled CLI Reference Guide 91
  • Page 102
    DGS-6604 m clear cpu-protect counters clear cpu-protect counters Use this command to clear the cpu-protect related counters. clear cpu-protect...how to clear all cpu-protect related statistics. Default Command Mode Usage Guideline Example Switch# clear cpu-protect counters CLI Reference Guide 92
  • Page 103
    DGS-6604 m clear gvrp statistics interface clear gvrp statistics interface Use the clear gvrp statistics command to clear the statistics of a ... clear the GVRP statistics on all interfaces. Default Command Mode Usage Guideline Example Switch# clear gvrp statistics Switch# CLI Reference Guide 93
  • Page 104
    DGS-6604 m clear ip bgp clear ip bgp To reset BGP connections using hard or soft reconfiguration, use the command. clear ip bgp { ...related weights • Modifying the BGP-related distribution lists • Modifying the BGP-related route maps Default Command Mode Usage Guideline CLI Reference Guide 94
  • Page 105
    DGS-6604 m clear ip bgp Use the in keyword to clear only the inbound neighbor connections. Outbound neighbor ...If inbound routing tables are reset, all BGP routers must support route refresh capability (RFC 2918). Example In ...78.12: Switch# clear ip bgp 172.5.78.12 Switch# CLI Reference Guide 95
  • Page 106
    DGS-6604 m clear ip bgp peer-group clear ip bgp peer-group To ... nondisruptive policy changes. It instead relies on dynamic exchange with supporting peers. Route refresh is advertised through BGP capability ... the route refresh capability. Default Command Mode Usage Guideline CLI Reference Guide 96
  • Page 107
    DGS-6604 m clear ip bgp peer-group To determine if a BGP router supports this... soft reset is automatically assumed when the route refresh capability is supported. Examples In the following example, all members of the...Switch# clear ip bgp peer-group INTERNAL soft in Switch# CLI Reference Guide 97
  • Page 108
    DGS-6604 m clear ip dhcp binding clear ip dhcp binding Use this command to delete an address binding from the DHCP Server database. clear ip ...# clear ip dhcp binding 10.12.1.99 swtich# The following example deletes all bindings from all pools: switch# clear ip dhcp binding CLI Reference Guide 98
  • Page 109
    DGS-6604 m clear ip dhcp binding The following example deletes address binding 10.13.2.99 from the address pool named pool2: switch# clear ip dhcp pool pool2 binding 10.13.2.99 switch# Verify the settings by entering the show ip dhcp binding command. CLI Reference Guide 99
  • Page 110
    DGS-6604 m clear ip dhcp conflict clear ip dhcp conflict Use this command to clear an address conflict from the DHCP server database. clear...# The following example deletes all the address conflicts from the entire DHCP server database. switch#clear ip dhcp conflict switch# CLI Reference Guide 100
  • Page 111
    DGS-6604 m clear ip dhcp conflict The following example deletes all the address conflicts from the address pool named pool1: switch#clear ip dhcp conflict pool pool1 switch# CLI Reference Guide 101
  • Page 112
    DGS-6604 m clear ip dhcp server statistics clear ip dhcp server statistics Use this command to reset all Dynamic Host Configuration Protocol (DHCP) ..., or set to zero. The following example resets all DHCP counters to zero. switch# clear ip dhcp server statistics switch# CLI Reference Guide 102
  • Page 113
    DGS-6604 m clear ip ospf clear ip ospf Use this command to restart the OSPF process. clear ip ospf Syntax Default Command Mode Usage Guideline None ... reboot the switch. Example This example shows how to restart all of OSPF processes Switch>enable Switch# clear ip ospf CLI Reference Guide 103
  • Page 114
    DGS-6604 m clear ipv6 dhcp client clear ipv6 dhcp client This command is used to restart the DHCPv6 client on an interface. clear ipv6 ... interface vlan1: Default Command Mode Usage Guideline Example Switch > enable Switch # clear ipv6 dhcp client vlan1 Success. Switch # CLI Reference Guide 104
  • Page 115
    DGS-6604 m clear ipv6 neighbors clear ipv6 neighbors This command is used to clear the IPv6 neighbor information. clear ipv6 neighbors [IFNAME] Syntax ... example shows how to clear instances of IPv6 neighbors: Switch > enable Switch # clear ipv6 neighbors vlan1 Switch # CLI Reference Guide 105
  • Page 116
    DGS-6604 m clear ipv6 ospf process clear ipv6 ospf process To restart the state of IPv6 OSPF, use the clear ipv6 ospf process command. clear... restarts the SPF algorithm by clearing the IPv6 OSPF processes from the database. Switch > enable Switch # clear ipv6 ospf process CLI Reference Guide 106
  • Page 117
    DGS-6604 m clear ipv6 rip clear ipv6 rip To delete routes from the IPv6 RIP routing table, use the clear ipv6 rip command. clear ipv6 rip Syntax ... are deleted. The following example deletes all the IPv6 routes for the RIP process. Switch > enable Switch # clear ipv6 rip CLI Reference Guide 107
  • Page 118
    DGS-6604 m clear lldp neighbors clear lldp neighbors Use this command to delete all LLDP information learned from neighboring devices. clear lldp ... all neighboring information on all interfaces: Default Command Mode Usage Guideline Example Switch# clear lldp neighbors CLI Reference Guide 108
  • Page 119
    DGS-6604 m clear lldp statistics clear lldp statistics Use this command to delete LLDP statistics. clear lldp statistics [interface INTERFACE-ID [, | ... shows how to reset all LLDP statistics: Default Command Mode Usage Guideline Example Switch# clear lldp statistics . CLI Reference Guide 109
  • Page 120
    DGS-6604 m clear logging clear logging Use this command to clear log messages from the system logging buffer. clear logging Syntax Default Command Mode...buffer. The following example to show how to clear log messages in buffer. Switch> enable Switch# clear logging Switch# CLI Reference Guide 110
  • Page 121
    DGS-6604 m clear mac address-table clear mac address-table Use the clear mac address-table command to delete from the MAC address table: ... mac address-table dynamic address 00:08:00:70:00:07 Verify the information was deleted by entering the show mac address-table command. CLI Reference Guide 111
  • Page 122
    DGS-6604 m clear port-security clear port-security To delete all of the secured MAC addresses, except for manually configured secured MAC addresses, from the MAC address table, ... on a specific interface: Switch# clear port-security interface eth3.1 CLI Reference Guide 112
  • Page 123
    DGS-6604 m clear running-config factory-defaults clear running-config factory-defaults Use this command to clear the system's running ... The following example demonstrates how to clear system running configuration. Switch# clear running-config factory-defaults ...Switch# CLI Reference Guide 113
  • Page 124
    DGS-6604 m clear spanning-tree detected-protocols clear spanning-tree detected-protocols To restart the protocol migration, use the clear spanning-tree... example shows how to trigger the protocol migration event for all ports: Switch# clear spanning-tree detected-protocols CLI Reference Guide 114
  • Page 125
    DGS-6604 m clear vlan-tunnel ctag-mapping dynamic clear vlan-tunnel ctag-mapping dynamic Use this command to clear all dynamically learned ... how to clear all dynamically learned customer VLAN tag mappings. Examples Switch# clear vlan-tunnel ctag-mapping dynamic Switch# CLI Reference Guide 115
  • Page 126
    DGS-6604 m clock set clock set Use this command to manually set the system clock. ...Mode Usage Guideline Example The following example shows how to manually set the software clock to 6:00 p.m. on Aug 22,... 2010 Switch# Verify the settings by entering the show clock command. CLI Reference Guide 116
  • Page 127
    DGS-6604 m clock summer-time clock summer-time Use one of the optional keyword formats of the clock summer-time command to configure ... of the parameter to express the begining of the time adjustment period while the ending of the period is expressed in the second portion. CLI Reference Guide 117
  • Page 128
    DGS-6604 m clock summer-time Example The following example shows how to specify that summer time starts on the first Sunday in April at 2 a.m. and...recurring 1 sun April 2:00 last sun October 2:00 Switch(config)# end Verify the settings by entering the show clock command. CLI Reference Guide 118
  • Page 129
    DGS-6604 m clock timezone clock timezone Use the command to set the time zone for display purpose. To set the time to Coordinated Universal ...# configure terminal Switch(config)# clock timezone - 8 Switch(config)# end Verify the settings by entering the show clock command. CLI Reference Guide 119
  • Page 130
    DGS-6604 m color-aware color-aware Use the color-aware command to specify the color aware ... map. Switch(config)# interface eth3.1 Swtich (config-if)# service-policy pcolor-map1 Swtich (config-if)# qos ...-if)# exit Verify the settings by entering the show policy-map command. CLI Reference Guide 120
  • Page 131
    ... Examples This example shows how to change the prompt to use the system name. DGS-6600:15# command prompt system-name switch:15# The following example shows how to set the ...: (product name and privilege level). switch:15# command prompt DGS-6600:15# CLI Reference Guide 121
  • Page 132
    ... prompt The following example shows how to hide the privilege information from the console prompt. DGS-6600:15# command prompt no-level DGS-6600# This example shows define alpha as the console prompt. DGS-6600:15# command prompt level string alpha alpha:15# CLI Reference Guide 122
  • Page 133
    DGS-6604 m configure terminal configure terminal Use this command to enter the global configuration mode configure terminal Syntax Default Command Mode Usage .... This example shows how to enter into the configuration mode: Switch#configure terminal Switch(config)# CLI Reference Guide 123
  • Page 134
    DGS-6604 m copy copy Use the copy command to copy a image, log or configuration file from a remote or local source to a local or ... saved into the current configuration file in NVRAM and the file name will be maintained as the file name specified with boot config command. CLI Reference Guide 124
  • Page 135
    DGS-6604 m copy IP-ADDRESS\ DIRECTORY\ The IP address of TFTP server. The directory name of the source or destination file in TFTP server. None ... it is a configuraiton file or not (the boot config command will also check whether it is a configuraiton file or not first). CLI Reference Guide 125
  • Page 136
    DGS-6604 m copy Examples This example shows how to configure the switch (running configuration) to use a configuration (switch-config.txt) that ...# copy running-config startup-config Save system configuration (y/n) [n], y Configuration has been copied successfully. Switch# CLI Reference Guide 126
  • Page 137
    DGS-6604 m cos remarking cos remarking Use this command to remark the receiving CoS priority for a VLAN tunnel application. Use the no form ... is only applied to outer priority tag in VLAN encapsulation and the COS remarking (replacement) is applied for the VLAN remarking. CLI Reference Guide 127
  • Page 138
    DGS-6604 m cos remarking Use the no cos remarking C-VID command (with optional parameters) to set the related C-VID as customer CoS trusted at ... as Customer CoS trusted now. Switch(config-if)#>no cos remarking 101 Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 128
  • Page 139
    DGS-6604 m cpu-protect safeguard cpu-protect safeguard Use this command to enable and configure the threshold for Safeguard Engine. Use the no form of this.... The rising and falling threshold are 60 and 40 respectively. Switch(config)# cpu-protect safeguard threshold 60 40 CLI Reference Guide 129
  • Page 140
    DGS-6604 m The following example shows how to disable Safeguard Engine and reset threshold to default value. Switch(config)# no cpu-protect safeguard You can verify your settings by entering show cpu-protect safeguard command. CLI Reference Guide 130
  • Page 141
    ..., bgp) to be configured. See the "Usage Guideline" for a list of protocols supported by most routers. Specify the threshold. The unit is packets per ... Mode Usage Guideline • • The classification of each protocol lists at the column of "Classification (subinterface)". CLI Reference Guide 131
  • Page 142
    DGS-6604 m cpu-protect type Table 1 Supported protocol name for the command cpu-protect type Protocol Name arp bgp dhcp dhcpv6 dot1x dvmrp gvrp icmp icmpv6-... set threshold of OSPF protocol packet as 100 packets per second. Switch(config)# cpu-protect type ospf pps 100 CLI Reference Guide 132
  • Page 143
    DGS-6604 m cpu-protect type The following example shows how to remove threshold of OSPF protocol packet. Switch(config)# no cpu-protect type ospf Verifying the settings by show cpu-protect type command. CLI Reference Guide 133
  • Page 144
    DGS-6604 m cpu-protect sub-interface cpu-protect sub-interface Use this command to configure the rate-limit for traffic destined to CPU ... traffic. Switch(config)# no cpu-protect sub-interface manage Switch# Verifying the settings by show cpu-protect sub-interface command. CLI Reference Guide 134
  • Page 145
    DGS-6604 m crypto key crypto key To generate and configure an RSA or DSA key pair, use ...warning prompt for overwriting existing keys. None Privileged EXEC To support SSH login, an RSA or DSA key pair must first ...Switch# crypto key rsa 1024 Generating RSA keys...[OK] Switch# CLI Reference Guide 135
  • Page 146
    DGS-6604 mm default-gateway (management port) default-gateway (management port) AD Use this command to set the IP address of the default ...)#mgmt-if switch(mgmt-if)#default-gateway 10.1.1.254 switch(mgmt-if)#end Verify the settings by entering the show mgmt-if command CLI Reference Guide 136
  • Page 147
    DGS-6604 mm default-information originate (BGP) default-information originate (BGP) Use this command to configure a Border Gateway Protocol (... bgp 65534 Switch(config-router)# default-information originate Verify the settings by entering the show ip protocols BGP command. CLI Reference Guide 137
  • Page 148
    DGS-6604 mm default-information originate (IPv6 OSPF) default-information originate (IPv6 OSPF) Use default-information originate to configure an IPv6...Switch # configure terminal Switch (config) # router ipv6 ospf Switch(config-router)# default-information originate always CLI Reference Guide 138
  • Page 149
    DGS-6604 mm default-information originate (RIP) default-information originate (RIP) To generate a default route into Routing Information ...)# router rip Switch(config-router)# default-information originate Verify the settings by entering the show running-config command. CLI Reference Guide 139
  • Page 150
    DGS-6604 mm default-information originate (RIP IPv6) default-information originate (RIP IPv6) To originate a default IPv6 route into RIP, use...configure terminal (config) # router ipv6 rip (config-router) # default-information originate Example Switch Switch Switch Switch CLI Reference Guide 140
  • Page 151
    DGS-6604 mm default ipv6 nd prefix default ipv6 nd prefix This command is used to default the IPv6 RA prefix information. default ipv6 nd prefix ... > enable # configure terminal (config) # interface vlan1 (config-if) # default ipv6 nd prefix 3ffe:501:ffff::/64 (config-if) # CLI Reference Guide 141
  • Page 152
    DGS-6604 mm default-metric (OSPF) default-metric (OSPF) To set default metric... redistributed routes. A default metric helps solve the problem of redistributing routes with incompatible metrics. Whenever metrics...-router)# Switch(config-router)# Switch(config-router)# Switch# CLI Reference Guide 142
  • Page 153
    DGS-6604 mm default-metric (IPv6 OSPF) default-metric (IPv6 OSPF) To ... all redistributed routes. A default metric helps solve the problem of redistributing routes with an incompatible metric. Whenever metrics ...-router) # redistribute rip Switch Switch Switch Switch Switch CLI Reference Guide 143
  • Page 154
    DGS-6604 mm default-metric (RIP) default-metric (RIP) To set default metric ... all redistributed routes. A default metric helps solve the problem of redistributing routes with incompatible metrics. Whenever ... Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 144
  • Page 155
    DGS-6604 mm default-metric (RIP IPv6) default-metric (RIP IPv6) To ... all redistributed routes. A default metric helps solve the problem of redistributing routes with an incompatible metric. Whenever metrics ... Mode Usage Guideline Example Switch Switch Switch Switch Switch CLI Reference Guide 145
  • Page 156
    DGS-6604 mm default-router default-router This command specifies the default router list for a DHCP client. Use the no form of this command... Usage Guideline Exmaple switch# configure terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# default-router 10.1.1.1 CLI Reference Guide 146
  • Page 157
    DGS-6604 mm delete delete Use this command to delete a file. delete FILE-SYSTEM:\ [ PATH-NAME\ ] FILE-NAME Syntax Description FILE-SYSTEM Specifies ...#delete cf1:\test.txt Delete cf1:\test.txt, (y/n) [n]? PATH-NAME FILE-NAME Default Command Mode Usage Guideline Example CLI Reference Guide 147
  • Page 158
    DGS-6604 mm description description Use this command to add a description for an interface. Use the no description to clear the interface description. ... eth3.10 Switch(config-if)# description Physical Port 10 Verify the settings by entering the show interface command. G CLI Reference Guide 148
  • Page 159
    DGS-6604 mm dir dir Use the dir command to display the information for a file or the list of files ... Guideline Example Switch>dir cf1:\ log customer system runtime.1.00.017_DGS-6600.had runtime.1.00.018_DGS-6600.had Switch> 64212362 bytes 73087296 bytes CLI Reference Guide 149
  • Page 160
    DGS-6604 mm disable disable Use this command to return to the User EXEC mode from the Privileged EXEC mode. disable Syntax Default Command Mode Usage ... shows how to logout after executing the disable command to return to the User EXEC mode. Switch# disable Switch> logout CLI Reference Guide 150
  • Page 161
    DGS-6604 mm distance distance Use the command distance to define an administrative distance for...-Prefix/Prefix-Length parameter is not supported for OSPF. No static routes are established....-prefix, the distance specified for the network prefix will be applied to this route. CLI Reference Guide 151
  • Page 162
    DGS-6604 mm distance If the distances for specific routes are not specified, the distances of the ... same time. Note 1: BGP Protocol does not support this command. Note 2: OSPF does not support the... 90 30.0.0.0/8 Verify the settings by entering the show ip protocols command. CLI Reference Guide 152
  • Page 163
    DGS-6604 mm dns-server dns-server This command configures the IP address list of DNS servers available to DHCP clients. Use the no form of... Mode Usage Guideline Example switch# configure terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# dns-server 10.1.1.1 CLI Reference Guide 153
  • Page 164
    DGS-6604 mm domain-name domain-name This command configures the domain name for a DHCP client. Use the no form of this command to remove ... Mode Usage Guideline Example switch# configure terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# domain-name dlink.com CLI Reference Guide 154
  • Page 165
    DGS-6604 mm dos_prevention action dos_prevention action Use this command to specify the action to perform when a DoS attack occurs dos_prevention action {... action trap_log The following example shows how to remove action trap_log. Switch# no dos_prevention action trap_log CLI Reference Guide 155
  • Page 166
    DGS-6604 mm dos_prevention type dos_prevention type Use this command to enable/disable DoS prevention mechanism. The packet matching and actions... packets. tcp_synfin Port scanning by using specific packets. tcp_syn_srcport_less_1024 Port scanning by using specific packets. CLI Reference Guide 156
  • Page 167
    DGS-6604 mm dos_prevention type Syntax Description - continued all All of the above types... prevention mechanism for specific attack types or for all supported types. The following example shows how to enable the... configure terminal Switch(config)# no dos_prevention type all CLI Reference Guide 157
  • Page 168
    DGS-6604 mm dot1v binding protocol-group dot1v binding protocol-group Use the dot1v binding protocol-group interface configuration command to set... Switch(config-if)# dot1v binding protocol-group 10 vlan 3000 Verify the settings by entering the show dot1v interface command. CLI Reference Guide 158
  • Page 169
    DGS-6604 mm dot1v protocol-group dot1v protocol-group Use the dot1v protocol-group global configuration command to add a protocol to a ...). Switch(config)# dot1v protocol-group 10 frame ethernet2 0x86dd Verfiy the settings by entering the show dot1v protocol-group command. CLI Reference Guide 159
  • Page 170
    DGS-6604 mm dot1x auth-mode dot1x auth-mode Use the dot1x auth-mode command to specify the 802.1x authentication mode. dot1x auth-...)#interface eth4.3 Switch(config-if)# dot1x auth-mode host-based Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 160
  • Page 171
    DGS-6604 mm dot1x auth-protocol dot1x auth-protocol Use this command to specify the authentication method used for 802.1x authentication. ...# configure terminal Switch(config)# dot1x auth-protocol radius Verify the settings by entering the show dot1x command on page 577. CLI Reference Guide 161
  • Page 172
    DGS-6604 mm dot1x control-direction dot1x control-direction Use this command to configure the direction of the traffic on a controlled ...interface eth4.1 Switch(config-if)# dot1x control-direction in Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 162
  • Page 173
    DGS-6604 mm dot1x default dot1x default Using this command resets the configurable 802.1X parameters to the default values. dot1x default ...config)# interface eth4.1 Switch(config-if)# dot1x default Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 163
  • Page 174
    DGS-6604 mm dot1x forward-pdu dot1x forward-pdu Use this command to allow a 1X-disabled interface to forward 802.1X BPDU. Use ... Switch(config)# interface eth4.1 Switch(config-if)# dot1x forward-pdu Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 164
  • Page 175
    DGS-6604 mm dot1x guest-vlan dot1x guest-vlan Use this command to enable the 802....-enabled and dot1x port-control is in auto mode. This command only supports ports in access VLAN mode. When configuring a guest VLAN ... shows how to make eth4.1 join the IEEE 802.1x guest VLAN. CLI Reference Guide 165
  • Page 176
    DGS-6604 mm dot1x guest-vlan Switch# configure terminal Switch(config)# interface eth4.1 Switch(config-if)# dot1x guest-vlan 99 This example shows...(config-if)# no dot1x guest-vlan Verify the settings by entering show do1x auth-configuration and show vlan interface command. CLI Reference Guide 166
  • Page 177
    DGS-6604 mm dot1x initialize dot1x initialize Use this command to initialize the authentication state machine of: • a port in port-based mode. -or• an associated MAC ... 00-40-10-28-19-78 on eth4.1. Switch# dot1x initialize interface eth4.1 mac-address 00-40-10-28-19-78 CLI Reference Guide 167
  • Page 178
    DGS-6604 mm dot1x max-req dot1x max-req Use this command to set the maximum number of times that the switch sends EAP-request/... terminal Switch(config)# interface eth4.1 Switch(config-if)# dot1x max-req 3 Verify the settings with the show dot1x auth-configuration command. CLI Reference Guide 168
  • Page 179
    DGS-6604 mm dot1x pae authenticator dot1x pae authenticator Use this command to enable 802.1X authentication on a specific port. Use the no ... 802.1x authentication on port eth4.1. Switch# configure terminal Switch(config)# interface eth4.1 Switch(config-if)# no dot1x pae CLI Reference Guide 169
  • Page 180
    DGS-6604 mm dot1x port-control dot1x port-control Use this command to manually control the authorization state on a specific port. dot1x port-control ...port-control force-unauthorized Verify the settings with the show dot1x auth-configuration command. CLI Reference Guide 170
  • Page 181
    DGS-6604 mm dot1x re-authenticate dot1x re-authenticate Use this command to re-authenticate a specific port or a specific MAC address. dot1x re-authenticate [ ...address 00-40-10-28-19-78 on eth4.1. Switch# dot1x re-authenticate interface eth4.1 mac-address 00-40-10-28-19-78 CLI Reference Guide 171
  • Page 182
    DGS-6604 mm dot1x re-authentication dot1x re-authentication Use this command to enable periodic re-authentication. Use the no form of ... interface eth4.1 Switch(config-if)# no dot1x re-authentication Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 172
  • Page 183
    DGS-6604 mm dot1x system-auth-control dot1x system-auth-control Use dot1x system-auth-control to globally enable 802.1X .... Switch# configure terminal Switch(config)# no dot1x system-auth-control Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 173
  • Page 184
    DGS-6604 mm dot1x timeout dot1x timeout Use this command to set timeout values for various 802.1X timers. dot1x timeout {quiet-period ...-period 1000 server-timeout 15 supp-timeout 15 tx-period 10 Verify the settings by entering the show dot1x auth-configuration command. CLI Reference Guide 174
  • Page 185
    DGS-6604 mm dot1x user dot1x user Use this command to create a local account used for authentication. Use the no form of this command ..."yourname". Switch# configure terminal Switch(config)# no dot1x user yourname Verify the settings by entering the show dot1x user command. CLI Reference Guide 175
  • Page 186
    ... port interfaces are valid for this configuration. If the duplex mode is not supported by the hardware, an error message will be returned. The following hardware restrictions apply: ... Switch(config-if)# duplex auto Verify the settings by entering the show interface command. CLI Reference Guide 176
  • Page 187
    DGS-6604 m enable enable AE Use this command to enter a Privileged EXEC mode. enable [privilege LEVEL] Syntax Description privilege LEVEL (Optional) Sets...This example shows how to enter the Privileged EXEC mode: Switch> enable Input privileged level 15 password: Switch# CLI Reference Guide 177
  • Page 188
    DGS-6604 m enable password enable password Use this command to setup the enable password to enter into different privileged modes. Use ... "MyEnablePassword". Switch(config)# enable password MyEnablePassword Verify the settings by entering the show enable password command. CLI Reference Guide 178
  • Page 189
    DGS-6604 m end end Use this command to end the current configuration session and go back to the Privileged EXEC mode. end Syntax Default Command Mode... This example shows how to end the interface configuration and go back to privileged mode. Switch(config-if)#end Switch# CLI Reference Guide 179
  • Page 190
    DGS-6604 m exit exit Use this command to end the current configuration mode and go back to the to the last mode used. exit Syntax Default ... to exit from the interface configuration mode and return to the global configuration mode. Switch(config-if)#exit Switch(config)# CLI Reference Guide 180
  • Page 191
    DGS-6604 m erps erps Use the erps command to enable ERPS function globally. Use the no form of this command to disable ERPS function globally. ... erps Switch(config)# The following example shows how to disable ERPS function globally: Switch(config)# no erps Switch(config)# CLI Reference Guide 181
  • Page 192
    DGS-6604 m erps domain erps domain Use the erps domain command to create or modify an ERPS domain and enter the ERPS domain configuration mode. ...-domain)# The following example shows how to delete ERPS domain campus: Switch(config)# no erps domain campus Switch(config)# CLI Reference Guide 182
  • Page 193
    DGS-6604 m erpi enable erpi enable Use the erpi enable command to enable the ERP instance ... to R-APS controlled VLAN and ring ports, the configuration of service protected VLANs and RPL related settings are ...(config-erps-domain)# no erpi 1 enable Switch(config-erps-domain)# CLI Reference Guide 183
  • Page 194
    DGS-6604 m erpi type erpi type Use the erpi type command to create an ERP instance with ring type in an ERPS domain. Use the no form... sub ring: Switch(config-erps-domain)# erpi 2 type sub Switch(config-erps-domain)# The following example shows how to delete ERP instance 1: CLI Reference Guide 184
  • Page 195
    DGS-6604 m erpi type Switch(config-erps-domain)# no erpi 1 Switch(config-erps-domain)# CLI Reference Guide 185
  • Page 196
    DGS-6604 m erpi raps-vlan erpi raps-vlan Use the erpi raps-vlan command to configure the R-APS controlled VLAN of an ERP instance. Use the ... remove R-APS controlled VLAN setting of ERP instance 1: Switch(config-erps-domain)# no erpi 1 raps-vlan Switch(config-erps-domain)# CLI Reference Guide 186
  • Page 197
    DGS-6604 m erpi ring-mel erpi ring-mel Use the erpi ring-mel command to configure ring MEL value of an ERP instance. Use the no form of ... to return ring MEL value to default value of ERP instance 1: Switch(config-erps-domain)# no erpi 1 ring-mel Switch(config-erps-domain)# CLI Reference Guide 187
  • Page 198
    DGS-6604 m erpi ring-port erpi ring-port Use the erpi ring-port command to configure the ring ports of an ERP instance. Use the no form of ... as the east ring port of ERP instance 1: Switch(config-erps-domain)# erpi 1 ring-port east port-channel1 Switch(config-erps-domain)# CLI Reference Guide 188
  • Page 199
    DGS-6604 m erpi ring-port The following example shows how to remove east ring port setting of ERP instance 1: Switch(config-erps-domain)# no erpi 1 ring...of ERP instance 2 (sub ERP instance) Switch(config-erps-domain)# no erpi 2 ring-port shared Switch(config-erps-domain)# CLI Reference Guide 189
  • Page 200
    DGS-6604 m erpi rpl erpi rpl Use the erpi rpl command to configure an ERP instance as the RPL owner and the RPL port. Use the no form ... following example shows how to disable RPL owner of ERP instance 1: Switch(config-erps-domain)# no erpi 1 rpl Switch(config-erps-domain)# CLI Reference Guide 190
  • Page 201
    DGS-6604 m erpi protected-vlan erpi protected-vlan Use the erpi protected-vlan...protected by the ERP instance. The user should assign the service protected VLANs that are distinguished from the R-APS control ... shows how to remove service protected VLAN "3" of ERP instance 1: CLI Reference Guide 191
  • Page 202
    DGS-6604 m erpi protected-vlan Switch(config-erps-domain)# erpi 1 protected-vlan remove ...-erps-domain)# The following example shows how to remove all service protected VLANs of ERP instance 1: Switch(config-erps-domain)# no erpi 1 protected-vlan Switch(config-erps-domain)# CLI Reference Guide 192
  • Page 203
    DGS-6604 m erpi timer erpi timer Use the erpi timer command to configure timers for an ERP instance. Use the no form of this command to reset ... to configure WTR timer to 1 minutes of ERP instance 1: Switch(config-erps-domain)# erpi 1 timer wtr 1 Switch(config-erps-domain)# CLI Reference Guide 193
  • Page 204
    DGS-6604 m erpi timer The following example shows how to configure hold-off timer as default time value of ERP instance 1: Switch(config-erps-domain)# no erpi 1 timer hold-off Switch(config-erps-domain)# CLI Reference Guide 194
  • Page 205
    DGS-6604 m erpi tc-propagation erpi tc-propagation Use the erpi tc-propagation command to enable topology change propagation of the sub ERP instance. ... domain 1: Switch(config)# erps domain 1 Switch(config-erps-domain)# no erpi 2 tc-propagation Switch(config-erps-domain)# CLI Reference Guide 195
  • Page 206
    DGS-6604 m errdisable recovery errdisable recovery Use the errdisable recovery command to enable and ... packets. An error disabled port can be either manual recovered or automatically restored by using this command. ... cause loopback-detection interval 200 Switch(config)# end CLI Reference Guide 196
  • Page 207
    DGS-6604 m errdisable recovery The following example shows how to enable the auto recovery for loopbackdetection. Switch# configure terminal Switch(config)# ...-detection Switch(config)# end You can verify your settings by entering the show errdisable recovery command. CLI Reference Guide 197
  • Page 208
    DGS-6604 m flowcontrol flowcontrol A Use this command to configure the flow control capability of the port interface. flowcontrol [ send | receive ] { on | ...# configure terminal Switch(config)# interface eth3.1 Switch(config-if)# flowcontrol send on Switch(config-if)# end CLI Reference Guide 198
  • Page 209
    DGS-6604 m gvrp (Global) gvrp (Global) Use the gvrp interface command to enable GVRP function globally, and use the no gvrp command to...the GVRP protocol global state. Switch(config)# gvrp Switch(config)# Verify the settings by entering the show gvrp configuration command. CLI Reference Guide 199
  • Page 210
    DGS-6604 m gvrp (Interface) gvrp (Interface) Use the gvrp interface command to enable GVRP function for a port, and use the no gvrp .... Switch(config)# interface eth3.1 Switch(config-if)# gvrp Verify the settings by entering the show gvrp configuration interface command. CLI Reference Guide 200
  • Page 211
    DGS-6604 m gvrp advertise (Interface) gvrp advertise (Interface) Use the gvrp advertise command to specify that this VLAN will be advertised out ...)# interface eth4.1 Switch(config-if)# gvrp advertise 1000 Verify the settings by entering the show gvrp configuration command. CLI Reference Guide 201
  • Page 212
    DGS-6604 m gvrp advertise (VLAN) gvrp advertise (VLAN) Use the gvrp advertise command to specify that this VLAN will be advertised out by ... Switch(config)# VLAN 1000 Switch(config-VLAN)# gvrp advertise Verify the settings by entering the show gvrp configuration command. CLI Reference Guide 202
  • Page 213
    DGS-6604 m gvrp dynamic-vlan-creation gvrp dynamic-vlan-creation Use the gvrp dynamic-vlan-creation command to enable dynamic VLAN ...Example Switch(config)# gvrp Switch(config)# gvrp dynamic-vlan-creation Verify the settings by entering the show gvrp configuration command. CLI Reference Guide 203
  • Page 214
    DGS-6604 m gvrp forbidden gvrp forbidden Use the gvrp forbidden command to specify the port as a forbidden member. Use the no gvrp ...(config)# interface eth3.1 Switch(config-if)# gvrp forbidden Verify the settings by entering the show gvrp configuration interface command CLI Reference Guide 204
  • Page 215
    DGS-6604 m gvrp timer gvrp timer Use the gvrp timer command to set the GVRP timer value for a port. gvrp timer { join | ...(config)# interface eth3.1 Switch(config-if)# gvrp timer leave-all 500 Verify the settings by entering the show gvrp configuration interface command. CLI Reference Guide 205
  • Page 216
    DGS-6604 help help H To display a brief description of the help system, use the help command in any command mode. help Syntax Default Command Mode ... is provided when an abbreviated argument is entered and you want to know what arguments match the input (e.g. 'show ve?'.) CLI Reference Guide 206
  • Page 217
    DGS-6604 host area host area Use the host area command to configure a stub host entry belonging to a particular area. Use the no form of this ...router ospf Switch (config-router)# host 172.16.10.100 area 1 Verify the settings by entering the show ip ospf host-route command. CLI Reference Guide 207
  • Page 218
    DGS-6604 hybrid vlan VLAN-ID hybrid vlan VLAN-ID Use the hybrid VLAN command to set the VLAN characteristic. It sets the interface...VLAN 1000. Switch(config)# interface eth3.1 Switch(config-if)# hybrid vlan 1000 tagged Verify the settings by entering the show vlan command. CLI Reference Guide 208
  • Page 219
    DGS-6604 ingress-checking ingress-checking G Use the ingress-checking to enable ingress frame checking at a port. Use the no ingress-... Switch(config)# interface eth4.1 Switch(config-if)# ingress-checking Verify the settings by entering the show vlan interface command. CLI Reference Guide 209
  • Page 220
    DGS-6604 instance instance To map a VLAN or a set of VLANs to a single Multiple Spanning Tree (MST) instance, use the instance command. To return ... Switch(config-mst)# instance 5 vlans 1100 Verify the settings by entering the show spanning-tree mst configuration command. CLI Reference Guide 210
  • Page 221
    DGS-6604 interface interface Enter the interface command to go into interface configuration mode. The command executed in this mode will be applied ...example shows how to enter the interface configuration mode for eth2.5: Switch(config)# interface eth2.5 Switch(config-if)# CLI Reference Guide 211
  • Page 222
    DGS-6604 interface range interface range Enter the interface range command to go into interface range configuration mode. The command executed in... from eth2.1-2.5. Default Command Mode Usage Guideline Example Switch(config)# interface range eth2.1-2.5 Switch(config-if)# CLI Reference Guide 212
  • Page 223
    DGS-6604 interface tunnel interface tunnel Use the interface tunnel configuration command to add a tunnel and to enter the interface configuration ...2 Switch (config-if)# The following example will remove IPv6 tunnel 2. Switch(config)# no interface tunnel 2 Switch (config)# CLI Reference Guide 213
  • Page 224
    DGS-6604 ip access-group ip access-group Use the ip access-group command to specify the IP access-list to be applied to an ...)# interface eth3.2 Switch(config-if)#ip access-group Strict-Control Verify the settings by entering the show access-group privileged EXEC command. CLI Reference Guide 214
  • Page 225
    DGS-6604 ip access-list ip access-list Use the command to create or modify an IP access list. This command enters the user interface into the ...(config-ip-acl)#permit host 172.16.65.193 any Switch(config-ip-acl)# Verfiy the settings by entering the show access-list command. CLI Reference Guide 215
  • Page 226
    DGS-6604 ip address ip address Use ip address to set a primary or secondary IP address for an interface, or acquire an IP address on an interface ...) shows how to set 10.108.1.27 as the primary address and 192.31.7.17 and 192.31.8.17 as the secondary addresses for VLAN 100: CLI Reference Guide 216
  • Page 227
    DGS-6604 ip address Switch# configure terminal Switch(config)# interface vlan100 Switch(config-if)# ip address 10.108.1.27 255.255.255.0 Switch...ip address 192.31.8.17 255.255.255.0 secondary Switch(config)# end Verify the settings by entering the show ip interface command. CLI Reference Guide 217
  • Page 228
    DGS-6604 ip address (management port) ip address (management port) Use the command to set the IP address of the Management Port. Use the no ...(config)#mgmt-if Switch(mgmt-if)#ip address 10.1.1.1/8 Switch(mgmt-if)#end Verify the settings by entering the show mgmt-if command. CLI Reference Guide 218
  • Page 229
    DGS-6604 ip address-list ip address-list Use this command to specify the IP addresse range in a DHCP address pool and one of which is ...(config-dhcp)# no ip address-list 10.1.1.200 Switch(config-dhcp)# Verify the address pool is added with the show ip dhcp pool command. CLI Reference Guide 219
  • Page 230
    DGS-6604 ip dhcp screening ports ip dhcp screening ports Use the command to configure the state of the function for filtering of DHCP...and eth5.3: Default Command Mode Usage Guideline Example switch# configure terminal switch(config)#ip dhcp screening ports eth4.1,eth5.3 CLI Reference Guide 220
  • Page 231
    DGS-6604 ip dhcp screening ip dhcp screening Use this command to add/delete the DHCP server/client binding entry. ip dhcp screening server-ip IP-...34 switch#configure terminal switch(config)#ip dhcp screening server-ip 10.1.1.1 client-mac 00-08-01-0203-04 ports eth4.1-4.34 CLI Reference Guide 221
  • Page 232
    DGS-6604 ip dhcp screening trap-log ip dhcp screening trap-log Used to enable trap/log function and use the no form to disable trap/... example shows to enable trap/log function of DHCP screening: Example switch#configure terminal switch(config)# ip dhcp screening trap-log CLI Reference Guide 222
  • Page 233
    DGS-6604 ip dhcp snooping ip dhcp snooping Use this command to globally enable DHCP ..., relay agent service must be enabled by service dhcp command, and the server address to relay the packet must be configured by... terminal Switch(config)# no ip dhcp snooping Switch(config)# CLI Reference Guide 223
  • Page 234
    DGS-6604 ip dhcp snooping information option ip dhcp snooping information option Use this command to globally allow DHCP packets with relay option 82 ... port: . Switch# configure terminal Switch(config)# no ip dhcp snooping information option allow-untrusted Switch(config)# CLI Reference Guide 224
  • Page 235
    DGS-6604 ip dhcp snooping trust ip dhcp snooping trust Use this command to configure a port as interface trusted for DHCP snooping. Use the... enable DHCP snooping trust for port 3.3: Switch(config)# interface eth3.3 Switch(config-if)# ip dhcp snooping trust Switch(config)# CLI Reference Guide 225
  • Page 236
    DGS-6604 ip dhcp screening suppress-duration ip dhcp screening suppress-duration Used to set the suppressed duration for trap/log and use ...to specify the suppress time to 20 minutes: Example switch#configure terminal switch(config)# ip dhcp screening suppress-duration 20 CLI Reference Guide 226
  • Page 237
    DGS-6604 ip arp inspection trust ip arp inspection trust Use the command to trust an interface for dynamic ARP inspection. Use the no form ... for DAI: Switch# configure terminal Switch(config)# interface eth3.3 Switch(config-if)# ip arp inspection trust Switch(config-if)# CLI Reference Guide 227
  • Page 238
    DGS-6604 ip arp inspection validate ip arp inspection validate Use the command to specify the additional checks to be performed during ARP ... terminal Switch(config)# ip arp inspection validate src-mac Switch(config)# This example shows how to disable source MAC validation: CLI Reference Guide 228
  • Page 239
    DGS-6604 ip arp inspection validate Switch# configure terminal Switch(config)# no ip arp inspection validate src-mac Switch(config)# CLI Reference Guide 229
  • Page 240
    DGS-6604 ip arp inspection vlan ip arp inspection vlan Use the command to enable specific VLANs for dynamic ARP inspection. Use the no ...example shows how to enable ARP inspection on VLAN2: Switch# configure terminal Switch(config)# ip arp inspection vlan 2 Switch(config)# CLI Reference Guide 230
  • Page 241
    DGS-6604 ip verify source vlan dhcp-snooping ip verify source vlan dhcp-snooping... a hardware mechanism and its entry can come from either the manual configured entry or the DHCP snooping binding database. The...verify source vlan dhcp-snooping port-security Switch(config-if)# CLI Reference Guide 231
  • Page 242
    DGS-6604 ip source binding ip source binding Use this command to create a static entry used for IP source guard. Use the no form of the command to....10: Switch# configure terminal Switch(config)# ip source binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface eth3.10 Switch# CLI Reference Guide 232
  • Page 243
    DGS-6604 This example shows how to delete an IP Source Guard entry with IP address 10.1.1.1 and MAC address 00-01-02-03-04-05, at VLAN 2 on ... eth3.10: Switch# configure terminal Switch(config)# no ip source binding 00-01-02-03-04-05 vlan 2 10.1.1.1 interface eth3.10 Switch# CLI Reference Guide 233
  • Page 244
    DGS-6604 ip as-path access-list ip as-path access-list Use this command to define a BGP Autonomous System (AS) path access list. Use the...^65535$ Switch(config)# ip as-path access-list mylist permit .* Verify the settings by entering the show ip as-path access-list command. CLI Reference Guide 234
  • Page 245
    DGS-6604 ip community-list ip community-list Use this command to add a community list entry. Use the no form of this command to ... lists bonded at the specified access list will be removed. Example This example (on the next page) shows how to configure a community list CLI Reference Guide 235
  • Page 246
    DGS-6604 ip community-list named"mycommlist" that permit routes from network 10 in autonomous system 50000: Switch(config)# ip community-list mycommlist permit 50000:10 Verify the settings by entering the show ip community-list command. CLI Reference Guide 236
  • Page 247
    DGS-6604 ip dhcp snooping verify MAC-address ip dhcp snooping verify MAC-address Use this command to enable the verification that the source...in a DHCP packet matches the client hardware address Switch# configure terminal Switch(config)# ip dhcp snooping verify mac-address CLI Reference Guide 237
  • Page 248
    DGS-6604 ip dhcp snooping vlan ip dhcp snooping vlan Use this command to enable DHCP snooping on a VLAN or a group of VLANs. Use ...This example shows how to enable DHCP snooping on vlan10: Switch# configure terminal Switch(config)# ip dhcp snooping vlan 10 Switch(config)# CLI Reference Guide 238
  • Page 249
    DGS-6604 This example shows how to disable DHCP snooping on vlan10: Switch# configure terminal Switch(config)# no ip dhcp snooping vlan 10 Switch(config)# This ... on range of VLAN: Switch# configure terminal Switch(config)# no ip dhcp snooping vlan 10,15-18 Switch(config)# CLI Reference Guide 239
  • Page 250
    DGS-6604 ip dhcp ping packets ip dhcp ping packets User this command to specify the number of packets that the DHCP server will send as ... of ping packets as 3. Default Command Mode Usage Guideline Example switch# configure terminal switch(config)# ip dhcp ping packets 3 CLI Reference Guide 240
  • Page 251
    DGS-6604 ip dhcp ping timeout ip dhcp ping timeout Use this command to specify how long the DHCP server will wait for the ping reply...the ping timeout as 100. Default Command Mode Usage Guideline Example switch# configure terminal switch(config)# ip dhcp ping timeout 100 CLI Reference Guide 241
  • Page 252
    DGS-6604 ip dhcp pool ip dhcp pool Use this command to configure a DHCP address pool on a DHCP Server and enter the DHCP pool ... Example The following example configures the address pool named "pool1". switch# configure terminal switch(config)# ip dhcp pool pool1 CLI Reference Guide 242
  • Page 253
    DGS-6604 ip dhcp relay ip dhcp relay Use this command to enable Dynamic Host Configuration Protocol (DHCP) relay agent features on the switch.... > enable Switch# configure terminal Switch(config)# ip dhcp relay Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 243
  • Page 254
    DGS-6604 ip dhcp relay address ip dhcp relay address Use this command to specify the DHCP relay server IP address. Use the no form ...(config)# interface vlan100 Switch(config-if)# ip dhcp relay address 10.1.1.1 Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 244
  • Page 255
    DGS-6604 ip dhcp relay hops ip dhcp relay hops Use this command to configure the maximum number of relay hops that the DHCP ... Guideline Example Switch# configure terminal Switch(config)#ip dhcp relay hops 5 Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 245
  • Page 256
    DGS-6604 ip dhcp relay information check ip dhcp relay information check Use this command to configure the DHCP relay agent to .... Switch# configure terminal Switch(config)# ip dhcp relay information check Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 246
  • Page 257
    DGS-6604 ip dhcp relay information option ip dhcp relay information option Use this command to enable the insertion of the relay agent information option (option 82). ... 0 4 Length 6 M1 M2 5 6 7 8 9 10 MAC Address M3 M4 M5 M6 MAC address: the switch's system MAC address. CLI Reference Guide 247
  • Page 258
    DGS-6604 ip dhcp relay information option Example This example shows how to enable insertion of the option-82 field during the relay of ...# configure terminal Switch(config)# ip dhcp relay information option Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 248
  • Page 259
    DGS-6604 ip dhcp relay information policy ip dhcp relay information policy Use this command to configure the information re-forwarding policy for... terminal Switch(config)# ip dhcp relay information policy drop Verify the settings by entering the show ip dhcp relay command. CLI Reference Guide 249
  • Page 260
    DGS-6604 ip dhcp relay information trust-all ip dhcp relay information trust-all Use this global command to direct the DHCP relay ... ip dhcp relay information trust-all Swtich(config)# Verify the settings by entering the show ip dhcp relay information trustedsources command CLI Reference Guide 250
  • Page 261
    DGS-6604 ip dhcp relay information trusted ip dhcp relay information trusted Use this interface command to direct the DHCP relay agent to ... information trusted Swtich(config-if)# end Verify the settings by entering the show ip dhcp relay information trustedsources command. CLI Reference Guide 251
  • Page 262
    DGS-6604 ip dvmrp ip dvmrp Use this command to enable DVMRP on the current interface. Use the no form to disable DVMRP on the interface. ip ... VLAN 1. Switch(config)# interface vlan1 Switch(config-if)# ip dvmrp Verify the settings by the show ip dvmrp interface command. CLI Reference Guide 252
  • Page 263
    DGS-6604 ip dvmrp metric ip dvmrp metric Use this command to configure the metric value on the current interface. ip dvmrp metric METRIC .... Switch(config)# interface vlan1 Switch(config-if)# ip dvmrp metric 2 Verfiy the settings by the show ip dvmrp interface command. CLI Reference Guide 253
  • Page 264
    DGS-6604 ip http server ip http server Use this command to enable HTTP server. Use the no form of the command to disable HTTP ... example will disable the http server Switch(config)# no ip http server Verify the settings by entering the show system protocol-state command. CLI Reference Guide 254
  • Page 265
    DGS-6604 ip http service-port ip http service-port Use this command to specify the HTTP service port. And use the default command ... TCP-PORT default ip http service-port Syntax Description TCP-PORT ... the settings by entering the show system protocol-state command. CLI Reference Guide 255
  • Page 266
    DGS-6604 ip igmp access-group ip igmp access-group Using the ip igmp... Mode Usage Guideline Example This example shows how to restrict the serviced IGMP group for VLAN 1000 to group 226.1.1.1. In... address 226.1.1.1. Then, associate this access group in interface VLAN 1000. CLI Reference Guide 256
  • Page 267
    DGS-6604 ip igmp access-group Switch#configure terminal Switch(config)# ip access-list igmp_filter Switch(config-ip-acl)#permit any 226.1.1.1 ...-if)# ip igmp access-group igmp_filter Switch(config-if)# end Verfiy the settings by entering the show ip igmp interface command. CLI Reference Guide 257
  • Page 268
    DGS-6604 ip igmp last-member-query-interval ip igmp last-member-query-interval Use this command to configure the interval at which the ...-if)# ip igmp last-member-query-interval 2000 Switch(config-if)# end Verify the settings by entering the show ip igmp interface command. CLI Reference Guide 258
  • Page 269
    DGS-6604 ip igmp query-interval ip igmp query-interval Use this command to configure the interval at which the router sends IGMP general-query...(config-if)# ip igmp query-interval 300 Switch(config-if)# end Verify the settings by entering the show ip igmp interface command. CLI Reference Guide 259
  • Page 270
    DGS-6604 ip igmp query-max-response-time ip igmp query-max-response-time Use this command to configure the maximum response time advertised in...if)# ip igmp query-max-response-time 10 Switch(config-if)# end Verify the settings by entering the show ip igmp interface command. CLI Reference Guide 260
  • Page 271
    DGS-6604 ip igmp robustness-variable ip igmp robustness-variable Use this command to tune for the expected packet loss on a network, i.e. ...(config-if)# ip igmp robustness-variable 5 Switch(config-if)# end Verify the settings by entering the show ip igmp interface command. 261 CLI Reference Guide
  • Page 272
    DGS-6604 ip igmp snooping ip igmp snooping Use this command to enable IGMP Snooping function on the switch. Use the no form of this ... all of the existing VLANs. As a VLAN is deleted, the related IGMP snooping setting for the VLAN is also removed from system configuration. CLI Reference Guide 262
  • Page 273
    DGS-6604 ip igmp snooping Examples This example shows how to globally enable IGMP Snooping for all existing VLANs. Switch(config)# ip igmp snooping ...-if)# ip igmp snooping Switch(config-if)# end Switch# Verfiy the settings by entering the show ip igmp snooping command. CLI Reference Guide 263
  • Page 274
    DGS-6604 ip igmp snooping (multicast router) ip igmp snooping (multicast router) Use this command to configure the specified interface(s) as ...-not-allowed} command, an error message is displayed if the designated port is ineligible. Default Command Mode Usage Guideline CLI Reference Guide 264
  • Page 275
    DGS-6604 ip igmp snooping (multicast router) Examples This example shows how to add a multicast ... mrouter-designate interface vlan5 % Interface type not support vlan5 Switch(config-if)# exit Switch(config... the settings by entering the show ip igmp snooping mrouter command. CLI Reference Guide 265
  • Page 276
    DGS-6604 ip igmp snooping immediate-leave ip igmp snooping immediate-leave Use this command to configure the IGMP Snooping immediate-leave ...config-if)#ip igmp snooping immediate-leave Switch(config-if)# end Verfiy the settings by entering the show ip igmp snooping command. CLI Reference Guide 266
  • Page 277
    DGS-6604 ip igmp snooping querier ip igmp snooping querier Use this command ... it remains in the specified group. The maximum response time instructs the client to report within the time period specified. ...# Verfiy the settings by entering the show ip igmp snooping command. CLI Reference Guide 267
  • Page 278
    DGS-6604 ip igmp snooping static-group ip igmp snooping static-group Use this command to configure an IGMP snooping static group. Use... IGMP snooping static-group entries are also removed from system configuration. INTERFACE-ID [, | -] Default Command Mode Usage Guideline CLI Reference Guide 268
  • Page 279
    DGS-6604 ip igmp snooping static-group Example The following example, on the next page, shows how to statically add group and/ or source ... static-group 226.1.2.6 source 10.1.2.3 interface eth3.5 Verify the settings by entering the show ip igmp snooping group command. CLI Reference Guide 269
  • Page 280
    DGS-6604 ip igmp version ip igmp version Use this command to change the IGMP version on the specified interface. ip igmp version {1|2|3} Syntax ...Switch(config-if)# ip igmp version 3 Switch(config-if)# end Verify the settings by entering the show ip igmp interface command. CLI Reference Guide 270
  • Page 281
    DGS-6604 ip mroute ip mroute Use this command to create a multicast static route (mroute). Use the no form of this command to delete the route. ip...the multicast data source within a network number 192.168.8.0/24 to be discarded. Switch(config)#ip mroute 192.168.8.0/24 null CLI Reference Guide 271
  • Page 282
    DGS-6604 ip mroute The following example removes a previously configured ip mroute entry of 192.168.8.0/24. Switch(config)#no ip mroute 192.168.8.0/24 Verify the settings using the show running-config command. CLI Reference Guide 272
  • Page 283
    DGS-6604 ip mtu ip mtu Use this command to set the MTU value in TCP/IP stack. Use the default form to restore to the default...Swtich(config)# interface vlan4 Switch(config-if)# default ip mtu Switch(config-if)# end Verify the settings by entering the show interface command. CLI Reference Guide 273
  • Page 284
    DGS-6604 ip mtu (management port) ip mtu (management port) Use this command to set the IP layer maximum transfer unit of the Management Port. ... Switch(config)#mgmt-if Switch(mgmt-if)#ip mtu 1600 Switch(mgmt-if)#end Verify the settings by entering the show mgmt-if command CLI Reference Guide 274
  • Page 285
    DGS-6604 ip multicast-routing ip multicast-routing Use this command to enable IP multicast routing. Use the no form of this command to ... how to enable IP multicast routing. Switch(config)# ip multicast-routing Verify the settings by the show system protocol-state command. CLI Reference Guide 275
  • Page 286
    DGS-6604 ip ospf authentication ip ospf authentication Use this command to send and receive OSPF packets with the specified authentication method. ... Switch(config-if)# ip ospf authentication message-digest Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 276
  • Page 287
    DGS-6604 ip ospf authentication-key ip ospf authentication-key Use this command to specify an OSPF authentication password for the ... ip ospf authentication-key test Switch(config-if)# ip ospf authentication Verify the settings by entering the show ip ospf interface command CLI Reference Guide 277
  • Page 288
    DGS-6604 ip ospf cost ip ospf cost Use this command to explicitly ... proportional to the bandwidth of an interface. The cost can be either manually assigned or be automatically determined. By default, the cost of ... the settings by entering the show ip ospf interface command. CLI Reference Guide 278
  • Page 289
    DGS-6604 ip ospf dead-interval ip ospf dead-interval Use this command to set the interval during which no hello packets are received ...(config)# interface vlan1 Switch(config-if)# ip ospf dead-interval 10 Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 279
  • Page 290
    DGS-6604 ip ospf hello-interval ip ospf hello-interval Use this command to specify the interval between hello packets. The no-form of this command will reset the hello-interval to the default value. ip ospf hello-interval SECONDS no ip ospf hello-interval Syntax Description SECONDS Specifies the ...
  • Page 291
    DGS-6604 ip ospf message-digest-key ip ospf message-digest-key Use this command to register an MD5 key for OSPF MD5 authentication. Use...-digest Switch(config-if)# ip ospf message-digest-key 10 md5 yourpass Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 281
  • Page 292
    DGS-6604 ip ospf priority ip ospf priority Use this command to set the router priority to determine the designated router for the network. ...(config)# interface vlan1 Switch(config-if)# ip ospf priority 3 Verfiy the settings by entering the show ip ospf interface command. CLI Reference Guide 282
  • Page 293
    DGS-6604 ip ospf retransmit-interval ip ospf retransmit-interval Use this command to specify the time between link-state advertisement (LSA... interface vlan1 Switch(config-if)# ip ospf retransmit interval 10 Verfiy the settings by entering the show ip ospf interface command CLI Reference Guide 283
  • Page 294
    DGS-6604 ip ospf shutdown ip ospf shutdown To initiate a graceful shutdown of Open Shortest Path First (OSPF) protocol at interface level, use the ip ... shutdown on the layer 3 interface (VLAN 1): Switch(config)# router ospf Switch(config-router)# ip ospf shutdown vlan1 CLI Reference Guide 284
  • Page 295
    DGS-6604 ip ospf transmit-delay ip ospf transmit-delay Use this command to set the estimated time it takes to transmit a link-... Switch(config)# interface vlan1 Switch(config-if)# ip ospf transmit delay 10 Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 285
  • Page 296
    DGS-6604 ip ospf mtu-ignore ip ospf mtu-ignore To disable OSPF MTU mismatch detection on receiving DBD packets, use the ip ospf mtu-ignore ... on receiving DBD packets. Example Switch# configure terminal Switch(config)# interface vlan1 Switch(config-if)# ip ospf mtu-ignore CLI Reference Guide 286
  • Page 297
    DGS-6604 ip pim ip pim Enable PIM on the interface for either sparse mode or dense mode operation. Use the no form of the command to .... Switch(config)# interface vlan1 Switch(config-if)# ip pim sparse-mode Verify the settings by entering the show ip pim interface command. CLI Reference Guide 287
  • Page 298
    DGS-6604 ip pim accept-register ip pim accept-register To configure a candidate rendezvous point (RP) router to filter PIM register messages, use ...-ip-acl)# exit Switch(config)# ip pim accept-register source-list Summer-Movie Verify the settings by the show ip pim command. CLI Reference Guide 288
  • Page 299
    DGS-6604 ip pim bsr-candidate ip pim bsr-candidate Use this command to configure the router to advertise itself as a candidate bootstrap router (... the group address, and the addresses of the candidate RPs from the mappings, and gives as output, one RP address to be used. CLI Reference Guide 289
  • Page 300
    DGS-6604 ip pim bsr-candidate Example The following example shows how to configure the IP address of the router on VLAN 1 to be a candidate BSR...of 192: Switch(config)# ip pim bsr-candidate vlan1 20 192 Switch(config)# Verify the settings by using the show ip pim command. CLI Reference Guide 290
  • Page 301
    DGS-6604 ip pim dr-priority ip pim dr-priority Use this command to change the Designated Router Priority value inserted into the DR ...Switch(config)# interface vlan1 Switch(config-if)# ip pim dr-priority 200 Verify the settings by entering the show ip pim interface command. CLI Reference Guide 291
  • Page 302
    DGS-6604 ip pim join-prune-interval ip pim join-prune-interval Use this command to configure a Join/Prune interval value different from ...)# interface vlan1 Switch(config-if)# ip pim join-prune-interval 120 Verify the settings by entering the show ip pim interface command. CLI Reference Guide 292
  • Page 303
    DGS-6604 ip pim prune-limit-interval ip pim prune-limit-interval Use this command to configure the time interval for the prune limit ...)# interface vlan1 Switch(config-if)# ip pim prune-limit-interval 120 Verify the settings by entering the show ip pim interface command. CLI Reference Guide 293
  • Page 304
    DGS-6604 ip pim query-interval ip pim query-interval Use this command to configure the frequency of PIM hello message. ip pim query-...(config)# interface vlan1 Switch(config-if)# ip pim query-interval 45 Verify the settings by entering the show ip pim interface command. CLI Reference Guide 294
  • Page 305
    DGS-6604 ip pim register-checksum-include-data ip pim register-checksum-include-data Use this command to configure the option to calculate the ... over whole packet. Switch(config)# ip pim register-checksum-include-data Verify the settings by using the show ip pim command. CLI Reference Guide 295
  • Page 306
    DGS-6604 ip pim register-suppresion ip pim register-suppresion Use this command to configure the register-suppression time. ip pim register-...-suppression time to 30 seconds. Switch(config)# ip pim register-suppression 30 Verify the settings by the show ip pim command. CLI Reference Guide 296
  • Page 307
    DGS-6604 ip pim rp-address ip pim rp-address Use this command to statically configure the rendezvous point (RP) address for multicast groups. To... exit Switch(config)# ip pim rp-address 10.90.90.90 group-list PIM-Control Verify the settings by using the show ip pim command. CLI Reference Guide 297
  • Page 308
    DGS-6604 ip pim rp-candidate ip pim rp-candidate Use this command to configure the router as an RP candidate. Use the no form of ... example (on the next page) shows how to configure the router to advertise itself as a candidate RP to the BSR in its PIM domain. A basic IP CLI Reference Guide 298
  • Page 309
    DGS-6604 ip pim rp-candidate access list, named PIM-Control, which specifies the group prefix (239.0.0.0/8), is associated with the RP ...)# exit Switch(config)# ip pim rp-candidate vlan1 group-list PIM-Control priority 3 Verify the settings by using the show ip pim command. CLI Reference Guide 299
  • Page 310
    DGS-6604 ip pim state-refresh origination-interval ip pim state-refresh origination-interval Configure a PIM-DM State-Refresh origination interval ...(config-if)# ip pim state-refresh origination-interval 100 Verify the settings by entering the show ip pim interface command. CLI Reference Guide 300
  • Page 311
    DGS-6604 ip policy route-map ip policy route-map Use the command to specify a route map as the routing policy on an interface,. To disable ... The following example set up routing policy to route the packets that match the IP access list name pbr-acl to next-hop 20.1.1.254 CLI Reference Guide 301
  • Page 312
    DGS-6604 ip policy route-map Switch(config)#route-map pbr-map Switch(config-route-map)# match ip address pbr-acl Switch(config-route-map)# set ...(config-if)#ip policy route-map pbr-map Switch(config-if)#exit You can verify your settings by entering show ip policy command. CLI Reference Guide 302
  • Page 313
    DGS-6604 ip rip authentication key-chain ip rip authentication key-chain Use this command to enable authentication for RIP Version 2 packets .... This command also specifies that the interface will use the key chain for authentication. Default Command Mode Usage Guideline CLI Reference Guide 303
  • Page 314
    DGS-6604 ip rip authentication key-chain Example The following example configures a key chain named chain1. Key1 named "forkey1string" will be ... Jan 25 2009 duration 3600 Switch(config-keychain-key)# exit Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 304
  • Page 315
    DGS-6604 ip rip authentication mode ip rip authentication mode To configure the ... valid interfaces for this command. RIP Version 1 does not support authentication. This command only affects RIPv2. Default ... Verify the settings by entering the show ip rip interface command. CLI Reference Guide 305
  • Page 316
    DGS-6604 ip rip receive version ip rip receive version Use this command to specify a RIP version to receive on each interface. Use the no ... Switch(config-if)# ip rip receive version 1 Switch(config-if)# end Verify the settings by entering the show ip rip interface command. CLI Reference Guide 306
  • Page 317
    DGS-6604 ip rip send version ip rip send version Use this command to specify a RIP version to send on an interface basis. Use the no ... vlan100 Switch(config-if)# ip rip send version 2 Switch(config-if)# end Verify the settings by entering the show ip rip interface command. CLI Reference Guide 307
  • Page 318
    DGS-6604 ip rip v2-broadcast ip rip v2-broadcast Use this command to allow Routing Information Protocol (RIP) Version 2 update packets to be ... 2 Switch(config-if)# ip rip v2-broadcast Switch(config-if)# end Verify the settings by entering the show ip rip interface command. CLI Reference Guide 308
  • Page 319
    DGS-6604 ip route ip route Use ip route to add a static route entry. Use the no form of the command to remove a static route ... route entry with next-hop 10.1.1.254: Switch(config)# ip route 0.0.0.0/0 10.1.1.254 Verify the settings by entering the show ip route command. CLI Reference Guide 309
  • Page 320
    DGS-6604 ip route multi-path ip route multi-path Use ip route multi-path to enable multiple paths for same route. Use the no ... how to disable multiple paths function. Switch(config)# no ip route multi-path Verify the settings by entering the show ip route summary command. CLI Reference Guide 310
  • Page 321
    DGS-6604 ip ssh ip ssh Use this command to configure Secure Shell (SSH) ... are numbered between 1 and 65535. authenticationretries NUMBER service-port TCP-PORT Default Initial SSH service... attempts equals the maximum number of authentication attempts (retries) allowable . CLI Reference Guide 311
  • Page 322
    DGS-6604 ip ssh Examples This example shows how to enable the SSH service. Switch# configure... ssh authentication-retries 2 This example shows how to change the service-port to 3000. The SSH client must connect... 3000 Verify the settings by entering the show ip ssh command. CLI Reference Guide 312
  • Page 323
    DGS-6604 ip telnet server ip telnet server Use this command to enable the TELNET server function. Use the no form of the command to ... to enable telnet server function. Switch(config)# ip telnet server Verify the settings by entering the show system protocol-state command. CLI Reference Guide 313
  • Page 324
    DGS-6604 ip telnet service-port ip telnet service-port Use this ...connection requests in the default configuration. This example shows how to change the service port to 3000. Default Command Mode Usage... Verify the settings by entering the show system protocol-state command. CLI Reference Guide 314
  • Page 325
    DGS-6604 ip trusted-host ip trusted-host Use this command to create the trusted host entries on the switch. Use the no ip trusted-host command to remove...trusted host with IP address 163.10.50.126 to snmp access interface. Switch(config)# ip trusted-host 163.10.50.126 snmp CLI Reference Guide 315
  • Page 326
    DGS-6604 ip trusted-host This example shows how to remove the trusted host with IP address 163.10.50.126 for all access interfaces. Switch(config)# no ip trusted-host 163.10.50.126 You can verify your settings by entering the show ip trusted-host command. CLI Reference Guide 316
  • Page 327
    DGS-6604 ipv6 access-group ipv6 access-group Use the ipv6 access-group command to specify the IPv6 access-list to be applied to an ...entry or port operator is insufficient, an error message will display when the access-group is applied. Default Command Mode Usage Guideline CLI Reference Guide 317
  • Page 328
    DGS-6604 ipv6 access-group Example This example shows how to specify the IPv6 access-list ip6-control as an IPv6 access group for eth3.3 ...(config)# interface eth3.3 Switch(config-if)#ipv6 access-group ip6-control in Verify the settings by entering show access-group. CLI Reference Guide 318
  • Page 329
    DGS-6604 ipv6 access-list ipv6 access-list Use this command to create or ...are case sensitive. The maximum number of IPv6 access-list supported by the system is project dependent. An error message will ...-ext-acl)# Verify the settings by entering the show access-list command. CLI Reference Guide 319
  • Page 330
    DGS-6604 ipv6 address ipv6 address This command is used to assign the IPv6 address to an interface of the switch. The no form of this command deletes the... (config-if) # ipv6 address 3ffe:501:ffff:0:a01:2ff:fe39:1/64 (config-if) # Example Switch Switch Switch Switch Switch CLI Reference Guide 320
  • Page 331
    DGS-6604 ipv6 address ipv6 address This command is used to add or delete an IPv6 address to an interface. The address is configured using an IPv6 ...), and then applied using the prefix-name argument. The subprefix bits and host bits are defined using the sub-bits argument. CLI Reference Guide 321
  • Page 332
    DGS-6604 ipv6 address Examples The following example shows how to enable IPv6 processing on ...64 will be immediately set. The following example shows how to manually remove a global address from the configuration: Switch ... 3ffe:22:22:22::2/64 will be immediately removed. CLI Reference Guide 322
  • Page 333
    DGS-6604 ipv6 address (management port) ipv6 address (management port) Use this command to set the IPv6 address of the Management Port. Use... Guideline Example Switch(mgmt-if)# Switch(mgmt-if)#ipv6 address 2000::1/64 Verify the settings by entering the show mgmt-if command CLI Reference Guide 323
  • Page 334
    DGS-6604 ipv6 default-gateway (management port) ipv6 default-gateway (management port) Use this command to set the IPv6 address of the ...Guideline Example Switch(mgmt-if)#ipv6 default-gateway 2000::2 Switch(mgmt-if)# Verify the settings by entering the show mgmt-if command CLI Reference Guide 324
  • Page 335
    DGS-6604 ipv6 dhcp client information refresh minimum ipv6 dhcp client information ... event nears. • Limit the amount of time before new services or servers are available to the client, such as the addition of ... information refresh minimum 7200 Switch Switch Switch Switch CLI Reference Guide 325
  • Page 336
    DGS-6604 ipv6 dhcp client pd ipv6 dhcp client pd This command enables a specified IPv6 interface's DHCP client process and it enables the .... The DHCP for IPv6 client, server, and relay functions are mutually exclusive on an interface. 326 Default Command Mode Usage Guideline CLI Reference Guide
  • Page 337
    DGS-6604 ipv6 dhcp client pd Examples The following example enables prefix delegation, where dhcp-prefix is the genenal prefix name configured by ipv6 address command....) # ipv6 dhcp client pd hint 2001:0DB8:1::/48 (config-if) # ipv6 dhcp client pd dhcp-prefix rapid-commit CLI Reference Guide 327
  • Page 338
    DGS-6604 ipv6 dhcp relay destination ipv6 dhcp relay destination These commands are...forwarded and it enables DHCP for IPv6 relay service on the interface. When relay service is enabled on an interface, a DHCP for ...it sets the hop limit field in the IPv6 packet header to 32. CLI Reference Guide 328
  • Page 339
    DGS-6604 ipv6 dhcp relay destination Unspecified, loopback and node-local multicast .... If all relay destinations are removed, the relay service is disabled on the interface. DHCP for the IPv6 client, server, and...# interface vlan1 (config-if) # no ipv6 dhcp relay destination CLI Reference Guide 329
  • Page 340
    DGS-6604 ipv6 enable ipv6 enable This command is used to enable and disable the IPv6 protocol on an interface of the switch. The no form of ... # configure terminal (config) # interface vlan1 (config-if) # ipv6 enable (config-if) # Example Switch Switch Switch Switch Switch CLI Reference Guide 330
  • Page 341
    DGS-6604 ipv6 hop-limit ipv6 hop-limit This command is used to configure the IPv6 hop limit setting for an interface of this switch. The no form ...(config-if) # ipv6 hop-limit 255 (config-if) # Default Command Mode Usage Guideline Example Switch Switch Switch Switch Switch CLI Reference Guide 331
  • Page 342
    DGS-6604 ipv6 nd managed-config-flag ipv6 nd managed-config-flag This command is used to turn on the IPv6 RA (router advertisement) management ... flag setting: > enable # configure terminal (config) # interface vlan1 (config-if) # ipv6 nd managed-config-flag (config-if) # CLI Reference Guide 332
  • Page 343
    DGS-6604 ipv6 nd other-config-flag ipv6 nd other-config-flag This command is used to turn on the IPv6 RA (router advertisement) other ... configure flag incidence: > enable # configure terminal (config) # interface vlan1 (config-if) # ipv6 nd other-config-flag (config-if) # CLI Reference Guide 333
  • Page 344
    DGS-6604 ipv6 nd prefix ipv6 nd prefix This command is used to add or modify IPv6 prefix information to RA (router advertisement) for an interface of this ... terminal (config) # interface vlan1 (config-if) # ipv6 nd prefix 3ffe:501:ffff:100::/64 30000 20000 (config-if) # CLI Reference Guide 334
  • Page 345
    DGS-6604 ipv6 nd ra-interval ipv6 nd ra-interval This command is used to configure the IPv6 RA (router advertisement) interval timer for an interface of ...: > enable # configure terminal (config) # interface vlan1 (config-if) # ipv6 nd ra-interval 1500 1000 (config-if) # CLI Reference Guide 335
  • Page 346
    DGS-6604 ipv6 nd ra-lifetime ipv6 nd ra-lifetime This command is used to configure the IPv6 RA (router advertisement) lifetime on an interface of ...-if) # ipv6 nd ra-lifetime 9000 (config-if) # Default Command Mode Usage Guideline Example Switch Switch Switch Switch Switch CLI Reference Guide 336
  • Page 347
    DGS-6604 ipv6 nd reachable-time ipv6 nd reachable-time This command is used to configure IPv6 RA (router advertisement) reachable time on an ...) # ipv6 nd reachable time 3600000 (config-if) # Default Command Mode Usage Guideline Example Switch Switch Switch Switch Switch CLI Reference Guide 337
  • Page 348
    DGS-6604 ipv6 nd retrans-timer ipv6 nd retrans-timer This command is used to configure IPv6 RA (router advertisement) retrans timer per ...-if) # ipv6 nd retrans-timer 4294967295 (config-if) # Default Command Mode Usage Guideline Example Switch Switch Switch Switch Switch CLI Reference Guide 338
  • Page 349
    DGS-6604 ipv6 nd suppress-ra ipv6 nd suppress-ra This command is used to suppress IPv6 RA (router advertisement) on an interface of this switch. Use... shows how to suppress IPv6 RA's: > enable # configure terminal (config) # interface vlan1 (config-if) # ipv6 nd suppress-ra CLI Reference Guide 339
  • Page 350
    DGS-6604 ipv6 neighbor ipv6 neighbor This command is used to add a static ipv6 neighbor entry. The no form of this command deletes the IPv6 neighbor entry. ...fe80::1 vlan1 00-01-80-11-22-99 (config) # Default Command Mode Usage Guideline Example Switch Switch Switch Switch CLI Reference Guide 340
  • Page 351
    DGS-6604 ipv6 ospf cost ipv6 ospf cost To explicitly specify the cost of sending a packet... configuration To modify the cost from the default value, set the metric manually using the ipv6 ospf cost command. Using the ... (config)# interface vlan1 (config-if)# ipv6 ospf cost 65 CLI Reference Guide 341
  • Page 352
    DGS-6604 ipv6 ospf dead-interval ipv6 ospf dead-interval To set the time period used, during which hello packets are not detected, before neighbors...dead interval to 60 seconds. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 ospf dead-interval 60 CLI Reference Guide 342
  • Page 353
    DGS-6604 ipv6 ospf hello-interval ipv6 ospf hello-interval To specify the interval between hello packets sent from an interface, use the ipv6 ospf... Switch Switch Switch Switch > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 ospf hello-interval 15 CLI Reference Guide 343
  • Page 354
    DGS-6604 ipv6 ospf priority ipv6 ospf priority To set the router priority, which helps determine the designated router for this network, use the ipv6 ... the router priority value to 4. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 ospf priority 4 CLI Reference Guide 344
  • Page 355
    DGS-6604 ipv6 ospf retransmit-interval ipv6 ospf retransmit-interval This command specifies the time between link-state advertisement (LSA) retransmissions ...Switch Switch > enable # configure terminal (config) # interface vlan1 (config-if)# ipv6 ospf retransmit-interval 6 CLI Reference Guide 345
  • Page 356
    DGS-6604 ipv6 ospf shutdown ipv6 ospf shutdown To initiate an IPv6 OSPF protocol graceful shutdown at the interface level, use the ipv6 ospf shutdown ... # configure terminal (config) # router ipv6 ospf (config-router)# ipv6 ospf shutdown vlan1 Switch Switch Switch Switch CLI Reference Guide 346
  • Page 357
    DGS-6604 ipv6 ospf transmit delay ipv6 ospf transmit delay To set the estimated time required to send a link-state update packet on the interface, ... delay value to 3 seconds. > enable # configure terminal (config) # interface vlan1 (config-if)# ipv6 ospf transmit-delay 3 CLI Reference Guide 347
  • Page 358
    DGS-6604 ipv6 rip metric-offset ipv6 rip metric-offset To set the IPv6 RIP metric for an interface, use the ipv6 rip metric-offset command. ...process. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 rip metric-offset 10 Switch Switch Switch Switch CLI Reference Guide 348
  • Page 359
    DGS-6604 ipv6 rip split-horizon ipv6 rip split-horizon To enable IPv6 RIP split-horizon mechanism, use the ipv6 rip split-horizon command. To ... process. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 rip split-horizon Switch Switch Switch Switch CLI Reference Guide 349
  • Page 360
    DGS-6604 ipv6 rip split-horizon poisoned ipv6 rip split-horizon poisoned To configure the poison reverse processing of IPv6 RIP router updates, ... enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 rip split-horizon poisoned Switch Switch Switch Switch CLI Reference Guide 350
  • Page 361
    DGS-6604 ipv6 ospf mtu-ignore ipv6 ospf mtu-ignore To disable IPv6 Open Shortest Path First (OSPF) maximum transmission unit (MTU) mismatch ...)# interface vlan1 (config-if)# ipv6 ospf mtu-ignore Default Command Mode Usage Guideline Example Switch Switch Switch Switch CLI Reference Guide 351
  • Page 362
    DGS-6604 ipv6 route ipv6 route Use ipv6 route to add an IPv6 static route... DISTANCE Interface number. For more information about the numbering syntax for supported interface types, use the question mark (?) .... Default Command Mode Usage Guideline: Configuring Default Route CLI Reference Guide 352
  • Page 363
    DGS-6604 ipv6 route Practical Usage Operators may prefer to specify a default path for the managed devices. By specifying a default gateway, traffic ... mode. To remove a previously configured static route, use the no form of this command. No static routes are configured. CLI Reference Guide 353
  • Page 364
    DGS-6604 ipv6 route Practical Usage Operators may prefer to specify the forwarding path of certain traffic. By doing this, the traffic of certain applications ... enable Switch # configure terminal Switch (config) # ipv6 route 2001:0DB8::/32 vlan 1 fe80::0200:00ff:fe00:a0a0 CLI Reference Guide 354
  • Page 365
    DGS-6604 ipv6 route Then we can use the show command to check whether the configured static route works or not. Switch > ...priority routes will be backup. The following lists the default priority of available kinds of routes in the system. • LOCAL INTERFACE 0 • STATIC 1 CLI Reference Guide 355
  • Page 366
    DGS-6604 ipv6 route RIP 120 RIPNG 120 OSPF 110 OSPF6 110 EBGP 20 IBGP 200 ISIS 115 Examples Assume that a routing protocol originates the same... Switch > enable Switch # configure terminal Switch (config) # no ipv6 route 2001:0DB8::/32 vlan 1 fe80::0200:00ff:fe00:a0a0 CLI Reference Guide 356
  • Page 367
    DGS-6604 ipv6 router ospf area ipv6 router ospf area To enable IPv6 OSPF on an interface, use the ipv6 router ospf area command. To disable ... OSPF on an interface. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 router ospf area 0 instance-id 2 CLI Reference Guide 357
  • Page 368
    DGS-6604 ipv6 router rip ipv6 router rip To enable the IPv6 RIP routing process on an interface, use the ipv6 router rip command. To disable ... VLAN 1. > enable # configure terminal (config)# interface vlan1 (config-if)# ipv6 router rip Example Switch Switch Switch Switch CLI Reference Guide 358
  • Page 369
    DGS-6604 m key key K Use the key command to identify a key on a key chain used for routing protocol authentication. Use the no key command to remove the ... chosen. To remove all keys, remove the key chain with the no key chain command. Default Command Mode Usage Guideline CLI Reference Guide 359
  • Page 370
    DGS-6604 m key Example The following example configures a key chain named chain1. Key1 named "forkey1string" will be accepted from 1:30 p.m. to 3:...:00 Jan 25 2009 duration 3600 Switch(config-keychain-key)# exit To verify the settings, enter the show ip key-chain command. CLI Reference Guide 360
  • Page 371
    DGS-6604 m key chain key chain To manage authentication keys, define a key chain, identify the keys that belong to the key chain, and specify how... first be created. It is recommended that only one key chain be configured per interface. Default Command Mode Usage Guideline CLI Reference Guide 361
  • Page 372
    DGS-6604 m key chain Example The following example configures a key chain named chain1. Key1 named "forkey1string" will be accepted from 1:30 p.m. to ...00 Jan 25 2009 duration 3600 Switch(config-keychain-key)# end To verify the settings, use the show ip key-chain command. CLI Reference Guide 362
  • Page 373
    DGS-6604 m key-string key-string Use the key-string command ito specify the authentication string for a key. Use the no key-string command to ... (RIP) Version 2 uses key chains for authentication. Each key can have only one key string. Default Command Mode Usage Guideline CLI Reference Guide 363
  • Page 374
    DGS-6604 m key-string Example The following example configures a key chain named chain1. Key1 named forkey1string will be accepted from 1:30 p.m. to... Jan 25 2009 duration 3600 Switch(config-keychain-key)# end Verify the settings by entering the show ip key-chain command. CLI Reference Guide 364
  • Page 375
    DGS-6604 m lacp port-priority lacp port-priority L Use the lacp port-priority command to configure the port priority. Use the no form ...(config)# interface range eth3.4-3.5 Switch(config-if)# lacp port-priority 20000 Verify the settings with the show channel-group command. CLI Reference Guide 365
  • Page 376
    DGS-6604 m lacp system-priority lacp system-priority Use the lacp system-priority command to configure the system priority used for LACP ports... the system priority to 30000. Switch(config)# lacp system-priority 30000 Verify the settings with the show channel-group command CLI Reference Guide 366
  • Page 377
    DGS-6604 m lease lease Use this command to configure the lease duration of an IP address that is assigned from a DHCP server to a client. Use the no form ... pool "pool1", to 1 hour. switch# configure terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# lease 0 1 CLI Reference Guide 367
  • Page 378
    DGS-6604 m lldp dot1-tlv-select lldp dot1-tlv-select To specify which optional type-length-value settings (TLVs) in the IEEE 802.1 Organizationally ..., if no VLAN-ID is specified, all configured VLANS for VLAN NAME TLV will be cleared and no VLAN Name TLV will be sent. CLI Reference Guide 368
  • Page 379
    DGS-6604 m lldp dot1-tlv-select Syntax Description protocol-identify Specify the Protocol Identify TLV to send. The Protocol Identify TLV is ...-select port-vlan This example shows how to enable advertising Port And Protocol VLAN ID TLV, the advertised VLAN includes 1 to 3. CLI Reference Guide 369
  • Page 380
    DGS-6604 m lldp dot1-tlv-select Switch(config-if)# lldp dot1-tlv-select protocol-vlan 1-3 The following example disabling Port And Protocol Vlan ID... how to disable LACP Protocol Identify TLV advertisement: Switch(config-if)# no lldp dot1-tlv-select protocol-identity lacp CLI Reference Guide 370
  • Page 381
    DGS-6604 m lldp dot3-tlv-select lldp dot3-tlv-select To specify which optional type-length-... MAC and PHY. When no optional keyword is selected, all supported IEEE 802.3 Organizationally Specific TLVs are selected or de-selected in no form of this command. max-frame-size CLI Reference Guide 371
  • Page 382
    DGS-6604 m lldp dot3-tlv-select Default Command Mode Usage Guideline No IEEE 802.3 Organizationally Specific TLV is selected. Interface configuration. The lldp... disable advertising MAC/PHY Configuration/Status TLV: Switch (config-if) # no lldp dot3-tlv-select mac-phy-cfg CLI Reference Guide 372
  • Page 383
    DGS-6604 m lldp fast-count lldp fast-count To set the LLDP-MED fast start repeat count on the switch, use the lldp fastcount command. Use the no... how to set LLDP MED fast start repeat count: Default Command Mode Usage Guideline Example Switch(config)# lldp fast-count 10 CLI Reference Guide 373
  • Page 384
    DGS-6604 m lldp hold-multiplier lldp hold-multiplier To set the hold multiplier for LLDP updates on the switch, use the lldp holdmultiplier command. ...-multiplier 3 This example shows how to set LLDP hold-multiplier to default value. Switch(config)# no lldp hold-multiplier CLI Reference Guide 374
  • Page 385
    DGS-6604 m lldp management-address lldp management-address To configure management address which will be advertised on the physical interface, use the ... management-address 10.1.1.1 This example shows how to enable eth3.3 and eth3.4 for set management address entry (ipv6) CLI Reference Guide 375
  • Page 386
    DGS-6604 m lldp management-address Switch(config)# interface range eth3.3-3.4 Switch(config-if-range)# lldp management-address FE80::250:A2FF:FEBF:A056 This ... TLV will be sent on eth3.5. Switch(config)# interface eth3.5 Switch(config-if-range)# no lldp management-address CLI Reference Guide 376
  • Page 387
    DGS-6604 m lldp med-tlv-select lldp med-tlv-select H To specify which optional LLDP-... device or PD device. When no optional keyword is selected, all supported optional LLDP-MED TLVs are selected or de-selected ... to send LLDP-MED packets until it only receives LLDP packets. CLI Reference Guide 377
  • Page 388
    DGS-6604 m lldp med-tlv-select Example This example shows how to enable all TLVs: Switch(config-if)# lldp med-tlv-select This example shows ... shows how to enable transmitting LLDP MED Inventory Management TLV: Switch(config-if)# lldp med-tlv-select inventory-management CLI Reference Guide 378
  • Page 389
    DGS-6604 m lldp receive lldp receive To enable a physical interface to receive LLDP message, ... has no arguments or keywords. LLDP is enabled on all supported interfaces. Interface Configuration mode This command is ...receive LLDP message. Switch(config-if)# no lldp receive CLI Reference Guide 379
  • Page 390
    DGS-6604 m lldp reinit lldp reinit To set the minimum time of re-initialization delay interval on the switch, use the lldp reinit command. Use the no ... lldp reinit 5 This example shows how to set the re-init delay interval to default value. Switch(config)# no lldp reinit CLI Reference Guide 380
  • Page 391
    DGS-6604 m lldp run lldp run I To enable Link Layer Discovery Protocol (LLDP) globally, use the lldp run command in global configuration mode. Use...globally enable LLDP: Switch(config)# lldp run This example shows how to globally disable LLDP. Switch(config)# no lldp run CLI Reference Guide 381
  • Page 392
    DGS-6604 m lldp tlv-select lldp tlv-select To select optional type-length-value (TLVs...and sent to other devices. This example shows how to enable all supported optional 802.1AB basic management TLVs: Examples Switch...Name TLV: Switch(config-if)# lldp tlv-select system-name CLI Reference Guide 382
  • Page 393
    DGS-6604 m lldp tlv-select This example shows how to disable advertising System Name TLV: Switch(config-if)# no lldp tlv-select system-name CLI Reference Guide 383
  • Page 394
    DGS-6604 m lldp transmit lldp transmit To enable the LLDP advertise (transmit) capability, use... arguments or keywords. LLDP transmit is enabled on all supported interfaces. Interface Configuration mode This command is ... LLDP transmission. Switch(config-if)# no lldp transmit CLI Reference Guide 384
  • Page 395
    DGS-6604 m lldp tx-delay lldp tx-delay To set the transmission delay timer use the lldp tx-delay command. This delay timer defines the minimum ... lldp tx-delay 8 The following example configures the transmission delay timer to default value. Switch(config)# no lldp tx-delay CLI Reference Guide 385
  • Page 396
    DGS-6604 m lldp tx-interval lldp tx-interval To set the LLDPDUs transmission interval on the switch, use the lldp tx-interval command. Use the no ... tx-interval 50 This example shows how to set LLDP transmission interval to default value: Switch(config)# no lldp tx-interval CLI Reference Guide 386
  • Page 397
    DGS-6604 m logging file logging file Use the logging file command to enable the storage of log messages to FLASH memory from the logging buffer. ... example below sets log messages to be saved to flash. Switch> enable Switch# configure terminal Switch(config)# logging file CLI Reference Guide 387
  • Page 398
    DGS-6604 m logging host logging host Use the logging host command to log system messages to a ... as the syslog server. IPv4 and IPv6 address are supported. (Optional) The UDP port number to be used for the ... 7 Default IP-ADDRESS: None UDP port: 514. severity: informational CLI Reference Guide 388
  • Page 399
    DGS-6604 m logging host facility: local7 Command Mode Usage Guideline Global configuration The number of supporting SYSLOG servers is project dependent. When the number of ...20.3.3.3 severity critical Verify the settings with the show logging host command. CLI Reference Guide 389
  • Page 400
    DGS-6604 m logging level logging level Use this command to limit messages logged to the message buffer based on severity level. logging ...switch> enable switch# configure terminal Switch(config)# logging level all 1 Verify the settings by entering the show logging command. CLI Reference Guide 390
  • Page 401
    DGS-6604 m logging on logging on Use the logging on command to start logging system messages on this switch. Use the no form of this ... below commands. Switch> enable switch# configure terminal Switch(config)# logging on Verify the settings with the show logging command. CLI Reference Guide 391
  • Page 402
    DGS-6604 m login login Use this command to login to the switch with a specified username. login Syntax .... User Access Verification Username: user1 Password: DGS-6604 Chassis-based High-Speed Switch ....029 Copyright (c) 2011 D-Link Corporation. All rights reserved. Switch# CLI Reference Guide 392
  • Page 403
    DGS-6604 m logout logout Use this command to close an active terminal session by logging off the switch. logout Syntax Default Command Mode ... an active terminal session by logging off the device using the logout command. This example shows how to logout from the switch. CLI Reference Guide 393
  • Page 404
    DGS-6604 m loopback-detection (interface) loopback-detection (interface) Use the command to enable ..." global configuration command. Alternatively, the user can manually re-enable the port by entering the "shutdown" ... Switch(config-if)# loopback-detection Switch(config-if)# CLI Reference Guide 394
  • Page 405
    DGS-6604 m loopback-detection (interface) You can verify your settings by entering the show loopback-detection command. CLI Reference Guide 395
  • Page 406
    DGS-6604 m loopback-detection (global) loopback-detection (global) Use the command to enable ..." global configuration command. Alternatively, the user can manually re-enable the port by entering the "shutdown" ... your settings by entering the show loopback-detection command. CLI Reference Guide 396
  • Page 407
    DGS-6604 m loopback-detection mode loopback-detection mode Use the command to decide the loopback detection mode. To return to the default ...)# loopback-detection mode vlan-based Switch(config)# You can verify your settings by entering the show loopback-detection command. CLI Reference Guide 397
  • Page 408
    DGS-6604 m loopback-detection interval-time loopback-detection interval-time Use the command to configure timer interval. Use no command to ...)# loopback-detection interval-time 20 Switch(config)# You can verify your settings by entering the show loopback-detection command. CLI Reference Guide 398
  • Page 409
    DGS-6604 m mac access-group mac access-group M Use the mac access-group command to specify a MAC access list to be applied to an... Switch(config)# interface eth3.1 Switch(config-if)# mac access-group daily-profile in Verify the settings with the show access-group command. CLI Reference Guide 399
  • Page 410
    DGS-6604 m mac access-list mac access-list Use the mac access-list command to create a MAC access list in the configuration. Enter this...-list extended daily-profile Switch(config-mac-ext-acl)# Verify the access list configuration settings with the show access-list command. CLI Reference Guide 400
  • Page 411
    DGS-6604 m mac address-table aging destination-hit mac address-table aging destination-hit Use the MAC address-table aging destination-hit ...)# mac address-table aging destination-hit Verify the setting by entering the show mac address-table aging destinationhit command. CLI Reference Guide 401
  • Page 412
    DGS-6604 m mac address-table aging-time mac address-table aging-time Use this command to set the length of time that a dynamic entry ... Example Switch(config)# mac address-table aging-time 200 Verify the setting by entering the show mac address-table aging-time command. CLI Reference Guide 402
  • Page 413
    DGS-6604 m mac address-table static mac address-table static Use the mac address-table static command to add a static address to the MAC ... mac address-table static C2:F3:22:0A:12:F4 vlan 4 interface eth3.1 Verify the setting by entering the show mac address-table command. CLI Reference Guide 403
  • Page 414
    DGS-6604 m mac-base ( VLAN ) mac-base ( VLAN ) Use the mac-base command to create a MAC-based VLAN ID assignment entry. Use the no form of ...)#vlan 101 Switch(config-vlan)#mac-base 00-80-cc-00-00-11 Switch(config-vlan)#exit Verify the settings with the show vlan command. CLI Reference Guide 404
  • Page 415
    ...criterion. See the "Usage Guidelines" for a list of protocols supported by most routers. VLAN identification number,... is defined by the user through the setting of Quality of Service (QoS) policies in the policy-map class ... a specific DSCP 405 Default Command Mode Usage Guideline CLI Reference Guide...
  • Page 416
    DGS-6604 m match value from a class map, use the no form of this command. As an example for... rip rtsp The following table lists the reference for the supported protocols. Description IP Address Resolution ...Ethernet Routing Information Protocol Real-Time Streaming Protocol CLI Reference Guide 406
  • Page 417
    DGS-6604 m match Protocol ssh telnet tftp Description Secured shell Telnet Trivial File Transfer Protocol Examples The following example specifies a class map ...)# class-map class-home-user Switch(config-cmap)# match access-list acl-home-user Switch(config-cmap)# exit CLI Reference Guide 407
  • Page 418
    DGS-6604 m match In the following example, classes called voice and video-n-data are... class voice and video-n-data respectively). The service policy configured in this example is attached to Ethernet interface...exit Verify the settings by entering the show class-map command. CLI Reference Guide 408
  • Page 419
    DGS-6604 m match as-path match as-path Use this command to match a BGP autonomous system path access list. To delete an entry, use the no form... route-map myPolicy permit 1 Switch(config-route-map)# match as-path PATH_ACL Verify the settings with the show route-map command. CLI Reference Guide 409
  • Page 420
    DGS-6604 m match community match community Use the match community command to match a Border Gateway Protocol (BGP) community. Use the no ...)# match community ALPHA-COMMUNITY exact Switch(config-route-map)# set weight 100 Verify the settings with the show route-map command CLI Reference Guide 410
  • Page 421
    DGS-6604 m match ip address match ip address Use this command to define a clause to match the route based on IP standard access list. match ip ... permit 1 Switch(config-route-map)# match ip address myacl You can verify your settings by entering the show route map command. CLI Reference Guide 411
  • Page 422
    DGS-6604 m match ipv6 address match ipv6 address Use this command to define a clause to match the route based on IPv6 access list. match ... permit 1 Switch(config-route-map)# match ipv6 address aclv6cfg You can verify your settings by entering the show route map command. CLI Reference Guide 412
  • Page 423
    DGS-6604 m maximum-paths maximum-paths To control the maximum number of parallel routes that an IP routing protocol can support, use the maximum-paths command in router configuration mode. ... 8 Verify the settings by entering the show ip route summary command. CLI Reference Guide 413
  • Page 424
    DGS-6604 m max-rcv-frame-size max-rcv-frame-size Use the command to set the maximum Ethernet frame size allowed. Use the default form to... eth4.1 Switch(config-if)# default max-rcv-frame-size Switch(config-if)# end Verify the settings by entering the show interface command. CLI Reference Guide 414
  • Page 425
    DGS-6604 m mgmt-if mgmt-if Use this command to enter into the management interface mode. Commands entered in this mode will be applied to the ...enter the management interface mode. Switch(config)# mgmt-if Switch(mgmt-if)# Verify the settings using the show mgmt-if command. CLI Reference Guide 415
  • Page 426
    DGS-6604 m monitor session monitor session Use monitor session to create a port mirroring session, allowing source ports as mirrored ports to be ... destination port, all the layer 2 settings configured for this port are all ineffective. Default Command Mode Usage Guideline CLI Reference Guide 416
  • Page 427
    DGS-6604 m monitor session • IEEE 802.1x authentication on a port cannot be enabled for a destination port, but is allowed on the source...monitor session 1 source interface eth3.2,eth3.4 Switch(config)# end Verify the settings by entering the show monitor session command. CLI Reference Guide 417
  • Page 428
    DGS-6604 m monitor session destination remote vlan monitor session destination remote vlan Use the command to configure the RSPAN VLAN and ... the RSPAN VLAN with destination interface eth3.6 and three source ports (eth 2.2, eth 2.3 and eth 2.4) as the port being monitored: CLI Reference Guide 418
  • Page 429
    DGS-6604 m Switch# configure terminal Switch(config)# vlan 100 Switch(config-vlan)# remote-span Switch(config-vlan)#exit Switch(config)# monitor ... remote vlan 100 interface eth3.6 Switch(config)# You can verify your settings by entering the show monitor session command. CLI Reference Guide 419
  • Page 430
    DGS-6604 m monitor session source interface monitor session source interface Use monitor session source interface to configure the source port of a port ... port 2.1 as a destination port and three source physical ports (eth 2.2, eth 2.3 and eth 2.4) as monitor source ports. CLI Reference Guide 420
  • Page 431
    DGS-6604 m monitor session source interface Switch# configure terminal Switch(config)# monitor session 1 destination interface eth2.1 Switch(config)# ... source interface eth2.2,eth2.4 Switch(config)# You can verify your settings by entering the show monitor session command. CLI Reference Guide 421
  • Page 432
    DGS-6604 m monitor session source remote vlan monitor session source remote vlan Use the command to configure the RSPAN VLAN for a RSPAN .... It also assigns VLAN 100 as the RSPAN VLAN. The monitored packets arrive at port eth2.1 and will be transmitted out from port eth1.4. CLI Reference Guide 422
  • Page 433
    DGS-6604 m monitor session source remote vlan Switch# configure terminal Switch(config)# vlan 100 Switch(config-vlan)# remote-span Switch(...(config)# monitor session 2 source remote vlan 100 Switch(config)# monitor session 2 destination interface eth2.4 Switch(config)# CLI Reference Guide 423
  • Page 434
    DGS-6604 m mtu mtu Use the command to set the MTU value. This value is used to ... the check is done in egress ports. This is especially important to support IPv6 because an IPv6 router should send out...config-if)# end Verify the settings by entering the show interface command CLI Reference Guide 424
  • Page 435
    DGS-6604 m multicast filtering-mode multicast filtering-mode Use the multicast filtering mode... Interface configuration Only VLAN interfaces support this command. This example shows how to set the multicast ... the setting by entering the show multicast filtering-mode command. CLI Reference Guide 425
  • Page 436
    DGS-6604 m name name N Use the name command to set the name of an MST region. To return to the default name, use the no form of...spanning-tree mst configuration Switch(config-mst)# name alpha Verify the settings by entering the show spanning-tree mst configuration command. CLI Reference Guide 426
  • Page 437
    DGS-6604 m neighbor neighbor Use the neighbor command to define a neighboring router with which to exchange routing information. Use the no form to remove ... vlan1 Switch(config-router)# neighbor 10.50.71.50 Verify the settings by entering the show ip protocols rip command CLI Reference Guide 427
  • Page 438
    DGS-6604 m neighbor (RIP IPv6) neighbor (RIP IPv6) To define a neighboring router with which to exchange routing information, use the neighbor command... ipv6 rip Switch(config-router)# neighbor fe80::1 vlan1 Verify the settings by entering the show ipv6 rip database command CLI Reference Guide 428
  • Page 439
    DGS-6604 m neighbor advertisement-interval neighbor advertisement-interval Use this command to set the minimum interval between each transmission of Border ...-af)# neighbor 10.4.4.4 advertisement-interval 15 Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 429
  • Page 440
    DGS-6604 m neighbor description neighbor description Use this command to associate a text description with a neighbor. Use the no form of the command ...-router)# neighbor 172.16.10.10 description ABC in China Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 430
  • Page 441
    DGS-6604 m neighbor filter-list neighbor filter-list Use this command to create a BGP filter. Use the no form of the command to disable this ...)# neighbor 172.16.1.1 filter-list myacl out Verify the settings, in User Exec Mode, by entering the show ip protocols bgp command. CLI Reference Guide 431
  • Page 442
    DGS-6604 m neighbor peer-group (create group) neighbor peer-group (create group) Use this command to create a peer group. Use the no form of ... to create a peer group named ALPHA-GROUP Switch(config)# router bgp 65100 Switch(config-router)# neighbor ALPHA-GROUP peer-group CLI Reference Guide 432
  • Page 443
    DGS-6604 m neighbor peer-group (add group member) neighbor peer-group (add group member) Use this command to add a neighbor into a peer group. ...)# neighbor 10.1.1.254 peer-group ALPHA-GROUP Verify the settings by entering the show ip bgp neighbor command in User EXEC mode. CLI Reference Guide 433
  • Page 444
    DGS-6604 m neighbor remote-as neighbor remote-as Use this command to add an entry to the Border Gateway Protocol (BGP) neighbor table. Use the no form...Switch(config-router)# neighbor 10.108.2.1 remote-as 110 Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 434
  • Page 445
    DGS-6604 m neighbor route-map neighbor route-map Use this command to apply a route map to incoming or outgoing routes. Use the no form...-map)#set origin incomplete Swtich(config-route-map)#end Switch(config)# Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 435
  • Page 446
    DGS-6604 m neighbor send-community neighbor send-community Use this command to specify that the communities attribute should be sent to a BGP ... Switch(config-router-af)# neighbor 10.4.4.4 send-community both Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 436
  • Page 447
    DGS-6604 m neighbor shutdown neighbor shutdown Use this command to disable a neighbor or peer group. Use the no form of this command to re-enable ... 65100 Switch(config-router)# neighbor 172.16.10.10 shutdown Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 437
  • Page 448
    DGS-6604 m neighbor timers neighbor timers Use this command to set the timers for a specific BGP peer or peer group. Use the no form of this command...Switch(config-router)# neighbor 172.16.10.10 timer 120 360 Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 438
  • Page 449
    DGS-6604 m neighbor update-source neighbor update-source Use this command to allow internal BGP sessions to use any operational interface for TCP ...(config-router)# neighbor 172.16.10.10 update-source vlan1 Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 439
  • Page 450
    DGS-6604 m neighbor weight neighbor weight Use this command to specify the weight associated with a specific neighbor. To remove a weight assignment,... Switch(config-router-af)# neighbor 10.4.4.4 weight 10000 Verify the settings by entering the show ip bgp neighbor command. CLI Reference Guide 440
  • Page 451
    DGS-6604 m netbios node-type netbios node-type This command is used to configure the NetBIOS ... broadcasts. Resolution through LMHOSTS and/or Domain Name Service (DNS), if enabled, will follow these methods. Example... pool pool1 switch(config-dhcp)# netbios node-type h-node CLI Reference Guide 441
  • Page 452
    DGS-6604 m netbios scope-id netbios scope-id This command configures the NetBIOS scope id for Microsoft Dynamic Host Configuration Protocol (DHCP) clients....#configure terminal switch(config)#ip dhcp pool pool1 switch(config-dhcp)#netbios scope-id alpha switch(config-dhcp)# CLI Reference Guide 442
  • Page 453
    DGS-6604 m netbios wins-server netbios wins-server To configure the IP address of a WINS server for Microsoft Dynamic Host Configuration Protocol (DHCP) ... 10.1.1.100 so that 10.1.1.200 becomes the primary WINS server. switch(config-dhcp)#no netbios wins-server 10.1.1.100 CLI Reference Guide 443
  • Page 454
    DGS-6604 m network network Use the command to specify that the network utilizes Routing Information Protocol (RIP). To remove an RIP network entry, use the...)# network 10.99.0.0/16 Switch(config-router)# end Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 444
  • Page 455
    DGS-6604 m network (BGP) network (BGP) Use this command to configure the networks to be advertised by the Border Gateway Protocol (BGP) protocol. To remove an ... updates for the AS number of 65100 Switch(config)# router bgp 65100 Switch(config-router)# network 10.108.0.0 CLI Reference Guide 445
  • Page 456
    DGS-6604 m network area network area Use this command to enable OSPF routing with a specified Area ID. It enables this routing on ... terminal Switch(config)# router ospf Switch(config-router)# network 10.0.0.0/8 area 3 Verify the settings with the show ip ospf command. CLI Reference Guide 446
  • Page 457
    DGS-6604 m next-server next-server Configure the next server in a DHCP client's boot process. Use the no form of this command to remove ... Mode Usage Guideline Example switch# configure terminal switch(config)# ip dhcp pool pool1 switch(config-dhcp)# next-server 10.1.1.1 CLI Reference Guide 447
  • Page 458
    DGS-6604 m passive-interface passive-interface P Use the passive-interface command to disable sending OSPF protocol packets on an interface. To ... router ospf Switch(config-router)##passive-interface vlan1 Verify the settings by entering the show ip ospf interface command. CLI Reference Guide 448
  • Page 459
    DGS-6604 m passive-interface (IPv6 OSPF) passive-interface (IPv6 OSPF) To disable sending IPv6 OSPF protocol packets on an interface, use the ... # router ipv6 ospf (config-router)# passive-interface vlan1 Verify the settings by entering the show ipv6 ospf interface command. CLI Reference Guide 449
  • Page 460
    DGS-6604 m passive interface (RIP) passive interface (RIP) To disable sending routing updates on an interface, use the passive-interface command. ...-interface vlan1 Switch(config-router)#exit Switch(config)# Verify the settings by entering the show ip rip interface command. CLI Reference Guide 450
  • Page 461
    DGS-6604 m passive-interface (RIP IPv6) passive-interface (RIP IPv6) To disable sending routing updates on an interface, use the passive-...config-router)# passive-interface vlan1 Switch(config-router)#exit Verify the settings by entering the show ipv6 rip interface command. CLI Reference Guide 451
  • Page 462
    DGS-6604 m password recovery password recovery To configure the security password recovery mechanism, ... remove AAA server. A series of prompt message will guide user to complete the Password Recovery procedure. ... user and can only update the password for an exsisting user. CLI Reference Guide 452
  • Page 463
    ... shows how to using password recovery Switch(reset-config)# password-recovery This command will guide you to do the password recovery procedure. Do you want to update the ... Interface Firmware: 1.00.014 Copyright (c) 2010 D-Link Corporation. All rights reserved. DGS-6600:15# CLI Reference Guide 453
  • Page 464
    DGS-6604 m password recovery This example shows the situation when user account is full. User could ...)# Switch(reset-config)# password-recovery This command will guide you to do the password recovery procedure. Do... Exceed the max number of user account Switch(reset-config)# CLI Reference Guide 454
  • Page 465
    DGS-6604 m password recovery This example shows how to verify the configuration: Switch(reset-config)#show username Password Encryption : Disabled ...: Login authentication: Local Authentication: yes Enable authentication: Local Authentication: yes Switch(reset-config)# CLI Reference Guide 455
  • Page 466
    DGS-6604 m password encryption password encryption Use the password encryption command to enable encryption of the password defined by both: • ... password encryption. Switch(config)# password encrypt Verify the settings by entering the show system protocol-state command. CLI Reference Guide 456
  • Page 467
    DGS-6604 m periodic periodic Use the periodic command to specify the period of time to be covered in a time range profile. periodic { daily HH:MM to HH:MM ...)#periodic monthly 1 19:00 to 2 17:00 Switch(config)#end Verify the settings by entering the show time-range command. CLI Reference Guide 457
  • Page 468
    DGS-6604 m permit | deny (ip access-list) permit | deny (ip access-list) Use the permit command to define the rule for ...) value, as specified by a number from 0 to 63. (Optional) Packets can be filtered by the type of service level, as specified by a number from 0 to 255. CLI Reference Guide 458
  • Page 469
    DGS-6604 m permit | deny (ip access-list) OPERATOR PORT (Optional) Compares source or destination port. OPERATOR can be lt (less than, match on a...three entries are: tcp packets destined to network 10.20.0.0/16, tcp packets destined to host 10.100.1.2 and all icmp packets. CLI Reference Guide 459
  • Page 470
    DGS-6604 m permit | deny (ip access-list) Switch(config)# ip access-list extended Strict-Control Switch(config-ip-ext-acl)# permit tcp any 10.20...-ip-ext-acl)# permit icmp any any Switch(config-ip-ext-acl)# exit Verify the settings by entering the show access-list command. CLI Reference Guide 460
  • Page 471
    DGS-6604 m permit | deny (ipv6 access list) permit | deny (ipv6 access list) Use the permit command to add an entry to the IPv6 access-... range is from 1 to 65534 for lt operator time-range (Optional) Specifies the name of time-period profile for activation the access-list. CLI Reference Guide 461
  • Page 472
    DGS-6604 m permit | deny (ipv6 access list) Syntax Description PROFILE-NAME Used with the no form of the commands, this option, time-range (...-ipv6-ext-acl)#permit icmpv6 any any Switch(config-ipv6-ext-acl)# exit Verify the settings by entering the show access-list command. CLI Reference Guide 462
  • Page 473
    DGS-6604 m permit | deny (mac access-list) permit | deny (mac access-... and it is placed at the end of the list. If the priority is manually assigned, it is better to have a reserved interval ... Otherwise the system attempts to insert an entry with a higher priority. Default CLI Reference Guide 463
  • Page 474
    DGS-6604 m permit | deny (mac access-list) Command Mode Usage Guideline MAC access-list extended configuration The time-range profile must be created...00 any Switch(config-mac-ext-acl)# exit Switch(config)# Verify the settings by entering the show show access-list command. CLI Reference Guide 464
  • Page 475
    DGS-6604 m ping ping Use ping to diagnose basic network connectivity. ping ... it will be ignored when it is along with -A option. -Q TOS Set Quality of Service on ICMP data grams. -s PACKETSIZE Specifies... host. -s: 56 bytes -c: 5 count packets -i: 1 second -Q: 0 TOS Default CLI Reference Guide 465...
  • Page 476
    DGS-6604 m ping -w: 0 (Don't stop) -W: 1 second Command Mode Usage Guideline Management interface configuration or User EXEC The ping command sends an echo request packet to ...=5, packet loss=0 (0%) round trip times min/avg/max/mdev= 0.760/19.040/92.120/36.540 ms Switch# CLI Reference Guide 466
  • Page 477
    DGS-6604 m poe port priority poe port priority Use this command to configure the priority of power-sourcing for ports. Use the no poe port ... priority. Switch(config)# interface eth3.1 Switch(config-if)#poe port priority 1st Switch(config-if)#end Switch(config)# Switch# CLI Reference Guide 467
  • Page 478
    DGS-6604 m poe port description poe port description Use the poe port description command to configure the PoE port specific description. Use no ... Command Mode Usage Guideline Example Switch(config)# interface eth3.1 Switch(config-if)# poe port description For VOIP usage CLI Reference Guide 468
  • Page 479
    DGS-6604 m poe service-policy poe service-policy Use the command to configure power service ... as long as its priority is higher than all other serviced ports. In the situation of containing units which is ... verify your settings by entering the show poe power system command. CLI Reference Guide 469
  • Page 480
    ...quantity which allowed to the port is configured by user manually. (Optional) Limit the power allowed on the port....Mode Usage Guideline Interface configuration. This command is supported only on PoE-capable ports. If ...05) times of maximum power consumption (15.4W) defined in CLI Reference Guide 470
  • Page 481
    DGS-6604 m IEEE802.3af, it will be 16.9785W. This design is also for the better conformance of DGS-6600's PoE functionality. But we strongly recommend using 15.4W ...range rd_time You can verify your settings by entering the poe power inline status command. CLI Reference Guide 471
  • Page 482
    DGS-6604 m police police To configure traffic policing using single rate, use the police command in policymap class configuration mode. To remove ... that exceed the rate limit. (Optional) Specifies action to take on packets that violate the normal and maximum burst sizes. CLI Reference Guide 472
  • Page 483
    DGS-6604 m police Syntax Description ACTION Action to take on packets. Specifies one of the .... "set-dscp-transmit value-Sets the IP differentiated services code point (DSCP) value and transmits the packet... Switch(config-pmap-c)#exit Switch(config-pmap)# exit Switch(config)# CLI Reference Guide 473
  • Page 484
    DGS-6604 m police Later it is realized that a two rate police should be applied to class-movie traffic and a two rate police (police cir command) ...is used when the violate-action option is specified in the police command. The conform bucket is initially full (the full size CLI Reference Guide 474
  • Page 485
    DGS-6604 m police is the number of bytes specified as the normal burst size). The exceed bucket is initially full (the ...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. CLI Reference Guide 475
  • Page 486
    DGS-6604 m police In this particular example, traffic policing is configured with an average rate at 8000 bits per second ...)# exit Switch(config)# interface eth3.1 Switch(config-if)# service-policy police-setting Verify the settings by entering the show policy-map command. CLI Reference Guide 476
  • Page 487
    DGS-6604 m police aggregate police aggregate To configure a named aggregate policer as the policy for a traffic class in a policy map, use ...-pmap-c)# police aggregate agg_policer1 Switch(config-pmap-c)# exit Verify the settings by entering the show policy-map command. CLI Reference Guide 477
  • Page 488
    DGS-6604 m police cir police cir To configure traffic policing using two rates, the ... dropped. set-dscp-transmit VALUE - Sets the IP differentiated services code point (DSCP) value and transmits the packet .... The packet is not altered. Default Disabled exceed-action: drop CLI Reference Guide 478
  • Page 489
    DGS-6604 m police cir violate-action: equals exceed-action Command Mode Usage Guideline Policy map class configuration As a packet arrives at a port, the..."The Tc token bucket is updated at the CIR value. The Tc token bucket can contain up to the confirm burst (Bc) value. CLI Reference Guide 479
  • Page 490
    DGS-6604 m police cir "The Tp token bucket is updated at the PIR value. The Tp token bucket can contain up to the peak burst (Be) value. ...as conforming to the specified rate, and both token buckets-Tc(t) and Tp(t)-are updated as follows: Tp(t) = Tp(t) - B Tc(t) = Tc(t) - B CLI Reference Guide 480
  • Page 491
    DGS-6604 m police cir Example Example In the following example, two-rate traffic policing is ...exit Switch(config)# interface eth3.1 Switch(config-if)# service-policy policy1 Switch(config-if)# end ...: drop Switch# Verify the settings by entering the show policy-map command. CLI Reference Guide 481
  • Page 492
    DGS-6604 m policy-map policy-map To enter policy-map configuration mode and create... policy map that can be attached to one or more interfaces as a service policy, use the policy-map command in ... specifies policy for traffic that matches access control list (ACL) acl_rd. The CLI Reference Guide 482
  • Page 493
    DGS-6604 m policy-map second class is the default class, named class-default to which packets that do not satisfy the defined classes are included... Switch(config-pmap-c)# set ip dscp 00 Switch(config-pmap-c)# exit Verify the settings by entering the show policy-map command CLI Reference Guide 483
  • Page 494
    DGS-6604 m port-channel load-balance port-channel load-balance Use port-channel load-balance to configure the load balance algorithm that the switch ... load-balance src-ip Switch(config)# end Verify the settings by entering the show channel-group load-balance EXEC command. CLI Reference Guide 484
  • Page 495
    DGS-6604 m power-saving power-saving Use the power-saving command to enable "Power Saving... on different hardware components. Currently, one component is supported: phy. Select the option "phy", it will set the PHY... power-saving Power-saving status phy power-saving:Disabled CLI Reference Guide 485
  • Page 496
    DGS-6604 m pvid VLAN-ID pvid VLAN-ID Use the pvid interface configuration command to specify the native VLAN for the trunk or hybrid ... eth4.1 Switch(config-if)# hybrid vlan 1000 untagged Switch(config-if)# pvid 1000 Verify the settings by entering the show vlan command. CLI Reference Guide 486
  • Page 497
    DGS-6604 m qos aggregate-policer qos aggregate-policer Q To define a named aggregate policer for use in policy maps, use the qos aggregate-policer command in ... CONFORM-BURST Specifies the burst size for the first token bucket in bytes. min:4KB max:16MB default:4KB. BPS CLI Reference Guide 487
  • Page 498
    DGS-6604 m qos aggregate-policer Syntax Description PEAK-BURST PEAK-BURST Specifies the ..."set-dscp-transmit VALUE - Sets the IP differentiated services code point (DSCP) value and transmits the... aggregate-policer NAME setting once the reference aggregator name are the same. CLI Reference Guide 488
  • Page 499
    DGS-6604 m qos aggregate-policer Example In the following example, an aggregate policer named ... is configured. This named aggregator policer is applied as the service policy for the class1 and class2 traffic... the settings by entering the show qos aggregate-policer command. CLI Reference Guide 489...
  • Page 500
    DGS-6604 m qos bandwidth qos bandwidth To set the received bandwidth limit values for an interface, use the bandwidth ingress command in ... ingress 128 Switch(config-if)#qos bandwidth egress 256 Verify the settings by entering the show qos interface bandwidth command. CLI Reference Guide 490
  • Page 501
    DGS-6604 m qos cos qos cos To configure the default class of service (CoS) value of a port, use the qos cos command in interface configuration mode. qos ....1 switch(config-if)# qos cos 3 Verify the settings by entering the show qos interface cos command. CLI Reference Guide 491
  • Page 502
    DGS-6604 m qos deficit-round-robin qos deficit-round-robin Use the qos... the strict priority scheduler is to provide lower latency service to the higher CoS classes of traffic. DRR operates by... drops below 0, the queue is no longer serviced until its credits are replenished. CLI Reference Guide 492
  • Page 503
    DGS-6604 m qos deficit-round-robin All queues are serviced until their credit ... counter reaches zero, the queue is no longer serviced until its weight is replenished. After this repeats for ...7 quantum quantum quantum quantum quantum quantum quantum quantum 2 2 4 4 8 8 2 0 CLI Reference Guide 493
  • Page 504
    DGS-6604 m qos deficit-round-robin In the following example, Weight round robin is configured on eth 3.1. For this case, queue 5,... 7 1 weight weight weight weight weight weight weight weight 2 2 2 4 0 0 0 2 Verify the settings by entering the show qos interface command. CLI Reference Guide 494
  • Page 505
    ... qos dscp-mutation To attach an ingress differentiated-services-code-point (DSCP) mutation map ... Interface configuration Only Physical port interfaces are supported, portchannel interface and vlan interface ...end Verify the settings by entering the show qos interface command. CLI Reference Guide 495
  • Page 506
    DGS-6604 m qos map cos-color qos map cos-color To define the CoS to ... to green Interface configuration Only Physical port interfaces are supported; portchannel interface and vlan interface are not ... to red Verify the settings by entering the show qos interface map command CLI Reference Guide 496
  • Page 507
    DGS-6604 m qos map dscp-color qos map dscp-color To define the DSCP to color map for mapping of packet's initial color, use the qos ... interface eth3.1 Swtich (config-if)# qos map dscp-color 61-63 to yellow Verify the settings by entering the show qos interface map command. CLI Reference Guide 497
  • Page 508
    DGS-6604 m qos map dscp-cos qos map dscp-cos To define a differentiated services code point (DSCP)-to-class of service (CoS) map, use the qos ...1 Switch(config-if)#end Use the show qos interface map privileged EXEC command to verify the settings. CLI Reference Guide 498
  • Page 509
    DGS-6604 m qos map dscp-mutation qos map dscp-mutation To define a named differentiated services code point (DSCP) mutation map, use the qos map dscp-mutation ... 20 to 10 Use the show qos map privileged EXEC command to verify the settings. CLI Reference Guide 499
  • Page 510
    DGS-6604 m qos trust qos trust To set the trust state of a port, use the qos trust command in interface configuration mode; to trust either the ... eth3.1 Switch(config-if)# qos trust dscp Switch(config-if)# end Verify the settings by entering the show qos interface command. CLI Reference Guide 500
  • Page 511
    DGS-6604 m reboot reboot R Use this command to reboot a module on the specified slot. The module ...Example The following example reboots the whole system: DGS-6600:15#reboot Warning: This command ... you want to continue (y/n) [n]?y Save log message before reboot(y/n) [n]?y CLI Reference Guide 501
  • Page 512
    DGS-6604 m redistribute redistribute Use redistribute to redistribute routes from one routing domain into BGP. Use no command to disable route redistribution. ... Switch(config-router)# end Switch# You can verify your settings by entering the show ip protocols bgp command. CLI Reference Guide 502
  • Page 513
    DGS-6604 m redistribute (OSPF) redistribute (OSPF) Use redistribute to redistribute routes from other routing domain into OSPF routing domain. Use ...the redistribute route is default route, the metric will be 1. 3. If "default metric" is configured, use the specified value. CLI Reference Guide 503
  • Page 514
    DGS-6604 m redistribute (OSPF) 4. If the "default metric" is not configured, and the route is redistributed from BGP. The metric will be 1. 5. If ...)# redistribute bgp 100 Switch(config-router)#end Switch# Verify the settings by entering the show ip protocols ospf command. CLI Reference Guide 504
  • Page 515
    DGS-6604 m redistribute (IPv6 OSPF) redistribute (IPv6 OSPF) Use redistribute to redistribute routes from other routing domains into the IPv6... with the connected keyword affected by this redistribute command are the routes not specified by the router configuration command. CLI Reference Guide 505
  • Page 516
    DGS-6604 m redistribute (IPv6 OSPF) The default-metric command cannot be used to affect the metric used to advertise connected routes. Example In the ...> enable Switch# configure terminal Switch(config)# router ipv6 ospf Switch(config-router)# redistribute rip metric 10 CLI Reference Guide 506
  • Page 517
    DGS-6604 m redistribute (RIP) redistribute (RIP) Use redistribute to redistribute routes from one routing domain into another routing domain. ... for the redistributed route from other protocols to RIP process will be determined by the value of the "default-metric" command. CLI Reference Guide 507
  • Page 518
    DGS-6604 m redistribute (RIP) 3. If the metric is specified as 0, the metric for the redistributed route from other protocols to RIP will be 1. If the default-... metric 11 Switch(config-router)# end Switch# Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 508
  • Page 519
    DGS-6604 m redistribute (RIP IPv6) redistribute (RIP IPv6) Use redistribute to redistribute routes from one routing domain into another routing ... The metric value specified in the redistribute command supersedes the metric value specified using the default-metric command. CLI Reference Guide 509
  • Page 520
    DGS-6604 m redistribute (RIP IPv6) Example The following example causes the specified OSPF process routes to be redistributed into an RIPng domain. The metric ... terminal (config) # router ipv6 rip (config-router) # redistribute ospf metric 10 Switch Switch Switch Switch CLI Reference Guide 510
  • Page 521
    DGS-6604 m remote-span remote-span Use the command to specify a VLAN as a RSPAN VLAN. Use the no form of the command to revert to a non ...(config-vlan)# remote-span Switch(config-vlan)#exit Switch(config)# You can verify your settings by entering the show vlan command. CLI Reference Guide 511
  • Page 522
    DGS-6604 m resequence access-list resequence access-list Use this command to re-sequence the priority of the access-list entries in an access-list (mac, ip or ... access-list ip R&D 1 permit tcp any 10.20.0.0 255.255.0.0 3 permit tcp any host 10.100.1.2 5 permit icmp any any CLI Reference Guide 512
  • Page 523
    DGS-6604 m revision revision To set the revision number for the MST configuration, use the revision command....to 65535. REVISION: 0 MST configuration If Two DGS-6604 series Ethernet switches have the ...the settings by entering the show spanning-tree mst configuration command. CLI Reference Guide 513
  • Page 524
    DGS-6604 m rmon statistics rmon statistics Use the rmon collection stats interface configuration ...the interface. The administrator can also perform operations on the supported MIB RMON groups. This example shows how ...)#interface eth3.2 Switch(config-if)#no rmon statistics 3 CLI Reference Guide 514
  • Page 525
    DGS-6604 m route-map route-map Use route-map to add the policy routing entry. Use the no form of the command to remove a policy routing entry... is specified (with no SEQUENCE-NUM argument), the entire route map is deleted. SEQUENCE-NUM Default Command Mode Usage Guideline CLI Reference Guide 515
  • Page 526
    DGS-6604 m route-map Example This example shows how to add the policy routing entry with name "myPolicy": Switch(config)# route-map myPolicy permit...-map)#set weight 1000 Switch(config-route-map)#end Switch# Verify the settings by entering the show running-config command. CLI Reference Guide 516
  • Page 527
    DGS-6604 m router bgp router bgp Use this command to enable (configure) BGP routing process. Use the no form of the command to remove a BGP ... shows how to configure a BGP process for autonomous system 1.65534: Switch(config)# router bgp 1.65534 Switch(config-router)# CLI Reference Guide 517
  • Page 528
    DGS-6604 m router-id router-id Use this command to specify a router ID for the... not take effect immediately. It will be used at the next reload or at a manual OSPF process restart. Default Command Mode ...60 Verify the settings by entering the show ip protocols ospf command. CLI Reference Guide 518
  • Page 529
    DGS-6604 m router-id (IPv6) router-id (IPv6) To assign a fixed router ID, use ... will not take effect immediately. It is used at the next reload or at a manual restart of IPv6 OSPF process. Default Command Mode Usage...) # router ipv6 ospf (config-router) # router-id 10.1.1.1 CLI Reference Guide 519
  • Page 530
    DGS-6604 m router ipv6 rip router ipv6 rip To configure an IPv6 RIP routing process, use the router ipv6 rip command in global configuration mode. ... process. Example Switch > enable Switch # configure terminal Switch (config) # router ipv6 rip Switch(config-router)# end CLI Reference Guide 520
  • Page 531
    DGS-6604 m router ipv6 ospf router ipv6 ospf To enable the IPv6 OSPF routing process, use the router ipv6 ospf command in global configuration ... enables router OSPF for IPv6 configuration mode. > enable # configure terminal (config) # router ipv6 ospf 0 (config-router) # CLI Reference Guide 521
  • Page 532
    DGS-6604 m router ospf router ospf To configure an Open Shortest Path First (OSPF) routing process, use the router ospf command in ...# configure terminal Switch(config)# router ospf Switch(config-router)# Verify the settings by entering the show ip protocols ospf command. CLI Reference Guide 522
  • Page 533
    DGS-6604 m router rip router rip Use the command to configure the RIP routing process. To turn off the RIP routing process, use the ... configure terminal Switch(config)# router rip Switch(config-router)# end Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 523
  • Page 534
    DGS-6604 m send-lifetime send-lifetime Sh To set the time period during which an authentication key on a key chain is valid to be sent,...keys during a specific period of time, then no authentication will be performed. duration SECONDS Default Command Mode Usage Guideline CLI Reference Guide 524
  • Page 535
    DGS-6604 m send-lifetime Example The following example configures a key chain named chain1. Key 1 named "forkey1string" will be accepted from ... Switch(config-keychain-key)# exit Switch(config-keychain)# exit Verify the settings by entering the show ip key-chain command. CLI Reference Guide 525
  • Page 536
    DGS-6604 m server server Set up a server for different types of methods. Use the no form of this command to delete a server. ... enable access to the switch. The first created authentication method will be the primary one. The maximum number of entries in the list is project 526 CLI Reference Guide
  • Page 537
    DGS-6604 m server dependent. However it is recommended to be 3 and use them as a backup server scheme. The encryption key is used to encrypt and ... Switch(config-aaa-group-server)# end Switch(config)# Verify the settings by entering the show aaa group server command. CLI Reference Guide 527
  • Page 538
    DGS-6604 m service dhcp service dhcp Use this command to enable a Dynamic Host Configuration Protocol (DHCP) server features on the switch...function is disabled by default. Enable DHCP server function: switch > enable switch# configure terminal switch(config)# service dhcp CLI Reference Guide 528
  • Page 539
    DGS-6604 m service-policy service-policy To attach a policy map to an input interface use ... packets. The packet arriving at a port will be treated based on the service policy attached to the interface. A policy map needs ... second and the normal burst size set to 256 Kbytes. CLI Reference Guide 529
  • Page 540
    DGS-6604 m service-policy The cust1-classes policy map is configured and then attached to eth3.1 and eth3.2 by the following ... cust1-classes Switch(config-if)# exit Switch(config)# interface eth3.2 Switch(config-if)# service-policy cust1-classes Switch(config-if)# exit CLI Reference Guide 530
  • Page 541
    DGS-6604 m service-policy The cust2-classes policy map is configured and then attached to eth4....)# exit Switch(config)# interface eth4.1 Switch(config-if)# service-policy cust2-classes Switch(config-if)# exit Verify the settings by entering the show qos interface command. CLI Reference Guide 531
  • Page 542
    DGS-6604 m set set Use the set command in policy map class configuration mode to set the new precedence field, DSCP field,...example, the policy map policy1 is configured with the policy for the class1 class. The packets that are included in the class1 class will be set to a CLI Reference Guide 532
  • Page 543
    DGS-6604 m set DSCP of 10 and policed by a singe rate policer with an average rate set to128 Kbits per second and the normal burst size set ...-dscp-transmit 3 Switch(config-pmap-c)# exit Switch(config-pmap)# exit Verify the settings by entering the show policy-map command. CLI Reference Guide 533
  • Page 544
    DGS-6604 m set as-path set as-path Use this command to modify an autonomous system path for BGP routes. To delete an entry, use the no form of ... permit 1 Switch(config-route-map)#set as-path prepend 1 10 100 200 Verify the settings by entering the show route-map command. CLI Reference Guide 534
  • Page 545
    DGS-6604 m set community set community Use this command to set the BGP communities attribute, to delete an entry, use the no form of this ...-transitive. This command is useful for routes received from EBGP and to be transmitted to IBGP. Default Command Mode Usage Guideline CLI Reference Guide 535
  • Page 546
    DGS-6604 m set community Example This example shows how to set a community (0:1) to the route map entry with name myPolicy: Switch(config)# route-map ...-route-map)# set community 0:1 Switch(config-route-map)# Verify the settings by entering the show route-map command. CLI Reference Guide 536
  • Page 547
    DGS-6604 m set default interface set default interface Use the command in route-map configuration mode to set the interface to route the packets ... Switch(config-if)#exit Switch(config)# You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 537
  • Page 548
    DGS-6604 m set ip next-hop set ip next-hop Use this command to set the next-hop to route the packets that pass a... created access list, StrictControl. Lastly, in Vlan Interface configuration mode set the conditionally redistributed to previously created route-map, myPolicy. CLI Reference Guide 538
  • Page 549
    DGS-6604 m set ip next-hop Switch(config)# ip access-list Strict-Control Switch(config-ip-acl)# permit 10.1.1.0 255.255.255.0 any ... Switch(config-router)# ip policy route-map myPolicy You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 539
  • Page 550
    DGS-6604 m set ip precedence set ip precedence Use the set ip precedence command in route-map configuration mode to set the precedence value ...example Switch(config-if)#exit Switch(config)# You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 540
  • Page 551
    DGS-6604 m set interface set interface Use the command in route-map configuration mode to set the interface to route the packets that pass a ...example Switch(config-if)#exit Switch(config)# You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 541
  • Page 552
    DGS-6604 m set ipv6 default next-hop set ipv6 default next-hop Use the command in route-map configuration mode to set the next... list, Strict-Control. Lastly, in Vlan Interface configuration mode set the conditionally redistributed to previously created route-map, myPolicy. CLI Reference Guide 542
  • Page 553
    DGS-6604 m set ipv6 default next-hop Switch(config)# ipv6 access-list extended Strict-Control Switch(config-ip-acl)# permit 2000::3:4 ffff::0 ...(config-router)# ip policy route-map myPolicy You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 543
  • Page 554
    DGS-6604 m set ip default next-hop set ip default next-hop Use the command in route-map configuration mode to set the next hop ... a route map, named myPolicy which define a match rule to associate ip address prefix-list to the previously created access list, StrictControl. CLI Reference Guide 544
  • Page 555
    DGS-6604 m set ip default next-hop Lastly, in Vlan Interface configuration mode set the conditionally redistributed to previously created route-map, ...-router)# ip policy route-map myPolicy You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 545
  • Page 556
    DGS-6604 m set ipv6 next-hop set ipv6 next-hop Use this command to set the next-hop to route the packets that pass a match...create a route map, named myPolicy which define a match rule to associate ip address prefix-list to the previously created access list, StrictControl. CLI Reference Guide 546
  • Page 557
    DGS-6604 m set ipv6 next-hop Lastly, in Vlan Interface configuration mode set the conditionally redistributed to previously created route-map, myPolicy. ...)# ip policy route-map myPolicy You can verify your settings by entering the show route-map privileged EXEC command. CLI Reference Guide 547
  • Page 558
    DGS-6604 m set default interface set default interface Use the command in route-map configuration mode to set the interface to route the packets that... exit Switch(config)#interface vlan100 Switch(config-if)#ip policy route-map example Switch(config-if)#exit Switch(config)# CLI Reference Guide 548
  • Page 559
    DGS-6604 m set origin set origin To set the BGP origin code, use the set origin command in route-map configuration mode. To delete an entry, ...-map)# match as-path PATH_ACL Switch(config-route-map)# set origin egp Verify the settings by entering the show route-map command. CLI Reference Guide 549
  • Page 560
    DGS-6604 m set weight set weight To specify the BGP weight for the routing table, use the set weight command in route-map configuration mode. To ...)# match as-path PATH_ACL Switch(config-route-map)# set weight 30 Verify the settings by entering the show route-map command. CLI Reference Guide 550
  • Page 561
    DGS-6604 m sflow sflow Use the sflow command to enable sFlow functions. Use the no form of this command to disable sFlow functions. sflow ...send sFlow datagrams. User can still configure sFlow objects. This example shows how to enable sFlow functions. switch(config)# sflow CLI Reference Guide 551
  • Page 562
    DGS-6604 m sflow receiver sflow receiver Use the sflow receiver command to configure a Receiver ... IPv6 address of the remote sFlow collector. It does not support IPv6 link-local address. (Optional)The UDP ... reset state. The user can not configure the owner name as an empty CLI Reference Guide 552
  • Page 563
    DGS-6604 m sflow receiver string. Once the owner is configured, it cannot be changed directly. It can only be reset by the no sflow receiver command. ...as 6343. switch(config)# sflow receiver 1 owner collector1 expiry 86400 max-datagramsize 1400 host 10.1.1.2 udp-port 6343 CLI Reference Guide 553
  • Page 564
    DGS-6604 m sflow sampler sflow sampler Use the sflow sampler command to create/configure a Sampler for the sFlow agent. Use the no form of... rate can be different. However, the sampling rate of all other samplers must be multiples in power of 2 of the minimal sampling rate. CLI Reference Guide 554
  • Page 565
    DGS-6604 m sflow sampler Example This example shows how to create/configure the Sampler of INSTANCE 1 with RECEIVER as 1, RATE as 1024 and SIZE as 128 bytes. switch(config-if)# sflow sampler 1 receiver 1 sampling-rate 1024 max-headersize 128 CLI Reference Guide 555
  • Page 566
    DGS-6604 m sflow poller sflow poller Use the sflow poller command to create/configure a Poller for the sFlow agent. Use the no form of this ... the Poller of INSTANCE 1 with RECEIVER as 1, and INTERVAL as 20 seconds. switch(config-if)# sflow poller 1 receiver 1 interval 20 CLI Reference Guide 556
  • Page 567
    DGS-6604 m show aaa show aaa Use show aaa to display the login/enable method list for all applications. show aaa [login | enable] [...the brief option is specified, the detailed server list of the associating method list will be skipped, Default Command Mode Usage Guideline CLI Reference Guide 557
  • Page 568
    ... shows how to display the login/enable method list for all applications. DGS-6604:15#show aaa Console Session: Login authentication: Local Authentication:... Session: Login authentication: Local Authentication: yes Enable authentication: Local Authentication: yes DGS-6604:15# CLI Reference Guide 558
  • Page 569
    ... brief information for enable authentication and the telnet application: DGS-6604:15#show aaa enable telnet ... displays brief information for authentication and the console application: DGS-6604:15#show aaa console brief ... enable serverlist1 DGS-6604:15# Local ---------yes no CLI Reference Guide 559
  • Page 570
    DGS-6604 m show aaa group server show aaa group server Use this command show aaa group server to display the authentication servers ... 20.1.1.1 RADIUS authserv 20.1.1.2 RADIUS Switch:15# Port ----49 1812 1812 Timeout ------5 5 5 Retransmit ---------2 2 2 Key no-encrypt CLI Reference Guide 560
  • Page 571
    DGS-6604 m show access-group show access-group Use this command to display how the mac, ip and ipv6 access-lists are applied to interfaces. show access...ip6-control eth3.2 Inbound mac access-list : rd-mac-acl Inbound ip access-list : rd-ip-acl Inbound ipv6 access-list : N/A CLI Reference Guide 561
  • Page 572
    DGS-6604 m show access-list show access-list Use this command to display the access-list configuration. show access-list [ ip NAME | mac NAME | ipv6 NAME] ... access-list ip R&D 10 permit tcp any 10.20.0.0 255.255.0.0 20 permit tcp any host 10.100.1.2 30 permit icmp any any CLI Reference Guide 562
  • Page 573
    DGS-6604 m show arp show arp Use the show arp command to display the Address Resolution Protocol (ARP) cache. show arp [ ARP-MODE ] [IP-ADDRESS [ / MASK ]....108.42.114 00-00-a7-10-85-9b vlan200 Dynamic 10.108.42.121 00-00-a7-10-68-cd vlan300 Dynamic Total Entries: 3 Switch# CLI Reference Guide 563
  • Page 574
    DGS-6604 m show boot show boot Use this command to display which is the next boot configuration and which is the next boot image file. show boot ... version 1.00.004 Boot image: flash:\switch-image1.had, flash:\switch-image2.had Boot config: flash:\switch-config Switch# CLI Reference Guide 564
  • Page 575
    DGS-6604 m show channel-group show channel-group Use this command to display the information of channel groups. show channel-group [ [channel [CHANNEL-NO] [ detail | ... Port_Pri eth3.1 32768,00-07-eb-49-5e-80 12 SP 32768 eth3.2 32768,00-07-eb-49-5e-80 13 SP 32768 Switch> CLI Reference Guide 565
  • Page 576
    DGS-6604 m show channel-group This example shows how to display the detailed information of all port-channels. Switch> show channel-group channel detail S - Device is ... Group 2 Member Ports: 2, Maxports = 8, Protocol: Static LACP Port State eth3.8 bndl eth3.9 down Switch> CLI Reference Guide 566
  • Page 577
    DGS-6604 m show channel-group This example shows how to display the protocol information for all port-channels. Switch> show channel-group channel protocol Group ... for all channel groups. Switch> show channel-group load-balance load-balance algorithm: src-dst-mac Switch> CLI Reference Guide 567
  • Page 578
    DGS-6604 m show channel-group This example shows how to display the system identifier information Switch> show channel-group sys-id 32765,00-02-4b-29-3a-00 Switch> This ...1 LACP 2 Static Total Entries: 2 load-balance algorithm: src-dst-mac system-ID: 32765,00-02-4b-29-3a-00 CLI Reference Guide 568
  • Page 579
    DGS-6604 m show class-map show class-map Use this command to display the class map configuration. show class-map [NAME] Syntax Description NAME (...-map Class Map match-any c2 match protocol ip Class Map match-any c3 match access-list acl_home_user Total Entries: 2 Switch# CLI Reference Guide 569
  • Page 580
    DGS-6604 m show clock show clock Use this command to display the time and date information. show clock Syntax Default Command Mode Usage Guideline Example None None EXEC... : Recurring Offset in Minutes : 60 Recurring From : Apr 2nd Tue 15:00 To : Oct 2nd Wed 15:30 Switch> CLI Reference Guide 570
  • Page 581
    DGS-6604 m show cpu-protect safeguard show cpu-protect safeguard Use this command to display the settings and status of Safeguard...protect safeguard Safeguard Engine State Safeguard Engine Status Utilization Thresholds: Rising : 50% Falling : 20% Switch# : Disabled : Normal CLI Reference Guide 571
  • Page 582
    DGS-6604 m show cpu-protect type show cpu-protect type Use this command to show the rate-limit and statistics of CPU protection show cpu-protect...0 arp 0 0 0 icmpv4 0 0 0 icmpv6-neighbor 0 0 0 icmpv6-other 0 0 0 pim 0 0 0 rip 0 0 0 ospf 0 0 0 !--- Output suppressed. Switch# CLI Reference Guide 572
  • Page 583
    DGS-6604 m show cpu-protect type The following example is a sample output of the show cpu-protect type arp command. The configured rate is 300 pps, and there ...on slot 3. Switch# show cpu-protect type arp Type: arp Pps : 300 Slot Total Drop 1 (CM-card) 30 0 3 30 0 Switch# CLI Reference Guide 573
  • Page 584
    DGS-6604 m show cpu-protect sub-interface show cpu-protect sub-interface Use this command to show the rate-limit and statistics by ...-interface. Switch# show cpu-protect sub-interface protocol Sub-Interface: protocol Pps : N/A Slot Total Drop 1(CM-card) 0 0 3 0 0 Switch# CLI Reference Guide 574
  • Page 585
    DGS-6604 m show dos_prevention show dos_prevention Use this command to show DoS prevention status and related drop counters. show dos_prevention Syntax Default Command... TCP Null Disabled TCP Xmas Disabled TCP SYNFIN Disabled TCP SYN SrcPort Less Than 1024 Disabled Switch# CLI Reference Guide 575
  • Page 586
    DGS-6604 m show dot1v show dot1v Use the show dot1v command to display the setting for the configuration of VLAN protocols. show dot1v { protocol-group [ ... eth3.1-3.3 Interface dot1v Group ID/Binding-VLAN eth3.1 1/1 eth3.2 10/3000, 11/3001, 12/3002 eth3.3 2/100 Switch# CLI Reference Guide 576
  • Page 587
    DGS-6604 m show dot1x show dot1x Use this command to display information about the: 802.1X state, configuration, statistics, diagnostics, session ... Re-authentication: Disabled Authentication Mode: Host-based Guest VLAN: Disabled Forward 1x PDU: Disabled Total Entries: 1 CLI Reference Guide 577
  • Page 588
    DGS-6604 m show dot1x This example shows how to display the authentication statistics for port eth4.1. Switch#show dot1x interface eth4.1 statistics eth4.1 EAPOL Frames RX: 0 ... RX: 0 Last EAPOL Frame Version: 0 Last EAPOL Frame Source: 00-00-00-00-00-00 Total Entries: 1 CLI Reference Guide 578
  • Page 589
    DGS-6604 m show dot1x This example shows how to display the authentication diagnostics for port eth4.1. Switch#show dot1x ...0 SessionFramesTX: 0 SessionId: SessionAuthenticationMethod: SessionTime: 0 SessionTerminateCause: PortAdminDisabled SessionUserName: Total Entries: 1 CLI Reference Guide 579
  • Page 590
    DGS-6604 m show dot1x vlan show dot1x vlan Use this command to show the vlan assigned by dot1x module. show dot1x vlan Syntax Default Command Mode Usage ... shows the output of this command. Switch#show dot1x vlan Port VID eth3.17 100 eth3.18 101 Total Entries: 2 Switch# CLI Reference Guide 580
  • Page 591
    DGS-6604 m show dot1x user show dot1x user Use this command to show the local accounts for 802.1x authentication. show dot1x user Syntax ... shows the output of this command. Switch#show dot1x user Username Password yourname1 yourpass1 yourname2 yourpass2 Total Entries: 2 CLI Reference Guide 581
  • Page 592
    DGS-6604 m show errdisable recovery show errdisable recovery Use this command to display the error-disable recovery timer related setting. show errdisable... the next timeout: Interface --------eth2.4 Errdisable Reason loopback-detection Time left(sec 179 Total Entries: 1 CLI Reference Guide 582
  • Page 593
    DGS-6604 m show enable password show enable password Use this command to display the password of the privilege enable function show ... : Disabled Access Level Password 12 mypassword (Plain Text) 15 *@&cRDtpNCeBiq15KOQsKVyrA0sAiCIZQwq (Encrypted) Total Entries: 2 Switch# CLI Reference Guide 583
  • Page 594
    DGS-6604 m show environment show environment Use the show environment command to display fan, temperature, redundant power system (RPS) ... or any configuration mode If a specific environment type is not specified, then all types of environment information will be displayed. CLI Reference Guide 584
  • Page 595
    DGS-6604 m show environment Example The example shows how to display the H/W environmental information.This example includes the thermal sensor status, the ... #1 Power status in-operation Max power 850 W Used power 203 W #2 empty - #3 empty - #4 empty - Switch# CLI Reference Guide 585
  • Page 596
    DGS-6604 m show environment The table below describes the significant fields shown in the display for the power module Field Max power Used power Power... in normal operation mode. failed: The power rectifier can't work normally. empty: The power rectifier is not installed. CLI Reference Guide 586
  • Page 597
    DGS-6604 m show gvrp configuration show gvrp configuration Use the show gvrp command to display the settings for gvrp. show gvrp ... Command Mode Usage Guideline Example Switch# show gvrp configuration Global GVRP State : Enabled Dynamic Vlan Creation : Disabled Switch# CLI Reference Guide 587
  • Page 598
    DGS-6604 m show gvrp configuration This example shows how to display the GVRP configuration for port's eth3.5 to eth3.6. Switch# show gvrp ... VLANs eth3.5 3,5 eth3.6 5-8 Port based Advertising VLAN Configuration: Port Advertising VLANs: eth3.5 eth3.6 Switch# 1,3 1,9 CLI Reference Guide 588
  • Page 599
    DGS-6604 m show gvrp statistics show gvrp statistics Use the show gvrp statistics command to display the statistics for gvrp ports. show gvrp ....5 . RX 0 0 0 0 0 TX 4294967296 4294967296 4294967296 4294967296 4294967296 eth3.6 . RX 0 0 0 0 0 TX 0 0 0 0 0 Total Entries: 2 CLI Reference Guide 589
  • Page 600
    DGS-6604 m show history show history To list the commands that have been entered in the current EXEC session, use the show history command. show ... at 20 commands. Example This example shows how to show the command history. Switch#show history 1 help 2 history Switch# CLI Reference Guide 590
  • Page 601
    DGS-6604 m show interface show interface Use this command to display information about a specified interface or all interfaces. show interface [INTERFACE-ID [ - | ,... Deferral: 0 TX Single Collision: 0, TX Excessive Collision: 0 TX Late Collision: 0, TX Collision: 0 Switch# CLI Reference Guide 591
  • Page 602
    DGS-6604 m show interface This example is a sample output of information for interface port channel 1. Switch#show interface port-channel1 port-channel1 is down, line protocol is down... VLAN, address is 08-01-02-38-00-01 (bia 08-01-02-38-00-01) Description: IP MTU:1500bytes CLI Reference Guide 592
  • Page 603
    DGS-6604 m show interface status err-disabled show interface status err-disabled Use this command to display a list of interfaces in ... loopback-detection err-disabled loopback-detection err-disabled loopback-detection Switch# show Interface --------eth2.8 eth4.17 eth3.10 CLI Reference Guide 593
  • Page 604
    DGS-6604 m show ip as-path access-list show ip as-path access-list To display configured as-path access-lists, use the show ip as-path access-...AS path access-list Example Switch>Show ip as-path access-list AS path access list A1 permit .* AS path access list A2 permit .* CLI Reference Guide 594
  • Page 605
    DGS-6604 m show ip bgp show ip bgp To display entries in the Border Gateway Protocol (BGP) routing table, use the show ip bgp command in ... 172.17.1.0/24 Next Hop 0.0.0.0 192.168.1.1 Metric 0 0 LocPrf Weight 32768 0 Path i 45000 i Total Entries: 2 entries, 2 routes Switch> CLI Reference Guide 595
  • Page 606
    DGS-6604 m show ip bgp The following is example output from the show ip bgp command entered with the route-map keyword: Switch(config)#show ip bgp route-map RMAS1 ...50.71.200) Origin IGP, localpref 100, valid, external, best Last update: 19:47:01, 2010-09-29 Switch(config)# CLI Reference Guide 596
  • Page 607
    DGS-6604 m show ip bgp community-list show ip bgp community-list To display configured community lists, use the show ip community-list command . show ip bgp community-... ? 690 560 ? 690 560 ? 704 701 560 ? 690 200 ? 690 200 ? 704 701 200 ? 174 ? 174 ? 701 i 701 i 704 701 i CLI Reference Guide 597
  • Page 608
    DGS-6604 m show ip bgp community-list Field BGP table version local router ID Status codes Description Internal version number of the table. ... destination network. There can be only one entry in this field for each autonomous system in the path. Metric LocPrf Weight Path CLI Reference Guide 598
  • Page 609
    DGS-6604 m show ip bgp filter-list show ip bgp filter-list To display routes that conform to a specified filter list, use the show ip bgp filterlist command. show ....16.38.0 172.16.72.30 0 109 108 ? * 172.16.39.0 172.16.72.30 0 109 108 ? Total Entries: 18 entries, 18 routes CLI Reference Guide 599
  • Page 610
    DGS-6604 m show ip bgp neighbors show ip bgp neighbors Use this command to display information about the TCP and Border Gateway ...is not specified. Specify the IP address of a neighbor to display information about the specific neighbor. Default Command Mode Usage Guideline CLI Reference Guide 600
  • Page 611
    DGS-6604 m show ip bgp neighbors Examples The example on the next page shows how... neighbor is an internal BGP (iBGP) peer. This neighbor supports the route refresh and graceful restart ... received 2 accepted prefixes 3 announced prefixes Connections established 1; dropped 0 CLI Reference Guide 601
  • Page 612
    DGS-6604 m show ip bgp neighbors Graceful-restart Status: Remote restart-time is 120 sec Local host: 10.50.71.254, Local port: 179 Foreign ... 10.20.2.0 Next Hop 172.16.232.179 10.0.0.0 Metric 0 0 LocPrf Weight 100 0 32768 Path ? i Total Entries: 2 entries, 2 routes Swtich> CLI Reference Guide 602
  • Page 613
    DGS-6604 m show ip community-list show ip community-list To display configured community lists, use the show ip community-list command. show ...show ip community-list Named Community standard list C1 permit internet Named Community standard list C2 permit 3:2 Switch(config)# CLI Reference Guide 603
  • Page 614
    DGS-6604 m show ip dhcp binding show ip dhcp binding To display the current status of address bindings on the DHCP Server. show ip dhcp binding [pool NAME] [ADDRESS] ....32b5 18:38:56, 2010-09-30 Lease expiration 18:38:56, 2010-10-1 18:38:56, 2010-10-1 18:38:56, 2010-10-1 CLI Reference Guide 604
  • Page 615
    DGS-6604 m show ip dhcp binding The following example shows the binding status of IP address 10.1.1.1 in DHCP address pool, pool1. switch# show ip dhcp ... Hardware address Lease start 10.1.1.1 00b8.3493.32b5 18:38:56, 2010-09-30 Lease expiration 18:38:56, 2010-10-1 CLI Reference Guide 605
  • Page 616
    DGS-6604 m show ip dhcp conflict show ip dhcp conflict To display the conflict IP addresses while a DHCP Server attempts to assign the IP addresses for a ... Detected Method 172.1.1.1 Gratuitous ARP Detection time 18:38:56, 2010-09-30 Detection time 18:38:56, 2010-09-30 CLI Reference Guide 606
  • Page 617
    DGS-6604 m show ip dhcp pool show ip dhcp pool To display information about the Dynamic Host Configuration Protocol (DHCP) address pools, show.... If the NAME argument is not used then the information for all the pools will be displayed. Default Command Mode Usage Guideline CLI Reference Guide 607
  • Page 618
    DGS-6604 m show ip dhcp pool Example The following example shows DHCP address pool information for an OnDemand Address Pool...2 switch# Display Field Descriptions Field Pool Descriptions of the significant fields in the previous example. Description The name of the pool. CLI Reference Guide 608
  • Page 619
    DGS-6604 m show ip dhcp pool Field Subnet Lease Accept client ID Description... customer vlan id The address binding rule based on service provider vlan id The address binding rule based... . Number of conflict addresses The number of addresses are conflict with other clients. CLI Reference Guide 609
  • Page 620
    DGS-6604 m show ip dhcp relay show ip dhcp relay Display the IP DHCP relay agent configuration. show ip dhcp relay Syntax Default Command ... 10.1.1.2 , 10.1.1.3 , 0.0.0.0 List of Trusted sources of relay agent information option: VLAN100 VLAN200 VLAN300 Switch# VLAN400 CLI Reference Guide 610
  • Page 621
    DGS-6604 m show ip dhcp relay information trusted-sources show ip dhcp relay information trusted-sources Use the show ip dhcp relay ... trusted-sources List of trusted sources of relay agent information option: VLAN100 VLAN200 VLAN300 VLAN400 VLAN500 Total Entries: 5 Switch# CLI Reference Guide 611
  • Page 622
    DGS-6604 m show ip dhcp server show ip dhcp server This command displays the current status of DHCP server show ip dhcp server Syntax Default ...: 500 ms List of DHCP server configured address pool pool1 pool5 pool9 pool2 pool6 pool10 pool3 pool7 pool11 pool4 pool8 pool12 CLI Reference Guide 612
  • Page 623
    DGS-6604 m show ip dhcp server statistics show ip dhcp server statistics To display Dynamic Host Configuration Protocol (DHCP) server ... of configured address pools in the DHCP database. The number of truncated or corrupted messages that were received by the DHCP server. CLI Reference Guide 613
  • Page 624
    DGS-6604 m show ip dhcp server statistics Field Renew messages Message Received Sent Description The number of renew messages for a DHCP lease...The number of DHCP messages that were received by the DHCP server. The number of DHCP messages that were sent by the DHCP server. CLI Reference Guide 614
  • Page 625
    DGS-6604 m show ip dhcp snooping show ip dhcp snooping Use this command to display DHCP snooping configuration. show ip dhcp snooping Syntax Description..., vlan15-18 Information option: not allowed Interface Trusted Rate Limit eth3.1 no 10 eth3.8 no 50 eth3.9 yes Switch# CLI Reference Guide 615
  • Page 626
    DGS-6604 m show ip dvmrp interface show ip dvmrp interface This command is used to display dvrmp configuration information on interface. show...#show ip dvmrp interface vlan1000 Interface Address Metric Generation ID vlan1000 10.0.0.254 1 1234567890 Total Entries: 1 Switch# CLI Reference Guide 616
  • Page 627
    DGS-6604 m show ip dvmrp neighbor show ip dvmrp neighbor Use this command to show DVMRP neighbor information. show ip dvmrp neighbor [ ...in the generation ID is detected, any prune information received from the router is no longer valid and should be flushed. Generation ID CLI Reference Guide 617
  • Page 628
    DGS-6604 m show ip dvmrp neighbor ExpTime The neighbor time-out interval, which SHOULD be set to 35 seconds...Id's. MTRACE - This neighbor router handles Mtrace requests. SNMP - This neighbor router supports the DVMRP MIB. Network - This neighbor will accept a network mask. CLI Reference Guide 618
  • Page 629
    DGS-6604 m show ip dvmrp neighbor UpTime ExpTime Generation ID The total time elapsed since the neighbor was discoved until now. The time ... a change in the generation ID is detected, any prune information received from the router is no longer valid and should be flushed. CLI Reference Guide 619
  • Page 630
    ... configuration mode Display DVMRP upstream Prune state information. This example shows how to displays prune information. DGS-6600:15#show ip dvmrp prune Flags: P=... the Prune retransmit timer, otherwise, it would represent the Graft retransmit timer. CLI Reference Guide 620
  • Page 631
    DGS-6604 m show ip dvmrp route show ip dvmrp route Use ... Command Mode Usage Guideline Example DGS-6600:15#show ip dvmrp ...62.51 1 Local vlan99 Total Entries: 1 DGS-6600:15# Display Field Descriptions ... this entry is not going to be removed (because it is a local interface). CLI Reference Guide 621...
  • Page 632
    DGS-6604 m show ip igmp group show ip igmp group Used to display IGMP group information on an interface show ip igmp group [IP-ADDRESS | .... Description The number of the igmp group table display. The number of the group records and source records in the igmp group table. CLI Reference Guide 622
  • Page 633
    DGS-6604 m show ip igmp group This example shows how to display IGMP group detailed information for group 224.1.1.1. If the interface is operated at v3, the... : 0DT0H0M42S Expires : 0DT0H3M38S Group mode : Exclude, dynamic Last reporter : 192.168.51.111 Source list is empty CLI Reference Guide 623
  • Page 634
    DGS-6604 m show ip igmp group Display Field Descriptions Display Field Uptime Expires Description of significant display fields. Description The... report being a member of the multicast group. Status of whether the router is forwarding multicast traffic due to this entry. CLI Reference Guide 624
  • Page 635
    DGS-6604 m show ip igmp interface show ip igmp interface Used to display IGMP configuration information on interface show ip igmp ... : 10.50.95.90 Querier Timer countdown value : Configured Query Interval : 5 Configured Maximum response time : 15 Configured Robustness : 2 CLI Reference Guide 625
  • Page 636
    DGS-6604 m show ip igmp snooping show ip igmp snooping Use this command to display IGMP Snooping information on the switch. show ip ...v3)1 Enabled Active Enabled (v2)2 Disabled Disabled 0DT0H4M10S (v3)3 Enabled Non-active Enabled 0DT0H3M12S Total number of VLANs = 3 Switch> CLI Reference Guide 626
  • Page 637
    DGS-6604 m show ip igmp snooping Display Field Descriptions Display Field Querier state Querier Router The following table shows the field information for... its initial count is set to the value got from the Older Version Querier Present Timeout in the IGMP control packet. CLI Reference Guide 627
  • Page 638
    DGS-6604 m show ip igmp snooping group show ip igmp snooping group Use this command to display IGMP Snooping group information learned by the ... of the igmp snooping group table display. The number of the group records and source records in the igmp snooping group table. CLI Reference Guide 628
  • Page 639
    DGS-6604 m show ip igmp snooping group This example shows how to display the IGMP snooping group detailed information of group 224.1.1.1. If the interface is ... Expires : 0DT0H3M38S Group mode : Exclude, dynamic Last reporter: 192.168.51.111 Source list is empty Switch# CLI Reference Guide 629
  • Page 640
    DGS-6604 m show ip igmp snooping group Display Field Descriptions Display Field IGMP version Interface Uptime Expires The following table shows...to report being a member of the multicast group. Status of whether the router is forwarding multicast traffic due to this entry. CLI Reference Guide 630
  • Page 641
    DGS-6604 m show ip igmp snooping mrouter show ip igmp snooping mrouter Use... is used to display information on dynamically learned and manually configured multicast router interfaces. When IGMP snooping ... vlan2 Designate : eth4.4, Auto : eth3.2, Not-allowed: Total Entries: 2 CLI Reference Guide 631
  • Page 642
    DGS-6604 m show ip interface show ip interface Use this command to display the information of..., then information for that specific interface is displayed. This command only supports VLAN interface types. If no optional ...90 up up vlan2 20.1.1.1 up up Total Entires: 2 Switch> CLI Reference Guide 632
  • Page 643
    DGS-6604 m show ip interface This example shows how to display the ip interface information for VLAN 1 Switch> show ip interface vlan1 vlan1 is up, Internet ... is 110.0.0.1/24 MAC Address is 08-01-02-24-00-01 ARP timeout is 14400 seconds IP MTU is 1500 bytes (secondary) CLI Reference Guide 633
  • Page 644
    DGS-6604 m show ip key-chain show ip key-chain Use this command to display the settings of the configured key chains. show ip key-chain [NAME-OF-KEY] Syntax ...:30:00 Feb 25 2008) - (15:29:59 Feb 25 2008) send lifetime (14:30:00 Feb 25 2008) - (16:29:59 Feb 25 2008) Switch# CLI Reference Guide 634
  • Page 645
    DGS-6604 m show ip mroute show ip mroute Use this command to display the content of the IP multicast routing table. show ip mroute [ { [.... (Optional) Specifies the Source IP network address. (Optional) Specifies the Group IP address. Default Command Mode Usage Guideline CLI Reference Guide 635
  • Page 646
    DGS-6604 m show ip mroute Example This example shows how to display the IP multicast route table summary: Switch> show ip mroute summary IP Multicast ...: 0 192.168.7.0/24, RPF neighbor: 10.1.1.1, distance: 100 192.168.8.0/24, interface: Null, distance: 0 Total Entries: 3 CLI Reference Guide 636
  • Page 647
    DGS-6604 m show ip ospf show ip ospf Use this command to display general information about the OSPF routing process. show ip ospf Syntax Default ... the LSA table size. It is project dependent. On the following page is a sample output from the show ip ospf command. Example CLI Reference Guide 637
  • Page 648
    DGS-6604 m show ip ospf Switch#show ip ospf Operational Router ID 10.47.65.160 Process uptime is 0DT0H12M33S Conforms to RFC2328, and RFC1583Compatibility ... 0DT0H9M46S ago SPF algorithm executed 7 times Number of LSA 32 Network 47.65.51.0/29 Network 47.65.52.0/29 Switch# CLI Reference Guide 638
  • Page 649
    DGS-6604 m show ip ospf border-routers show ip ospf border-routers Use this command to display the ABRs and ASBRs for the OSPF instance. ....52.2, vlan52, ASBR, TransitArea 0.0.0.1 i 47.65.151.111 [2] via 47.65.53.2, vlan53, ASBR, TransitArea 0.0.0.2 Total Entries: 6 Switch# CLI Reference Guide 639
  • Page 650
    DGS-6604 m show ip ospf database show ip ospf database Use this command to display a database summary for OSPF information. show ip...information about the database summary for OSPF information. The following page shows a sample output from the show ip ospf database command: CLI Reference Guide 640
  • Page 651
    DGS-6604 m show ip ospf database Switch#show ip ospf database Router Link States (Area 0.0.0.0) Link ID 10.47.65.160 ADV Router 10.47.65... States Link ID 1.0.0.0 ADV Router 10.47.65.160 Age Seq# CkSum Route 107 0x80000002 0x15e5 E2 1.0.0.0/24 Tag 0 Total Entries: 8 CLI Reference Guide Switch# 641
  • Page 652
    DGS-6604 m show ip ospf database asbr-summary show ip ospf database asbr-summary Use this command to display information about the Autonomous ... page shows a sample output from the show ip ospf database asbr-summary command. Default Command Mode Usage Guideline Example CLI Reference Guide 642
  • Page 653
    DGS-6604 m show ip ospf database asbr-summary Switch#show ip ospf database asbr-summary ASBR-Summary Link States (Area 0.0.0.0) LS age: 893 ... Router: 10.47.65.160 LS Seq Number: 80000001 Checksum: 0x53ba Length: 28 Network Mask: /0 TOS: 0 Metric: 1 Total Entries: 2 Switch# CLI Reference Guide 643
  • Page 654
    DGS-6604 m show ip ospf database external show ip ospf database external Use this command to display information about the external LSAs. show ip ospf ... than any link state path) TOS: 0 Metric: 20 Forward Address: 47.65.52.2 External Route Tag: 0 Total Entries: 1 Switch# CLI Reference Guide 644
  • Page 655
    DGS-6604 m show ip ospf database network show ip ospf database network Use this command to display information about the network LSAs. show ip ... a sample output (on the next page) from the show ip ospf database network command Default Command Mode Usage Guideline Example CLI Reference Guide 645
  • Page 656
    DGS-6604 m show ip ospf database network Switch#show ip ospf database network Net Link States (Area 0.0.0.0) LS age: 1034 Options: 0x0 LS Type: ...: 0x9ea1 Length: 32 Network Mask: /29 Attached Router: 10.47.65.181 Attached Router: 10.47.65.160 Total Entries: 2 Switch# CLI Reference Guide 646
  • Page 657
    DGS-6604 m show ip ospf database nssa-external show ip ospf database nssa-external Use this command to display information about the nssa-external ...output (on the next page) from the show ip ospf database nssa-external command. Default Command Mode Usage Guideline Example CLI Reference Guide 647
  • Page 658
    DGS-6604 m show ip ospf database nssa-external Switch#show ip ospf database nssa-external NSSA-external Link States (Area 0.0.0.61 [NSSA]) LS age:... than any link state path) TOS: 0 Metric: 20 NSSA: Forward Address: 110.201.0.1 External Route Tag: 0 Total Entries: 2 Switch# CLI Reference Guide 648
  • Page 659
    DGS-6604 m show ip ospf database router show ip ospf database router Use this command to display information about the router LSAs. show ip ... following pages shows a sample output from the show ip ospf database router command. Default Command Mode Usage Guideline Example CLI Reference Guide 649
  • Page 660
    DGS-6604 m show ip ospf database router Switch#show ip ospf database router Router Link States (Area 0.0.0.0) LS age: 1056 Options: 0x2 E|-) ... ID) Neighboring Router ID: 10.47.65.183 (Link Data) Router Interface address: 47.65.53.1 Number of TOS metrics: 0 TOS 0 Metric: 1 CLI Reference Guide 650
  • Page 661
    DGS-6604 m show ip ospf database router .Link connected to: a Virtual Link (Link ID) Neighboring Router ID: 10.47.65.184 (Link Data) Router ...ID: 10.47.65.184 (Link Data) Router Interface address: 47.65.84.2 Number of TOS metrics: 0 TOS 0 Metric: 10 Total Entries: 2 Switch# CLI Reference Guide 651
  • Page 662
    DGS-6604 m show ip ospf database summary show ip ospf database summary Use this command to display information about the summary LSAs. how ip... following page shows a sample output from the show ip ospf database summary command. Default Command Mode Usage Guideline Example CLI Reference Guide 652
  • Page 663
    DGS-6604 m show ip ospf database summary Switch#show ip ospf database summary Summary Link States (Area 0.0.0.0) LS age: 1225 Options: 0x2 E|-) ...: 10.47.65.160 LS Seq Number: 80000001 Checksum: 0xd863 Length: 28 Network Mask: /24 TOS: 0 Metric: 1 Total Entries: 2 Switch# CLI Reference Guide 653
  • Page 664
    DGS-6604 m show ip ospf host-route show ip ospf host-route Use this command to display host-route information for OSPF. show ... this command: Switch# show ip ospf host-route Host IP AreaID Cost 10.3.3.3 10.3.3.4 20.3.3.3 Total Entries: 3 0.0.0.5 0.0.0.1 0.0.0.25 2 3 58 CLI Reference Guide 654
  • Page 665
    DGS-6604 m show ip ospf interface show ip ospf interface Use this command to display interface information for OSPF. show ip ospf interface ... displayed. The following example on the next page is a sample output of this command: Default Command Mode Usage Guideline Example CLI Reference Guide 655
  • Page 666
    DGS-6604 m show ip ospf interface Switch#show ip ospf interface vlan49 is up, line protocol is up Internet Address 47.65.49.1/...Discarded 0 Current Authentication Type: md5 Authentication Key Configuration Authentication type: md5 message-digest-key 254 md5 80008001 Switch# CLI Reference Guide 656
  • Page 667
    DGS-6604 m show ip ospf neighbor show ip ospf neighbor Use this command to display information about the OSPF neighbors. show ip ospf ... is 0x02 E|-) Dead timer due in 0DT0H1M13S Neighbor is up for 0DT0H13M51S Crypt Sequence Number is 0 Total Entries: 1 Switch# vlan49 CLI Reference Guide 657
  • Page 668
    DGS-6604 m show ip ospf virtual-links show ip ospf virtual-links Use this command to display virtual link information. show ip ospf ...None User EXEC Use this command to display virtual link information. The following pages show sample outputs from the show ip ospf neighbor. CLI Reference Guide 658
  • Page 669
    DGS-6604 m show ip ospf virtual-links Switch#show ip ospf virtual-links Virtual Link to router 10.47.65.181 is up ... state Full Current Authentication Type: md5 Authentication Key Configuration Authentication type: md5 message-digest-key 255 md5 1234567890123456 5 5 5 5 CLI Reference Guide 659
  • Page 670
    DGS-6604 m show ip pim show ip pim Use this command to show the PIM global information. show ip pim Syntax Default Command Mode Usage Guideline ...RP Candidate vlan100, group-list: rp-cand, interval: 60, priority: 192 BSR Candidate vlan100, hash-mask-length: 30, priority: 1 CLI Reference Guide 660
  • Page 671
    DGS-6604 m show ip pim bsr show ip pim bsr Use this command to show the bootstrap router (BSR) information. show ip pim bsr ... ip pim bsr PIMv2 Bootstrap information BSR address: 90.1.1.3 Uptime: 0DT0H0M38S, BSR Priority: 3, Hash mask length: 30 Expires: 0DT0H1M32S Switch# CLI Reference Guide 661
  • Page 672
    DGS-6604 m show ip pim interface show ip pim interface Use this command to show the interface information. show ip pim interface...0 DR Generation ID 90.1.1.1 164598300 0.0.0.0 375693 On the following page is an example which displays the interface information in detail. CLI Reference Guide 662
  • Page 673
    DGS-6604 m show ip pim interface switch#show ip pim interface detail vlan100 Address Mode Neighbor Count DR DR Priotity DR Priority Enabled ... 60 seconds Graft Retry Interval : 3 seconds State Refresh Priority Enabled : Enabled State Refresh Origination Interval: 60 seconds CLI Reference Guide 663
  • Page 674
    DGS-6604 m show ip pim mroute show ip pim mroute This command displays the PIM IP multicast routing table show ip pim mroute Syntax ... (that is, through Reverse Path Forwarding [RPF]). Example The following page shows a sample output from the command show ip pim mroute. CLI Reference Guide 664
  • Page 675
    DGS-6604 m show ip pim mroute Switch#show ip pim mroute PT - Prune Timer, PPT - Prune Pending Timer, ET - Expiry Timer, PLT - ... Downstream Interface List: vlan200 JP State: No Info, PT: Off, PPT: off Assert State: No Info, AT: Off, Assert Winer: 0.0.0.0, Metric: 0, Pref: 0 CLI Reference Guide 665
  • Page 676
    DGS-6604 m show ip pim neighbor show ip pim neighbor Use this ... (DR). Priority: "N" indicates the neighbor does not support DR Priority Option in the Hello message otherwise ... be displayed. Mode: Describes the capability of the neighbor. The meaning of codes is as follows: CLI Reference Guide 666
  • Page 677
    DGS-6604 m show ip pim neighbor Field DR Pri/Mode Descriptions B: bidirectional mode, neighbor is using the Bidirectional-PIM Capable option. DR: ... a DR. S: State Refresh Capable. The neighbor is using the State Refresh Capable option. This option is used only by PIM-DM. CLI Reference Guide 667
  • Page 678
    DGS-6604 m show ip pim rp mapping show ip pim rp mapping Use this command to show group-to-RP (rendezvous point) mappings, ... the information about this RP expires. If the router does not receive any refresh messages in this time, it will discard information about this RP. CLI Reference Guide 668
  • Page 679
    DGS-6604 m show ip pim rp-hash show ip pim rp-hash Use this command to display the rendezvous point (RP) to be chosen based ... Uptime: 0DT1H42M15S, expires: 0DT0H2M16S Please refer to the table in the description of command show ip pim rp mapping for the field descriptions. CLI Reference Guide 669
  • Page 680
    DGS-6604 m show ip protocols show ip protocols Use this command to display the state of the dynamic routing process. show ip protocols [rip] [... 0 1 the maximum number of RIP routes allowed: 12288 Number of routes (excluding connected): 3 Distance: (default is 120) Switch# CLI Reference Guide 670
  • Page 681
    DGS-6604 m show ip protocols The table below describes the show ip protocols Field Descriptions for a RIP Process: Field Routing Protocol is "rip" ... Distance: (default is 110) Do not originate type 5 default route Redistributing: type metric mtric_type rip 20 2 Switch# CLI Reference Guide 671
  • Page 682
    DGS-6604 m show ip rip database show ip rip database To display summary address entries in the Routing Information Protocol (RIP) routing database entries, use ... and it was updated 16 seconds ago. The other source is 40.33.24.8 via vlan3, and it was updated 30 seconds ago. CLI Reference Guide 672
  • Page 683
    DGS-6604 m show ip rip interface show ip rip interface Display interface specific information for RIP. show ip rip interface [INTERFACE-ID] Syntax ... Mode: text Passive interface: Disabled Split horizon: Enabled with Poisoned Reversed IP interface address: 20.72.63.80/8 CLI Reference Guide 673
  • Page 684
    DGS-6604 m show ip route show ip route To display the current state of the routing table, use the show ip route command. show ip route [IP... Display all active static routes with both the show ip route and show ip route static commands. Default Command Mode Usage Guideline CLI Reference Guide 674
  • Page 685
    DGS-6604 m show ip route Examples The following examples show the standard routing tables displayed by the show ip route command. Use the ... route entry of RIB is populated in FIB. The selected route of multiple route entries. Indicates the address of the remote network. CLI Reference Guide 675
  • Page 686
    DGS-6604 m show ip route Field [160/5] via 10.119.254.6 0DT0H0M44S Vlan2 Total Entries : Description The first number in the brackets is the ...24 [20/0] via 10.50.71.200, vlan10, 0DT1H5M35S 160.0.0.0/8 [1/0] via 10.50.71.200, vlan10 Total Entries: 12 entries, 12 routes CLI Reference Guide 676
  • Page 687
    DGS-6604 m show ip route The following example shows output of the show ip route database command. Switch#show ip route database Codes: K - kernel, C - ...via 10.50.71.200, vlan10, 0DT1H7M7S S *> 160.0.0.0/8 [1/0] via 10.50.71.200, vlan10 Total Entries: 13 entries, 13 routes CLI Reference Guide 677
  • Page 688
    DGS-6604 m show ip route summary show ip route summary To display the current state of the routing table, use the show ip route summary command.... maximum-paths is 6 IP routing table maximum-paths is 6 Route Source Networks connected 2 rip 1 bgp 2 Total 5 FIB 3 multi-path 0 CLI Reference Guide 678
  • Page 689
    DGS-6604 m show ip ssh show ip ssh Use this command to display the user SSH configuration setting. show ... SSH configuration settings. Switch# show ip ssh SSH SSH server mode Service port Authentication timeout Authentication retries Switch# : : : : : Enabled V2 22 120 3 CLI Reference Guide 679
  • Page 690
    DGS-6604 m show ip trusted-host show ip trusted-host Use this command to display the trusted host information on the device. show ip trusted-host [ ...-host Hosts Valid to Access 10.48.93.100 all access interfaces 10.51.17.1 snmp 10.52.95.90 http Total Entries : 3 Switch# CLI Reference Guide 680
  • Page 691
    DGS-6604 m show ipv6 dhcp show ipv6 dhcp This command is used to display DHCPv6 client configuration running information of interface(s). show ipv6 dhcp [ ... vlan1, when vlan1 is DHCPv6 client disabled: Switch > enable Switch # show ipv6 dhcp interface vlan1 Switch # CLI Reference Guide 681
  • Page 692
    DGS-6604 m show ipv6 dhcp The following example shows the DHCPv6 client for interface vlan1, when vlan1 is in the REQUEST state: Switch > enable Switch # show... T1: 300 T2: 800 Prefer Lifetime: 3600 Valid Lifetime: 7200 Prefix: 3000:1:2::/48 IA expire: 299 Addr expire: 7199 CLI Reference Guide 682
  • Page 693
    DGS-6604 m show ipv6 dhcp The following example shows the DHCPv6 client for interface vlan1, when vlan1 is in the RENEW state: Switch > enable Switch # show ...: PD IA ID: 0003 T1: 300 T2: 800 Prefer Lifetime: 3600 Valid Lifetime: 7200 Prefix: 3000:1:2::/48 Addr expire: 3192 CLI Reference Guide 683
  • Page 694
    DGS-6604 m show ipv6 dhcp relay interface show ipv6 dhcp relay interface These commands are used to display DHCP relay information. show ... Switch # show ipv6 dhcp relay interface vlan1 Listen interface name: vlan1 Sever Addsess FE80::2:3 Destination interface name: vlan2 CLI Reference Guide 684
  • Page 695
    DGS-6604 m show ipv6 general-prefix show ipv6 general-prefix This command is used to display IPv6 general ... ::3:3:3:3:3/64 vlan2 ::4:4:4:4:4/64 ::2:2:2:2:2/64 IPv6 prefix my-prefix Acquired via Manual configuration: 3ffe:1:1::/48 Apply to interface: vlan2 ::1:1:1:1:1/64 CLI Reference Guide 685
  • Page 696
    DGS-6604 m show ipv6 general-prefix The following example shows how to display information for a specified general prefix named my... ipv6 general-prefix my-prefix IPv6 prefix my-prefix Acquired via Manual configuration: 3ffe:1:1::/48 Apply to interface: vlan2 ::1:1:1:1:1/64 CLI Reference Guide 686
  • Page 697
    DGS-6604 m show ipv6 interface show ipv6 interface These commands are used to display IPv6 interface information. show ipv6 interface [IFNAME] ... 604143192 to 5 seconds ND router advertisements live for 54212 seconds Hosts use stateless autoconfig for addresses. Switch # CLI Reference Guide 687
  • Page 698
    DGS-6604 m show ipv6 interface brief show ipv6 interface brief These commands are used ... type, you see information for that specific interface. At current stage, the supporting interface type is VLAN. If you specify no ...:1 vlan2 [up/up] 2010:311::1 (DAD check fail) Switch # CLI Reference Guide 688
  • Page 699
    DGS-6604 m show ipv6 neighbors show ipv6 neighbors This command is used to display the IPv6 neighbor information. show ipv6 neighbors .... PROBE - A reachability confirmation is actively sought by resending neighbor solicitation messages every RetransTimer, in milliseconds. CLI Reference Guide 689
  • Page 700
    DGS-6604 m show ipv6 ospf show ipv6 ospf To display general information about OSPF routing processes, use the show ipv6 ospf command. show ... ipv6 ospf command. Switch > enable Switch # show ipv6 ospf The output after executing this command is as follows on the next page. CLI Reference Guide 690
  • Page 701
    DGS-6604 m show ipv6 ospf Routing Process "OSPFv3 null" with Operational Router 10.76.37.30 Process uptime is 0DT0H13M51S. Conforms to RFC ... through this area is 0 SPF algorithm last executed 0DT0H13M29S SPF algorithm executed 2 times Number of LSA 7. Checksum Sum 0x499DF CLI Reference Guide 691
  • Page 702
    DGS-6604 m show ipv6 ospf border-routers show ipv6 ospf border-routers To display the ABRs and ASBRs for the IPv6 OSPF process, use the show ...: i - Intra-area route, I - Inter-area route i 47.65.49.111 [1] is directly connected, vlan49, ABR, Area 0.0.0.0 Total Entries: 1 CLI Reference Guide 692
  • Page 703
    DGS-6604 m show ipv6 ospf database show ipv6 ospf database Display the database summary of the OSPF routing processes, use the show ipv6 ospf ...1053 0x80000001 0xaf9f 1 Router-LSA (Area 0.0.0.0) (BACKBONE) ADV Router 20.0.1.10 Age Seq# CkSum LinkCnt 1013 0x80000002 0x34dd 0 CLI Reference Guide 693
  • Page 704
    DGS-6604 m show ipv6 ospf interface show ipv6 ospf interface To display OSPF-related interface information, use the show ipv6 ospf interface command. show ipv6 ...DD received 5 sent 3 LS-Req received 1 sent 1, LS-Upd received 11 sent 10 LS-Ack received 8 sent 6, Discarded 00 CLI Reference Guide 694
  • Page 705
    DGS-6604 m show ipv6 ospf neighbor show ipv6 ospf neighbor To display IPv6 OSPF neighbor information on a per interface basis, use the show ipv6 ... Time Interface 10.76.37.3 1 Full/DR 0DT0H0M33S vlan2 10.76.37.3 1 Full/ 0DT0H0M38S VLINK1 Total Entries: 2 Instance ID 0 0 CLI Reference Guide 695
  • Page 706
    DGS-6604 m show ipv6 ospf route show ipv6 ospf route To display the current contents of the IPv6 OSPF routing table, use the ...directly connected, vlan2, TransitArea 0.0.0.1 C 3ffe:4::30/128 0 directly connected, vlan2, TransitArea 0.0.0.1 Total Entries: 6 entries, 6 routes CLI Reference Guide 696
  • Page 707
    DGS-6604 m show ipv6 ospf virtual-links show ipv6 ospf virtual-links To display parameters and the current state of IPv6 OSPF virtual links, ... sec, State Point-To-Point, Timer intervals configured, Hello 10, Dead 40, Retransmit 5 Hello due in 0DT0H0M2S Adajcency state Full CLI Reference Guide 697
  • Page 708
    DGS-6604 m show ipv6 protocols [PROCESS-ID ospf | rip ] show ipv6 protocols [PROCESS-ID ospf | rip ] Use this command to display the ...: (default is 110) Don't originate type 5 default route Redistributing: type metric metric_type connected 20 2 static 20 2 rip 20 2 CLI Reference Guide 698
  • Page 709
    DGS-6604 m show ipv6 protocols [PROCESS-ID ospf | rip ] The following is sample output from the show ipv6 protocols rip command. switch#show ipv6 protocols .... no. of IPv6 RIP routes allowed: 6144 no. of IPv6 RIP routes excluding connected: 2 Distance: distance (default)120 CLI Reference Guide 699
  • Page 710
    DGS-6604 m show ipv6 rip database show ipv6 rip database To display information about current IPv6 RIP processes, use the show ipv6 rip database ...219:5bff:fef5:2cc1 fe80::219:5bff:fef5:2cc1 :: :: Met vlan2 vlan2 vlan3 vlan2 1 1 Time 2 2 Total Entries: 4 entries, 4 routes CLI Reference Guide 700
  • Page 711
    DGS-6604 m show ipv6 rip interface show ipv6 rip interface To display the usability status of interfaces configured for IPv6 RIP, use the show ...: RIPng Passive interface: Disabled Split horizon: Enabled with Poisoned Reversed IPv6 interface address: fe80::a01:2ff:fe36:1/64 CLI Reference Guide 701
  • Page 712
    ... number. For more information about the numbering syntax for supported interface types, use the question mark ... configuration mode When the system provides forwarding services for IPv6 traffic, it is very important and ... connected static Default Command Mode Usage Guideline CLI Reference Guide 702
  • Page 713
    DGS-6604 m show ipv6 route Example Use the show ipv6 route command to check what are the active routing entries for IPv6 . Switch > enable Switch #...64 [1/0] via fe80::250:baff:fe91:bb28, vlan111 [1/0] via fe80::a00:1ff:fe02:6, vlan10 Total Entries: 10 entries, 12 routes CLI Reference Guide 703
  • Page 714
    DGS-6604 m show ipv6 route summary show ipv6 route summary To display the current state of the IPv6 routing table, use the show ipv6 route summary command...6 IPv6 routing table maximum-paths is 6 Route Source Networks connected 4 static 1 rip 34 Total 39 FIB 34 multi-path 0 CLI Reference Guide 704
  • Page 715
    DGS-6604 m show loopback-detection show loopback-detection Use the command to show the current loopback detection control settings. show loopback-detection [... eth3.1 eth3.8 eth4.5 LoopDetect State Enabled Enabled Enabled Result Time Left(sec Normal Normal Loop 20 CLI Reference Guide 705
  • Page 716
    DGS-6604 m show loopback-detection This example shows current loopback detection setting for vlan-based mode. Switch# show loopback-detection Status : ... Loop Status Time Left(sec eth3.1 Enabled Normal eth3.8 Enabled Normal eth4.5 Enabled Loop 20 Total Entries: 3 Switch# CLI Reference Guide 706
  • Page 717
    DGS-6604 m show logging show logging Use show logging to display the state of the system logging process and the contents of the ... table. Default Command Mode Usage Guideline Examples The following page shows an example of the command show logging with the keyword host: CLI Reference Guide 707
  • Page 718
    ... 514 35.4.56.2 critical local4 1300 DGS-6600:15(config)#show logging ... arguments with the show logging buffer command: DGS-6600:15#show logging buffer +... vlan99 is up System is cold started DGS-6600:15#show logging buffer ... System is rebooted by user admin, IP 0.0.0.0, via co CLI Reference Guide 708
  • Page 719
    DGS-6604 m show logging Below is an example of using the START-INDEX and STOP-INDEX arguments with the show logging buffer command. DGS-6600:15(mgmt-if)# show logging buffer 250 260...is up Interface eth4.43 is up Interface vlan20 is up DGS-6600:15(mgmt-if)# CLI Reference Guide 709
  • Page 720
    DGS-6604 m show mac address-table show mac address-table Use the show mac address-table command to display: a specific MAC address, static entries, ... Usage Guideline Examples Switch# show mac address-table Vlan Mac Address Type 1 00-02-4b-28-c4-82 Static Total Entries: 1 CLI Reference Guide 710
  • Page 721
    DGS-6604 m show mac address-table This is an example of output from the show mac address-table static command: Switch> show mac address-table Vlan Mac Address Type 1 01-00-... Mac Address Type 1 00-02-4B-28-C4-82 Static 1 00-03-40-11-22-33 Dynamic vlan 1 Ports CPU eth3.2 CLI Reference Guide 711
  • Page 722
    DGS-6604 m show mac address-table aging destination-hit show mac address-table aging destination-hit Use the show mac address-table aging ... destination-hit command: Switch> show mac address-table aging destination-hit Mac address-table aging destination-hit is enabled CLI Reference Guide 712
  • Page 723
    DGS-6604 m show mac address-table aging-time show mac address-table aging-time Use the show mac address-table aging-time command to display the... output from the show mac address-table aging-time command: Switch> show mac address-table aging-time Aging Time is 300 seconds. CLI Reference Guide 713
  • Page 724
    DGS-6604 m show mgmt-if show mgmt-if Use this command to show the status of the ... 10.1.1.1/8 IPv4 Default Gateway : 10.1.1.254 IPv6 Global Address : 6600::66/64 IPv6 Link-local Address : fe80::40b:...fe19:0/64 IPv6 Default Gateway : :: IP MTU : 1600 Link Status : Down Switch# CLI Reference Guide 714
  • Page 725
    DGS-6604 m show monitor session show monitor session Use this command to show all or a specific port mirroring session. show monitor session [ SESSION-... : eth3.2-3.4 RX : eth3.5 TX : eth3.7 Switch# This example shows how to display all the created port mirroring sessions. CLI Reference Guide 715
  • Page 726
    DGS-6604 m show monitor session Switch# show monitor session Session 1 Session type: local session Destination Port : eth1.1 Source Ports : Both ...TX : eth1.7 Session 4 Session type: remote destination session source remote VLAN : VLAN 100 destination Ports : eth2.5 Switch# CLI Reference Guide 716
  • Page 727
    DGS-6604 m show multicast filtering-mode show multicast filtering-mode Use the ... to display the filtering mode on (only VLAN interfaces are supported). None User EXEC or any configuration mode ... Interface Multicast Filtering Mode VLAN1 filter-unregistered Total Entries: 1 CLI Reference Guide 717
  • Page 728
    DGS-6604 m show policy-map show policy-map Use this command to display the policy ...-map INTERFACE-ID displays the policy map configuration if the service policy has been attached to the specified interface. ....1 Router(config-if)#service-policy policy1 Router(config-if)#end CLI Reference Guide 718
  • Page 729
    DGS-6604 m show policy-map The following sample output shows the contents of the policy map called policy1: Switch# show policy-map policy1 Policy Map ...-tcm cir 500000 bc 10000 pir 1000000 be 10000 exceed-action : setdscp-transmit 2 violate-action : drop Total Entries : 1 CLI Reference Guide 719
  • Page 730
    ... Mode Usage Guideline Examples This example shows how to display the port security setting of interface port eth4.1. DGS-6600:15#show port-security interface eth4.1 ... Secure Type State eth4.1 1 0 Shutdown Delete-on-Timeout Disabled Total Entries: 1 CLI Reference Guide 720
  • Page 731
    ... Mode Usage Guideline Example None User EXEC or any configuration mode None The following example shows how to display power-saving information. DGS-6600:2#show power-saving Power-saving status phy power-saving:Enabled CLI Reference Guide 721
  • Page 732
    DGS-6604 m show qos aggregate-policer show qos aggregate-policer Use this command to display the configured aggregated policer. show qos aggregate-policer [NAME]... tr-tcm cir 64 bc 128 pir 256 be 512 exceed-action : set-dscp-transmit 2 violate-action : drop Total Entries:2 CLI Reference Guide 722
  • Page 733
    DGS-6604 m show qos interface show qos interface Use this command to display the port level QoS configurations. show qos interface INTERFACE-ID [,|-] {... qos interface eth3.2-3.5 cos Interface CoS eth3.2 3 (qos) eth3.3 4 (qos) eth3.4 4 (qos) eth3.5 3 (qos) Total Entries: 4 CLI Reference Guide 723
  • Page 734
    DGS-6604 m show qos interface This example displays the port trust state for ports eth3.2 - eth3.5. Switch> show qos interface eth3.2-3.5 trust...show qos interface eth3.1-3.2 dscp-mutation Interface DSCP Mutation Map eth3.1 Mutate Map 1 eth3.2 Mutate Map 2 Total Entries: 2 CLI Reference Guide 724
  • Page 735
    DGS-6604 m show qos interface The following example displays the CoS bandwidth allocation for ports eth3.13.2: Switch> show qos interface eth3.1-3.2 bandwidth ...to Green CoS 3-4 are mapped to Yellow CoS 6 are mapped to Red eth3.4 CoS 0-7 are mapped to Green Total Entries: 2 CLI Reference Guide 725
  • Page 736
    DGS-6604 m show qos interface The following example displays the DSCP to CoS map for ports eth3.1. Switch> show qos interface eth3.1 map dscp-cos eth3.1 0 1 2 3 4 5 6 7 8 9 00... 04 04 04 04 04 40 05 05 05 05 05 05 05 05 06 06 50 06 06 06 06 06 06 07 07 07 07 60 07 07 07 07 CLI Reference Guide 726
  • Page 737
    DGS-6604 m show qos map show qos map Use this command to display the QoS DSCP mutation map configuration. show qos map dscp-mutation [MAP-NAME] Syntax Description MAP-NAME (Optional) ... 38 39 40 40 41 42 43 44 45 46 47 48 49 50 50 51 52 53 54 55 56 57 58 59 60 60 61 62 63 CLI Reference Guide 727
  • Page 738
    DGS-6604 m show route-map show route-map Use this command to display static route maps, show route-map [MAP-NAME] Syntax Description MAP-NAME ...Switch# show route-map myPolicy route-map myPolicy, permit, sequence 10 Match clauses: as-path R1 Set clauses: weight 120 Switch# CLI Reference Guide 728
  • Page 739
    DGS-6604 m show running-config show running-config Use this command to display the contents of the current running configuration file. show running-... 1.00.001 #Slot Module-Type Model 1 Management Control Module CMU-Card # 2 # 3 # 4 48 ports 1000Base-T 48T-IOCard ! ! ! CLI Reference Guide 729
  • Page 740
    DGS-6604 m show snmp show snmp Use this command to display the SNMP information of the device. show snmp { community | host | view | group | engineID } ....48.76.100 v3 noauth 10.51.17.1 v2c public 20:64:84::154 v2c public Total Entries: 3 Switch# SNMPv3 User Name initial CLI Reference Guide 730
  • Page 741
    DGS-6604 m show snmp This example is sample output from the command show snmp view. Switch# show snmp view View Name Subtree View Type restricted...> writeview: notifyview: *tv.FFFFFFFF.FFFFFFFF.FFFFFFFF0F row status: active Total Entries: 4 Switch# CLI Reference Guide 731
  • Page 742
    DGS-6604 m show snmp This example is sample output from the command show snmp engineID. Switch# show snmp engineID Local SNMP engineID: 00000009020000000C025808 Switch# CLI Reference Guide 732
  • Page 743
    DGS-6604 m show snmp-server show snmp-server Use this command to display configuration information ... to display the SNMP server configuration snmp-server : Enabled : DGS-XXXXS Stackable Switch : HQ 15F : MIS ... Examples Switch# show SNMP Server System. Name Location Contact CLI Reference Guide 733
  • Page 744
    DGS-6604 m show snmp-server Switch# show snmp-server traps Global Trap State : Enabled SNMP Authentication : Enabled linkup : Enabled linkdown...Disabled pkt-storm-ctrl : Disabled safe-guard : Disabled single-ip : Disabled mac-violation : Disabled mac-notificaiton : Disabled CLI Reference Guide 734
  • Page 745
    DGS-6604 m show snmp user show snmp user Use this command to display information about the configured characteristics of an SNMP user. show snmp ... not entered, the show snmp user command displays information about all configured users. Default Command Mode Usage Guideline CLI Reference Guide 735
  • Page 746
    DGS-6604 m show snmp user Example This example shows how to display the SNMP user authuser's information. Switch# show snmp user authuser User Name: authuser ... the user is a part of. • SNMP groups are defined in the context of a View-based Access Control Model (VACM). CLI Reference Guide 736
  • Page 747
    DGS-6604 m show sntp show sntp Use this command to show information about the SNTP server. show sntp Syntax Default Command Mode Usage Guideline Example None None User ...69.118.9 5 172.21.28.34 4 Total Entries: 2. Switch> Last Receive -----------00:01:02 00:00:36 Synced CLI Reference Guide 737
  • Page 748
    DGS-6604 m show spanning-tree show spanning-tree This command is used to show the information about the STP module. This command is ... mode is MSTP. Default Command Mode Usage Guideline Examples The example on the next page shows how to display the spanning information. CLI Reference Guide 738
  • Page 749
    DGS-6604 m show spanning-tree Switch# show spanning-tree Spanning tree: Enabled, mode: RSTP Forwarding BPDU : Disabled Root ID Priority : ..., Operation status: P2P Configured Path Cost : Auto, Operation result: 200000 Guard Root : Disabled TCN Filtering : Disabled Switch# CLI Reference Guide 739
  • Page 750
    DGS-6604 m show spanning-tree mst show spanning-tree mst Use the command to show the information that used in MSTP version. show ... all the MSTP specific Default Command Mode Usage Guideline information. An error message will appear if the operating mode is STP or RSTP. CLI Reference Guide 740
  • Page 751
    DGS-6604 m show spanning-tree mst Examples This example shows how to MSTP summary information. Switch# show spanning-tree mst Spanning tree: Enabled, protocol:MSTP ...A eth3.11 backup blocking 200000 128.11 shared edge A eth3.12 root forwarding 2000 128.12 p2p edge Switch# CLI Reference Guide 741
  • Page 752
    DGS-6604 m show spanning-tree mst This example shows how to display the MSTP MD5 digest information. Switch#show spanning-tree mst digest Name : [region1] Revision : 2, Instances configured: 3 Digest : 3C 60 DB F2 4B 03 EB F0 9C 59 22 F4 56 D1 8A 03 Switch# CLI Reference Guide 742
  • Page 753
    DGS-6604 m show ssh show ssh Use this command to display the status of Secure Shell (SSH) server connections. show ssh Syntax Default ... SSH client is using. The login username that has been authenticated for the session. The IP address of the system running an SSH client. CLI Reference Guide 743
  • Page 754
    DGS-6604 m show startup-config show startup-config Use this command to display the content of the startup configuration file. show startup-config... #Boot configuration file=flash:\configurations\def_usr.conf #Switch Chassis-based High-Speed Switch #Firmware Version:1.00.001 CLI Reference Guide 744
  • Page 755
    DGS-6604 m show storm-control show storm-control Use this command to show the current storm control settings. show storm-control [interface [... Broadcast Broadcast Action --------Drop Shutdown Shutdown Type pps percentage percentage Threshold 500 80 80 Total Entries:3 CLI Reference Guide 745
  • Page 756
    DGS-6604 m show storm-control This example shows all the interface settings. Switch# show storm-control interface Interface ----------eth3.1 eth3.1 eth3.1 .... Switch# show storm-control Time Interval Countdown Timer Auto Recover Time : 15 seconds : 180 seconds : 300 seconds CLI Reference Guide 746
  • Page 757
    ... Use keyword of protocol-state to show the information about the administrative and operational state of the supported protocols. This example on the following page shows how to display the Switch information Default Command Mode Usage Guideline Example CLI Reference Guide 747
  • Page 758
    ...:0A1G :1.00.002 :1.00.018 :QT0X1AC000001 :DGS-6600-CMI :06:60:0c:10...0A0-2 :1.00.002 :1.00.018 :QT101AC000001 :DGS-6600-48P :08:03:04:...0A0-1 :1.00.002 :1.00.018 :QT111AC000001 :DGS-6600-48TS :08:03:05:...0A1G :1.00.002 :1.00.018 :QT0Z1AC000001 :DGS-6600-48S :06:48:c0:14:00:00 :48 CLI Reference Guide 748
  • Page 759
    DGS-6604 m show system The following shows the output for the command show system protocol-state command: CLI Reference Guide 749
  • Page 760
    DGS-6604 m show system DGS-6600:15#show system protocol-state Password Encryption :Disabled SNMP Server :Disabled SNMP6 Server :... Screening :Enabled DHCP Snooping :Disabled IP Source Guard :Disabled Dynamic ARP Inspection :Disabled Policy Base Route :Enabled DGS-6600:15# CLI Reference Guide 750
  • Page 761
    DGS-6604 m show time-range show time-range Use this command to display the time range profile configuration. show time-range [ NAME ] Syntax Description NAME (Optional) The... ~ 23:59, every Sat 00:00 ~ 23:59, every Sun 19:00 (the 1st day) ~ 17:00 (the 2nd day) every month CLI Reference Guide 751
  • Page 762
    DGS-6604 m show traffic-segmentation show traffic-segmentation Use this command to show the traffic segmentation for some ports or all ports... show traffic-segmentation interface eth3.1 Interface Forwarding Interface(s eth3.1 eth3.1, eth3.4, eth3.5, eth3.6 Total Entries: 1 CLI Reference Guide 752
  • Page 763
    ... on the SW release. Slot ---1 2 3 4 Slot ---1 2 3 4 Model DGS-6600-CM DGS-6600-8XG Model DGS-6600-CM DGS-6600-8XG Status -------ok ok Up-Time 0DT0H2M49S 0DT0H2M17S Default Command Mode ... display fields. Description The operating time since system power-up. CLI Reference Guide 753
  • Page 764
    DGS-6604 m show username show username Use this command to display the username and password pair database. show username [NAME] Syntax Description ... denotes the entry's password is encrypted. If there is no '*' next to the entry it indicates the password is 'Plain Text'. CLI Reference Guide 754
  • Page 765
    DGS-6604 m show user-session show user-session Use this command to display information about the active lines on the switch. show user-session [console | telnet | ...-05-13 0.0.0.0 co 15 12345678901234567890 1 01:00:28, 2008-05-13 172.171.160.100 te 15 admin Total Entries: 2 CLI Reference Guide 755
  • Page 766
    ... example shows how to display the software and hardware versions on a DGS-6604 switch: Switch#show version GS-6604...001 PCBA: 0 Runtime: 1.00.021 CPLD: ver-0 2 3 4 DGS-6600-48S Serial#: H/W: Bootloader: Runtime: CPLD...123456789-123456789-0123456789 0A1G 1.00.001 1.00.021 ver-4 CLI Reference Guide 756
  • Page 767
    DGS-6604 m show vlan show vlan Use the show VLAN command to display the parameters for all configured VLANs or one VLAN (if the ..., ingress checking, and acceptable frame type information. interface INTERFACE-ID , [ detail | dynamic] Default Command Mode Usage Guideline CLI Reference Guide 757
  • Page 768
    DGS-6604 m show vlan The following are the causes for an interface to become an untagged member port of a VLAN. 1. Configuration using an access ... is specified all of VLAN configurations are displayed. Examples This example shows how to display all current VLAN entries. CLI Reference Guide 758
  • Page 769
    DGS-6604 m show vlan Switch# show vlan VLAN 1: Name: default GVRP advertisement: yes Static Tag Member Ports: None Static Untag Member Ports: eth4.2, ...: eth4.47, Static Untag Member Ports: eth4.43, GVRP Advertise Ports: eth4.1-eth4.48, port-channel1 Forbidden Ports: None CLI Reference Guide 759
  • Page 770
    DGS-6604 m show vlan This example shows how to display information for interface ports eth4.1 to eth4.3. Information such as ingress checking and the ... VLAN Acceptable frame types Switch# 1 Disabled Enabled 1 1-4094 admit-all 1 Disabled Enabled 1 1-4094 admit-all CLI Reference Guide 760
  • Page 771
    DGS-6604 m show vlan This example shows how to display the MAC-base VLAN table. Switch(config)#show vlan mac-base MAC Address VLAN ID 00-80-...show vlan subnet-base Subnet VLAN ID 20.0.1.0/8 100 192.0.1.0/8 100 20.0.2.0/8 200 20.0.3.0/8 300 Total Entries: 4 Switch(config)# CLI Reference Guide 761
  • Page 772
    DGS-6604 m show vlan-tunnel show vlan-tunnel Use this command to display the VLAN tunnel related settings. show vlan-tunnel [ INTERFACE-ID [ , | - ]... table. If no argument is specified only the status of VLAN tunnel mode will be shown. Default Command Mode Usage Guideline CLI Reference Guide 762
  • Page 773
    DGS-6604 m show vlan-tunnel Examples This example shows how to display the status of VLAN tunnel mode. Switch# show vlan-tunnel VLAN tunneling: ...above fields. Description The state of the VLAN tunneling function. Indicates that the port is either a UNI port or NNI port. CLI Reference Guide 763
  • Page 774
    DGS-6604 m show vlan-tunnel Field CoS remarking VLAN S-VID/C-VID CoS Description ... Shows the VLAN encapsulation and remarking pairs. Indicates the service provider VLAN ID and customer VLAN ID of ... 2003 5 3004 6 remarking 2 102 4 remarking 3 103 5 remarking 4 104 5 Switch# CLI Reference Guide 764
  • Page 775
    DGS-6604 m show vlan-tunnel ctag-mapping show vlan-tunnel ctag-mapping This command is used to display the state of the dynamically learned customer VLAN tag ... static Destination IP C-VID 192.168.10.0/24 233 192.168.20.0/24 155 2011:254::/64 850 Total Entries: 3 Switch# CLI Reference Guide 765
  • Page 776
    DGS-6604 m show vrrp show vrrp This command is used to view the VRRP status. show vrrp [interface INTERFACE-ID [ VRID ] ] Syntax Description ..., 7 and 8, configured in the interface vlan1, a VRID 5 configured in interface vlan2 and a VRID 1 configured in interface vlan3. CLI Reference Guide 766
  • Page 777
    DGS-6604 m show vrrp Switch#show vrrp vlan1 - VRID 7 State is Master Virtual IP address is 20.0.1.1 Virtual MAC address is 00-00-5e-00-...disabled Priority is 80 Critical IP address is 0.0.0.0 Master router is 50.0.1.2 Master Down interval is 3.687 sec (expires in 3.550 sec) CLI Reference Guide 767
  • Page 778
    DGS-6604 m show vrrp The following example shows how to view VRRP information of interface vlan1 and VRID 8. Switch#show vrrp interface vlan1 8 ... Preemption disabled Priority is 200 Critical IP address is 0.0.0.0 Master router is 20.0.1.1 Master Down interval is 3.218 sec CLI Reference Guide 768
  • Page 779
    DGS-6604 m show vrrp brief show vrrp brief This command is used to view the VRRP brief status. show vrrp brief [ all ] Syntax .... "Y" indicates preempt mode is enabled. State of the virtual router IP address of the master virtual router. IP address of the virtual router. CLI Reference Guide 769
  • Page 780
    DGS-6604 m shutdown (interface) shutdown (interface) Use this command to disable the port interface. Use the no form of the command to enable the port ... command to set interface port eth3.1 to the disabled state Switch(config)# interface eth3.1 Switch(config-if)# shutdown CLI Reference Guide 770
  • Page 781
    DGS-6604 m shutdown (Management Port ) shutdown (Management Port ) Use this command to disable the management port. Use the no form of the command to turn ... Example Switch(config)#mgmt-if Switch(mgmt-if)#shutdown Switch(mgmt-if)#end by entering the show mgmt-if command. CLI Reference Guide 771
  • Page 782
    DGS-6604 m show ip dhcp snooping Use this command to display DHCP snooping configuration. show ip dhcp snooping Syntax Default Command Mode Usage ... Verify MAC address is Enabled Information option: not allowed Interface Trusted eth3.1 no eth3.8 no eth3.9 yes Switch# CLI Reference Guide 772
  • Page 783
    DGS-6604 m show ip dhcp snooping binding show ip dhcp snooping binding Use the command to display DHCP snooping binding entries. show ip dhcp snooping ...10.1.1.10 1500 dhcp-snooping 100 eth3.5 00-01-02-00-00-05 10.1.1.1 1495 dhcp-snooping 100 eth3.5 Total Entries: 2 Switch# CLI Reference Guide 773
  • Page 784
    DGS-6604 m This example shows how to display DHCP snooping binding entries by IP 10.1.1.1: Switch# show ip dhcp snooping binding 10.1.1.1 Mac Address IP Address ...(seconds) Type VLAN Interface 00-01-02-00-00-05 10.1.1.1 1495 dhcp-snooping 100 eth3.5 Total Entry: 1 Switch# CLI Reference Guide 774
  • Page 785
    DGS-6604 m This example shows how to display DHCP snooping binding entries by IP 10.1.1.1 and MAC 00-01-02-03-04-05 on vlan100: Switch# show ip dhcp ... 10.1.1.10 1500 dhcp-snooping 100 eth3.5 00-01-02-00-00-05 10.1.1.11 1495 dhcp-snooping 100 eth3.5 Total Entries: 2 Switch# CLI Reference Guide 775
  • Page 786
    DGS-6604 m show ip dhcp snooping database show ip dhcp snooping database This command is used to display the statistics...snooping database Successful Transfer: 0 Failed Transfer Binding Collisions : 0 Expired lease Invalid interfaces : 0 Parse failures : 0 Switch# : : 0 0 CLI Reference Guide 776
  • Page 787
    DGS-6604 m show erps domain show erps domain The show erps domain command is used to display information of all created ERPS domains. show...# show erps domain ERPS is globally disabled Switch# The following example displays instance information of all created ERPS domains: CLI Reference Guide 777
  • Page 788
    DGS-6604 m show erps domain Switch# show erps domain Domain ERPI Type Status Port-State ID campus1 1 Major Idle East:Blocked West:... East:Blocked West:Forwarding campus1 2 Sub Protection East:Virtual Channel West:Forwarding Total ERP instances in domain campus1 : 2 Switch# CLI Reference Guide 778
  • Page 789
    DGS-6604 m show erps erpi show erps erpi The show erps erpi command is used to display information of ERP instance. show erps ..." values of parameters. Default Command Mode Usage Guideline • Example The following example displays detailed information ERP instance 1: CLI Reference Guide 779
  • Page 790
    DGS-6604 m show erps erpi Switch# show erps erpi 1 ERPS global state : Enabled ERP ... West ring port state : Forwarding RPL owner port : East Service protected VLANs : 10-20 Guard timer : 500 ... Switch# The following example shows detailed information of sub ERP instance 2: CLI Reference Guide 780
  • Page 791
    DGS-6604 m show erps erpi Switch# show erps erpi 2 ERPS global state : Enabled ... ring port state : RPL owner port : (Not-configured) Service protected VLANs : 15-25 Guard Timer : 500 ... controlled virtual channel VLAN : 3 Topology change propagation state : Enabled Switch# CLI Reference Guide 781
  • Page 792
    DGS-6604 m show vlan voice-vlan show vlan voice-vlan Use this command to display the voice VLAN configurations. show vlan voice-vlan [ oui | ... Voice VLAN ID : 1000 CoS Priority : 7 Aging time : 60 minutes Member ports : eth3.1-3.5 Dynamic member ports : eth3.4 Switch# CLI Reference Guide 782
  • Page 793
    DGS-6604 m This example displays the OUI information of voice VLAN. Switch#show vlan voice-vlan ...Enabled Enabled Enabled Enabled Enabled Mode -------Manual Manual Manual Manual Manual Mask ff-ff-ff-00-... NEC&Philips Pingtel Veritel 3COM UserDefined Total Entries: 5 Switch# CLI Reference Guide 783
  • Page 794
    DGS-6604 m This example displays the learned voice devices on ports eth3.1 and eth3.2. Switch#show vlan voice-vlan device interface eth3.1-3.2 Interface eth3.1 eth3.1 eth3.1 ... eth3.5 MAC Address 00-E0-BB-00-00-12 Network Address 10.10.1.2 10:09:14, 2011-05-20 120 Seconds CLI Reference Guide 784
  • Page 795
    DGS-6604 m show ip policy show ip policy Use the command to display the route map used for policy based routing. show ip policy Syntax Default ... the show ip policy command: Switch#show ip policy Interface Route-map vlan1 pbr-map1 Vlan2 pbr-map2 Vlan100 pbr-map3 Switch# CLI Reference Guide 785
  • Page 796
    DGS-6604 m show ip arp inspection show ip arp inspection Use this command to display the status of DAI for a specific range of VLANs. ... Source MAC Failures 21546 0 Dest MAC Failures IP Validation Failures 0 0 Example Switch# VLAN ----10 VLAN ----10 VLAN ----10 Switch# CLI Reference Guide 786
  • Page 797
    DGS-6604 m show ip arp inspection This example shows how to display the statistics of packets that have been processed by DAI for all active ... Validation : Disabled Destination Mac Validation: Disabled IP Address Validation : Disabled VLAN Configuration 10 Enabled Switch# CLI Reference Guide 787
  • Page 798
    DGS-6604 m show ip arp inspection This example shows how to display the trust state of interface eth3.3: Switch# show ip arp inspection interfaces ... eth3.2 untrusted eth3.3 untrusted eth3.5 Trusted eth3.6 untrusted eth3.7 untrusted eth3.8 untrusted Total Entries: 7 Switch# CLI Reference Guide 788
  • Page 799
    DGS-6604 m show ip source binding show ip source binding Use the command to ... mode IP source guard use binding entries that are either manually configured or auto learned by DHCP snooping. The command accepts... 10.1.1.11 3120 dhcp-snooping 100 eth3.3 Total Entries: 2 Switch# CLI Reference Guide 789
  • Page 800
    DGS-6604 m show ip source binding This example shows how to display IP Source Guard binding entries by IP address 10.1.1.11. Switch# show ip source binding... Type 00-01-01-01-01-10 10.1.1.11 3564 dhcp-snooping Total Entry: 1 Switch# dhcp-snooping VLAN Interface 100 eth3.3 CLI Reference Guide 790
  • Page 801
    DGS-6604 m show ip verify source show ip verify source Use this command to display the port ACL entry on a particular interface. show ip verify source [...100 eth3.3 ip-mac Active 10.1.1.11 00-01-01-01-01-10 101 eth3.3 ip-mac Active deny-all deny-all Total Entries: 3 Switch# CLI Reference Guide 791
  • Page 802
    DGS-6604 m show ip dhcp screening show ip dhcp screening Used to display the configuration of DHCP server screening show ip dhcp screening Syntax Default ...Server/Client List: Server IP Address Client MAC Address Port 10.1.1.1 00:08:01:02:03:04 eth4.1-4.23 Total Entries: 1 CLI Reference Guide 792
  • Page 803
    DGS-6604 m show sflow show sflow Use the show sflow command to display the sFlow information. show sflow [agent|receiver|sampler|poller] ... Enabled Receivers Information Index : Owner : Current Countdown Time: Max Datagram Size : Address : 1 collector1 86122 1400 10.1.1.2 CLI Reference Guide 793
  • Page 804
    DGS-6604 m show sflow Port Datagram Version : 6343 : 5 Index : 2 Owner : collector2 Current Countdown Time: 86355 Max Datagram Size : 1400 Address :...128 eth3.2 2 2 512 256 Pollers Information Interface Instance Receiver Interval eth3.1 1 1 10 eth3.2 1 1 10 eth3.2 2 2 20 CLI Reference Guide 794
  • Page 805
    DGS-6604 m show lldp show lldp To displays the switch's general LLDP configuration, use the show lldp command. show lldp Syntax Default ... is used to show LLDP system global configurations. This example shows how to display the LLDP system global configuration status: CLI Reference Guide 795
  • Page 806
    ... Chassis ID System Name System Description System Capabilities Supported System Capabilities Enabled LLDP-MED System Information Device ... XXXXXXXXXX 123456789-123456789-123456789-01 D-Link Corporation. DGS-6604 XXXXXXXXXX PSE Device Primary : Disabled : 30 : 4 : 2 : 2 : 4 CLI Reference Guide 796
  • Page 807
    DGS-6604 m show lldp interface show lldp interface To display the LLDP each physical interface configuration for advertisement options, use the .... The following is sample output from the show lldp interface command. To display a specific physical interface configuration: CLI Reference Guide 797
  • Page 808
    DGS-6604 m show lldp interface Switch> show lldp interface eth4.4 Port ID: eth4.4 Port ID : eth4.4 Admin Status : TX and RX Basic ... TLVs: Capabilities TLV : Disabled Network Policy TLV : Disabled Extended Power Via MDI PSE TLV : Disabled Inventory TLV : Disabled Switch> CLI Reference Guide 798
  • Page 809
    DGS-6604 m show lldp local interface show lldp local interface To display the each physical interface information, which will be carried in the... output from the show lldp local interface command to display outbound LLDP advertisements for eth4.4 in detailed mode.: Example CLI Reference Guide 799
  • Page 810
    DGS-6604 m show lldp local interface Switch> show lldp local interface eth4.4 detail ...1 : Port and Protocol VLAN ID PPVID Supported PPVID Enable Entry 2 : Port and Protocol VLAN ...: VLAN ID VLAN Name : 2 : 4 : Supported : Enabled : 5 : Supported : Enabled : 1 : 1 : VLAN0001 CLI Reference Guide 800
  • Page 811
    DGS-6604 m show lldp local interface Protocol Identity Entries Count Entry 1 ...ID Maximum Frame Size LLDP-MED Capabilities Support Capabilities Network Policy Location Identification Extended... Aggregation 0 : 1536 : : : : : : Support Support Not Support Support Not Support CLI Reference Guide 801...
  • Page 812
    DGS-6604 m show lldp local interface Inventory Network Policy Application type VLAN ID ...-Via-MDI TLV Power priority Power value Switch> : Support : : Voice : 100 : 7 : 0 : False : True : : : High 30 Watts The ...-D0-11-00-17 Port Description : RMON Port 1 on Unit 1 Switch> CLI Reference Guide 802
  • Page 813
    DGS-6604 m show lldp local interface Switch> show lldp local interface eth 3.1 Port ID : eth3.1 ----------------------------------------------------------------------...MED capabilities Extended Poer via MDI Network policy Switch> : (See Detail) : (See Detail) : (See Detail) CLI Reference Guide 803
  • Page 814
    DGS-6604 m show lldp management-address show lldp management-address To display the LLDP management address information, use the show lldp ... Advertising Ports : eth3.1-3.5, eth3.7, eth4.10-4.20 Switch> This example shows how to display all management address information: CLI Reference Guide 804
  • Page 815
    DGS-6604 m show lldp management-address Switch> show lldp management-address Address 1: (default) -----------------------------------------------Subtype : IPv4 Address ...:: IF Type : IfIndex OID : 1.3.6.1.4.1.171.10.118.3 Advertising Ports : eth3.6 Total Entries : 4 Switch> CLI Reference Guide 805
  • Page 816
    DGS-6604 m show lldp neighbor interface show lldp neighbor interface To display the each physical interface information currently learned ... Guideline Not applicable EXEC mode or any configuration mode This command display the information learned from the neighbor devices. CLI Reference Guide 806
  • Page 817
    ...Name : Switch1 System Description : Stackable Ethernet Switch System Capabilities Supported : Repeater, Bridge System Capabilities Enabled : Repeater, Bridge ...Link Aggregation Maximum Frame Size Unknown TLVs Count (None) : 0 : 0 : 0 : 0 : : : : : (None) (None) (None) 0 0 CLI Reference Guide 807
  • Page 818
    DGS-6604 m show lldp neighbor interface LLDP-MED capabilities: LLDP-MED device class LLDP-MED capabilities support LLDP-MED capabilities Network Policy Location identification ... The following is sample output from the show lldp neighbor interface eth3.1 command. CLI Reference Guide 808
  • Page 819
    DGS-6604 m show lldp neighbor interface Switch> show lldp neighbor interface eth3.1 ... Description : Stackable Ethernet Switch System Capabilities Supported : Repeater, Bridge System Capabilities Enabled : ... Detail) Inventory Management : (See Detail) Unknown TLVs Count : 2 CLI Reference Guide 809
  • Page 820
    DGS-6604 m show lldp neighbor interface Entity 2 Chassis ID Subtype : MAC ... Description : Stackable Ethernet Switch System Capabilities Supported : Repeater, Bridge System Capabilities Enabled :... command to display the neighbor information on eth3.1 to eth3.2 in brief mode. CLI Reference Guide 810
  • Page 821
    DGS-6604 m show lldp neighbor interface Switch > show lldp neighbor interface eth3.1-3.2 brief Port ID: eth3.1 -----------------------------------------------------------Remote Entities Count : ...2 : : : : : MAC Address 00-01-02-03-04-05 Local eth3.2 RMON Port 2 on Unit 3 CLI Reference Guide 811
  • Page 822
    DGS-6604 m show lldp statistics show lldp statistics To display the system global LLDP statistics information, use the show lldp statistics in user ... Last Change Time : 0DT0H2M24S Total Inserts : 1 Total Deletes : 0 Total Drops : 0 Total Ageouts : 0 Interface PoE interface CLI Reference Guide 812
  • Page 823
    DGS-6604 m show lldp statistics interface show lldp statistics interface To display the each physical interface LLDP statistics information, use the show lldp ... : 0 Total Errors : 0 Total Receives : 27 Total TLV Discards : 0 Total TLV Unknows : 0 Total Ageouts : 0 Switch> CLI Reference Guide 813
  • Page 824
    DGS-6604 m show poe power system show poe power system Use the command ... units are displayed. The delim sign for specifying unit list supports two choices: hyphen (-) or comma (,). The hyphen sign is ... This example shows how to display PoE power system's power information. CLI Reference Guide 814
  • Page 825
    DGS-6604 m show poe power system Switch# show poe power system power-info PoE...(Total) PoE system notification: enabled PoE system service policy: preemptive unit priority allocated(W) consumed(W) ... 4.0.1.2 0(update done) 0(saved) 4 48 E101 4.0.1.2 1(process update) 0(saved) CLI Reference Guide 815
  • Page 826
    DGS-6604 m show poe power-inline show poe power-inline Use the show ... the interface range. If no specified interface, all supported PoE interfaces are displayed. Display the port configuration status ... is an example of output from the show poe power-inline status command. CLI Reference Guide 816
  • Page 827
    DGS-6604 m show poe power-inline switch# show poe power inline status Interface Priority PSE State OP Mode Class Max(mW) Used(W) TimeRange 3.1 1st on... 2 1 5 0 Invalid-Signature 0 0 0 0 0 0 This is an example of output from the show poe power-inline measurement command. CLI Reference Guide 817
  • Page 828
    DGS-6604 m show poe power-inline switch# show poe power inline measurement Interface Voltage(V) Current(mA) Temp(C) --------- ---------- ... 3.2 55 196.1 38 ...4.1 54.6 197.7 32 4.2 54.8 286.2 36 4.3 n/a n/a n/a 4.4 n/a n/a n/a ... Power(W) -------5.9 10.8 10.7 15.7 n/a n/a CLI Reference Guide 818
  • Page 829
    DGS-6604 m ssh ssh To start an encrypted session with a remote networking device, use the ... negotiation the remote networking device sends all the supported crypto algorithms. (Optional)Specifies a Hashed Message....19.200 is management interface which allows user to long in. CLI Reference Guide 819
  • Page 830
    DGS-6604 m ssh Switch# ssh -l admin 20.74.19.200 admin@20.74.19.200's password: Chassis-based High-Speed Switch Command Line ...: Chassis-based High-Speed Switch Command Line Interface Firmware: 1.50.B013 Copyright (c) 2007 D-Link Corporation. All rights reserved. Switch# CLI Reference Guide 820
  • Page 831
    DGS-6604 m switchport voice-vlan state switchport voice-vlan state Use the command to configure the voice VLAN state of ports. switchport voice-...vlan state enable Switch(config-if)#end Switch# You can verify your settings by entering show vlan voice-vlan interface command. CLI Reference Guide 821
  • Page 832
    DGS-6604 m snmp-server snmp-server Sn To enable the Simple Network Management Protocol (SNMP) agent, use the snmp-server command. To disable ...shows how to disable the SNMP server. Switch(config)# no snmp-server Verify the settings by entering the show snmp-server command. CLI Reference Guide 822
  • Page 833
    DGS-6604 m snmp-server community snmp-server community Use this command to set up the community access string to provide access to SNMP. Use the ... view. Switch(config)# snmp-server view mib2 1.3.6.1.2.1 included Switch(config)# snmp-server community comaccess view mib2 rw CLI Reference Guide 823
  • Page 834
    DGS-6604 m snmp-server community This example shows how to remove the community comaccess. . Switch(config)# no snmp-server community comaccess Verify the settings by entering the show snmp community command. CLI Reference Guide 824
  • Page 835
    DGS-6604 m snmp-server contact snmp-server contact Use this command to configure the system's snmp contact information. Use the no form ... Guideline Example Switch(config)# snmp-server contact MIS Department II Verify the settings by entering the show snmp-server command. CLI Reference Guide 825
  • Page 836
    DGS-6604 m snmp-server enable traps snmp-server enable traps To enable all Simple Network Management Protocol (SNMP) notification types that are available.... Example This example shows how to enable the SNMP traps. Switch(config)# snmp-server enable traps Switch(config)# CLI Reference Guide 826
  • Page 837
    DGS-6604 m snmp-server enable traps snmp snmp-server enable traps snmp To enable the sending of RFC 1157 Simple Network Management Protocol (... by this command, both the snmp-server enable traps linkup linkdown coldstart warmstart Default Command Mode Usage Guideline CLI Reference Guide 827
  • Page 838
    DGS-6604 m snmp-server enable traps snmp command and the snmp-server host command for that host must be set to enabled. The snmp-server ... traps. Switch(config)# snmp-server enable traps snmp authentication Verify the settings by entering the show snmp-server traps command. CLI Reference Guide 828
  • Page 839
    DGS-6604 m snmp-server engineID local snmp-server engineID local Use this command ... SNMP engine ID, see RFC 3411. To specify a manually configured ID, note that it is not necessary to specify ... local 123456789A Verify the settings by entering the show snmp engineID command. CLI Reference Guide 829
  • Page 840
    DGS-6604 m snmp-server group snmp-server group Use this command to configure... be used for the group. SMNPv3 is the most secure of the supported security models, as it allow explicit configuration... CommunityView CommunityView CommunityView Command Mode Global configuration CLI Reference Guide 830...
  • Page 841
    DGS-6604 m snmp-server group Usage Guideline An SNMP group defines the access method, the read view, the write view, and the ...(config)# snmp-server group guestgroup v3 auth read interfacesMibView Switch(config)# Verify the settings by entering the show snmp group command. CLI Reference Guide 831
  • Page 842
    DGS-6604 m snmp-server host snmp-server host Use the command to specify the recipient of a SNMP notification operation. Use the no command to ... the notification will be sent to, the user can specify the version of notification packet. For V1 and V2 SNMP, the notification CLI Reference Guide 832
  • Page 843
    DGS-6604 m snmp-server host will be sent in trap protocol data unit (PDU). For V3 SNMP, the notification will be sent in the SNMPv2-TRAP-PDU ...)# snmp-server host fe80::64:84:154 version 2c public vlan1 You can verify your settings by entering the show snmp host command. CLI Reference Guide 833
  • Page 844
    DGS-6604 m snmp-server location snmp-server location Use this command to configure the system location information. Use the no snmp-server ... Usage Guideline Example Switch(config)# snmp-server location HQ 15F Verify the settings by entering the show snmp-server command. CLI Reference Guide 834
  • Page 845
    DGS-6604 m snmp-server user snmp-server user Use this command to configure a new Simple Network Management Protocol (SNMP) user. Use the no... There is one preconfigured user: USER-NAME: initial GROUP-NAME: initial Command Mode Global configuration with privilege level 15 CLI Reference Guide 835
  • Page 846
    DGS-6604 m snmp-server user Usage Guideline Use this command to create an SNMP user. ... is forgotten, it cannot be recovered and it and will need to manually reconfigured. Either a plain-text password or a ...:EE:FF Verify the settings by entering the show snmp user command. CLI Reference Guide 836
  • Page 847
    DGS-6604 m snmp-server view snmp-server view Use this command to create or update a view entry for SNMP. And use the no snmp-server view command...view for the MIB object trees. The view needs to be specified when the snmp-server group command is used to define a user group. CLI Reference Guide 837
  • Page 848
    DGS-6604 m snmp-server view Example This example shows how to create a view that includes all objects in the MIB-II subtree. Switch(config...-server group guestgroup v3 auth read interfacesMibView Switch(config)# Verify the settings by entering the show snmp view command. CLI Reference Guide 838
  • Page 849
    DGS-6604 m sntp server sntp server Use this command to allow the system clock to be ... from NTP servers; it cannot be used to provide time services to other systems. SNTP typically provides time within100 ...)# end Verify the settings by entering the show sntp server command. CLI Reference Guide 839
  • Page 850
    DGS-6604 m spanning-tree ( Global configuration ) spanning-tree ( Global configuration ) Use this command to enable STP mode. Use the no ... default mode. Example Switch(config)# spanning-tree Switch(config)# Verify the settings by entering the show spanning-tree command. CLI Reference Guide 840
  • Page 851
    DGS-6604 m spanning-tree ( Interface configuration ) spanning-tree ( Interface configuration ) This setting is used to configure the STP function on ...interface eth3.7 Switch(config-if)# spanning-tree Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 841
  • Page 852
    DGS-6604 m spanning-tree (timers) spanning-tree (timers) Use this command to set the value of Spanning-Tree Timers. It is only used for ... spanning-tree forward-time 16 Switch(config)# spanning-tree max-age 21 Verify the settings by entering the show spanning-tree command. CLI Reference Guide 842
  • Page 853
    DGS-6604 m spanning-tree cost spanning-tree cost This setting is used to configure the value of port path-cost on the specified port. ...)#interface eth3.7 Switch(config-if)#spanning-tree cost 20000 Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 843
  • Page 854
    DGS-6604 m spanning-tree fast-forwarding spanning-tree fast-forwarding To enable fast forwarding mode, use the spanning-tree fast-forwarding ... eth3.7 Switch(config-if)#spanning-tree fast-forwarding Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 844
  • Page 855
    DGS-6604 m spanning-tree guard root spanning-tree guard root To enable the... and port-channel interfaces) This feature is used in a service-provider environment where the network administrator needs to...Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 845
  • Page 856
    DGS-6604 m spanning-tree link-type spanning-tree link-type To configure a link type for a port, use the spanning-tree link-type ... eth3.7 Switch(config-if)# spanning-tree link-type point-to-point Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 846
  • Page 857
    DGS-6604 m spanning-tree mode spanning-tree mode Use this command to decide the STP mode. To return to the default settings, use the no ... version of STP module to RSTP. Switch(config)# spanning-tree mode rstp Verify the settings by entering the show spanning-tree command. CLI Reference Guide 847
  • Page 858
    DGS-6604 m spanning-tree mst (cost | port-priority) spanning-tree mst (cost ... MSTP instance identifier; valid values are from 0 to 63, the number of supported MSTP instances is project dependent. Instance 0 represents... Switch(config-if)# spanning-tree mst 0 port-priority 64 CLI Reference Guide 848
  • Page 859
    DGS-6604 m spanning-tree mst (forward | max-age | max-hops) spanning-tree mst (forward | max-age | max-hops) Use this command to configure the ... mst forward-time 14 Switch(config)#spanning-tree mst max-age 19 Switch(config)#spanning-tree mst max-hops 19 Switch(config)# end CLI Reference Guide 849
  • Page 860
    DGS-6604 m spanning-tree mst configuration spanning-tree mst configuration To enter MST-... submode parameter can cause connectivity loss. To reduce service disruptions, when entering the MST-configuration submode, ...(config)# no spanning-tree mst configuration Switch(config)# CLI Reference Guide 850
  • Page 861
    DGS-6604 m spanning-tree mst hello-time spanning-tree mst hello-time Use this command to configure the per port hello time used in MSTP ... eth3.1 Switch(config-if)#spanning-tree mst hello-time 1 Verify the settings by entering the show spanning-tree mst interface command. CLI Reference Guide 851
  • Page 862
    DGS-6604 m spanning-tree mst priority spanning-tree mst priority Use this ... MSTP instance identifier. Valid values are from 0 to 63. The number of supported MSTP instances is project dependent. Instance 0 ... Verify the settings by entering the show spanning-tree mst command. CLI Reference Guide 852
  • Page 863
    DGS-6604 m spanning-tree port-priority spanning-tree port-priority This setting is used to configure the value of the STP port priority on a ... eth3.7 Switch(config-if)#spanning-tree port-priority 0 Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 853
  • Page 864
    DGS-6604 m spanning-tree priority spanning-tree priority This command configures the bridge priority and is only used for RSTP and STP versions. ... priority to 4096. Switch(config)# spanning-tree priority 4096 Verify the settings by entering the show spanning-tree command CLI Reference Guide 854
  • Page 865
    DGS-6604 m spanning-tree tcnfilter spanning-tree tcnfilter To enable Topology Change Notification (TCN) filtering at the specific interface, use ... eth3.7 Switch(config-if)#spanning-tree tcnfilter Verify the settings by entering the show spanning-tree interface command. CLI Reference Guide 855
  • Page 866
    DGS-6604 m spanning-tree transmit hold-count spanning-tree transmit hold-count This setting is used to limit the maximum BPDU transmission...hold-count value. Switch(config)# spanning-tree transmit-hold-count 5 Verify the settings by entering the show spanning-tree command. CLI Reference Guide 856
  • Page 867
    ...set to 1000 Mbps, then the port must be manually set as either a master or a slave port.... for this configuration. If the specified speed is not supported by the hardware, error messages will be returned. 1000SX/...set to auto, then only duplex mode is negotiated. The advertised CLI Reference Guide 857
  • Page 868
    DGS-6604 m speed capability will consist of both the full and half duplex mode combined with the configured speeds. Before adding ports to a Port...eth3.24 Switch(config-if)# speed 100 Switch(config-if)# duplex auto Verify the settings by entering the show interface command. CLI Reference Guide 858
  • Page 869
    DGS-6604 m storm-control (Interface) storm-control (Interface) Use this command to configure the device to prevent storm attacks on a LAN. There ... eth3.1 Switch(config-if)# no storm-control broadcast Verify the settings by entering the show storm-control interface command. CLI Reference Guide 859
  • Page 870
    DGS-6604 m storm-control action (Interface) storm-control action (Interface) This command configures... storm events due to the hardware chip being unable support this function. Therefore, if unknown unicast packets... Action Type Threshold eth3.1 Broadcast shutdown pps 131072 CLI Reference Guide 860
  • Page 871
    DGS-6604 m storm-control action (Interface) This example shows how to configure Broadcast storm control action and level. It assigns the shutdown ...Switch(config-if)# no storm-control broadcast action Verify the settings by entering the show storm-control interface command. CLI Reference Guide 861
  • Page 872
    DGS-6604 m storm-control level (Interface) storm-control level (Interface) This command configures the rising threshold for Storm Control function. Use ... 500 Switch# show storm-control interface broadcast Interface Storm Action Type Threshold eth3.1 Broadcast Drop pps 500 CLI Reference Guide 862
  • Page 873
    DGS-6604 m storm-control level (Interface) This example shows how to configure the Broadcast storm control LEVEL by percentage mode. It assigns the ... Type Threshold eth3.1 Broadcast Drop pps 131072 Verify the settings by entering the show storm-control interface command CLI Reference Guide 863
  • Page 874
    DGS-6604 m storm-control timer (Global) storm-control timer (Global) Use this command to configure the timer options. The timers are used ... value is non-zero, the port will be automatically recovered to the normal situation after the recovery time. Otherwise, the port will CLI Reference Guide 864
  • Page 875
    DGS-6604 m storm-control timer (Global) not be automatically recovered but it can be manually recovered by using the "no shutdown" command. Examples This example...time 300 Switch(config)# Verify the settings by entering the show storm-control command CLI Reference Guide 865
  • Page 876
    DGS-6604 m subnet-base ( VLAN ) subnet-base ( VLAN ) Use the subnet command to specify a subnet-based VLAN ID assignment for untagged ...base 20.0.1.0/8 Switch(config-vlan)#subnet-base 192.0.1.0/8 Switch(config-vlan)#end Verify the settings by entering the show vlan command. CLI Reference Guide 866
  • Page 877
    DGS-6604 m subnet-mask subnet-mask Use this command to configure the subnet mask for a DHCP address pool of the DHCP Server. Use the no ... Examples switch#configure terminal switch(config)#ip dhcp pool pool1 switch(config-dhcp)#subnet-mask 255.0.0.0 switch(config-dhcp)# CLI Reference Guide 867
  • Page 878
    DGS-6604 m switchport port-security switchport port-security Use this command to configure port... purged unless a user deletes those entries manually. delete-on-timeout: Setting this mode defines that... learned entries will be stored automatically and restored after a reboot. CLI Reference Guide 868
  • Page 879
    DGS-6604 m switchport port-security If a port-security command is issued without ... have a sufficient number of secure MAC addresses manually removed. • Shutdown - The interface is error disabled ... reenabled by entering no shutdown commands in interface-configuration mode CLI Reference Guide 869
  • Page 880
    DGS-6604 m switchport port-security The no form of the command can be used in global coniguration so that one command can use then disable port-... port-security violation protect Switch(config-if-range)# end Verify the settings by entering the show port-security command CLI Reference Guide 870
  • Page 881
    DGS-6604 m synchronization synchronization To enable the synchronization between Border Gateway Protocol (BGP) and an external Interior Gateway Protocol (IGP) ... in AS 65121. Switch(config)# router bgp 65121 Switch(config-router)# synchronization Switch(config-router)# CLI Reference Guide 871
  • Page 882
    ... example shows how to set up the system name information with the string DGS-6604 Chassis Switch. Default Command Mode Usage Guideline Example Switch(config)# system-name DGS-6604 Chassis Switch Verify the settings by entering the show snmp-server command. CLI Reference Guide 872
  • Page 883
    DGS-6604 m telnet telnet T The telnet command is used to login in another device that supports the TELNET protocol. telnet {IP-ADDRESS | IPV6-ADDRESS} [...connecting but before the session connection is made. Default Command Mode Usage Guideline CLI Reference Guide 873
  • Page 884
    DGS-6604 m telnet Examples The following example shows how to telnet to the IP address 20.74.19.200 with default port 23 (optional port parameter is...-Speed Switch Command Line Interface Firmware: 1.00.029 Copyright (c) 2010 D-Link Corporation. All rights reserved. Switch> CLI Reference Guide 874
  • Page 885
    DGS-6604 m telnet The following example shows a telnet session attempting to connect to IP ...D-Link Corporation. All rights reserved. Switch> Supported commands are: e terminate the current Telnet session If... active Telnet session. The telnet is disconnected. Switch(mgmt-if) CLI Reference Guide 875
  • Page 886
    DGS-6604 m telnet The following example show how to telnet to the IP address 20.74.19....D-Link Corporation. All rights reserved. Switch> Supported commands are: e terminate the current Telnet session If... will return to the original active Telnet session. continuing...Switch> CLI Reference Guide 876
  • Page 887
    DGS-6604 m telnet The following example show how to telnet to the IPv6 address 2001:e10:5c00...D-Link Corporation. All rights reserved. Switch> Supported commands are: e terminate the current Telnet session ... Copyright (c) 2010 D-Link Corporation. All rights reserved. Switch> CLI Reference Guide 877
  • Page 888
    DGS-6604 m terminal length terminal length This command configures the number of lines to be displayed in the monitor output. The terminal length command ... Example This example shows how to change the lines to be displayed in a screen to 60. Switch# terminal length 60 CLI Reference Guide 878
  • Page 889
    DGS-6604 m terminal timeout terminal timeout Use this command to setup a timeout value, which upon its expiry, will autologout the terminal ... Mode Usage Guideline Examples Switch# terminal timeout never Verify the settings by entering the show running-config command. CLI Reference Guide 879
  • Page 890
    DGS-6604 m terminal width terminal width This command sets the number of character columns on the terminal screen for the current lines displayed in a ...affected by the change. That is because the adjustment is only applied to the current session. Switch#terminal width 120 CLI Reference Guide 880
  • Page 891
    DGS-6604 m terminal width The following example shows how to adjust the terminal session width to 120 as the system configuration setting for terminal width. This setting will affect all subsequently opened terminal sessions. Switch#terminal width 120 default CLI Reference Guide 881
  • Page 892
    DGS-6604 m timers timers Use this command to configure the RIP network timers. To restore the default timers use the default form of this command. ...(config)# router rip Switch(config-router)# timer update 60 Verify the settings by entering the show ip protocols command. CLI Reference Guide 882
  • Page 893
    DGS-6604 m timers basic timers basic To configure update, timeout, and garbage-collection timers for an IPv6 RIP routing process, use the timers basic .... Assuming no updates, the route is flushed from the routing table 30 seconds after the end of the hold-down period. CLI Reference Guide 883
  • Page 894
    DGS-6604 m timers basic Switch Switch Switch Switch > enable # configure terminal (config) # router ipv6 rip (config-router)# timers basic 5 15 30 CLI Reference Guide 884
  • Page 895
    DGS-6604 m timers bgp timers bgp Use this command to adjust BGP network timers. Use the no form of this command to restore the timers to the default...50 seconds and the HOLD-TIME timer to 150 seconds: Switch(config)# router bgp 65100 Switch(config-router)# timer bgp 50 150 CLI Reference Guide 885
  • Page 896
    DGS-6604 m time-range time-range Use this command to enter the time range configuration mode to define a time range. Use the no form of the ... Warning! The time-range can not be deleted because it is in use. Verify the settings by entering the show time-range command. CLI Reference Guide 886
  • Page 897
    DGS-6604 m traceroute traceroute To display a hop-by-hop path through an IP network from the switch to a specific destination host, use the ... to 255. IP-ADDRESS IPV6-ADDRESS IP address in dot notation (a.b.c.d) of the destination host. IPv6 address of the destination host. CLI Reference Guide 887
  • Page 898
    DGS-6604 m traceroute Default -w: 5 seconds -i: 1 -m: 30 -p: 33434 -q: 3 -t: 0 -s: 40 bytes Command Mode Usage .... Use the TOS option to see if different types of service cause routes to change. Note : The specified OPTIONS can ....71.123) 0.847 ms 0.344 ms 0.376 ms Switch# CLI Reference Guide 888
  • Page 899
    DGS-6604 m traceroute Display Field Descriptions Display Field 1 172.50.71.123 (172.50.71.123) 30 hops max, 40 byte packets The following table describes the ... 1 2001:238:f8a:77:7c10:41c0:6ddd:ecab (2001:238:f8a:77:7c10:41c0:6ddd:ecab) 0.847 ms 0.344 ms 0.376 ms Switch# CLI Reference Guide 889
  • Page 900
    DGS-6604 m traffic-segmentation forward traffic-segmentation forward Use this command to segment or... groups of ports to provide increased security support. The flooding domain for this feature is determined by both the... factory setting. Default Command Mode Usage Guideline CLI Reference Guide 890
  • Page 901
    DGS-6604 m traffic-segmentation forward When entering no traffic-segmentation without any keywords, then all ports will become the forwarding port. ... forward interface eth4.2-4.3 Switch(config-if)# exit Verify the settings by entering the show traffic-segmentation command. CLI Reference Guide 891
  • Page 902
    DGS-6604 m trunk allowed-vlan trunk allowed-vlan Use the trunk allowed-VLAN configuration command to set the VLAN characteristic. It sets ...Switch(config)# interface eth3.1 Switch(config-if)# trunk allowed-vlan 1000 Verify the settings with the show vlan interface command. CLI Reference Guide 892
  • Page 903
    DGS-6604 m tunnel destination tunnel destination Use the tunnel destination configuration command to .... Tunnel interfaces are valid for this command. Only manually configured tunnels need to set the tunnel ...-if)# Verify the settings by entering the show interface command. CLI Reference Guide 893
  • Page 904
    DGS-6604 m tunnel mode tunnel mode Use the tunnel mode ipv6ip configuration command to...Usage Guideline Examples This example shows how to specify an IPv6 manually configured tunnel. Switch(config)# interface tunnel ...Switch(config-if)#tunnel mode ipv6ip Switch(config-if)# CLI Reference Guide 894
  • Page 905
    DGS-6604 m tunnel source tunnel source Use the tunnel source configuration command to add the source IPv4 address for the tunnel interface. ... interface tunne 2 Switch(config-if)#no tunnel source Switch(config-if)# Verify the settings by entering the show interface command. CLI Reference Guide 895
  • Page 906
    DGS-6604 username username Use the username command to create a user account, and use the no form of the command to delete the user account. ...-text form. If it is in plain-text form, but password encryption is enabled, then the password will be converted to encrypted form. CLI Reference Guide 896
  • Page 907
    DGS-6604 username The factory default setting sets the user account to an empty string. When the user account is empty, the any access will ...a user account with the username admin. Switch(config)# no username admin Verify the settings by entering the show username command. CLI Reference Guide 897
  • Page 908
    DGS-6604 m version version V Use this command to specify the RIP version to send and receive. version { 1 | 2 } Syntax Description 1 2...(config-router)#version 2 Switch(config-router)#exit Switch(config)# Verify the settings by entering the show ip protocols rip command. CLI Reference Guide 898
  • Page 909
    DGS-6604 m vlan vlan Use the vlan configuration command to add VLANs and to enter the config-vlan mode. Use the no vlan configuration command to ... VLAN id 1000 to 1005. Switch(config)# no vlan 1000-1005 Switch(config)# Verify the settings by entering the show vlan command. 899 CLI Reference Guide
  • Page 910
    DGS-6604 m vlan encapsulation vlan encapsulation Use this command to encapsulate the original packet with an ...The VLAN ID specified here refers to the outer-VIDs (i.e. service provider VLAN ID, S-VID). No VLAN ... 1 22 Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 900
  • Page 911
    DGS-6604 m vlan name vlan name Use the vlan name VLAN-NAME configuration command to specify the VLAN name. Use the no vlan name ... VLAN 1000. Example Switch(config)# vlan 1000 Switch(config-vlan)# vlan name admin-vlan Verify the settings by entering the show vlan command. CLI Reference Guide 901
  • Page 912
    DGS-6604 m vlan remarking vlan remarking Use this command to define the VLAN remarking pair. Use ... The VLAN ID specified here refers to the outer-VIDs (i.e. service provider VLAN ID, S-VID). No VLAN remarking pair... trusted. Switch(config-if)#>vlan encapsulation 1001 101-104 CLI Reference Guide 902
  • Page 913
    DGS-6604 m vlan remarking 3. Make a VLAN remarking from C-VID 200 to S-VID is 1002. So far the user's COS is trusted. Switch(config-if)#>vlan...102. Switch(config-if)#>no cos remarking Switch(config-if)#> 7. Verify the settings by entering show vlan-tunnel interface command. CLI Reference Guide 903
  • Page 914
    DGS-6604 m vlan-tunnel vlan-tunnel Use this command to enable the VLAN tunnel mode. Use ... 4. IIn order to run GVRP on the switch, enable GVRP manually. In VLAN tunnel mode, the SP-VLAN GVRP Address (... Switch(config)# Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 904
  • Page 915
    DGS-6604 m vlan-tunnel ctag-mapping dynamic vlan-tunnel ctag-mapping dynamic Use this command to enable or disable the dynamic customer VLAN ... vlan-tunnel ctag-mapping dynamic ipv4 enable Verify the settings by entering show vlan-tunnel ctag-mapping dynamic state command. CLI Reference Guide 905
  • Page 916
    DGS-6604 m vlan-tunnel ctag-mapping static vlan-tunnel ctag-mapping static Use this command to add a static customer VLAN tag mapping entry. ...24 500 Verify the settings by entering show vlan-tunnel ctag-mapping static command. Default Command Mode Usage Guideline Examples CLI Reference Guide 906
  • Page 917
    DGS-6604 m vlan-tunnel ingress checking vlan-tunnel ingress checking Use this command to... the packet can optionally be dropped or have a SP VLAN (service provider VLAN) tag added based on the ...tunnel ingress-checking Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 907
  • Page 918
    DGS-6604 m vlan-tunnel interface-type vlan-tunnel interface-type Use this command to configure an interface as NNI (Network-to Network) or ...(config)#interface eth3.1 Switch(config-if)#vlan-tunnel interface-type nni Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 908
  • Page 919
    DGS-6604 m vlan-tunnel remove-inner-tag vlan-tunnel remove-inner-tag Use this command to strip off the packet's inner tag (C-TAG; ... Switch(config)#interface eth3.1 Switch(config-if)#vlan-tunnel remove-inner-tag Verify the settings by entering show vlan-tunnel command. CLI Reference Guide 909
  • Page 920
    DGS-6604 m vlan-tunnel tpid vlan-tunnel tpid Use this command to specify the outer tag TPID at a Network-to-Network Interface (NNI) .... Switch(config)#interface eth3.12 Switch(config-if)#vlan-tunnel tpid 0x9100 Verify the settings by entering the show vlan-tunnel command. CLI Reference Guide 910
  • Page 921
    DGS-6604 m voice-vlan voice-vlan Use the command to enable the voice VLAN function and to configure a VLAN as a voice VLAN. Use no form of .... Switch(config)#voice-vlan 1000 Switch(config)#end Switch# You can verify your settings by entering show vlan voice-vlan command. CLI Reference Guide 911
  • Page 922
    DGS-6604 m voice-vlan cos voice-vlan cos Use the command to configure the CoS priority for incoming voice VLAN traffic.. voice-vlan cos COS-VALUE ...(config)#voice-vlan cos 7 Switch(config)#end Switch# You can verify your settings by entering show vlan voice-vlan command. CLI Reference Guide 912
  • Page 923
    DGS-6604 m voice-vlan oui voice-vlan oui Use the command to add the user defined OUI of voice device. Use no form of this command to... determined as voice packets. The default OUI cannot be deleted. Example This example shows how to add a user defined OUI of voice device. CLI Reference Guide 913
  • Page 924
    DGS-6604 m voice-vlan oui Switch(config)#voice-vlan oui 01-02-03-04-05-06 ff-ff-ff-ff-ff-ff Switch(config)#end Switch# You can verify your settings by show vlan voice-vlan oui command. CLI Reference Guide 914
  • Page 925
    DGS-6604 m vrrp critical-ip vrrp critical-ip Use this command to configure the critical IP address. To remove the critical IP address using the no form ... IP is gone from the ARP table, the master router will give up its master status. Default Command Mode Usage Guideline CLI Reference Guide 915
  • Page 926
    DGS-6604 m vrrp critical-ip Examples The following example shows how to configure the critical-ip address 60.5.1.1 for virtual router 7 with priority 200 on ... for virtual router 7 on interface vlan1. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 critical-ip CLI Reference Guide 916
  • Page 927
    DGS-6604 m vrrp ip vrrp ip To enable the Virtual Router Redundancy Protocol (VRRP) on an interface and identify the IP address of the virtual router, ... of the virtual router and disable the VRRP on the interface. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 CLI Reference Guide 917
  • Page 928
    DGS-6604 m vrrp preempt vrrp preempt To configure the router to take over as the master virtual router for a Virtual Router Redundancy Protocol (VRRP) ... master router. Switch(config)#interface vlan1 Switch(config-if)#vrrp 7 preempt Switch(config-if)#vrrp 7 priority 200 CLI Reference Guide 918
  • Page 929
    DGS-6604 m vrrp preempt The following example shows how to configure the router to disable preempt of a virtual router. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 preempt CLI Reference Guide 919
  • Page 930
    DGS-6604 m vrrp priority vrrp priority To set the priority of the virtual router, use the vrrp priority command in VRRP interface configuration mode. To ... to configure the router with a priority of 200. Switch(config)#interface vlan1 Switch(config-if)#vrrp 7 priority 200 CLI Reference Guide 920
  • Page 931
    DGS-6604 m vrrp priority The following example shows how to restore the default priority of the virtual router. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 priority CLI Reference Guide 921
  • Page 932
    DGS-6604 m vrrp shutdown vrrp shutdown This command is to disable the VRRP of a VRID on an interface. Use the no form of the command to re-activate the ...activate VRRP protocol on VRID 7 of interface vlan1. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 shutdown CLI Reference Guide 922
  • Page 933
    DGS-6604 m vrrp timers advertise vrrp timers advertise This command configures the interval between successive advertisements by the master router. To restore...the advertisement interval to default. Switch(config)#interface vlan1 Switch(config-if)#no vrrp 7 timers advertise CLI Reference Guide 923
  • Page 934
    DGS-6604 m Acronym List ACL ARP BGP BPDU CHAP CIR CIST CLI CLNS CoS... Tree Command-Line Interface Connection-Less Network Service Class of Service Complex Programmable Logic Device Cyclic Redundancy Check... Protocol Dense Mode (PIM) Domain Name System Denial of Service CLI Reference Guide 924
  • Page 935
    DGS-6604 m dot1q dot1x DRAM DVMRP EAP FAT FIB FTP GARP GBIC GMRP GVRP ICMP IGMP IGMPv2 IGMPv3 IGRP 802.1Q 802.... Registration Protocol Internet Control Message Protocol Internet Group Management Protocol IGMP version 2 IGMP version 3 Interior Gateway Routing Protocol CLI Reference Guide 925
  • Page 936
    DGS-6604 m ILMI IP IS-IS ISO LACP LACPDU LAN LAPB LCP LLC MAC MD5 MED MIB mroute mrouter MST Integrated Local Management Interface... Message Digest 5 Multi-Exit Discriminator Management Information Base multicast route multicast router Multiple Spanning Tree (802.1s) CLI Reference Guide 926
  • Page 937
    DGS-6604 m MSTCI MTU NAT NetBIOS NSAP NSF NTP NVRAM OAM OSI OSPF PAE PDU ... Address Translation Network Basic Input/Output System Network Service Access Point Non-Stop Forwarding Network Time ... Multicast Protocol Independent Multicast Sparse Mode Point-to-Point Protocol CLI Reference Guide 927
  • Page 938
    DGS-6604 m QoS RADIUS RAM RIB RMON ROM RP RSTP RTP SM Quality of Service Remote Access Dial-In User Service Random-Access Memory Routing Information Base Remote Network Monitor Read-Only Memory ... Tree Protocol Real-Time Transport Protocol Sparse Mode (PIM) CLI Reference Guide 928
  • Page 939
    - aaa authentication 27 aaa authorization 29 aaa group server 30 accept dhcp client-identifier 31 accept dhcp relay-agent 32 acceptable-frame 33 accept-lifetime 34 access vlan 36 address-family ipv4 37 aggregate-address 38 area default-cost 39 area default-cost (IPv6) 40 area nssa 41 area range 43...
  • Page 940
    - clear dos prevention counter 91 clear cpu-protect counters 92 clear gvrp statistics interface 93 clear ip bgp 94 clear ip bgp peer-group 96 clear ip dhcp binding 98 clear ip dhcp conflict 100 clear ip dhcp server statistics 102 clear ip ospf 103 clear ipv6 dhcp client 104 clear ipv6 neighbors ...
  • Page 941
    - domain-name 154 dos_prevention action 155 dos_prevention type 156 dot1v binding protocol-group 158 dot1v protocol-group 159 dot1x auth-mode 160 dot1x auth-protocol 161 dot1x control-direction 162 dot1x default 163 dot1x forward-pdu 164 dot1x guest-vlan 165 dot1x initialize 167 dot1x max-req 168 ...
  • Page 942
    ... policy 249 ip dhcp relay information trust-all 250 ip dhcp relay information trusted 251 ip dvmrp 252 ip dvmrp metric 253 ip http server 254 ip http service-port 255 ip igmp access-group 256 ip igmp last-member-query-interval 258 ip igmp query-interval 259 ip igmp query-max-response-time 260 ip ...
  • Page 943
    ...version 306 ip rip send version 307 ip rip v2-broadcast 308 ip route 309 ip route multi-path 310 ip ssh 311 ip telnet server 313 ip telnet service-port 314 ip trusted-host 315 ipv6 access-group 317 ipv6 access-list 319 ipv6 address 320 ipv6 address 321 ipv6 address (management port) 323 ipv6 default...
  • Page 944
    - ipv6 nd managed-config-flag 332 ipv6 nd other-config-flag 333 ipv6 nd prefix 334 ipv6 nd ra-interval 335 ipv6 nd ra-lifetime 336 ipv6 nd reachable-time 337 ipv6 nd retrans-timer 338 ipv6 nd suppress-ra 339 ipv6 neighbor 340 ipv6 ospf cost 341 ipv6 ospf dead-interval 342 ipv6 ospf hello-interval ...
  • Page 945
    - loopback-detection mode 397 loopback-detection interval-time 398 mac access-group 399 mac access-list 400 mac address-table aging destination-hit 401 mac address-table aging-time 402 mac address-table static 403 mac-base ( VLAN ) 404 match 405 match as-path 409 match community 410 match ip ...
  • Page 946
    ... access-list) 463 ping 465 poe port priority 467 poe port description 468 poe service-policy 469 poe power-inline 470 police 472 police aggregate 477 police cir 478 ... ospf 521 router ospf 522 router rip 523 send-lifetime 524 server 526 service dhcp 528 service-policy 529 set 532 set as-path 534 932
  • Page 947
    - set community 535 set default interface 537 set ip next-hop 538 set ip precedence 540 set interface 541 set ipv6 default next-hop 542 set ip default next-hop 544 set ipv6 next-hop 546 set default interface 548 set origin 549 set weight 550 sflow 551 sflow receiver 552 sflow sampler 554 sflow ...
  • Page 948
    - show ip dhcp relay information trusted-sources 611 show ip dhcp server 612 show ip dhcp server statistics 613 show ip dhcp snooping 615 show ip dvmrp interface 616 show ip dvmrp neighbor 617 show ip dvmrp prune 620 show ip dvmrp route 621 show ip igmp group 622 show ip igmp interface 625 show ip...
  • Page 949
    - show ipv6 ospf border-routers 692 show ipv6 ospf database 693 show ipv6 ospf interface 694 show ipv6 ospf neighbor 695 show ipv6 ospf route 696 show ipv6 ospf virtual-links 697 show ipv6 protocols [PROCESS-ID ospf | rip ] 698 show ipv6 rip database 700 show ipv6 rip interface 701 show ipv6 route...
  • Page 950
    - show ip dhcp snooping binding 773 show ip dhcp snooping database 776 show erps domain 777 show erps erpi 779 show vlan voice-vlan 782 show ip policy 785 show ip arp inspection 786 show ip source binding 789 show ip verify source 791 show ip dhcp screening 792 show sflow 793 show lldp 795 show ...
  • Page 951
    - spanning-tree transmit hold-count 856 speed 857 storm-control (Interface) 859 storm-control action (Interface) 860 storm-control level (Interface) 862 storm-control timer (Global) 864 subnet-base ( VLAN ) 866 subnet-mask 867 switchport port-security 868 synchronization 871 system-name 872 telnet...
D-Link DGS-6600-48T Manual