D-Link xStack DGS-3620 Series Reference Manual

Layer 3 managed stackable
Hide thumbs Also See for xStack DGS-3620 Series:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link xStack DGS-3620 Series

  • Page 2 Software Release SW Rls. 1.02.000 Date: April 23, 2012 Copyright Statement D-Link Corporation © 2012 All rights reserved. Without our written permission this document may not be excerpted, reproduced, transmitted, or otherwise in all or part by any party by any means.
  • Page 3 Other Documentation The documents below are a further source of information in regards to configuring and troubleshooting the switch . All the documents are available for download from D-Links web site www.d-link.com. • DGS-3620 Series Quick Installation Guide • DGS-3620 Series Hardware Installation Guide...
  • Page 4: Command Descriptions

    DGS-3620 m/ mSW Rls. 1.02.000 Conventions Convention Description boldface font Commands, command options and keywords are printed in boldface. Key words in the command line, are to be entered exactly as they are displayed. UPPERCASE ITALICS Parameters or values that must be specified are printed in UPPERCASE font ITALICS.
  • Page 5: Command Modes

    DGS-3620 m/ mSW Rls. 1.02.000 • Syntax Description - A table where each row describes the optional or required arguments, and their use, that can be issued with the command. • Default - If the command sets a configuration value or administrative state of the switch then any default settings (i.e.
  • Page 6 DGS-3620 m/ mSW Rls. 1.02.000 All other sub-configuration modes can be accessed via global configuration mode. When a user logs in to the Switch, the privilege level of the user determines the command mode the user will enter after initially logging in. The user will either log into user EXEC mode or privileged EXEC mode. Users with a basic user level will log into the Switch in user EXEC mode.
  • Page 7 DGS-3620 m/ mSW Rls. 1.02.000 Command Mode & Privilege Level Purpose Global Configuration Mode at Administrator For applying global settings on the entire Switch. In level addition to applying global settings on the entire Switch, the user can access other sub-configuration modes from global configuration mode.
  • Page 8 DGS-3620 Chassis-based High-Speed Switch Command Line Interface Firmware: 1.00.029 Copyright (c) 2010 D-Link Corporation. All rights reserved. DGS-3620:oper# Privileged EXEC Mode at Administrator Level This command mode has a privilege level of 15. Users logged in with this command mode can monitor all system information and change any system configuration settings mentioned in this Configuration Guide.
  • Page 9 DGS-3620 m/ mSW Rls. 1.02.000 Interface Configuration Mode Interface configuration mode is used to configure the parameters for an interface or a range of interfaces. An interface can be a physical port, VLAN, or other virtual interface. Thus, interface configuration mode is distinguished further according to the type of interface.
  • Page 10: Table Of Contents

    DGS-3620 m/ mSW Rls. 1.02.000 Table of Contents Address Resolution Protocol (ARP) Commands ..................1 Border Gateway Protocol (BGP) Commands ..................13 Distance Vector Multicast Routing Protocol (DVMRP) Commands............200 Internet Group Management Protocol (IGMP) Commands ..............207 Interface Commands ..........................223 IP Access List Commands........................
  • Page 11: Address Resolution Protocol (Arp) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Address Resolution Protocol (ARP) Commands List of commands discussed in this chapter. Page 1-1 arp 1-2 arp timeout 1-3 arp gratuitous-send interval 1-4 ip proxy-arp 1-5 clear arp-cache 1-6 show arp 1-7 show arp counter 1-8 show arp timeout 1-9 show ip arp CLI Reference Guide...
  • Page 12 DGS-3620 m/ mSW Rls. 1.02.000 1-1 arp Use this command to add a permanent IP address and MAC address mapping to the ARP cache table. Use no command to remove the IP-MAC address mapping. arp [vrf <string 1-12>] ip-address mac-address no arp [vrf <string 1-12>] ip-address Syntax Description vrf <string 1-12>...
  • Page 13: Arp Timeout

    DGS-3620 m/ mSW Rls. 1.02.000 arp timeout 1-2 arp timeout Use this command to configure the timeout for the ARP static mapping record in the ARP cache. The no form of this command restores it to the default configuration. arp timeout minutes no arp timeout Syntax Description minutes...
  • Page 14: Arp Gratuitous-Send Interval

    DGS-3620 m/ mSW Rls. 1.02.000 arp gratuitous-send interval 1-3 arp gratuitous-send interval Use this command to set the interval of sending the gratuitous ARP request message on the interface. Use no command to disable this function on the interface. arp gratuitous-send interval seconds no arp gratuitous-send Syntax Description seconds...
  • Page 15: Ip Proxy-Arp

    DGS-3620 m/ mSW Rls. 1.02.000 ip proxy-arp 1-4 ip proxy-arp Use this command to enable ARP proxy function on the interface. The no form of this command disables ARP proxy function. ip proxy-arp no ip proxy-arp Syntax None Default This function is disabled by default. Command Mode Interface configuration mode.
  • Page 16: Clear Arp-Cache

    DGS-3620 m/ mSW Rls. 1.02.000 clear arp-cache 1-5 clear arp-cache Use this command to remove a dynamic ARP mapping record from the ARP cache table and clear an IP route cache table in the global configuration mode. clear arp-cache [vrf <string 1-12>] [ip-address] [interface interface-name] Syntax Description vrf <string 1-12>...
  • Page 17: Show Arp

    DGS-3620 m/ mSW Rls. 1.02.000 show arp 1-6 show arp Use this command to show the Address Resolution Protocol (ARP) cache table. show arp [vrf <string 1-12>] [ip-address [net-mask] | mac-address | {static | complete}] Syntax Description vrf <string 1-12> Specifies the VRF that the IP resides in.
  • Page 18 DGS-3620 m/ mSW Rls. 1.02.000 show arp Switch# show arp 10.1.1.9 ARP timeout is 20 minutes. Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.1.1.9 00-05-5D-A5-32-3F Dynamic Total Entries: 1 Switch# show arp 10.1.0.0 255.255.0.0 ARP timeout is 20 minutes. Interface IP Address MAC Address...
  • Page 19 DGS-3620 m/ mSW Rls. 1.02.000 show arp Switch# show arp 0005.5DA5.323F ARP timeout is 20 minutes. Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.1.1.9 00-05-5D-A5-32-3F Dynamic Total Entries: 1 Switch# show arp static ARP timeout is 20 minutes. Interface IP Address MAC Address...
  • Page 20: Show Arp Counter

    DGS-3620 m/ mSW Rls. 1.02.000 show arp counter 1-7 show arp counter Use this command to display the number of ARP entries in the ARP cache table. show arp counter [vrf <string 1-12>] Syntax Description vrf <string 1-12> Specifies the VRF that the IP resides in. If no VRF name is specified, the global instance will be used.
  • Page 21: Show Arp Timeout

    DGS-3620 m/ mSW Rls. 1.02.000 show arp timeout 1-8 show arp timeout Use this command to display the aging time of a dynamic ARP entry on the switch. show arp timeout Syntax None. Description Default None Command Mode User mode or Privileged mode. Usage Guideline Use this command to display the aging time of a dynamic ARP entry on the switch.
  • Page 22: Show Ip Arp

    DGS-3620 m/ mSW Rls. 1.02.000 show ip arp 1-9 show ip arp Use this command to display the Address Resolution Protocol (ARP) cache table. show ip arp [vrf <string 1-12>] Syntax Description vrf <string 1-12> Specifies the VRF that the IP resides in. If no VRF name is specified, the global instance will be used.
  • Page 23: Border Gateway Protocol (Bgp) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Border Gateway Protocol (BGP) Commands List of commands discussed in this chapter. Page 2-1 address-family ipv4 2-2 address-family vpnv4 2-3 aggregate-address 2-4 bgp router-id 2-5 bgp aggregate-next-hop-check 2-6 bgp always-compare-med 2-7 bgp bestpath as-path ignore 2-8 bgp bestpath compare-confed-aspath 2-9 bgp bestpath compare-routerid 2-10 bgp bestpath med confed...
  • Page 24 DGS-3620 m/ mSW Rls. 1.02.000 2-35 debug ip bgp packet 2-36 debug ip bgp route-map 2-37 debug ip bgp prefix-list 2-38 debug ip bgp show global 2-39 debug ip bgp show neighbors 2-40 debug ip bgp show peer-group 2-41 debug ip bgp show network 2-42 debug ip bgp show aggregate 2-43 debug ip bgp show damp 2-44 debug ip bgp show interface...
  • Page 25 DGS-3620 m/ mSW Rls. 1.02.000 2-71 neighbor route-reflector-client 2-72 neighbor send-community 2-73 neighbor shutdown 2-74 neighbor soft-reconfiguration inbound 2-75 neighbor soo 2-76 neighbor timers 2-77 neighbor unsuppress-map 2-78 neighbor update-source 2-79 neighbor weight 2-80 network (BGP) 2-81 redistribute 2-82 route-preference 2-83 router bgp 2-84 show ip as-path access-list 2-85 show ip bgp...
  • Page 26 DGS-3620 m/ mSW Rls. 1.02.000 2-107 show ip bgp summary 2-108 show ip community-list 2-109 show ip extcommunity-list 2-110 synchronization 2-111 timers bgp CLI Reference Guide...
  • Page 27: Address-Family Ipv

    DGS-3620 m/ mSW Rls. 1.02.000 address-family ipv4 2-1 address-family ipv4 Use this command to enter the IPv4 address family mode. Use the no form of this command to delete the configuration of an address family. address-family ipv4 [{unicast | vrf VRF-NAME}] no address-family ipv4 [{unicast | vrf VRF-NAME}] Syntax Description unicast...
  • Page 28: Address-Family Vpnv

    DGS-3620 m/ mSW Rls. 1.02.000 address-family vpnv4 2-2 address-family vpnv4 This command is used to enter the IPv4 VPN address family mode. Use the no form of this command to delete the configuration of the VPNv4 address family. address-family vpnv4 no address-family vpnv4 Syntax None.
  • Page 29 DGS-3620 m/ mSW Rls. 1.02.000 aggregate-address 2-3 aggregate-address Use this command to configure BGP aggregate entries. Use the no form of this command to delete an aggregate entry. aggregate-address NETWORK-ADDRESS [summary-only] [as-set] no aggregate-address NETWORK-ADDRESS Syntax Description NETWORK- Specify the network address and the sub-network mask that BGP will aggregate. ADDRESS For example, the format of NETWORK-ADDRESS can be 10.9.18.2/8.
  • Page 30: Bgp Router-Id

    DGS-3620 m/ mSW Rls. 1.02.000 bgp router-id 2-4 bgp router-id Use this command to configure a fixed router ID for the local Border Gateway Protocol (BGP) routing process. Use the no form of this command to remove the fixed router ID from the running configuration file and restore the default router ID selection.
  • Page 31: Bgp Aggregate-Next-Hop-Check

    DGS-3620 m/ mSW Rls. 1.02.000 bgp aggregate-next-hop-check 2-5 bgp aggregate-next-hop-check This command is used to enable the checking of next hop of the BGP aggregated routes. Only the routes with the same next hop attribute can be aggregated if the BGP aggregate next hop check is enabled. Using the no form of this command is to disable the bgp aggregate-next-hop-check.
  • Page 32: Bgp Always-Compare-Med

    DGS-3620 m/ mSW Rls. 1.02.000 bgp always-compare-med 2-6 bgp always-compare-med Use this command to enable the comparison of the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. Use the no form of this command to disallow the comparison. bgp always-compare-med no bgp always-compare-med Syntax...
  • Page 33: Bgp Bestpath As-Path Ignore

    DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath as-path ignore 2-7 bgp bestpath as-path ignore Use this command to not consider the as-path factor in selection of the best path. Use the no form of this command to restore default behavior and configure BGP to consider the AS-path during route selection.
  • Page 34 DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath as-path ignore Example This example shows how to configure to ignore the AS-PATH for the best path for autonomous system 65534: Switch# configure terminal Switch(config)# router bgp 65534 Switch(config-router)# bgp bestpath as-path ignore CLI Reference Guide...
  • Page 35: Bgp Bestpath Compare-Confed-Aspath

    DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath compare-confed-aspath 2-8 bgp bestpath compare-confed-aspath To configure a BGP routing process to compare the confederation AS path length of the routes received, use this command in router configuration mode. To return the BGP routing process to the default operation, use the no form of this command.
  • Page 36: Bgp Bestpath Compare-Routerid

    DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath compare-routerid 2-9 bgp bestpath compare-routerid Use this command to compare router ID for identical eBGP paths. Use the no command to revert to disable this function. bgp bestpath compare-routerid no bgp bestpath compare-routerid Syntax None Default...
  • Page 37: Bgp Bestpath Med Confed

    DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath med confed 2-10 bgp bestpath med confed To configure a BGP routing process to compare the Multi Exit Discriminator(MED)between paths learned form confederation peers, use the bgp bestpath med confed command in router configuration mode, To disable MED comparison of paths received from confederation peers, use the no form of this command.
  • Page 38: Bgp Bestpath Med Missing-As-Worst

    DGS-3620 m/ mSW Rls. 1.02.000 bgp bestpath med missing-as-worst 2-11 bgp bestpath med missing-as-worst To configure a BGP routing process to assign a value of infinity to routes that are missing the Multi Exit Discriminator (MED) attribute(making the path without a MED value the least desirable path),use this command in router configuration mode.
  • Page 39: Bgp Client-To-Client Reflection

    DGS-3620 m/ mSW Rls. 1.02.000 bgp client-to-client reflection 2-12 bgp client-to-client reflection Use this command to enable route reflection from a route reflector to clients. To disable client-to-client route reflection, use the no form of this command. bgp client-to-client reflection no bgp client-to-client reflection Syntax None...
  • Page 40: Bgp Cluster-Id

    DGS-3620 m/ mSW Rls. 1.02.000 bgp cluster-id 2-13 bgp cluster-id Use this command to set the cluster ID of the route reflector. To remove the cluster ID, use the no form of this command. bgp cluster-id CLUSTER-ID no bgp cluster-id Syntax Description CLUSTER-ID The cluster ID in IPv4 address format setting for the router reflector.
  • Page 41: Bgp Confederation Identifier

    DGS-3620 m/ mSW Rls. 1.02.000 bgp confederation identifier 2-14 bgp confederation identifier This command is used to specify a BGP confederation identifier. Use the no form of this command to remove the confederation identifier. bgp confederation identifier AS-NUMBER no bgp confederation identifier Syntax Description AS-NUMBER Autonomous System numbers which use to specify a BGP confederation.
  • Page 42: Bgp Confederation Peers

    DGS-3620 m/ mSW Rls. 1.02.000 bgp confederation peers 2-15 bgp confederation peers This command is used to add BGP confederation peers. Use the no form of this command to delete the confederation peers. bgp confederation peers ASPATH-LIST no bgp confederation peers ASPATH-LIST Syntax Description ASPATH-LIST Can be one or multiple AS number partitions separated by a comma.
  • Page 43: Bgp Dampening

    DGS-3620 m/ mSW Rls. 1.02.000 bgp dampening 2-16 bgp dampening Use this command to enable BGP route dampening or change BGP route dampening parameters. To disable BGP dampening, use the no form of this command. bgp dampening [{HALF-LIFE REUSE SUPPRESS MAX-SUPPRESS-TIME UN-REACHABILTY- HALF-TIME | route-map MAP-NAME}] no bgp dampening [route-map] Syntax Description...
  • Page 44 DGS-3620 m/ mSW Rls. 1.02.000 bgp dampening The penalty of the route will decrease as time elapses. Here we assume that if it passes 7.5 minutes, then the penalty of the route is 1000-500*7.5/15=750. If another flap occurs (the route changes from down to up) then the penalty of the route will be 1750, which is larger than the suppress value, and the route will be dampened.
  • Page 45 DGS-3620 m/ mSW Rls. 1.02.000 bgp dampening Switch# configure terminal Switch(config)# router bgp 100 Switch(config)# address-family ipv4 Switch(config-router-af)# bgp dampening 20 100 6000 120 20 CLI Reference Guide...
  • Page 46: Bgp Default Local-Preference

    DGS-3620 m/ mSW Rls. 1.02.000 bgp default local-preference 2-17 bgp default local-preference Use this command to change the default local preference value. To return the local preference value to the default setting, use the no form of this command. bgp default local-preference NUMBER no bgp default local-preference Syntax Description NUMBER...
  • Page 47: Bgp Deterministic-Med

    DGS-3620 m/ mSW Rls. 1.02.000 bgp deterministic-med 2-18 bgp deterministic-med Use this command to include the Multi Exit Discriminator (MED) value between all paths received from within the same autonomous system in the selection of the best route selection. Use the no command to prevent BGP from considering the MED attribute in comparing paths.
  • Page 48: Bgp Enforce-First-As

    DGS-3620 m/ mSW Rls. 1.02.000 bgp enforce-first-as 2-19 bgp enforce-first-as Use this command to enforce the first AS for the eBGP routes. To disable this feature, use the no form of this command. bgp enforce-first-as no bgp enforce-first-as Syntax None Description Default Disabled...
  • Page 49: Bgp Fast-External-Fallover

    DGS-3620 m/ mSW Rls. 1.02.000 bgp fast-external-fallover 2-20 bgp fast-external-fallover To configure a Border Gateway Protocol (BGP) routing process to immediately reset external BGP peering sessions if the link used to reach these peers goes down, use this command in router configuration mode. To disable BGP fast external fallover, use the no form of this command.
  • Page 50: Bgp Default Ipv4-Unicast

    DGS-3620 m/ mSW Rls. 1.02.000 bgp default ipv4-unicast 2-21 bgp default ipv4-unicast Use this command to enable the IPv4 unicast address family as the default address family for BGP peer session establishment. The no form of the command disable default IPv4 unicast address family for BGP peer session establishment. bgp default ipv4-unicast no bgp default ipv4-unicast Syntax...
  • Page 51: Clear Ip Bgp

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp 2-22 clear ip bgp To reset Border Gateway Protocol (BGP) connections using hard or soft reconfiguration, use this command in privileged mode. clear ip bgp {all | AS-NUMBER | IP-ADDRESS} [soft [{in [prefix-filter] | out}]] Syntax Description (Optional) Specifies the reset of all sessions except those in the VRF address family.
  • Page 52 DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp This is a way to notify the neighbor of the prefix filter whenever a change is made to the prefix filter. Examples In the following example, a soft reconfiguration is initiated for the inbound session with the neighbor 10.100.0.1, and the outbound session is unaffected: Switch# clear ip bgp 10.100.0.1 soft in Switch#...
  • Page 53: Clear Ip Bgp Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp vrf 2-23 clear ip bgp vrf To reset BGP connections using hard or soft reset for IPv4 VRF address family sessions. clear ip bgp vrf VRF-NAME {all | IP-ADDRESS | AS-NUMBER} [soft [{in [prefix-filter] | out}]] Syntax Description VRF-NAME Specifies the name of VRF.
  • Page 54 DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp vrf Examples In the following example, a soft reset is initiated for the inbound session for all neighbors those have been created in the view of vrf and the outbound session is unaffected: Switch# clear ip bgp vrf VPN-A all soft in Switch#...
  • Page 55: Clear Ip Bgp Vpnv

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp vpnv4 2-24 clear ip bgp vpnv4 To reset BGP connections using hard or soft reset for IPv4 VPN address family sessions. clear ip bgp vpnv4 unicast {all | IP-ADDRESS } [soft [{in [prefix-filter] | out}]] Syntax Description Specifies to reset all BGP sessions in the VPN address family.
  • Page 56 DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp vpnv4 Examples In the following example, a soft reconfiguration for VPNv4 address family is initiated for the inbound session for all neighbors which have been created outside VRF address family, and the outbound session is unaffected: Switch# clear ip bgp vpnv4 unicast all soft in Switch# CLI Reference Guide...
  • Page 57: Clear Ip Bgp Dampening

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp dampening 2-25 clear ip bgp dampening To clear BGP route dampening information and to restore suppressed routes, use this command in privileged mode. clear ip bgp dampening [{NETWORK-ADDRESS | IP-ADDRESS}] Syntax Description NETWORK- (Optional) IPv4 address of the network or neighbor to clear dampening ADDRESS...
  • Page 58: Clear Ip Bgp Dampening Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp dampening vrf 2-26 clear ip bgp dampening vrf To clear BGP route dampening information of VRF instance and to restore suppressed routes. clear ip bgp dampening vrf VRF-NAME [{NETWORK-ADDRESS | IP-ADDRESS}] Syntax Description VRF-NAME Specifies the name of VRF.
  • Page 59: Clear Ip Bgp Dampening Ipv4 Unicast

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp dampening ipv4 unicast 2-27 clear ip bgp dampening ipv4 unicast To clear BGP route dampening information and to restore suppressed routes of IPv4 unicast address family sessions. clear ip bgp dampening ipv4 unicast [{NETWORK-ADDRESS | IP-ADDRESS}] Syntax Description NETWORK-ADDRESS (Optional) Specifies to only clear dampening information of the route matching the network address.
  • Page 60: Clear Ip Bgp Flap-Statistics Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp flap-statistics vrf 2-28 clear ip bgp flap-statistics vrf To clear BGP route dampening flap statistics of IPv4 VRF address family sessions. clear ip bgp flap-statistics vrf VRF-NAME [{IP-ADDRESS | NETWORK-ADDRESS}] Syntax Description VRF-NAME Specifies the name of VRF.
  • Page 61: Clear Ip Bgp Flap-Statistics Ipv4 Unicast

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp flap-statistics ipv4 unicast 2-29 clear ip bgp flap-statistics ipv4 unicast To clear BGP route dampening flap statistics, use this command in privileged mode. clear ip bgp flap-statistics ipv4 unicast [{IP-ADDRESS | NETWORK-ADDRESS}] Syntax Description NETWORK-ADDRESS (Optional) Specifies to only clear dampening flap statistics of the route match the...
  • Page 62: Clear Ip Bgp External

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp external 2-30 clear ip bgp external To reset external Border Gateway Protocol (eBGP) peering sessions using hard or soft reconfiguration, use this command in privileged mode. clear ip bgp external [soft [{in [prefix-filter] | out}]] Syntax Description (Optional) Initiates inbound reconfiguration.
  • Page 63 DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp external Examples The following example, a soft reconfiguration is configured for all inbound eBGP peering sessions: Switch# clear ip bgp external soft in Switch# The following example will send prefix filter to neighbor and let neighbor re- advertisement BGP route base on new prefix filter.
  • Page 64: Clear Ip Bgp Flap-Statistics

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp flap-statistics 2-31 clear ip bgp flap-statistics To clear BGP route dampening flap statistics, use this command in privileged mode. clear ip bgp flap-statistics [{IP-ADDRESS | NETWORK-ADDRESS}] Syntax Description Specifies an IPv4 address to clear the dampening flap statistics. IP-ADDRESS Specifies an IPv4 network to clear the dampening flap statistics.
  • Page 65: Clear Ip Bgp Peer-Group

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp peer-group 2-32 clear ip bgp peer-group To reset Border Gateway Protocol (BGP) connections using hard or soft reconfiguration for all the members of a BGP peer group, use this command in privileged mode. clear ip bgp peer-group [{vrf VRF-NAME | vpnv4 }]PEER-GROUP-NAME [soft [{in [prefix-filter] | out}]] Syntax Description...
  • Page 66 DGS-3620 m/ mSW Rls. 1.02.000 clear ip bgp peer-group Where the <ipaddress> is the address of the peer. This is a way to notify the neighbor of the prefix filter whenever a change is made to the prefix filter. Example In the following example, all members of the BGP peer group named INTERNAL are reset: Switch# clear ip bgp peer-group INTERNAL...
  • Page 67: Debug Ip Bgp

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp 2-33 debug ip bgp Use this command to turn on BGP debug function. Use the no form of this command to turn off BGP debug function. debug ip bgp no debug ip bgp Syntax None.
  • Page 68: Debug Ip Bgp Fsm-Event

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp fsm-event 2-34 debug ip bgp fsm-event Use this command to turn on BGP FSM event debug switch. Use the no form of this command to turn off BGP FSM event debug switch. debug ip bgp fsm-event no debug ip bgp fsm-event Syntax...
  • Page 69: Debug Ip Bgp Packet

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp packet 2-35 debug ip bgp packet Use this command to turn on BGP packet debug switch. Use the no form of this command to turn off BGP packet debug switch. debug ip bgp packet {receive | send} no debug ip bgp packet {receive | send} Syntax Description receive...
  • Page 70: Debug Ip Bgp Route-Map

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp route-map 2-36 debug ip bgp route-map Use this command to turn on BGP route map debug switch. Use the no form of this command to turn off BGP route map debug switch. debug ip bgp route-map no debug ip bgp route-map Syntax...
  • Page 71: Debug Ip Bgp Prefix-List

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp prefix-list 2-37 debug ip bgp prefix-list Use this command to turn on BGP IP prefix list debug switch. Use the no form of this command to turn off BGP IP prefix list debug switch. debug ip bgp prefix-list no debug ip bgp prefix-list Syntax...
  • Page 72: Debug Ip Bgp Show Global

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show global 2-38 debug ip bgp show global Use this command to show internal detail information about BGP. debug ip bgp show global [{vrf VRF-NAME | vpnv4}] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name. The length of VRF-NAME is 12 characters. vpnv4 Displays global parameters that in address family of VPN version 4.
  • Page 73 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show global Switch# debug ip bgp show global Following is the information for global debugging: AS Number Router ID : 10.2.2.2 Cluster ID : 30.1.1.1 Confed ID : 10 Confederation Peers : 65510 65511 Fast External Fallover : Disabled Dampening Ability...
  • Page 74 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show global Switch# debug ip bgp show global vrf vrf-1 Following is the information for global debugging: AS Number : 100 Router ID : 20.20.20.20 Cluster ID : 0.0.0.0 Confed ID Confederation Peers Fast External Fallover : Enabled Dampening Ability...
  • Page 75 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show global Switch# debug ip bgp show global vpnv4 Following is the information for global debugging: --------------------------------------------------- AS Number : 100 Router ID : 20.20.20.20 Cluster ID : 0.0.0.0 Confed ID Confederation Peers Fast External Fallover : Enabled Dampening Ability...
  • Page 76: Debug Ip Bgp Show Neighbors

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show neighbors 2-39 debug ip bgp show neighbors Use this command to show internal detail information about BGP neighbors. debug ip bgp show neighbors [{vrf VRF-NAME | vpnv4}] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name.
  • Page 77 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show neighbors Switch# debug ip bgp show neighbors BGP neighbor: 10.1.1.3 (Internel Peer) ----------------------------------------------- Session State : Enabled Session Activity : Enabled Peer Group : my Remote AS : 1 Local AS : 1 Remote Router ID : 182.148.0.3 BGP State : Established (UP for 00:21:48) Hold Time (Configured) : 180 Seconds...
  • Page 78: Debug Ip Bgp Show Peer-Group

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show peer-group 2-40 debug ip bgp show peer-group Use this command to show internal detail information about BGP peer group. debug ip bgp show peer-group [{vrf VRF-NAME | vpnv4}] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name.
  • Page 79 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show peer-group Switch# debug ip bgp show peer-group BGP Peer Group :local1 ------------------------------------------------------- Session State : Enabled Session Activity : Enabled Members : 10.1.1.3 Remote AS : Not Set Holdtime Interval : 180 seconds Keepalive Interval : 60 seconds Advertisement Interval : 0 seconds AS Origination Interval : 0 Seconds...
  • Page 80: Debug Ip Bgp Show Network

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show network 2-41 debug ip bgp show network Use this command to show internal detail information about BGP network. debug ip bgp show network [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name. The length of VRF-NAME is 12 characters. Default None.
  • Page 81: Debug Ip Bgp Show Aggregate

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show aggregate 2-42 debug ip bgp show aggregate Use this command to show internal detail information about BGP route aggregation. debug ip bgp show aggregate [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name. The length of VRF-NAME is 12 characters. Default None.
  • Page 82: Debug Ip Bgp Show Damp

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show damp 2-43 debug ip bgp show damp Use this command to show internal detail information about BGP route damping. debug ip bgp show damp [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name. The length of VRF-NAME is 12 characters. Default None.
  • Page 83 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show damp Examples This example displays internal detail information about BGP route damping of address family of IPv4: Switch# debug ip bgp show damp Route Map : NULL Reach Half Life Time is : 900 seconds Reuse Value : 750...
  • Page 84 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show damp Switch# debug ip bgp show damp vrf vrf-1 Route Map : NULL Reach Half Life Time is : 900 seconds Reuse Value : 750 Suppress Value : 2000 Max Suppress Time : 3600 seconds Unreach Half Life Time is : 900 seconds...
  • Page 85: Debug Ip Bgp Show Interface

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show interface 2-44 debug ip bgp show interface Use this command to show internal detail information about BGP interface. debug ip bgp show interface Syntax None. Description Default None. Command Mode Privileged mode. Usage Guideline Use this command to check internal status and detail information of BGP interface.
  • Page 86: Debug Ip Bgp Show Timer

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show timer 2-45 debug ip bgp show timer Use this command to show internal detail information about BGP timer. debug ip bgp show timer Syntax None. Description Default None. Command Mode Privileged mode. Usage Guideline Use this command to check internal status and detail information of BGP timer.
  • Page 87 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show timer Switch# debug ip bgp show timer BGP timer Link: node time func -------- ------ -------- 4805071c 80c8f7d0 48050700 80c8fa58 48108db4 80c7d8b8 4814a0bc 80c7d8b8 4815748c 80c7d8b8 481576d8 80ca6344 48109000 80ca6344 4814a308 80ca6344 481576f4 80ca6528...
  • Page 88: Debug Ip Bgp Show Redistribution

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show redistribution 2-46 debug ip bgp show redistribution Use this command to show internal detail information about BGP route redistribution. debug ip bgp show redistribution [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name. The length of VRF-NAME is 12 characters. Default None.
  • Page 89: Debug Ip Bgp Show As-Path-Access-List

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show as-path-access-list 2-47 debug ip bgp show as-path-access-list Use this command to show internal detail information about BGP path access list. debug ip bgp show as-path-access-list Syntax None. Description Default None. Command Mode Privileged mode.
  • Page 90: Debug Ip Bgp Show Community-List

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show community-list 2-48 debug ip bgp show community-list Use this command to show internal detail information about BGP community list. debug ip bgp show community-list Syntax None. Description Default None. Command Mode Privileged mode.
  • Page 91 DGS-3620 m/ mSW Rls. 1.02.000 exit-address-family 2-49 exit-address-family Use this command to exit from the address family configuration mode and enter the router configuration mode. exit-address-family Syntax None. Description Default None. Command Mode Address family configuration (IPv4 Unicast, VPNv4 and VRF). Usage Guideline None.
  • Page 92: Ip As-Path Access-List

    DGS-3620 m/ mSW Rls. 1.02.000 ip as-path access-list 2-50 ip as-path access-list Use this command to define a BGP Autonomous System (AS) path access list or add an AS path access list entry to an existing AS path access list. Use the no form of this command to delete the access list or an entry of the AS path access list.
  • Page 93 DGS-3620 m/ mSW Rls. 1.02.000 ip as-path access-list Switch(config)#no ip as-path access-list mylist Switch(config)# CLI Reference Guide...
  • Page 94: Ip Community-List

    DGS-3620 m/ mSW Rls. 1.02.000 ip community-list 2-51 ip community-list Use this command to create a community list or add a community list entry to an existing community list. Use the no form of this command to delete the community list or one of its entries.
  • Page 95 DGS-3620 m/ mSW Rls. 1.02.000 ip community-list Command Mode Global configuration mode Usage Guideline Use the community-lists to specify BGP community attributes. The community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. It includes community values that are 32 bits long.
  • Page 96: Ip Extcommunity-List

    DGS-3620 m/ mSW Rls. 1.02.000 ip extcommunity-list 2-52 ip extcommunity-list Use this command to create an extended community list or add an extended community entry to an existing extended community list for VPN route filtering. Use the no form of this command to delete the extended community list or remove one of its entries.
  • Page 97 DGS-3620 m/ mSW Rls. 1.02.000 ip extcommunity-list Usage Guideline The extended community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. All names of the standard extcommunity list and expended extcommunity list must not be the same.
  • Page 98: Neighbor Activate

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor activate 2-53 neighbor activate Use this command to enable the exchange of information with a Border Gateway Protocol (BGP) neighbor. Use the no form of this command to disable the exchange of information with a BGP neighbor. neighbor { IP-ADDRESS | PEER-GROUP-NAME} activate no neighbor { IP-ADDRESS | PEER-GROUP-NAME } activate Syntax Description...
  • Page 99: Neighbor Advertisement-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor advertisement-interval 2-54 neighbor advertisement-interval Use this command to set the minimum interval between sending Border Gateway Protocol (BGP) routing updates. Use the no command to return to the default configuration. neighbor { IP-ADDRESS | PEER-GROUP-NAME} advertisement-interval SECONDS no neighbor { IP-ADDRESS | PEER-GROUP-NAME } advertisement-interval Syntax Description Specifies IP address of BGP peer.
  • Page 100: Neighbor Allowas-In

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor allowas-in 2-55 neighbor allowas-in Use this command to enable routers to allow its own AS appearing in the received BGP update packets. To disable duplicate AS number, use the no form of this command. neighbor { IP-ADDRESS | PEER-GROUP-NAME} allowas-in [NUMBER] no neighbor { IP-ADDRESS | PEER-GROUP-NAME } allowas-in Syntax Description...
  • Page 101: Neighbor As-Override

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor as-override 2-56 neighbor as-override Use this command to enable to override the AS number of a site with the provider’s AS number on a PE router. Use the no form of the command to disable this function. neighbor {IP-ADDRESS | PEER-GROUP-NAME} as-override no neighbor {IP-ADDRESS | PEER-GROUP-NAME} as-override Syntax Description...
  • Page 102: Neighbor Capability Orf Prefix-List

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor capability orf prefix-list 2-57 neighbor capability orf prefix-list Use this command to advertise outbound router filter (ORF) capabilities to a peer or a peer group. Use the no form of this command to disable ORF capabilities. neighbor { IP-ADDRESS | PEER-GROUP-NAME} capability orf prefix-list {receive | send | both} no neighbor { IP-ADDRESS | PEER-GROUP-NAME } capability orf prefix-list {receive | send |...
  • Page 103 DGS-3620 m/ mSW Rls. 1.02.000 neighbor capability orf prefix-list R1# configure terminal R1(config)# ip prefix-list myorf permit 172.18.0.0/16 le 32 R1(config)# Then, set routing policy to R2, and advertise the ORF to R2: R1(config)#router bgp 10 R1(config-router)#neighbor 10.1.1.1 remote-as 1 R1(config-router)# neighbor 10.1.1.1 prefix-list myorf in R1(config-router)#neighbor 10.1.1.1 capability orf prefix-list send R1(config-router)#...
  • Page 104: Neighbor Default-Originate

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor default-originate 2-58 neighbor default-originate To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor for use as a default route, use this command in router configuration mode. To send no route as a default, use the no form of this command.
  • Page 105 DGS-3620 m/ mSW Rls. 1.02.000 neighbor default-originate Configure BGP neighbor to use route-map mymap as default originate filter: Switch(config)# router bgp 1 Switch(config-router)# neighbor 172.16.22.32 remote-as 2 Switch(config-router)# neighbor 172.16.22.32 default-originate route-map mymap Switch(config-router)#exit CLI Reference Guide...
  • Page 106: Neighbor Description

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor description 2-59 neighbor description Use this command to associate a description with a neighbor or a peer group. Use the no form of this command to remove the description. neighbor { IP-ADDRESS | PEER-GROUP-NAME } description DESC no neighbor { IP-ADDRESS | PEER-GROUP-NAME } description Syntax Description Specifies IP address of BGP peer.
  • Page 107: Neighbor Ebgp-Multihop

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor ebgp-multihop 2-60 neighbor ebgp-multihop This command is used to set the TTL of the BGP connections to external peers or peer-groups that are not directly connected. Use the no form of this command to return to the default.
  • Page 108: Neighbor Filter-List

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor filter-list 2-61 neighbor filter-list Use this command to set up a BGP filter. Use the no command to disable this function. neighbor { IP-ADDRESS | PEER-GROUP-NAME } filter-list ACCESS-LIST-NAME {in|out} no neighbor { IP-ADDRESS | PEER-GROUP-NAME } filter-list {in|out} Syntax Description Specifies IP address of BGP peer.
  • Page 109 DGS-3620 m/ mSW Rls. 1.02.000 neighbor filter-list Then, set the routing policy to neighbor 172.16.1.1: Switch(config)#router bgp 65100 Switch(config-router)#neighbor 192.168.6.6 remote-as 123 Switch(config-router)#neighbor 172.16.1.1 remote-as 65200 Switch(config-router)#neighbor 172.16.1.1 filter-list myacl out Switch(config-router)# CLI Reference Guide...
  • Page 110: Neighbor Maximum-Prefix

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor maximum-prefix 2-62 neighbor maximum-prefix Use this command to control how many prefixes can be received from a neighbor. Use the no form of this command to return to the default value. neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix MAXIMUM [THRESHOLD] [warning-only] no neighbor {IP-ADDRESS | PEER-GROUP-NAME} maximum-prefix Syntax Description...
  • Page 111 DGS-3620 m/ mSW Rls. 1.02.000 neighbor maximum-prefix The following example set the maximum prefixes to 10000, and set the local router to generate a log message instead of terminate the session when the maximum-prefix limit is exceeded: Switch(config)#router bgp 40000 Switch(config-router)#neighbor 192.168.1.1 remote-as 30000 Switch(config-router)#neighbor 192.168.1.1 maximum-prefix 10000 warning- only...
  • Page 112: Neighbor Next-Hop-Self

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor next-hop-self 2-63 neighbor next-hop-self Use this command to configure the router as the next hop for a BGP-speaking peer or a peer group. To disable this feature, use the no form of this command. neighbor {IP-ADDRESS | PEER-GROUP-NAME} next-hop-self no neighbor {IP-ADDRESS | PEER-GROUP-NAME} next-hop-self Syntax Description...
  • Page 113: Neighbor Password

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor password 2-64 neighbor password Use this command to enable Message Digest 5 (MD5) authentication and set the password on a TCP connection between two BGP peers. To disable this function, use the no form of this command. neighbor {IP-ADDRESS | PEER-GROUP-NAME} password PASSWORD no neighbor {IP-ADDRESS | PEER-GROUP-NAME} password Syntax Description...
  • Page 114 DGS-3620 m/ mSW Rls. 1.02.000 neighbor password Switch(config)#router bgp 40000 Switch(config-router)#neighbor 10.2.2.2 remote-as 30000 Switch(config-router)#neighbor 10.2.2.2 password abc Switch(config-router)# CLI Reference Guide...
  • Page 115: Neighbor Peer-Group (Add Group Member)

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor peer-group (add group member) 2-65 neighbor peer-group (add group member) Use this command to add a neighbor in a peer group. Use the no command to remove a neighbor in a peer group. neighbor IP-ADDRESS peer-group PEER-GROUP-NAME no neighbor IP-ADDRESS peer-group PEER-GROUP-NAME Syntax Description Specifies IP address of BGP peer.
  • Page 116 DGS-3620 m/ mSW Rls. 1.02.000 neighbor peer-group (add group member) as-override On the contrary, some attributes or actions are allowed to be configured from both the peer group and the member. If they are configured from the member, the setting will overwrite the setting configured from the peer group.
  • Page 117 DGS-3620 m/ mSW Rls. 1.02.000 neighbor peer-group (add group member) Switch(config)#router bgp 40000 Switch(config-router)#neighbor DLINK peer-group Switch(config-router)#neighbor DLINK remote-as 30000 Switch(config-router)#neighbor 172.16.1.2 peer-group DLINK Switch(config-router)# CLI Reference Guide...
  • Page 118: Neighbor Peer-Group (Create Group)

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor peer-group (create group) 2-66 neighbor peer-group (create group) Use this command to create a peer group. Use the no form of this command to delete a peer group neighbor PEER-GROUP-NAME peer-group no neighbor PEER-GROUP-NAME peer-group Syntax Description Name of a Border Gateway Protocol (BGP) peer group.
  • Page 119: Neighbor Prefix-List

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor prefix-list 2-67 neighbor prefix-list Use this command to set a routing policy to a specified peer or a peer group based on the prefix list. To remove a prefix list, use the no form of this command. neighbor {IP-ADDRESS | PEER-GROUP-NAME} prefix-list PREFIX-LIST-NAME {in | out} no neighbor { IP-ADDRESS | PEER-GROUP-NAME } prefix-list {in | out} Syntax Description...
  • Page 120 DGS-3620 m/ mSW Rls. 1.02.000 neighbor prefix-list Switch(config)#router bgp 65100 Switch(config-router)#neighbor 172.18.1.1 remote-as 65200 Switch(config-router)#neighbor 172.18.1.1 prefix-list myprefix in Switch(config-router)# CLI Reference Guide...
  • Page 121: Neighbor Remote-As

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor remote-as 2-68 neighbor remote-as Use this command to create a BGP neighbor with its remote AS or configure the remote AS of a peer group. Use the no form of this command to delete a neighbor or a peer group.
  • Page 122: Neighbor Remove-Private-As

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor remove-private-as 2-69 neighbor remove-private-as Use this command to remove private autonomous system numbers from the autonomous system path attribute in the updates sent to the specified neighbor or the members of the specified peer group. To disable this function, use the no form of this command.
  • Page 123 DGS-3620 m/ mSW Rls. 1.02.000 neighbor remove-private-as switch(config)#router bgp 10 switch(config-router)#neighbor 10.10.10.10 remote-as 65530 switch(config-router)#neighbor 172.16.1.1 remote-as 20 switch(config-router)#neighbor 172.16.1.1 remove-private-as Switch(config-rotuer)# CLI Reference Guide...
  • Page 124: Neighbor Route-Map

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor route-map 2-70 neighbor route-map Use this command to apply a route map to incoming or outgoing routes. Use the no command to remove the route map. neighbor { IP-ADDRESS | PEER-GROUP-NAME } route-map MAP-NAME { in | out} no neighbor { IP-ADDRESS | PEER-GROUP-NAME } route-map { in | out} Syntax Description Specifies IP address of BGP peer.
  • Page 125 DGS-3620 m/ mSW Rls. 1.02.000 neighbor route-map Switch(config)#router bgp 10 Switch(config-router)#neighbor 172.16.1.1 remote-as 10 Switch(config-router)#neighbor 172.16.1.1 route-map internal-map out Switch(config-router)# CLI Reference Guide...
  • Page 126: Neighbor Route-Reflector-Client

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor route-reflector-client 2-71 neighbor route-reflector-client This command is used to configure the local BGP as a route reflector and specify a neighbor or a peer group as its client. Use the no form of this command to remove the client.
  • Page 127: Neighbor Send-Community

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor send-community 2-72 neighbor send-community Use this command to specify that community attribute should be sent to a BGP neighbor or all the members of a peer group. Use the no form of this command to remove the entry.
  • Page 128: Neighbor Shutdown

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor shutdown 2-73 neighbor shutdown Use this command to disable a neighbor or a peer group. Use the no form of this command to re-enable a neighbor or a peer group. neighbor { IP-ADDRESS | PEER-GROUP-NAME} shutdown no neighbor { IP-ADDRESS | PEER-GROUP-NAME} shutdown Syntax Description Specifies IP address of BGP peer.
  • Page 129: Neighbor Soft-Reconfiguration Inbound

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor soft-reconfiguration inbound 2-74 neighbor soft-reconfiguration inbound This command is used to start storing the route updates received from the specified neighbor or peer group. To not store received updates, use the no form of this command.
  • Page 130: Neighbor Soo

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor soo 2-75 neighbor soo Use this command to configure the Site of Origin (SoO) value of a peer or a peer group. Use the no form of this command to remove the Site of Origin value configured.
  • Page 131 DGS-3620 m/ mSW Rls. 1.02.000 neighbor soo Switch# configure terminal Switch# router bgp 10 Switch(config-router)# address-family ipv4 vrf vpn1 Switch(config-router-af)# neighbor 3.3.3.3 remote-as 20 Switch(config-router-af)# neighbor 3.3.3.3 soo 10:100 Switch(config-router-af)# exit-address-family CLI Reference Guide...
  • Page 132: Neighbor Timers

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor timers 2-76 neighbor timers Use this command to set the timers for a specific BGP peer or a peer group. Use the no form of this command to return to the default value of the global setting. neighbor { IP-ADDRESS | PEER-GROUP-NAME} timers KEEP-ALIVE HOLD-TIME no neighbor { IP-ADDRESS | PEER-GROUP-NAME} timers Syntax Description...
  • Page 133: Neighbor Unsuppress-Map

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor unsuppress-map 2-77 neighbor unsuppress-map This command is used to selectively advertise routes previously suppressed by the aggregate-address command. Use the no form of this command to remove the route map. neighbor { IP-ADDRESS | PEER-GROUP-NAME} unsuppress-map MAP-NAME no neighbor { IP-ADDRESS | PEER-GROUP-NAME} unsuppress-map Syntax Description Specifies IP address of BGP peer.
  • Page 134: Neighbor Update-Source

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor update-source 2-78 neighbor update-source Use this command to allow BGP sessions to use any operational interface for TCP connections. Use the no form of this command to restore the interface assignment to the closest interface. neighbor { IP-ADDRESS | PEER-GROUP-NAME} update-source INTERFACE-TYPE INTERFACE-NUMBER no neighbor { IP-ADDRESS | PEER-GROUP-NAME} update-source...
  • Page 135: Neighbor Weight

    DGS-3620 m/ mSW Rls. 1.02.000 neighbor weight 2-79 neighbor weight Use this command to specify the weight to be associated with a specific neighbor. To remove a weight assignment, use the no form of this command. neighbor {IP-ADDRESS | PEER-GROUP-NAME} weight NUMBER no neighbor {IP-ADDRESS | PEER-GROUP-NAME} weight Syntax Description Specifies IP address of BGP peer.
  • Page 136: Network (Bgp)

    DGS-3620 m/ mSW Rls. 1.02.000 network (BGP) 2-80 network (BGP) Use this command to configure the networks to be advertised by the Border Gateway Protocol (BGP) process. To remove an entry from the routing table, use the no form of this command. network NETWORK-ADDRESS [route-map MAP-NAME] no network NETWORK-ADDRESS [route-map] Syntax Description...
  • Page 137 DGS-3620 m/ mSW Rls. 1.02.000 network (BGP) Switch# configure terminal Switch(config)# route-map mymap1 permit 1 Switch(config-route-map)# set weight 2000 Switch config-route-map # exit Switch(config)# router bgp 65100 Switch(config-router)# network 133.10.25.0/24 route-map mymap1 CLI Reference Guide...
  • Page 138 DGS-3620 m/ mSW Rls. 1.02.000 redistribute 2-81 redistribute This command is used to redistribute routing information from other routing protocols to BGP. Use the no form of this command to disable this function. redistribute {local | static | rip | ospf {all | internal | external | type_1 | type_2 | inter+e1 | inter+e2}} [metric NUMBER | route-map MAP-NAME] no redistribute {local | static | rip | ospf} [metric | route-map] Syntax Description...
  • Page 139 DGS-3620 m/ mSW Rls. 1.02.000 redistribute You can verify your settings by entering show ip bgp redistribute command. Examples This example shows how to redistribute rip route to bgp and use the optional parameters to modify the routes: Switch# configure terminal Switch(config)# router bgp 65534 Switch(config-router)# redistribute rip metric 2000 route-map my-may CLI Reference Guide...
  • Page 140 DGS-3620 m/ mSW Rls. 1.02.000 route-preference 2-82 route-preference Use this command to set BGP route preference. Use the no form of this command to restore the default value of bgp route preference. route-preference {ibgp|ebgp} VALUE no route-preference Syntax Description Preference of bgp route. The value range is 1-999. VALUE Default The default route-preference for EBGP is 70 and IBGP is 130.
  • Page 141: Router Bgp

    DGS-3620 m/ mSW Rls. 1.02.000 router bgp 2-83 router bgp Use this command to enable (configure) BGP routing process. Use the no form of this command to remove a BGP routing process. router bgp AS-NUMBER no router bgp AS-NUMBER Syntax Description Specifies the number of an autonomous system that identifies the router to other AS-NUMBER BGP routers.
  • Page 142: Show Ip As-Path Access-List

    DGS-3620 m/ mSW Rls. 1.02.000 show ip as-path access-list 2-84 show ip as-path access-list To display configured as-path access-lists, use this command in user or privileged mode. show ip as-path access-list [ACCESS-LIST-NAME] Syntax Description (Optional) Specifies the access list to be displayed. The length is up to 16 characters. ACCESS-LIST-NAME Default None...
  • Page 143 DGS-3620 m/ mSW Rls. 1.02.000 show ip as-path access-list Field Description BGP AS Path Access Indicates the name of the BGP AS path access list. List permit Indicates that the packets will be accepted if there AS-PATH attribute match the regular expression specified.
  • Page 144: Show Ip Bgp

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp 2-85 show ip bgp To display entries in the Border Gateway Protocol (BGP) routing table, use this command in privileged mode. show ip bgp [{IP-ADDRESS | NETWORK-ADDRESS [longer-prefixes]}] Syntax Description (Optional) IP address entered to filter the output to display only a particular host or IP-ADDRESS network in the BGP routing table.
  • Page 145 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp The following example shows the BGP routing which network address is 172.18.0.0/16 and includes longer prefixes: Switch# show ip bgp 172.18.0.0/16 longer-prefixes BGP Local Router ID is 10.90.90.10 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? –...
  • Page 146 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp If you show some of these route using command of show ip bgp NETWORK- ADDRESS, you will get the totally information of these route: Switch# show ip bgp 66.1.1.0/24 BGP routing table entry for 66.1.1.0/24 Paths:(1 available, best #1, table: Default_IP_Routing_Table.) Advertised to non peer-group peer: 76.1.1.10 Advertised to peer-groups:group1,group2...
  • Page 147 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp Metric If shown, this is the value of the inter-autonomous system metric. This field is frequently not used. LocPrf Local preference value as set with the set local-preference route-map configuration command. The default value is 100. Weight Weight of the route as set via autonomous system filters.
  • Page 148: Show Ip Bgp Aggregate

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp aggregate 2-86 show ip bgp aggregate To display aggregate entry in BGP (Border Gateway Protocol) database, use this command in user or privileged mode. show ip bgp aggregate [vrf VRF-NAME] [NETWORK-ADDRESS] Syntax Description (Optional) Specifies a VRF name.
  • Page 149: Show Ip Bgp All

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp all 2-87 show ip bgp all To display entries in the BGP routing table of IPv4 VPN address family and VRF related routing information. show ip bgp all [{NETWORK-ADDRESS | label}] Syntax Description NETWORK-ADDRESS (Optional) Specifies to display the routes match the network address.
  • Page 150 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp all The following example displays the BGP private labels of all routes. Switch#show ip bgp all label BGP Local Router ID is 30.1.1.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network...
  • Page 151 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp all Status of the table entry displayed at the beginning of each line. It can Status codes be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 152: Show Ip Bgp Rd

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp rd 2-88 show ip bgp rd To display entries in the BGP routing table in IPv4 VPN address family with the specified Route Distinguisher. show ip bgp rd ASN:NN [{NETWORK-ADDRESS | label }] Syntax Description Specifies the Route Distinguisher ASN:NN...
  • Page 153 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp rd Switch#show ip bgp rd 1:1 label BGP Local Router ID is 11.11.11.11 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network From In Label/Out Label...
  • Page 154 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp rd Origin codes Origin of the table entry displayed at the end of each line. It can be one of the following values: i—Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.
  • Page 155: Show Ip Bgp Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp vrf 2-89 show ip bgp vrf To display entries in the BGP routing table in VRF address family. show ip bgp vrf VRF-NAME [{NETWORK-ADDRESS | label }] Syntax Description (Optional)Specifies the name of VRF. VRF-NAME (Optional) Specifies to display the route match the network address.
  • Page 156 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp vrf The following example displays the BGP private labes of routes of a specified VRF. Switch#show ip bgp vrf VPN-B label BGP Local Router ID is 11.11.11.11 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network...
  • Page 157 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp vrf IP Address/ IP prefix with its mask length of the entry. Netmask Gateway IP address of the next router that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network.
  • Page 158: Show Ip Bgp Redistribute

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp redistribute 2-90 show ip bgp redistribute This command is used to display the route redistribution configuration of BGP. show ip bgp redistribute [vrf VRF-NAME] Syntax Description (Optional) Specifies the name of VRF to display the route redistribution vrf VRF-NAME configuration in IPv4 VRF address family.
  • Page 159 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp redistribute Switch#show ip bgp redistribute vrf VPN-A Route Redistribution Settings Source Destination Type Metric RouteMapName Protocol Protocol -------- ------------ -------- ------ ------------ Redistribute For VRF VPN-A LOCAL Total Entries : 1 Switch# Field Description Information of redistribute between bgp and some other protocols.
  • Page 160: Show Ip Bgp Cidr-Only

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp cidr-only 2-91 show ip bgp cidr-only To display routes with classless inter-domain routing (CIDR), use this command in privileged mode. show ip bgp cidr-only Syntax None. Description Default None. Usage Guideline This command is used to display BGP routes with classless inter-domain routing (CIDR).
  • Page 161 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp cidr-only Origin codes Origin of the table entry displayed at the end of each line. It can be one of the following values: i—Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.
  • Page 162: Show Ip Bgp Community

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp community 2-92 show ip bgp community Use this command to display routes which are matching the community. show ip bgp community COMMUNITY [exact-match] Syntax Description COMMUNITY A community is in the form of <as-number> : <udn-number> or any of the following predefined values: internet, no-export, local-as, no-advertise.
  • Page 163 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp community Field Description BGP Local The router identifier of the local BGP router. Router ID Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed.
  • Page 164: Show Ip Bgp Community-List

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp community-list 2-93 show ip bgp community-list Use the show ip bgp community-list command to display routes that are permitted by the Border Gateway Protocol (BGP) community list, show ip bgp community-list COMMUNITY-LIST-NAME [exact-match] Syntax Description Community list name.
  • Page 165 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp community-list Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 166: Show Ip Bgp Confederation

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp confederation 2-94 show ip bgp confederation This command is used to display the confederation configuration of BGP. show ip bgp confederation Syntax None Description Default None Command Mode Privileged mode Usage Guideline Use this command to display the detail of the confederation configured.
  • Page 167: Show Ip Bgp Dampening Dampened-Paths

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening dampened-paths 2-95 show ip bgp dampening dampened-paths Use this command in privileged mode to display routes that dampened by BGP. show ip bgp dampening dampened-paths [vrf VRF-NAME] Syntax Description (Optional) Specifies the VRF name. The length of the VRF-NAME is 12 characters. vrf VRF-NAME Default None.
  • Page 168 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening dampened-paths Origin codes Origin of the table entry displayed at the end of each line. It can be one of the following values: i—Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.
  • Page 169: Show Ip Bgp Dampening Parameters

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening parameters 2-96 show ip bgp dampening parameters To display bgp dampening configurations, use this command in privileged mode. show ip bgp dampening parameters [vrf VRF-NAME] Syntax Description (Optional) Specifies the VRF name. The length of the VRF-NAME is 12 characters. vrf VRF-NAME Default None.
  • Page 170 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening parameters Unreachable Specifies the time (in minute) after which the penalty of the unreachable routes will be route's Half-life down, by half. The default setting is 15 minutes. CLI Reference Guide...
  • Page 171: Show Ip Bgp Dampening Flap-Statistics

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening flap-statistics 2-97 show ip bgp dampening flap-statistics To display BGP flap statistics, use this command in privileged mode. show ip bgp dampening flap-statistics [vrf VRF-NAME] Syntax Description (Optional) Specifies the VRF name. The length of the VRF-NAME is 12 characters. vrf VRF-NAME Command Mode Privileged mode...
  • Page 172 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp dampening flap-statistics Origin codes Origin of the table entry displayed at the end of each line. It can be one of the following values: i—Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.
  • Page 173: Show Ip Bgp Filter-List

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp filter-list 2-98 show ip bgp filter-list To display routes that conform to a specified filter list, use the show ip bgp filter-list command. show ip bgp filter-list ACCESS-LIST-NAME Syntax Description Specifies the AS path access list name and only the routes match the AS path ACCESS-LIST-NAME access list are displayed.
  • Page 174 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp filter-list Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 175: Show Ip Bgp Inconsistent-As

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp inconsistent-as 2-99 show ip bgp inconsistent-as To displays the routes which have the same prefix and different AS path origins, use this command in privileged mode. show ip bgp inconsistent-as Syntax None Description Default None...
  • Page 176 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp inconsistent-as Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 177: Show Ip Bgp Neighbors

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors 2-100 show ip bgp neighbors Use this command to display information of the BGP neighbors. show ip bgp neighbors [{[vrf VRF-NAME] [IP-ADDRESS [{advertised-routes | received prefix- filter | received-routes | routes | statistics}]] | all}] Syntax Description (Optional) Specifies a VRF name.
  • Page 178 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Switch#show ip bgp neighbors all BGP neighbor: 10.1.1.1 (Internal Peer) ------------------------------------------------------------------- Session State : Enabled Remote AS Remote Router ID : 0.0.0.0 BGP State : Connect Hold Time : 180 Seconds Keepalive Interval : 60 Seconds Advertisement Interval...
  • Page 179 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors BGP neighbor: 10.5.5.5 (External Peer), vrf VPN-A ------------------------------------------------------------------- Session State : Enabled Remote AS Remote Router ID : 0.0.0.0 BGP State : Idle Hold Time : 180 Seconds Keepalive Interval : 60 Seconds Advertisement Interval : 30 Seconds EBGP Multihop...
  • Page 180 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors BGP State The Finite State Machine (FSM) of the neighbor. The value may be Idle, Connect, Active, Opensent, Openconfirm and Established. UP for Indicates how long the Established state last. This field only display in the Established state.
  • Page 181 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors None (IPv4 Indicates that the local BGP does not exchange IPv4 unicast information with the Unicast) neighbor. Advertised Indicates that the local BGP advertise its IPv4 unicast information to the neighbor. (IPv4 Unicast) Received (IPv4 Indicates that the local BGP receive the IPv4 unicast information from the neighbor.
  • Page 182 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Outbound Indicates the state of the ORF prefix list. Route Filter (ORF) type (64) Prefix list Send Mode Indicates whether the local BGP send ORF prefix list to the neighbor. Receive Mode Indicates whether the local BGP receive ORF prefix list from the neighbor.
  • Page 183 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Field Description BGP Local The router identifier of the local BGP router. Router ID Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed.
  • Page 184 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Field Description IP Prefix List Name of the IP prefix list received from the neighbor. The name is made up by the IP address by the dotted decimal notation dot Address Family Identifier (AFI) dot Subsequent Address Family Identifier (SAFI).
  • Page 185 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 186 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors show ip bgp neighbors routes Field Description Field Description BGP Local The router identifier of the local BGP router. Router ID Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed.
  • Page 187 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Switch#show ip bgp neighbors 10.1.1.2 statistics BGP neighbor: 10.1.1.2 (External Peer) ----------------------------------------------- Accepted Prefixes Last read : 00:00:47 Send Statistics Opens Notifications Updates Keepalives : 26 Route Refresh Total : 28 Receive Statistics Opens Notifications...
  • Page 188 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp neighbors Accepted Number of routes accepted by the local BGP. These routes are contained in the Loc-RIB. Prefixes Last read Time that BGP last received a message from this neighbor. Format is HH:MM:SS. Send Statistics The statistics information of the outgoing packets.
  • Page 189: Show Ip Bgp Network

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp network 2-101 show ip bgp network To display networks created by Border Gateway Protocol network command, use this command in user or privileged mode. show ip bgp network [vrf VRF-NAME] [NETWORK-ADDRESS] Syntax Description (Optional) Specifies a VRF name.
  • Page 190: Show Ip Bgp Reflection

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp reflection 2-102 show ip bgp reflection This command is used to display the route reflection configuration of BGP. show ip bgp reflection [vpnv4] Syntax Description vpnv4 (Optional) Display reflection information of VPNv4 address family. Default None.
  • Page 191: Show Ip Bgp Route-Map

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp route-map 2-103 show ip bgp route-map To display networks which match route-map of Border Gateway Protocol, use this command in user or privileged mode. show ip bgp route-map MAP-NAME Syntax Description Specify the name of a route map. The maximum length is 16 characters. MAP-NAME Command Mode Privileged mode.
  • Page 192 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp route-map Origin codes Origin of the table entry displayed at the end of each line. It can be one of the following values: i—Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command.
  • Page 193: Show Ip Bgp Parameters

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp parameters 2-104 show ip bgp parameters To display parameters of Border Gateway Protocol, use this command in user or privileged privileged mode. show ip bgp parameters Syntax None. Description Default None Command Mode Privileged mode.
  • Page 194 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp parameters BGP Router Identifier BGP process’s router ID. Synchronization BGP synchronization state. Enforce First AS When the setting is enabled, any updates received from an external neighbor, that does not have the neighbor’s configured Autonomous System (AS) at the beginning of the AS_PATH in the received update, will be denied.
  • Page 195: Show Ip Bgp Peer-Group

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp peer-group 2-105 show ip bgp peer-group This command is used to display information of the BGP peer group. show ip bgp peer-group [{[vrf VRF-NAME] [PEER-GROUP-NAME] | all}] Syntax Description (Optional) Specifies a VRF name. The length of the VRF-NAME is 12 characters. vrf VRF-NAME Name of a Border Gateway Protocol (BGP) peer group.
  • Page 196 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp peer-group Switch# show ip bgp peer-group mygroup BGP Peer Group :mygroup ----------------------------------------------------------------------- Description Session State : Enabled Remote AS Advertisement Interval : 5 seconds Keepalive Interval : 60 seconds Holdtime Interval : 180 seconds EBGP Multihop : 255 Weight...
  • Page 197 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp peer-group show ip bgp peer-group Field Description Field Description BGP Peer Group Name of the peer group. Description Show the description configured to descript the peer group Session State Indicates whether the peer group is shut down or not. Members Members of this peer group, separated by comma.
  • Page 198 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp peer-group Soft Indicates whether the local BGP store the route updates received from members of this Reconfiguration peer group. Inbound Unsuppressed Indicates a route map name which the routes previously suppressed by the aggregate- Route Map address command must be applied.
  • Page 199: Show Ip Bgp Quote-Regexp

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp quote-regexp 2-106 show ip bgp quote-regexp To display routes which matching the regular expression, use this command in privileged mode. show ip bgp quote-regexp REGEXP Syntax Description Displays routes matching the AS path regular expression. The maximum length is 80 REGEXP characters.
  • Page 200 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp quote-regexp Status codes Status of the table entry displayed at the beginning of each line. It can be one or more of the following values: s—The table entry is suppressed. d—The table entry is damped. h—The table entry is damped and has been withdrawn by the neighbor.
  • Page 201: Show Ip Bgp Summary

    DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp summary 2-107 show ip bgp summary This command is used to display the state of all BGP neighbors connection, also includes route id, local AS number and so on. show ip bgp summary [{vrf VRF-NAME | vpnv4}] Syntax Description vrf VRF-NAME (Optional) Specifies a VRF name.
  • Page 202 DGS-3620 m/ mSW Rls. 1.02.000 show ip bgp summary State/PfxRcd The current state of the BGP session, or the number of prefixes that have been received from a neighbor or peer group. When the maximum number (as set by the neighbor maximum-prefix command) is reached, the string “PfxRcd”...
  • Page 203: Show Ip Community-List

    DGS-3620 m/ mSW Rls. 1.02.000 show ip community-list 2-108 show ip community-list To display configured community lists, use this command in privileged mode. show ip community-list [COMMUNITY-LIST-NAME] Syntax Description Community list name. The maximum length is 16 characters. COMMUNITY-LIST- NAME Default None.
  • Page 204 DGS-3620 m/ mSW Rls. 1.02.000 show ip community-list Switch#show ip community-list Community List Name: ----------------------------------- Type : Standard permit 20:30 no-advertise local-as deny no-export Total Filter Entries: 2 Community List Name: ----------------------------------- Type : Expanded permit .*300.*$ deny Total Filter Entries: 2 Community List Name: ----------------------------------- Type...
  • Page 205 DGS-3620 m/ mSW Rls. 1.02.000 show ip community-list Total number of entries of a specifically community list. Total Filter Entries total Total numbers of the community list. community-list count CLI Reference Guide...
  • Page 206: Show Ip Extcommunity-List

    DGS-3620 m/ mSW Rls. 1.02.000 show ip extcommunity-list 2-109 show ip extcommunity-list To display extened community lists configurations. show ip extcommunity-list [EXTCOMMUNITY-LIST-NAME] Syntax Description (Optional) Specifies to only display one extended community list. EXTCOMMUNITY- LIST-NAME Display all extended community lists. Default None.
  • Page 207 DGS-3620 m/ mSW Rls. 1.02.000 show ip extcommunity-list Field Description Extended Name of this extcommunity list. Community List Name Type Type of this community list. Standard Indicates that this entry is an standard extcommunity list with rt or soo value . Expanded Indicates that this entry is an expanded extcommunity list with a regular expression.
  • Page 208 DGS-3620 m/ mSW Rls. 1.02.000 synchronization 2-110 synchronization To enable the synchronization between BGP and your Interior Gateway Protocol (IGP) system, use the synchronization command in router configuration mode. To enable the router to advertise a network route without waiting for the IGP, use the no form of this command.
  • Page 209: Timers Bgp

    DGS-3620 m/ mSW Rls. 1.02.000 timers bgp 2-111 timers bgp Use this command to adjust BGP network timers. Use the no form of this command to restore to the default value. timers bgp KEEP-ALIVE HOLD-TIME no timers bgp Syntax Description Specify the frequency, in seconds, with which the software sends KEEPALIVE KEEP-ALIVE messages to its BGP peer.
  • Page 210: Distance Vector Multicast Routing Protocol (Dvmrp) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Distance Vector Multicast Routing Protocol (DVMRP) Commands List of commands discussed in this chapter. Page 3-1 ip dvmrp 3-2 ip dvmrp metric 3-3 show ip dvmrp interface 3-4 show ip dvmrp neighbor 3-5 show ip dvmrp route CLI Reference Guide...
  • Page 211: Ip Dvmrp

    DGS-3620 m/ mSW Rls. 1.02.000 ip dvmrp 3-1 ip dvmrp To enable Distance Vector Multicast Routing Protocol (DVMRP) on an interface, use the ip dvmrp command in interface configuration mode. To disable DVMRP on the interface, use the no form of this command. ip dvmrp no ip dvmrp Syntax...
  • Page 212: Ip Dvmrp Metric

    DGS-3620 m/ mSW Rls. 1.02.000 ip dvmrp metric 3-2 ip dvmrp metric Use this command to configure the metric value on current interface. To restore the default value, use no form of this command. ip dvmrp metric METRIC no ip dvmrp metric Syntax Description Specify the metric value of the interface.
  • Page 213: Show Ip Dvmrp Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip dvmrp interface 3-3 show ip dvmrp interface Use this command to display DVMRP interface information. show ip dvmrp interface [IFNAME] Syntax Description IFNAME Specify an interface name. If no interface name is specified, the command will list all interfaces’...
  • Page 214: Show Ip Dvmrp Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 show ip dvmrp neighbor 3-4 show ip dvmrp neighbor Use this command to display DVMRP neighbor information. show ip dvmrp neighbor [IFNAME] Syntax Description IFNAME Specify an interface name. If no interface name is specified, the command will list all interfaces’...
  • Page 215: Show Ip Dvmrp Route

    DGS-3620 m/ mSW Rls. 1.02.000 show ip dvmrp route 3-5 show ip dvmrp route This command is used to display the DVMRP route info. show ip dvmrp route [IPADDRESS MASK] Syntax Description IPADDRESS Specify IP address. Together with the parameter MASK, specify displaying the route info for the specified network.
  • Page 216 DGS-3620 m/ mSW Rls. 1.02.000 show ip dvmrp route Field Description Source Address/Netmask Specify the network address of this entry. Upstream Neighbor Metric Specify cost to this network. This value can be modified by command “ip dvmrp metric”. Learned Specify the way to of learning this route entry. “Dynamic” means this route entry is learned by DVMRP route exchanging.
  • Page 217: Internet Group Management Protocol (Igmp) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Internet Group Management Protocol (IGMP) Commands List of commands discussed in this chapter. Page 4-1 clear ip igmp group 4-2 ip igmp static-group 4-3 ip igmp last-member-query-interval 4-4 ip igmp query-interval 4-5 ip igmp query-max-response-time 4-6 ip igmp robustness-variable 4-7 ip igmp version 4-8 ip igmp check-subscriber-source-network...
  • Page 218: Clear Ip Igmp Group

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip igmp group 4-1 clear ip igmp group Use this command to clear dynamic group member information obtained from the response messages in the IGMP buffer. clear ip igmp group [GROUP-ADDRESS | interface IFNAME] Syntax Description Delete all dynamic group information.
  • Page 219: Ip Igmp Static-Group

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp static-group 4-2 ip igmp static-group Use this command to directly add an interface to a group. You can use this command to add an interface to a group. Use the no form of this command to remove the setting.
  • Page 220: Ip Igmp Last-Member-Query-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp last-member-query-interval 4-3 ip igmp last-member-query-interval To configure the interval at which the switch sends IGMP group-specific or group- source-specific (with IGMP Version 3) query messages, use the ip igmp last- member-query-interval command in interface configuration mode. To set this interval to the default value, use the no form of this command.
  • Page 221: Ip Igmp Query-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp query-interval 4-4 ip igmp query-interval Use this command to configure the query interval of an ordinary member. Use the no form to set the query interval of ordinary member to the default value. ip igmp query-interval SECONDS no ip igmp query-interval Syntax Description...
  • Page 222: Ip Igmp Query-Max-Response-Time

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp query-max-response-time 4-5 ip igmp query-max-response-time Use this command to configure the maximum response interval. Use the no form of this command to set the maximum response interval to the default value. ip igmp query-max-response-time SECONDS no ip igmp query-max-response-time Syntax Description SECONDS...
  • Page 223: Ip Igmp Robustness-Variable

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp robustness-variable 4-6 ip igmp robustness-variable Use this command to change the value of the robustness variable. Use the no form of this command to restore it to the default value. ip igmp robustness-variable NUMBER no ip igmp robustness-variable Syntax Description NUMBER...
  • Page 224: Ip Igmp Version

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp version 4-7 ip igmp version Use this command to set the version number of IGMP to be used on the interface. Use the no form of this command to restore it to the default value. ip igmp version {1 | 2 | 3} no ip igmp version Syntax Description...
  • Page 225: Ip Igmp Check-Subscriber-Source-Network

    DGS-3620 m/ mSW Rls. 1.02.000 ip igmp check-subscriber-source-network 4-8 ip igmp check-subscriber-source-network Use this command to configure the flag that determines whether or not to check the subscriber’s source IP when an IGMP report or leave message is received. Use the no form of this command to disable the check. ip igmp check-subscriber-source-network no ip igmp check-subscriber-source-network Syntax...
  • Page 226: Show Ip Igmp Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp interface 4-9 show ip igmp interface Use this command to show the information on the interface. show ip igmp interface [IFNAME] Syntax Description IFNAME Interface name. Show information about all the interfaces. Default None.
  • Page 227 DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp interface Switch# show ip igmp interface Interface System Internet Address is 10.90.90.90/8 IGMP is disabled on interface Current IGMP router version is 2 IGMP query interval is 125 seconds IGMP querier timeout is 0 seconds IGMP max query response time is 10 seconds Robustness variable is 2 Last member query interval is 1 second...
  • Page 228 DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp interface IGMP max query response time is Indicates the maximum allowed time before the host sending a 10 seconds responding report, as specified with the ip igmp query-max- response-time command. Robustness variable is 2 Indicates the robustness value, as specified with the ip igmp robustness-variable command.
  • Page 229: Show Ip Igmp Groups

    DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp groups 4-10 show ip igmp groups Use this command to show the groups directly connected to the device and the group information learnt from IGMP. show ip igmp groups [group GROUP-ADDRESS | interface IFNAME] [{detail | static}] Syntax Description Show the information about all the dynamic groups.
  • Page 230 DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp groups The following example shows detailed group information on a specific interface: Switch# show ip igmp groups interface System detail IGMP Group Detail Information Interface : System Multicast Group : 224.1.1.1 Last Reporter : 10.0.31.1 IP Querier : SELF Up Time...
  • Page 231 DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp groups The following example shows detailed information of a specific group: Switch# show ip igmp groups group 224.1.1.1 detail IGMP Group Detail Information Interface : System Multicast Group : 224.1.1.1 Last Reporter : 10.0.31.1 IP Querier : SELF Up Time...
  • Page 232 DGS-3620 m/ mSW Rls. 1.02.000 show ip igmp groups VI Host Timer In seconds. The non-zero V1 Host Timer means the switch is running in Group Compatibility mode of IGMPv1 for the group. The IGMPv1 Host Present timer is set to Older Version Host Present Timeout seconds whenever an IGMPv1 Membership Report is received.
  • Page 233: Interface Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Interface Commands List of commands discussed in this chapter. Page 5-1 interface loopback 5-2 shutdown 5-3 show interface loopback CLI Reference Guide...
  • Page 234: Interface Loopback

    DGS-3620 m/ mSW Rls. 1.02.000 interface loopback 5-1 interface loopback Use this command to create a loopback interface and enter the interface configuration mode. Use the no form of this command to delete a loopback interface interface loopback <int> no interface loopback <int> Syntax Description The loopback interface number.
  • Page 235 DGS-3620 m/ mSW Rls. 1.02.000 shutdown 5-2 shutdown Use the command to disable an interface. Use the no command to enable an interface. shutdown no shutdown Syntax None. Description Default Default the interface is enabled. Command Mode Interface configuration mode. Usage Guideline This command is used to disable or enable an interface.
  • Page 236: Show Interface Loopback

    DGS-3620 m/ mSW Rls. 1.02.000 show interface loopback 5-3 show interface loopback Use this command to display all the IP interfaces. show interface loopback <int> Syntax Description The loopback interface number. Default None Command Mode User mode or Privileged mode. Usage Guideline Use this command to display the loopback interface.
  • Page 237: Ip Access List Commands

    DGS-3620 m/ mSW Rls. 1.02.000 IP Access List Commands List of commands discussed in this chapter. Page 6-1 ip standard access-list 6-2 deny 6-3 permit 6-4 show ip standard access-list CLI Reference Guide...
  • Page 238 DGS-3620 m/ mSW Rls. 1.02.000 ip standard access-list 6-1 ip standard access-list Use this command to enter the access list configuration mode and define a standard IP access list. Use the no form of this command to remove a standard IP access list.
  • Page 239: Syntax Description

    DGS-3620 m/ mSW Rls. 1.02.000 deny 6-2 deny Use this command to set the deny rules of standard IP access list. Use the no form of this command to remove the deny rules. deny NETWORK-ADDRESS no deny NETWORK-ADDRESS Syntax Description NETWORK- Specifies a specific network address.
  • Page 240 DGS-3620 m/ mSW Rls. 1.02.000 permit 6-3 permit Use this command to set the permit rules of standard IP access list. Use the no form of this command to remove the permit rules. permit NETWORK-ADDRESS no permit NETWORK-ADDRESS Syntax Description NETWORK- Specifies a specific network address.
  • Page 241 DGS-3620 m/ mSW Rls. 1.02.000 show ip standard access-list 6-4 show ip standard access-list Use this command to display the access-list configuration. show ip standard access-list [ACCESS-LIST-NAME] Syntax Description ACCESS-LIST-NAME (Optional) Specifies the name of a standard IP access list. Default None.
  • Page 242: Ip Multicast (Ipmc) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 IP Multicast (IPMC) Commands List of commands discussed in this chapter. Page 7-1 ip mroute 7-2 ip multicast-routing 7-3 show ip mroute 7-4 show ip rpf 7-5 show ip multicast interface 7-6 show ip multicast-routing CLI Reference Guide...
  • Page 243: Ip Mroute

    DGS-3620 m/ mSW Rls. 1.02.000 ip mroute 7-1 ip mroute Use this command to create static routes for multicast. Use the no form of this command to delete the static routes. ip mroute SOURCE-ADDRESS MASK {RPF-ADDRESS | null} no ip mroute {SOURCE-ADDRESS MASK | all } Syntax Description SOURCE-ADDRESS Source IP address of the static route.
  • Page 244 DGS-3620 m/ mSW Rls. 1.02.000 ip mroute Delete a multicast static route for source network 10.1.1.1 255.255.0.0. Switch# configure terminal Switch(config)# no ip mroute 10.1.1.1 255.255.0.0 Switch(config)#end Delete all multicast static routes. Switch# configure terminal Switch(config)# no ip mroute all Switch(config)# end CLI Reference Guide...
  • Page 245: Ip Multicast-Routing

    DGS-3620 m/ mSW Rls. 1.02.000 ip multicast-routing 7-2 ip multicast-routing This command enables global IP multicast routing. The no form of the command disables global IP multicast routing. ip multicast-routing no ip multicast-routing Syntax None. Description Default Disabled. Command Mode Global configuration mode.
  • Page 246: Show Ip Mroute

    DGS-3620 m/ mSW Rls. 1.02.000 show ip mroute 7-3 show ip mroute Use this command to display IP multicast routing information. show ip mroute [{[GROUP-ADDRESS [SOURCE-ADDRESS] | dense | sparse | dvmrp | summary] | static }] Syntax Description GROUP-ADDRESS Multicast group IP address.
  • Page 247 DGS-3620 m/ mSW Rls. 1.02.000 show ip mroute The following example displays all IP multicast routing information on the system. Switch# show ip mroute IP Multicast Routing Table Flags: D - Dense, S - Sparse, V - DVMRP, s - SSM Group, F - Register flag P - Pruned, R - (S, G) RPT-bit set, T - SPT-bit set Outgoing interface flags: W - Assert winner Timers: Uptime/Expires...
  • Page 248 DGS-3620 m/ mSW Rls. 1.02.000 show ip mroute The following example displays IP multicast routing information for group source part (239.0.0.5, 20.2.2.10). Switch#show ip mroute 239.0.0.5 20.2.2.10 (20.2.2.10, 239.0.0.5), 00:02:53/00:00:37, Flags: VP Incoming interface: VLAN20, RPF neighbor: 2.3.0.1 Outgoing interface List: NULL Total Entries: 1 The following example displays the multicast static routes created on the system.
  • Page 249: Show Ip Rpf

    DGS-3620 m/ mSW Rls. 1.02.000 show ip rpf 7-4 show ip rpf Use this command to show the RPF information for the specified source address. show ip rpf SOURCE-ADDRESS Syntax Description SOURCE-ADDRESS Specify the source IP address. Default None. Command Mode User mode or Privileged mode Usage Guideline This command is used to display the RPF information of the specified source...
  • Page 250 DGS-3620 m/ mSW Rls. 1.02.000 show ip rpf Display RPF information of 172.18.61.8 Switch# show ip rpf 172.18.61.8 Source IP:172.18.61.8 RPF address: 192.18.16.1 Type: Static Field Description Indicate the source IP address. Source IP Indicate the RPF interface name for the specified source address. RPF interface Specify the way the switch gets the RPF information.
  • Page 251: Show Ip Multicast Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip multicast interface 7-5 show ip multicast interface Use to display the basic multicast information of an interface. show ip multicast interface [ IFNAME ] Syntax Description IFNAME Specify the interface name. Default None. Command Mode User mode or Privileged mode.
  • Page 252: Show Ip Multicast-Routing

    DGS-3620 m/ mSW Rls. 1.02.000 show ip multicast-routing 7-6 show ip multicast-routing Use this command to display IP multicast routing global state. show ip multicast-routing Syntax None. Description Default None. Command Mode User mode or Privileged mode. Usage Guideline This command is used to display the IP multicast routing global state. Example Display IP multicast routing informaiton.
  • Page 253: Ip Prefix List Commands

    DGS-3620 m/ mSW Rls. 1.02.000 IP Prefix List Commands List of commands discussed in this chapter. Page 8-1 ip prefix-list 8-2 ip prefix-list description 8-3 clear ip prefix-list counter 8-4 show ip prefix-list CLI Reference Guide...
  • Page 254 DGS-3620 m/ mSW Rls. 1.02.000 ip prefix-list 8-1 ip prefix-list Use this command to create an IP prefix list or add a rule for an IP prefix list. Use the no form of this command to remove an IP prefix list or remove a rule for an IP prefix list.
  • Page 255 DGS-3620 m/ mSW Rls. 1.02.000 ip prefix-list The prefix list is processed using an exact match when neither the ge nor le is specified. If only the ge is specified, the range of the mask length used to match the network address is from the minimum prefix length to a full 32-bit length.
  • Page 256 DGS-3620 m/ mSW Rls. 1.02.000 ip prefix-list description 8-2 ip prefix-list description Use this command to add the text description to a prefix list. Use the no form of this command to delete the description. ip prefix-list PREFIX-LIST-NAME description DESC no ip prefix-list PREFIX-LIST-NAME description Syntax Description PREFIX-LIST-NAME...
  • Page 257 DGS-3620 m/ mSW Rls. 1.02.000 clear ip prefix-list counter 8-3 clear ip prefix-list counter Use this command to reset hit counte of IP prefix list. clear ip prefix-list counter PREFIX-LIST-NAME NETWORK-ADDRESS Syntax Description PREFIX-LIST-NAME Specifies the name of the IP prefix list. It can accept up to 16 characters. The syntax is general string that does not allow space.
  • Page 258 DGS-3620 m/ mSW Rls. 1.02.000 show ip prefix-list 8-4 show ip prefix-list Use this command to show the information about IP prefix list. show ip prefix-list [PREFIX-LIST-NAME] Syntax Description PREFIX-LIST-NAME (Optional) Show information of specified IP prefix list. Default None. Command Mode Privileged mode.
  • Page 259: Ip Route Commands

    DGS-3620 m/ mSW Rls. 1.02.000 IP Route Commands List of commands discussed in this chapter. Page 9-1 clear ip route 9-2 route-preference default 9-3 route-preference static 9-4 ip mtu 9-5 ip ecmp load-balance 9-6 ip route 9-7 show ip route-preference 9-8 show ip ecmp load-balance 9-9 show ip route CLI Reference Guide...
  • Page 260: Clear Ip Route

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip route 9-1 clear ip route Use this command to remove all or specified static routes from the IP routing table. clear ip route [vrf VRF-NAME] {* | NETWORK [NET-MASK]} Syntax Description vrf VRF-NAME (Optional) Specifies to remove all routes of one VRF.
  • Page 261: Route-Preference Default

    DGS-3620 m/ mSW Rls. 1.02.000 route-preference default 9-2 route-preference default Use this command to set the preference of static default route. Use no form of this command to restore it to the default setting. route-preference [vrf VRF-NAME] default VALUE no route-preference [vrf VRF-NAME] default Syntax Description vrf VRF-NAME (Optional) Specifies to set the route preference of VRF routing table.
  • Page 262: Route-Preference Static

    DGS-3620 m/ mSW Rls. 1.02.000 route-preference static 9-3 route-preference static Use this command to set the preference of static route. Use no form of this command to restore to the default setting. route-preference [vrf VRF-NAME] static VALUE no route-preference [vrf VRF-NAME] static Syntax Description vrf VRF-NAME (Optional) Specifies to set the route preference of VRF routing table.
  • Page 263: Ip Mtu

    DGS-3620 m/ mSW Rls. 1.02.000 ip mtu 9-4 ip mtu Use this command to set the Maximum Transmission Unit (MTU) size of IP packets sent on an interface. Use the no form of this command to restore to the default setting. ip mtu BYTES no ip mtu Syntax Description...
  • Page 264: Ip Ecmp Load-Balance

    DGS-3620 m/ mSW Rls. 1.02.000 ip ecmp load-balance 9-5 ip ecmp load-balance Use this command to set the load-balancing algorithm for ECMP/WCMP route. Use no form of this command to remove the configuration set before. ip ecmp load-balance [{sip | crc32_lower | crc32_upper} | dip | port](1) no ip ecmp load-balance [{sip | crc32_lower | crc32_upper} | dip | port] Syntax Description (Optional) Specifies that the load-balancing algorithm will include the lower 5 bits of...
  • Page 265: Ip Route

    DGS-3620 m/ mSW Rls. 1.02.000 ip route 9-6 ip route Use this command to add a static route entry. Use no form of this command to remove a static route entry. Primary and backup are mutually exclusive. Users can select only one when creating a new route. If user sets neither of these, the system will try to set the new route first by primary and second by backup and not set this route to be a multipath route.
  • Page 266 DGS-3620 m/ mSW Rls. 1.02.000 ip route 4. fail to create if there has been one static multipath route to the same destination. If null0 is specified for one route, the traffic that matched its destination will be dropped. Users can verify the settings by entering the show ip route static command. Example Add a static route entry with destination 20.0.0.0/8 and nexthop 10.1.1.254: Switch# configure terminal...
  • Page 267: Show Ip Route-Preference

    DGS-3620 m/ mSW Rls. 1.02.000 show ip route-preference 9-7 show ip route-preference Use this command to display the preference of different route types. show ip route-preference [vrf VRF-NAME] [{connected | static | default | rip | ospf | ospfIntra | ospfInter | ospfExt1 | ospfExt2 | ebgp | ibgp}] Syntax Description vrf VRF-NAME...
  • Page 268 DGS-3620 m/ mSW Rls. 1.02.000 show ip route-preference Switch# show ip route-preference Route Preference Settings Protocol Preference ---------- ---------- Static Default Connected OSPF Intra OSPF Inter OSPF ExtT1 OSPF ExtT2 EBGP IBGP To check the route preference of OSPF route: Switch# show ip route-preference ospf Route Preference Settings Protocol...
  • Page 269 DGS-3620 m/ mSW Rls. 1.02.000 show ip route-preference Field Description Protocol The route type. Preference Route Preference. OSPF Intra OSPF intra-area route type. OSPF Inter OSPF inter-area route type. OSPF ExtT1 OSPF AS external type-1 route. OSPF ExtT2 OSPF AS external type-2 route. Static Static route.
  • Page 270: Show Ip Ecmp Load-Balance

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ecmp load-balance 9-8 show ip ecmp load-balance Use this command to show the load-balancing algorithm settings. show ip ecmp load-balance Syntax None. Description Default None. Command Mode Privileged mode. Usage Guideline Use this command to check the load-balancing algorithm settings. Example Check the load-balancing algorithm settings: Switch# show ip ecmp load-balance...
  • Page 271: Show Ip Route

    DGS-3620 m/ mSW Rls. 1.02.000 show ip route 9-9 show ip route Use the command to display the current state of the IP routing table. show ip route [vrf VRF-NAME] [NETWORK [NET-MASK]] [{count | connected | static | rip | ospf | bgp | weight}] Syntax Description vrf VRF-NAME...
  • Page 272 DGS-3620 m/ mSW Rls. 1.02.000 show ip route Switch# show ip route Routing Table IP Address/Netmask Gateway Interface Cost Protocol ------------------ --------------- ------------ -------- -------- 20.1.1.0/24 10.1.1.9 System Static 30.1.1.0/24 10.1.1.9 System Static 101.1.1.0/24 Null0 Null0 10.0.0.0/8 0.0.0.0 System Connected Total Entries : 4 Check all static routes: Switch# show ip route static...
  • Page 273 DGS-3620 m/ mSW Rls. 1.02.000 show ip route Check the VRF VPN-A’s IP routing table: Switch# show ip route vrf VPN-A Routing Table ( VRF: VPN-A ) IP Address/Netmask Gateway Interface Cost Protocol ------------------ --------------- ------------ -------- -------- 100.1.1.0/24 10.1.1.253 ip10 Static 10.0.0.0/8...
  • Page 274: Multiprotocol Label Switching (Mpls) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Multiprotocol Label Switching (MPLS) Commands List of commands discussed in this chapter. Page 10-1 mpls ip (global configuration) 10-2 snmp-server enable traps mpls 10-3 mpls ip (interface configuration) 10-4 mpls static ftn 10-5 mpls static l2vc-ftn 10-6 mpls static ilm 10-7 mpls label protocol ldp (global configuration) 10-8 snmp-server enable traps ldp...
  • Page 275 DGS-3620 m/ mSW Rls. 1.02.000 10-33 show mpls ldp remote-peer 10-34 show mpls ldp discovery 10-35 show mpls ldp neighbor 10-36 show mpls ldp session 10-37 show mpls ldp bindings 10-38 show mpls ldp statistic 10-39 show mpls ldp neighbor password 10-40 ping lsp 10-41 traceroute lsp 10-42 lsp trigger...
  • Page 276: Mpls Ip (Global Configuration)

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ip (global configuration) 10-1 mpls ip (global configuration) Use mpls ip command in global configuration mode to enable the MPLS forward globally. Use no mpls ip command in global configuration mode to disable MPLS forward globally. mpls ip no mpls ip Syntax...
  • Page 277: Snmp-Server Enable Traps Mpls

    DGS-3620 m/ mSW Rls. 1.02.000 snmp-server enable traps mpls 10-2 snmp-server enable traps mpls Use snmp-server enable traps mpls command to enable MPLS trap state. Use the no form of this command to disable MPLS trap state. snmp-server enable traps mpls no snmp-server enable traps mpls Syntax None...
  • Page 278: Mpls Ip (Interface Configuration)

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ip (interface configuration) 10-3 mpls ip (interface configuration) Use mpls ip command in interface configuration mode to enable the MPLS forward on this interface. Use the no mpls ip command in interface configuration mode to disable the MPLS forward on this interface. mpls ip no mpls ip Syntax...
  • Page 279: Mpls Static Ftn

    DGS-3620 m/ mSW Rls. 1.02.000 mpls static ftn 10-4 mpls static ftn Use this command to add a static FTN entry. Use the no mpls static ftn command to remove the previous configured static FTN. mpls static ftn NETWORK-PREFIX/PREFIX-LENGTH out-label LABEL-VALUE nexthop IP- ADDRESS no mpls static ftn {NETWORK-PREFIX/PREFIX-LENGTH | all } Syntax Description...
  • Page 280: Mpls Static L2Vc-Ftn

    DGS-3620 m/ mSW Rls. 1.02.000 mpls static l2vc-ftn 10-5 mpls static l2vc-ftn Use the mpls static l2vc-ftn command to configure one static VC FTN item. Use the no form of this command to delete the configured FTN item. mpls static l2vc-ftn VC-ID IP-ADDRESS out-label LABEL-VALUE no mpls static l2vc-ftn VC-ID IP-ADDRESS Syntax Description VC-ID...
  • Page 281: Mpls Static Ilm

    DGS-3620 m/ mSW Rls. 1.02.000 mpls static ilm 10-6 mpls static ilm Use this command to add a static ILM entry. Use no mpls static ilm command to remove the previous configured ILM. For IP prefix FEC mpls static ilm in-label LABEL-VALUE forward-action { swap-label LABEL-VALUE | pop } nexthop IP-ADDRESS fec NETWORK-PREFIX/PREFIX-LENGTH For VC FEC mpls static ilm in-label LABEL-VALUE forward-action pop-l2vc-destport INTERFACE-ID fec...
  • Page 282 DGS-3620 m/ mSW Rls. 1.02.000 mpls static ilm At LSR (Label Switching Router), the incoming MPLS packets that are matched the incoming label will be processed according configured ILM action. The label operation is either swapping the incoming top label to configured outgoing label or popping the top label.
  • Page 283: Mpls Label Protocol Ldp (Global Configuration)

    DGS-3620 m/ mSW Rls. 1.02.000 mpls label protocol ldp (global configuration) 10-7 mpls label protocol ldp (global configuration) Use the mpls label protocol ldp command in global configuration mode to enable LDP globally. Use no mpls label protocol in global configuration mode to disable LDP globally.
  • Page 284: Snmp-Server Enable Traps Ldp

    DGS-3620 m/ mSW Rls. 1.02.000 snmp-server enable traps ldp 10-8 snmp-server enable traps ldp Use the snmp-server enable traps ldp command to enable LDP trap state. Use the no form of this command to disable LDP trap state. snmp-server enable traps ldp no snmp-server enable traps ldp Syntax None.
  • Page 285: Mpls Label Protocol Ldp (Interface Configuration)

    DGS-3620 m/ mSW Rls. 1.02.000 mpls label protocol ldp (interface configuration) 10-9 mpls label protocol ldp (interface configuration) Use the mpls label protocol ldp command in interface configuration mode to enable LDP on this interface. Use no mpls label protocol command in interface configuration mode to disable LDP on this interface.
  • Page 286: Mpls Ldp Hello-Holdtime

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ldp hello-holdtime 10-10 mpls ldp hello-holdtime Use mpls ldp hello-hellotime command to configure the LDP link hello hold- time for the interface. Use the no form of this command to restore the default value. mpls ldp hello-hellotime SECONDS no mpls ldp hello-hellotime Syntax Description...
  • Page 287: Mpls Ldp Hello-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ldp hello-interval 10-11 mpls ldp hello-interval Use the mpls ldp hello- interval command to configure the LDP link hello interval time for the interface. Use the no form of this command to restore the default value.
  • Page 288: Mpls Ldp Targeted-Hello-Accept

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ldp targeted-hello-accept 10-12 mpls ldp targeted-hello-accept Use the targeted-hello-accept command to set the targeted hello message acceptable on this interface. Use the no form of this command to deny the targeted hello message acceptable. mpls ldp targeted-hello-accept no mpls ldp targeted-hello-accept Syntax...
  • Page 289: Mpls Ldp Remote-Peer

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ldp remote-peer 10-13 mpls ldp remote-peer Use the mpls ldp remote-peer command to create a LDP targeted peer. Use the no form of this command to remove the previous configured LDP targeted peer. mpls ldp remote-peer IP-ADDRESS no mpls ldp remote-peer IP-ADDRESS Syntax Description IP-ADDRESS...
  • Page 290 DGS-3620 m/ mSW Rls. 1.02.000 targeted-hello 10-14 targeted-hello Use the targeted-hello command to set the hold-time or interval for the extended peer hello message. Use the no form of this command to restore the default value. targeted-hello { holdtime <seconds 15-65535> | interval <seconds 5-65535>} no targeted-hello {holdtime | interval} Syntax Description holdtime...
  • Page 291: Ldp Router-Id

    DGS-3620 m/ mSW Rls. 1.02.000 ldp router-id 10-15 ldp router-id Use the ldp router-id command to set the LSR ID of the LDP. Use the no ldp router-id command to restore the LSR ID to default value. ldp router-id IP-ADDRESS no ldp router-id Syntax Description IP-ADDRESS...
  • Page 292 DGS-3620 m/ mSW Rls. 1.02.000 transport-address 10-16 transport-address Use this command to set the global transport address. Use the no form of this command to restore the default value. transport-address {interface | IP-ADDRESS } no transport-address Syntax Description interface Use the IP address of the corresponding interface as the transmission address for the session on each interface.
  • Page 293: Backoff Maximum

    DGS-3620 m/ mSW Rls. 1.02.000 backoff maximum 10-17 backoff maximum Use the backoff maximum command to configure the maximum back-off delay time. Use no form of this command to restore the default value. backoff maximum SECONDS no backoff maximum Syntax Description SECONDS The maximum back-off delay time.
  • Page 294 DGS-3620 m/ mSW Rls. 1.02.000 keepalive-holdtime 10-18 keepalive-holdtime Use the keepalive-holdtime command to configure the keep-alive hold-time for LDP sessions. Use the no form of this command to restore the default value. keepalive-holdtime SECONDS no keepalive-holdtime Syntax Description SECONDS Specifies the keep-alive hold-time in seconds. The range is 15-65535 seconds. Default 40 seconds.
  • Page 295 DGS-3620 m/ mSW Rls. 1.02.000 label-retention-mode 10-19 label-retention-mode Use this command to set the label retention mode. Use the no form of this command to restore the default value. label-retention-mode {liberal | conservative} no label-retention-mode Syntax Description liberal Use the liberal label retention mode. conservative Use the conservative label retention mode.
  • Page 296 DGS-3620 m/ mSW Rls. 1.02.000 lsp-control-mode 10-20 lsp-control-mode Use this command to set the LDP control mode. Use the no form of this command to restore the default value. mpls ldp lsp-control-mode {independent | ordered} no mpls ldp Isp-control-mode Syntax Description independent Use the independent control mode ordered...
  • Page 297: Mpls Ldp Distribution-Mode

    DGS-3620 m/ mSW Rls. 1.02.000 mpls ldp distribution-mode 10-21 mpls ldp distribution-mode Use this command to set the label distribution mode for the interface. Use the no form of this command to restore the default value. mpls ldp distribution-mode {dod | du} no mpls ldp distribution-mode Syntax Description Use the downstream on-demand distribution mode...
  • Page 298 DGS-3620 m/ mSW Rls. 1.02.000 loop-detection 10-22 loop-detection Use this command to enable loop detection. Use the no form of this command to disable loop detection. loop-detection no loop-detection Syntax None. Description Default Disabled. Command Mode MPLS router configuration mode. Usage Guideline This command is used to configure LDP loop detection.
  • Page 299 DGS-3620 m/ mSW Rls. 1.02.000 max-hop-count 10-23 max-hop-count Use this command to configure the maximum hop count allowed for loop detection. Use the no form of this command to restore the default value. max-hop-count VALUE no max-hop-count Syntax Description VALUE Maximum hop count allowed for loop detection.
  • Page 300 DGS-3620 m/ mSW Rls. 1.02.000 max-path-vector 10-24 max-path-vector Use this command to configure the maximum path vector value allowed for loop detection. Use the no form of this command to restore the default value. mpls ldp max-path-vector VALUE no mpls ldp max-path-vector Syntax Description VALUE Maximum path vector value.
  • Page 301 DGS-3620 m/ mSW Rls. 1.02.000 explicit-null 10-25 explicit-null Use this command to advertise an Explicit Null label in situations where it would normally advertise an Implicit Null label. Use the no form of this command to restore the default value. explicit-null no explicit-null Syntax...
  • Page 302: Md5 Authentication

    DGS-3620 m/ mSW Rls. 1.02.000 md5 authentication 10-26 md5 authentication Use this command to enable the LDP authentication. Use the no form of this command to restore the default value. md5 authentication no md5 authentication Syntax None. Description Default By default, a peer has no password. Command Mode MPLS router configuration mode.
  • Page 303 DGS-3620 m/ mSW Rls. 1.02.000 neighbor password 10-27 neighbor password Use this command to configure a LDP peer password. Use the no form of this command to restore the default value. neighbor IP-ADDRESS password PASSWORD no neighbor IP-ADDRESS password Syntax Description IP-ADDRESS Specifies the peer IP address.
  • Page 304: Show Mpls

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls 10-28 show mpls Use this command to show MPLS global configuration. show mpls Syntax None. Description Default N/A. Command Mode EXEC mode. Usage Guideline This command is used to show MPLS global configuration. Example To show the MPLS global configuration: Switch# show mpls...
  • Page 305: Show Mpls Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls interface 10-29 show mpls interface Use this command to show MPLS enabled interfaces. show mpls interface [INTERFACE-ID] Syntax Description INTERFACE-ID (Optional) Specifies the interface that will display. If nothing is specified the command will display information for all interfaces. Default N/A.
  • Page 306: Show Mpls Forwarding-Table

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls forwarding-table 10-30 show mpls forwarding-table Use this command to show the MPLS label forwarding path information. show mpls forwarding-table [NETWORK-PREFIX/PREFIX-LENGTH ] [{ftn | ilm}] [ detail ] Syntax Description NETWORK-PREFIX/ (Optional) specifies FEC. If no specified, show all FECs. PREFIX-LENGTH Specifies to only show FTN entries.
  • Page 307 DGS-3620 m/ mSW Rls. 1.02.000 show mpls forwarding-table Switch# show mpls forwarding-table detail LSP: 1 Type: Transit Status: Up FEC: 201.1.1.0/24 Owner: Static In Label:20 Out Label: swap 30 Next Hop: 172.18.1.1 Out Interface: VLAN 10 LSP: 2 Type: Transit Status: Up FEC: 201.2.1.0/24 Owner: LDP...
  • Page 308 DGS-3620 m/ mSW Rls. 1.02.000 show mpls forwarding-table This example shows FTN information: Switch#show mpls forwarding-table ftn Out Label Next Hop Out Interface --------------- ---------- ---------- ------------- 201.10.10.0/24 172.10.1.1 VLAN 10 202.1.1.0/24 172.10.1.1 VLAN 10 VC11/192.1.1.1 100/70 172.18.1.1 VLAN 10 Total Entries: 3 This example shows ILM information: Switch#show mpls forwarding-table ilm...
  • Page 309: Show Mpls Ldp Parameter

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp parameter 10-31 show mpls ldp parameter Use this command to show the LDP global information. show mpls ldp parameter Syntax None. Description Default N/A. Command Mode EXEC mode. Usage Guideline This command is used to show LDP global information. It includes: LSR ID LDP version: At present, it is always 1.0.
  • Page 310 DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp parameter Example To show LDP global information: Switch# show mpls ldp parameter LSR ID : 172.18.1.1:0 LDP Version : 1.0 LDP State : Enabled TCP Port : 646 UDP Port : 646 Max PDU Length : 1500 Max Backoff...
  • Page 311: Show Mpls Ldp Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp interface 10-32 show mpls ldp interface Use this command to show the LDP interface information. show mpls ldp interface [ INTERFACE-ID ] Syntax Description INTERFACE-ID (Optional) Specifies interface that will display. If no interface ID is specified the command will display information for all interfaces.
  • Page 312 DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp interface Example Show LDP information for all interfaces: Switch# show mpls ldp interface Interface: if1 --------------------------------------- Admin State : Enabled Oper State : Disabled Targeted Hello Accept : Acceptable Hello Interval : 5(Sec) Hello Hold Time : 15(Sec) Distribution Method...
  • Page 313: Show Mpls Ldp Remote-Peer

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp remote-peer 10-33 show mpls ldp remote-peer Use this command to show previous configured remote peer information. show mpls ldp remote-peer [IP-ADDRESS ] Syntax Description IP-ADDRESS (Optional) Specifies the remote peer that will display. If no IP Address is specified, the command will show all remote peers.
  • Page 314: Show Mpls Ldp Discovery

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp discovery 10-34 show mpls ldp discovery Use this command to show the LDP peer information. show mpls ldp discovery Syntax Description IP-ADDRESS IP address which used as peer LSR ID. If no IP Address is specified, the command will display all neighbors.
  • Page 315: Show Mpls Ldp Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp neighbor 10-35 show mpls ldp neighbor Use this command to show the LDP peer information. show mpls ldp neighbor [IP-ADDRESS] Syntax Description IP-ADDRESS IP address which used as peer LSR ID. If no IP Address is specified, the command will display all neighbors.
  • Page 316 DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp neighbor Example To show all LDP neighbors: Switch#show mpls ldp neighbor Peer : 202.11.1.1:0 -------------------------------------- Protocol Version : 1.0 Transport address : 202.11.1.1 Keep Alive Time : 40 (sec) Distribute Method : DU Loop Detect : Disabled Path vector limit : 0...
  • Page 317: Show Mpls Ldp Session

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp session 10-36 show mpls ldp session Use this command to show LDP session information. show mpls ldp session [peer IP-ADDRESS] [{detail | statistic}] Syntax Description peer IP-ADDRESS IP address which used as the peer LSR ID. If no specified, display all sessions. detail If specified this parameter, display detail information.
  • Page 318 DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp session Example To show all LDP session information: Switch# show mpls ldp session Peer Status Role Keep Alive Distribution Mode ---------- ------------ -------- ----------- ------------------ 10.1.1.2:0 OPERATIONAL Active 40(Sec) 20.1.1.2:0 OPERATIONAL Passive 40(Sec) Total Entries : 2 To show LDP session detail information for peer 10.1.1.2:...
  • Page 319 DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp session Switch# show mpls ldp session peer 10.1.1.2 statistic Peer 10.1.1.2 ------------------------------------------- Notification Message : TX 10/RX 2 Initialization Message : TX 2/RX 2 Keep Alive Message : TX 100/RX 100 Address Message : TX 1/RX 1 Address Withdraw Message : TX 0/RX 0 Label Mapping Message...
  • Page 320: Show Mpls Ldp Bindings

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp bindings 10-37 show mpls ldp bindings Use this command to show all LDP label binding information show mpls ldp bindings Syntax None. Description Default None. Command Mode EXEC mode. Usage Guideline This command is used to show all LDP label bindings information. Example To display all the LDP label bindings information: Switch# show mpls ldp bindings...
  • Page 321: Show Mpls Ldp Statistic

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp statistic 10-38 show mpls ldp statistic Use this command to show the LDP global information. show mpls ldp statistic Syntax None. Description Default N/A. Command Mode EXEC mode. Usage Guideline This command is used to show LDP statistic information. Example To show LDP statistic information: Switch# show mpls ldp statistic...
  • Page 322: Show Mpls Ldp Neighbor Password

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls ldp neighbor password 10-39 show mpls ldp neighbor password Use this command to show the LDP neighbor password. show mpls ldp neighbor password Syntax None. Description Default N/A. Command Mode EXEC mode. Usage Guideline Use this command to show all LDP neighbor password configuration.
  • Page 323: Ping Lsp

    DGS-3620 m/ mSW Rls. 1.02.000 ping lsp 10-40 ping lsp Use this command to check the connectivity of the LSP for specified FEC. ping lsp NETWORK-PREFIX/PREFIX-LENGTH [times VALUE | timeout SECONDS] Syntax Description NETWORK-PREFIX/ Specifies the IPv4 prefix FEC which LSP connectivity will be checked. PREFIX-LENGTH times VALUE Specifies the number of times to resend the same packet.
  • Page 324 DGS-3620 m/ mSW Rls. 1.02.000 ping lsp To check the connectivity of the LSP for network 110.1.1.0/24: Switch# ping lsp 110.1.1.0/24 ping 110.1.1.0/24 Request time out Request time out Request time out Request time out Ping Statistics for 110.1.1.0/24 Packets: Sent =4, Received =0, Lost =4 CLI Reference Guide...
  • Page 325: Traceroute Lsp

    DGS-3620 m/ mSW Rls. 1.02.000 traceroute lsp 10-41 traceroute lsp Use this command for hop-by-hop fault localization as well as path tracing LSP of specified FEC. traceroute lsp NETWORK-PREFIX/PREFIX-LENGTH [ timeout SECONDS ] Syntax Description NETWORK-PREFIX/ Specifies the IPv4 prefix FEC which LSP connectivity will be checked. PREFIX-LENGTH timeout SECONDS Specifies the timeout interval in seconds for an MPLS request packet.
  • Page 326 DGS-3620 m/ mSW Rls. 1.02.000 traceroute lsp To trace route the LSP for network 110.1.1.0/24: Switch# traceroute lsp 110.1.1.0/24 Tracing route to 110.1.1.0/24 1 Reply from 170.1.1, time<10ms 2 Request time out Trace complete. CLI Reference Guide...
  • Page 327: Lsp Trigger

    DGS-3620 m/ mSW Rls. 1.02.000 lsp trigger 10-42 lsp trigger Use this command to configure an LSP trigger filter rule. Use no form of this command to remove the rule. lsp trigger [SN] {permit | deny} {ip NETWORK-PREFIX/PREFIX-LENGTH | any} no lsp trigger [SN [- | , ]] Syntax Description (Optional) Specifies the sequence number of the LSP trigger filter rule.
  • Page 328 DGS-3620 m/ mSW Rls. 1.02.000 lsp trigger To clear all LSP trigger filter rules: Switch(config)# mpls label protocol ldp Switch(config-mpls-router)#no lsp trigger Switch(config-mpls-router)#end Switch# CLI Reference Guide...
  • Page 329: Show Lsp Trigger

    DGS-3620 m/ mSW Rls. 1.02.000 show lsp trigger 10-43 show lsp trigger Use this command to show LSP trigger filter rule(s). show lsp trigger [SN] Syntax Description (Optional) Specifies the sequence number of the LSP trigger filter rule to be shown.
  • Page 330: Open Shortest Path First (Ospf) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Open Shortest Path First (OSPF) Commands List of commands discussed in this chapter. Page 11-1 area 11-2 area default-cost 11-3 area nssa 11-4 area range 11-5 area stub 11-6 area virtual-link 11-7 clear ip ospf process 11-8 default-information originate 11-9 default-metric 11-10 route-preference ospf...
  • Page 331 DGS-3620 m/ mSW Rls. 1.02.000 11-34 debug ip ospf lsa-originating 11-35 debug ip ospf lsa-flooding 11-36 debug ip ospf packet-receiving 11-37 debug ip ospf packet-transmitting 11-38 debug ip ospf spf 11-39 debug ip ospf timer 11-40 debug ip ospf virtual-link 11-41 debug ip ospf route 11-42 debug ip ospf redistribution 11-43 debug ip ospf show counter...
  • Page 332 DGS-3620 m/ mSW Rls. 1.02.000 area 11-1 area Use this command to create an OSPF area. To remove an area, use the no form of this command. area AREA-ID no area AREA-ID Syntax Description AREA-ID Specifies the ID of the area. The ID should be specified as an IP address. Default The backbone area (0.0.0.0) is created by default.
  • Page 333: Area Default-Cost

    DGS-3620 m/ mSW Rls. 1.02.000 area default-cost 11-2 area default-cost To specify the cost associated with the default summary route that will be automatically injected to the stub area and no-so-stubby area (NSSA). Use the no command to restore to the default setting. area AREA-ID default-cost COST no area AREA-ID default-cost Syntax Description...
  • Page 334: Area Nssa

    DGS-3620 m/ mSW Rls. 1.02.000 area nssa 11-3 area nssa Use this command to assign an area as a NSSA area. Use the no command to remove the NSSA related settings associated with the area. area AREA-ID nssa [no-summary] [translate] no area AREA-ID nssa [no-summary] [translate] Syntax Description AREA-ID...
  • Page 335: Area Range

    DGS-3620 m/ mSW Rls. 1.02.000 area range 11-4 area range Use this command to summarize OSPF routes at an area border router (ABR). Use the no command to remove the defined summarization of routes. area AREA-ID range IP-ADDRESS NET-MASK [{advertise | not-advertise}] no area AREA-ID range IP-ADDRESS NET-MASK Syntax Description AREA-ID...
  • Page 336: Area Stub

    DGS-3620 m/ mSW Rls. 1.02.000 area stub 11-5 area stub Use this command to assign an area as a stub area. Use the no command to remove the stub related settings associated with the area. area AREA-ID stub [no-summary] no area AREA-ID stub [no-summary] Syntax Description AREA-ID Specifies the ID for the stub area.
  • Page 337: Area Virtual-Link

    DGS-3620 m/ mSW Rls. 1.02.000 area virtual-link 11-6 area virtual-link Use this command to configure a link for a non-backbone area that is physically separated from the backbone area. Use the no command to remove a virtual link. area AREA-ID virtual-link ROUTER-ID [authentication [message-digest | null]] [dead-interval SECONDS] [hello-interval SECONDS] [[authentication-key PASSWORD] | [message-digest- key KEY-ID md5 KEY]] no area AREA-ID virtual-link ROUTER-ID...
  • Page 338 DGS-3620 m/ mSW Rls. 1.02.000 area virtual-link The Dead interval must be larger than and multiple as Hello interval. Users can verify the settings by entering the show ip ospf or show ip ospf virtual- link command. Example To configure a virtual link with neighbor 3.3.3.3 and set the authentication type to simple password with password “yourpass”: Switch# configure terminal Switch(config)# router ospf...
  • Page 339: Clear Ip Ospf Process

    DGS-3620 m/ mSW Rls. 1.02.000 clear ip ospf process 11-7 clear ip ospf process Use this command to restart the OSPF process. clear ip ospf process [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies to restart OSPF VRF instance. Default None Command Mode Global configuration mode...
  • Page 340: Default-Information Originate

    DGS-3620 m/ mSW Rls. 1.02.000 default-information originate 11-8 default-information originate Use this command to generate a default external route (AS external LSA) into the OSPF routing domain. Use no command to disable the generation of AS external LSA default route. default-information originate [always] [metric METRIC-VALUE] no default-information originate [always] [metric METRIC-VALUE] Syntax Description...
  • Page 341 DGS-3620 m/ mSW Rls. 1.02.000 default-metric 11-9 default-metric Use this command to set default metric value of OSPF redistributed routes. Use the no command to restore to the default value. default-metric METRIC no default-metric Syntax Description METRIC Default metric value of OSPF redistributed routes. The value range is 1 to 16777214.
  • Page 342: Route-Preference Ospf

    DGS-3620 m/ mSW Rls. 1.02.000 route-preference ospf 11-10 route-preference ospf Use this command to set the management route preference of different types of OSPF routes. Use the no command to restore to the default value. route-preference ospf {intra-area VALUE | inter-area VALUE | external-1 VALUE | external-2 VALUE } no route-preference ospf Syntax Description...
  • Page 343 DGS-3620 m/ mSW Rls. 1.02.000 route-preference ospf Switch# configure terminal Switch(config)# router ospf Switch(config-router)# route-preference ospf intra-area 50 CLI Reference Guide...
  • Page 344: Distribute-List In

    DGS-3620 m/ mSW Rls. 1.02.000 distribute-list in 11-11 distribute-list in Use this command to configure LSA filtering. Use the no command to restore to the default value. distribute-list LIST-NAME in [IPIF_NAME] no distribute-list LIST-NAME in [IPIF_NAME] Syntax Description LIST-NAME Specifies to use one access list. IPIF_NAME (Optional) Specifies the name of the interface.
  • Page 345: Ip Ospf Authentication

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf authentication 11-12 ip ospf authentication Use this command to configure the authentication type for an OSPF interface. Use the no command to restore to default value. ip ospf authentication [{message-digest | null}] no ip ospf authentication Syntax Description message-digest (Optional) Specifies to use the MD5 authentication.
  • Page 346 DGS-3620 m/ mSW Rls. 1.02.000 ip ospf authentication Switch(config-if)# no ip ospf authentication CLI Reference Guide...
  • Page 347: Ip Ospf Authentication-Key

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf authentication-key 11-13 ip ospf authentication-key Use this command to configure the plain text authentication key for an OSPF interface. Use the no command to delete the plain text authentication key. ip ospf authentication-key PASSWORD no ip ospf authentication-key Syntax Description PASSWORD...
  • Page 348: Ip Ospf Cost

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf cost 11-14 ip ospf cost Use this command to configure the cost of sending a packet on an OSPF interface. Use the no command to restore to the default value. ip ospf cost COST no ip ospf cost Syntax Description COST...
  • Page 349: Ip Ospf Dead-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf dead-interval 11-15 ip ospf dead-interval Use this command to configure the interval during which at least one hello packet form a neighbor must be received before it is declared dead. Use the no command to restore it to the default value.
  • Page 350: Ip Ospf Hello-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf hello-interval 11-16 ip ospf hello-interval Use this command to configure the interval between hello packets. Use the no command to restore it to the default value. ip ospf hello-interval SECONDS no ip ospf hello-interval Syntax Description SECONDS Specifies the interval in seconds.
  • Page 351: Ip Ospf Message-Digest-Key

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf message-digest-key 11-17 ip ospf message-digest-key Use this command to configure the MD5 digest key for OSPF interface. Use the no command to delete the MD5 key. ip ospf message-digest-key KEY-ID md5 KEY no ip ospf message-digest-key Syntax Description KEY-ID Specifies a value for MD5 key identifier.
  • Page 352: Ip Ospf Priority

    DGS-3620 m/ mSW Rls. 1.02.000 ip ospf priority 11-18 ip ospf priority Use this command to configure the router priority that is used to determine the designated router for the network. Use the no command to restore it to the default value.
  • Page 353: Network Area

    DGS-3620 m/ mSW Rls. 1.02.000 network area 11-19 network area Use this command to enable OSPF routing with a specified Area ID on interfaces with IP addresses that match or belong to the specified network address. Use the no command to remove the configuration. network IPADDR NETMASK area AREA-ID no network IPADDR NETMASK area AREA-ID Syntax Description...
  • Page 354 DGS-3620 m/ mSW Rls. 1.02.000 passive-interface 11-20 passive-interface Use the command to configure the specified OSPF interface as passive interface. Use the no command to restore to the default value. passive-interface {default | interface IPIF_NAME} no passive-interface {default | interface IPIF_NAME} Syntax Description default Specifies all the interfaces as passive interfaces.
  • Page 355 DGS-3620 m/ mSW Rls. 1.02.000 redistribute 11-21 redistribute Use to redistribute external routing information into the OSPF routing domain. Use the no command to disable redistribution. redistribute {connected | static | rip | bgp} [metric METRIC | metric-type {1 | 2} | route-map MAP-NAME] no redistribute {connected | static | rip | bgp} [metric METRIC | metric-type {1 | 2} | route-map MAP-NAME]...
  • Page 356 DGS-3620 m/ mSW Rls. 1.02.000 redistribute If a metric is not specified, metric will be the value set by the default metric command. If no value specified by default-metric, routes redistributed from other protocols will get 20 as the metric value with the following exception. Note that if the redistricted route is a default route, then the metric is determined by the default-information originate command.
  • Page 357: Router Ospf

    DGS-3620 m/ mSW Rls. 1.02.000 router ospf 11-22 router ospf Use this command to enable OSPF and enter the router configuration mode. Use the no form of this command to disable OSPF. router ospf [vrf VRF-NAME] no router ospf [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies to create or delete the OSPF VRF instance.
  • Page 358 DGS-3620 m/ mSW Rls. 1.02.000 router-id 11-23 router-id Use this command to configure the router ID. Use the no command to restore to the default value. router-id ROUTER-ID no router-id Syntax Description ROUTER-ID Specifies the router ID in IPv4 address format. Default The router-id is automatically chosen based on the highest IP address present on the router.
  • Page 359: Show Ip Ospf

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf 11-24 show ip ospf Use this command to show general information about OSPF. show ip ospf [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies to show brief information about the OSPF VRF instance. Default None.
  • Page 360 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf Link Status The lower layer link status of the interface. Metric OSPF interface cost. It is specified with the command ip ospf cost. OSPF Area Settings Area ID Type Stub Import Summary LSA Stub Default Cost Translate --------------- ------ ----------------------- ----------------- --------- 0.0.0.0 Normal None...
  • Page 361 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf Link Status When the other endpoint is reachable according to routing table, the virtual link is link up. Or it is link down. OSPF Area Aggregation Settings Area ID Aggregated LSDB Advertise Network Address Type --------------- ------------------ -------- ---------...
  • Page 362 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf To check OSPF settings in VRF VPN-A: Switch# show ip ospf vrf VPN-A OSPF On VRF : VPN-A Router ID : 100.1.1.1 (Auto selected) State : Enabled Default Information Originate: State : Disabled Always : Off Metric : 1 OSPF Interface Settings...
  • Page 363: Show Ip Ospf Area

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf area 11-25 show ip ospf area Use this command to show general information about OSPF areas. show ip ospf area [AREA-ID] [vrf VRF-NAME] Syntax Description AREA-ID (Optional) Show detail information about the specified area. vrf VRF-NAME (Optional) Specifies to show area information about the OSPF VRF instance.
  • Page 364 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf area To check OSPF areas 0.0.0.0 detail information: Switch# show ip ospf area 0.0.0.0 Area ID: 0.0.0.0 Area Type: Normal SPF algorithm runs for area 0.0.0.0: 0 time Number of LSA in this area: 0 Checksum Sum: 0x0 Number of ABR in this area: 0 Number of ASBR in this area: 0...
  • Page 365: Show Ip Ospf Database

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf database 11-26 show ip ospf database Use this command to display a database summary for OSPF information. show ip ospf [vrf VRF-NAME] [AREA-ID] database [{asbr-summary | external | network | router | summary | nssa-external | stub}] [{adv-device ROUTER-ID | self-originate}] Syntax Description vrf VRF-NAME (Optional) Specifies to show LSA information about OSPF VRF instance.
  • Page 366 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf database Switch# show ip ospf database Area LSDB Advertising Link State Cost Sequence Type Router ID Number --------------- --------- --------------- ------------------ -------- ---------- 0.0.0.0 RTRLink 1.1.1.1 1.1.1.1/0 0x8000000E 0.0.0.0 RTRLink 2.2.2.2 2.2.2.2/0 0x80000013 0.0.0.0 NETLink...
  • Page 367 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf database Field Description Area ID The area this LSA belongs to. LS Type The LSA type. Link State ID The link state ID of this LSA. Advertising Router The ID of the router originates this LSA. Link State Age The age of the LSA.
  • Page 368: Show Ip Ospf Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf interface 11-27 show ip ospf interface Use this command to display interface information for OSPF. show ip ospf interface [IPIF_NAME] [vrf VRF-NAME] Syntax Description IPIF_NAME (Optional) Specifies the interface name to display the OSPF information. vrf VRF-NAME (Optional) Specifies to show interface information about OSPF VRF instance.
  • Page 369: Area Id: 0.0.0.0

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf interface Switch# show ip ospf interface System Interface Name: System IP Address: 10.1.1.1/24 (Link Up) Network Medium Type: BROADCAST Metric: 1 Area ID: 0.0.0.0 Administrative State: Enabled Priority: 1 DR State: BDR DR Address: 10.1.1.2 Backup DR Address: 10.1.1.1 Hello Interval: 10...
  • Page 370 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf interface Passive Mode The status of passive. It is specified with the command passive- interface. Distribute List In The inbound filter used on this interface. It is specified with the command distribute-list in. CLI Reference Guide...
  • Page 371: Show Ip Ospf Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf neighbor 11-28 show ip ospf neighbor Use this command to display information on OSPF neighbors. show ip ospf neighbor [{detail | IPADDR}] [vrf VRF-NAME] Syntax Description detail (Optional) Specifies to display detailed information of neighbors. IPADDR (Optional) Specifies the neighbor’s IP address to display the OSPF information.
  • Page 372 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf neighbor Field Description Neighbor ID Router ID of the neighbor router. IP Address Interface address of the neighbor router. Neighbor Options Option in the Hello packet sent by neighbor router. Neighbor Priority Priority of the neighbor router.
  • Page 373: Dead Interval

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf virtual-link 11-29 show ip ospf virtual-link Use this command to show information about OSPF virtual link. show ip ospf virtual-link [AREA-ID NEIGHBOR-ID] [vrf VRF-NAME] Syntax Description AREA-ID (Optional) Specifies the area ID which the virtual link belongs to. NEIGHBOR-ID (Optional) Specifies the router ID of peer of virtual link.
  • Page 374 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf virtual-link Authentication The authentication type used by the virtual link. It is specified with the command area virtual-link. Link Status When the other endpoint is reachable according to routing table, the virtual link is link up. Or it is link down. CLI Reference Guide...
  • Page 375: Show Ip Ospf Virtual-Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf virtual-neighbor 11-30 show ip ospf virtual-neighbor Use this command to show information on OSPF neighbors built on virtual link. show ip ospf virtual-neighbor [AREA-ID NEIGHBOR-ID] [vrf VRF-NAME] Syntax Description AREA-ID (Optional) Specifies the area ID which the virtual neighbor belongs to. NEIGHBOR-ID (Optional) Specifies the router ID of virtual neighbor.
  • Page 376: Debug Ip Ospf

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf 11-31 debug ip ospf Use this command to turn on the OSPF debug function. Use the no form of this command to turn off the OSPF debug function. debug ip ospf no debug ip ospf Syntax None Description...
  • Page 377: Debug Ip Ospf Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf neighbor 11-32 debug ip ospf neighbor Use this command to turn on the OSPF neighbor state debug switch. Use the no form of the command to turn off the OSPF neighbor state debug switch. debug ip ospf neighbor no debug ip ospf neighbor Syntax...
  • Page 378: Debug Ip Ospf Interface

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf interface 11-33 debug ip ospf interface Use this command to turn on the OSPF interface state debug switch. Use the no form of the command to turn off the OSPF interface state debug switch. debug ip ospf interface no debug ip ospf interface Syntax...
  • Page 379: Debug Ip Ospf Lsa-Originating

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf lsa-originating 11-34 debug ip ospf lsa-originating Use this command to turn on the OSPF LSA originating debug switch. Use the no form of the command to turn off the OSPF LSA originating debug switch. debug ip ospf lsa-originating no debug ip ospf lsa-originating Syntax...
  • Page 380: Debug Ip Ospf Lsa-Flooding

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf lsa-flooding 11-35 debug ip ospf lsa-flooding Use this command to turn on the OSPF LSA flooding debug switch. Use the no form of the command to turn off the OSPF LSA flooding debug switch. debug ip ospf lsa-flooding no debug ip ospf lsa-flooding Syntax...
  • Page 381: Debug Ip Ospf Packet-Receiving

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf packet-receiving 11-36 debug ip ospf packet-receiving Use this command to turn on the OSPF packet receiving debug switch. Use the no form of the command to turn off the OSPF packet receiving debug switch. debug ip ospf packet-receiving no debug ip ospf packet-receiving Syntax...
  • Page 382: Debug Ip Ospf Packet-Transmitting

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf packet-transmitting 11-37 debug ip ospf packet-transmitting Use this command to turn on the OSPF packet transmitting debug switch. Use the no form of the command to turn off the OSPF packet receiving debug switch. debug ip ospf packet-transmitting no debug ip ospf packet-transmitting Syntax...
  • Page 383: Debug Ip Ospf Spf

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf spf 11-38 debug ip ospf spf Use this command to turn on the OSPF SPF calculation debug switch. Use the no form of the command to turn off the OSPF SPF calculation debug switch. debug ip ospf spf no debug ip ospf spf Syntax...
  • Page 384: Debug Ip Ospf Timer

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf timer 11-39 debug ip ospf timer Use this command to turn on the OSPF timer debug switch. Use the no form of the command to turn off the OSPF timer debug switch. debug ip ospf timer no debug ip ospf timer Syntax...
  • Page 385: Debug Ip Ospf Virtual-Link

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf virtual-link 11-40 debug ip ospf virtual-link Use this command to turn on the OSPF virtual link debug switch. Use the no form of the command to turn off the OSPF virtual link debug switch. debug ip ospf virtual-link no debug ip ospf virtual-link Syntax...
  • Page 386: Debug Ip Ospf Route

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf route 11-41 debug ip ospf route Use this command to turn on the OSPF route debug switch. Use the no form of the command to turn off the OSPF route debug switch. debug ip ospf route no debug ip ospf route Syntax...
  • Page 387: Debug Ip Ospf Redistribution

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf redistribution 11-42 debug ip ospf redistribution Use this command to turn on the OSPF redistribution debug switch. Use the no form of the command to turn off the OSPF redistribution debug switch. debug ip ospf redistribution no debug ip ospf redistribution Syntax...
  • Page 388: Debug Ip Ospf Show Counter

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show counter 11-43 debug ip ospf show counter Use this command to display the OSPF statistic counter. debug ip ospf show counter [packet | neighbor | spf] Syntax Description packet (Optional) Specifies to display the OSPF packet counter. neighbor (Optional) Specifies to display the OSPF neighbor counter.
  • Page 389 DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show counter Example The following example displays all OSPF statistic counters: Switch# debug ip ospf show counter OSPF Debug Statistic Counters Packet Receiving: Total Hello LSAck Drop Auth Fail : 0 Packet Sending: Total Hello LSAck...
  • Page 390: Debug Ip Ospf Clear Counter

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf clear counter 11-44 debug ip ospf clear counter Use this command to reset the OSPF statistic counter. debug ip ospf clear counter [packet | neighbor | spf] Syntax Description packet (Optional) Specifies to clear the OSPF packet counter. neighbor (Optional) Specifies to clear the OSPF neighbor counter.
  • Page 391: Debug Ip Ospf Show Database

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show database 11-45 debug ip ospf show database Use this command to display detailed information about the OSPF LSDB. debug ip ospf show database {rt-link | net-link | summary-link | external-link | type7-link} Syntax Description rt-link Specifies to display information about the rt-link parameter.
  • Page 392 DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show database Example The following example displays detailed information about the Router’s LSA: Switch# debug ip ospf show database rt-link OSPF Phase2 RT Link: =========== AREA 0.0.0.0: Router LSA: Link-State ID: 100.1.1.2 Advertising Router: 100.1.1.2 LS Age: 10 Seconds Options: 0x2...
  • Page 393: Debug Ip Ospf Show Request-List

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show request-list 11-46 debug ip ospf show request-list Use this command to display current LSA information of the internal OSPF’s request list. debug ip ospf show request-list Syntax None. Description Default None. Command Mode Privileged mode.
  • Page 394: Debug Ip Ospf Show Redistribution

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show redistribution 11-47 debug ip ospf show redistribution Use this command to display the current internal OSPF redistribution list. debug ip ospf show redistribution Syntax None. Description Default None. Command Mode Privileged mode. Usage Guideline Use this command to check the information about the external route imported into OSPF.
  • Page 395: Debug Ip Ospf Show Summary-List

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf show summary-list 11-48 debug ip ospf show summary-list Use this command to display the current internal OSPF summary list. debug ip ospf show summary-list Syntax None. Description Default None. Command Mode Privileged mode. Usage Guideline Use this command to check the information about the route to be aggregated.
  • Page 396: Debug Ip Ospf Log

    DGS-3620 m/ mSW Rls. 1.02.000 debug ip ospf log 11-49 debug ip ospf log Use this command to turn on the OSPF debug log function. Use the no form of this command to turn off the OSPF debug log function. debug ip ospf log no debug ip ospf log Syntax...
  • Page 397: Protocol Independent Multicast (Pim) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Protocol Independent Multicast (PIM) Commands List of commands discussed in this chapter. Page 12-1 ip pim 12-2 ip pim query-interval 12-3 ip pim join-prune-interval 12-4 ip pim dr-priority 12-5 ip pim register-suppression 12-6 ip pim rp-address 12-7 ip pim rp-candidate 12-8 ip pim spt-threshold 12-9 ip pim rp-register-kat...
  • Page 398: Ip Pim

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim 12-1 ip pim To enable Protocol Independent Multicast (PIM) on an interface, use the ip pim command in interface configuration mode. To disable PIM on the interface, use the no form of this command. ip pim {dense-mode | sparse-mode | sparse-dense-mode} no ip pim Syntax Description...
  • Page 399: Ip Pim Query-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim query-interval 12-2 ip pim query-interval To configure the frequency of Protocol Independent Multicast (PIM) router query messages, use the ip pim query-interval command in interface configuration mode. To return to the default interval, use the no form of this command. ip pim query-interval SECONDS no ip pim query-interval Syntax Description...
  • Page 400: Ip Pim Join-Prune-Interval

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim join-prune-interval 12-3 ip pim join-prune-interval To configure the interval of Protocol Independent Multicast (PIM) router join/prune messages, use the ip pim join-prune-interval command in global configuration mode. To return default, use the no form of this command. ip pim join-prune-interval SECONDS no ip pim join-prune-interval Syntax Description...
  • Page 401: Ip Pim Dr-Priority

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim dr-priority 12-4 ip pim dr-priority To configure the priority for which a switch is elected as the designated router (DR), use the ip pim dr-priority command in interface configuration mode. To return default, use the no form of this command. ip pim dr-priority PRIORITY no ip pim dr-priority Syntax Description...
  • Page 402: Ip Pim Register-Suppression

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim register-suppression 12-5 ip pim register-suppression Use the ip pim register-suppression command to configure the register suppression time. To return to the default interval, use the no form of this command. ip pim register-suppression SECONDS no ip pim register-suppression Syntax Description SECONDS...
  • Page 403: Ip Pim Rp-Address

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim rp-address 12-6 ip pim rp-address Use the ip pim rp-address command to create a static RP in PIM-SM. To delete the static RP entry, use the no form of this command. ip pim rp-address RP-ADDRESS [ACCESS_LIST] no ip pim rp-address RP-ADDRESS Syntax Description RP-ADDRESS...
  • Page 404 DGS-3620 m/ mSW Rls. 1.02.000 ip pim rp-address Switch# configure terminal Switch(config)# no ip pim rp-address 172.18.62.1 CLI Reference Guide...
  • Page 405: Ip Pim Rp-Candidate

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim rp-candidate 12-7 ip pim rp-candidate To configure the router to advertise itself as a Protocol Independent Multicast (PIM) Version 2 candidate rendezvous point (RP) to the bootstrap router (BSR), use the ip pim rp-candidate command in global configuration mode. To return default, use the no form of this command.
  • Page 406 DGS-3620 m/ mSW Rls. 1.02.000 ip pim rp-candidate interface as the candidate RP of a specific group, execute this command with ACL. One interface can only configure one ACL.The number of ACL entry configured to candidate RP is limited, and the total number of group range configured to candidate RP is also limited.
  • Page 407: Ip Pim Spt-Threshold

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim spt-threshold 12-8 ip pim spt-threshold Use this command to configure the condition to switchover to the source tree. To restore the default setting, use no form of this command. ip pim spt-threshold { 0 | infinity } no ip pim spt-threshold Syntax Description To establish the source tree right at the arrival of the first packet.
  • Page 408: Ip Pim Rp-Register-Kat

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim rp-register-kat 12-9 ip pim rp-register-kat Use this command to configure the keep alive time when RP receiving a register message. To restore default value, use no form of this command. ip pim rp-register-kat SECONDS no ip pim rp-register-kat Syntax Description SECONDS...
  • Page 409: Ip Pim Bsr-Candidate

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim bsr-candidate 12-10 ip pim bsr-candidate This command is used to enable the candidate bootstrap function of the interface or set the hash mask length of calculating the property RP. To return default, use no form of this command.
  • Page 410 DGS-3620 m/ mSW Rls. 1.02.000 ip pim bsr-candidate Switch# configure terminal Switch(config)# no ip pim bsr-candidate ipif1 CLI Reference Guide...
  • Page 411: Ip Pim Old-Register-Checksum

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim old-register-checksum 12-11 ip pim old-register-checksum Use this command to specify for which RP, the switch should calculate checksum include the data portion or not when transmitting and receiving register messages. To restore the default setting, use no form of this command. ip pim old-register-checksum rp-address RP-ADDRESS no ip pim old-register-checksum rp-address RP-ADDRESS Syntax Description...
  • Page 412: Ip Pim Ssm

    DGS-3620 m/ mSW Rls. 1.02.000 ip pim ssm 12-12 ip pim ssm Use this command to configure the SSM multicast group address range. Use the no form of the command to disable PIM SSM. ip pim ssm {default | range ACCESS-LIST} no ip pim ssm Syntax Description ACCESS-LIST...
  • Page 413: Show Ip Pim Dense-Mode Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim dense-mode interface 12-13 show ip pim dense-mode interface This command is used to display information about PIM-DM interface. show ip pim dense-mode interface [IFNAME [detail]] Syntax Description IFNAME Specify the interface name to be displayed. If no interface name, display all PIM-DM interfaces.
  • Page 414 DGS-3620 m/ mSW Rls. 1.02.000 show ip pim dense-mode interface Neighbor The address of the neighbors. The DR address of this LAN CLI Reference Guide...
  • Page 415: Show Ip Pim Neighbor

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim neighbor 12-14 show ip pim neighbor This command is used to display PIM neighbor information. show ip pim neighbor [IFNAME] Syntax Description IFNAME Specify the interface to display the neighbor. If no IFNAME specified, all interface’s neighbor would be displayed.
  • Page 416: Show Ip Pim Sparse-Mode Bsr-Router

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode bsr-router 12-15 show ip pim sparse-mode bsr-router This command displays PIM-SM bootstrap router information. show ip pim sparse-mode bsr-router Syntax None. Description Default None. Command Mode User mode or Privileged mode . Usage Guideline This command is used to show BSR information Example...
  • Page 417 DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode bsr-router Next bootstrap message Time in hours, minutes, and seconds in which the next bootstrap message is due from this BSR. Holdtime The hold time of the candidate RP, this value is configured by ip pim rp- candidate Candidate RP Candidate RP information of this switch.
  • Page 418: Show Ip Pim Sparse-Mode Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode interface 12-16 show ip pim sparse-mode interface This command displays PIM-SM interface information. show ip pim sparse-mode interface [IFNAME [detail]] Syntax Description IFNAME Specify the interface to display the neighbor. If no IFNAME specified, all interface’s neighbor would be displayed.
  • Page 419 DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode interface Neighbors List address of the neighbors below. Join/Prune The period join message of PIM-SM if this switch has outgoing for a specified group. This interval value is configured by ip pim join-prune-interval The DR address of this LAN.
  • Page 420: Show Ip Pim Sparse-Mode Rp Mapping

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode rp mapping 12-17 show ip pim sparse-mode rp mapping Use this command to display RP mapping information. show ip pim sparse-mode rp mapping Syntax None. Description Default None. Command Mode User mode or Privileged mode. Usage Guideline This command is used to display PIM-SM RP mapping information.
  • Page 421 DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode rp mapping Uptime Length of time (in hours, minutes, and seconds) that the router has known about this rendezvous point. CLI Reference Guide...
  • Page 422: Show Ip Pim Sparse-Mode Rp-Hash

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim sparse-mode rp-hash 12-18 show ip pim sparse-mode rp-hash To display which rendezvous point is being selected for a specified group, use the show ip pim spars-mode rp-hash command. show ip pim sparse-mode rp-hash GROUP-ADDRESS Syntax Description GROUP-ADDRESS Rendezvous-point information for the specified group address.
  • Page 423: Show Ip Pim

    DGS-3620 m/ mSW Rls. 1.02.000 show ip pim 12-19 show ip pim Use this command to display PIM global information. show ip pim Syntax None. Description Default None. Command Mode User mode or Privileged mode. Usage Guideline Use this command to display global information of PIM. Example The following example shows global information of PIM.
  • Page 424 DGS-3620 m/ mSW Rls. 1.02.000 show ip pim RP Address Display the static RP information. To configure static RP, use command ip pim rp-address. RP Candidate Display the candidate RP information. To configure candidate RP, use command ip pim rp-candidate. SSM Group This field specifies the SSM ACL information.
  • Page 425: Routing Information Protocol (Rip) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Routing Information Protocol (RIP) Commands List of commands discussed in this chapter. Page 13-1 route-preference 13-2 distribute-list in (RIP) 13-3 ip rip authentication mode 13-4 ip rip authentication text-password 13-5 ip rip receive enable 13-6 ip rip receive version 13-7 ip rip send enable 13-8 ip rip send version 13-9 ip rip v2-broadcast...
  • Page 426 DGS-3620 m/ mSW Rls. 1.02.000 route-preference 13-1 route-preference Use this command to configure the route preference for the Routing Information Protocol (RIP) routes. Use the no form of this command to restore to the default value. route-preference VALUE no route-preference Syntax Description VALUE Route preference of RIP route.The value range is 1-999.
  • Page 427: Distribute-List In (Rip)

    DGS-3620 m/ mSW Rls. 1.02.000 distribute-list in (RIP) 13-2 distribute-list in (RIP) Use this command to filter RIP routes inserted into the routing table. Use the no form of this command to remove the setting. distribute-list LIST_NAME in IPIF_NAME no distribute-list LIST_NAME in IPIF_NAME Syntax Description LIST_NAME The name of standard IP access list.
  • Page 428: Ip Rip Authentication Mode

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip authentication mode 13-3 ip rip authentication mode Use this command to configure the simple password authentication type used by RIP interface. Use the no form of this command to restore to the default value. ip rip authentication mode text no ip rip authentication mode Syntax...
  • Page 429: Ip Rip Authentication Text-Password

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip authentication text-password 13-4 ip rip authentication text-password Use this command to configure the plaintext password for RIP simple password authentication. Use the no form of this command to remove the plaintext password. ip rip authentication text-password PASSWORD-STRING no ip rip authentication text-password Syntax Description PASSWORD-STRING The plaintext password that must be sent and received in the RIP packets on the...
  • Page 430: Ip Rip Receive Enable

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip receive enable 13-5 ip rip receive enable Use this command to receive RIP packets on an RIP interface. Use the no form of this command to prohibit receiving RIP packets on the interface. ip rip receive enable no ip rip receive enable Syntax...
  • Page 431: Ip Rip Receive Version

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip receive version 13-6 ip rip receive version Use this command to specify the version of RIP packet received on an RIP interface. Use the no form of this command to restore to the default value. ip rip receive version [1 | 2](1) no ip rip receive version Syntax Description...
  • Page 432: Ip Rip Send Enable

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip send enable 13-7 ip rip send enable Use this command to send RIP packets on an RIP interface. Use the no form of this command to prohibit sending RIP packets on the interface. ip rip send enable no ip rip send enable Syntax...
  • Page 433: Ip Rip Send Version

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip send version 13-8 ip rip send version Use this command to specify the version of RIP packet sent on an RIP interface. Use the no form of this command to restore to the default value. ip rip send version {1 | 2} no ip rip send version Syntax Description...
  • Page 434: Ip Rip V2-Broadcast

    DGS-3620 m/ mSW Rls. 1.02.000 ip rip v2-broadcast 13-9 ip rip v2-broadcast Use this command to send RIP version 2 update packets as broadcast instead of multicast. Use the no form of this command to restore to the default value. ip rip v2-broadcast no ip rip v2-broadcast Syntax...
  • Page 435 DGS-3620 m/ mSW Rls. 1.02.000 network 13-10 network Use this command to enable RIP on one interface. Use the no form of this command to restore to the default setting. network NETWORK-NUMBER no network NETWORK-NUMBER Syntax Description NETWORK-NUMBER IP address of the network of directly connected networks. The interface whose IP address belongs to the network can transmit and receive the RIP packets.
  • Page 436: Redistribute (Rip)

    DGS-3620 m/ mSW Rls. 1.02.000 redistribute (RIP) 13-11 redistribute (RIP) Use this command to redistribute routes from one other routing domain into RIP domain. Use no form of the command to remove route redistribution settings to RIP. redistribute {connected | static | bgp |ospf} [metric VALUE] [route-map MAP_NAME] no redistribute {connected | static | bgp |ospf} [metric VALUE] [route-map MAP_NAME] Syntax Description connected...
  • Page 437 DGS-3620 m/ mSW Rls. 1.02.000 redistribute (RIP) To configure the redistribution of OSPF route to RIP and specify the metric to 2: Switch# configure terminal Switch(config)# router rip Switch(config-router)# redistribute ospf metric 2 To configure the redistribution of OSPF route to RIP and use route map: Switch# configure terminal Switch(config)# route-map map1 permit 1 Switch(config-route-map)# match ip address list1...
  • Page 438: Router Rip

    DGS-3620 m/ mSW Rls. 1.02.000 router rip 13-12 router rip Use this command to enable RIP and enter the RIP router configuration mode. Use the no form of this command to disable RIP. router rip no router rip Syntax None. Description Default By default RIP is disabled.
  • Page 439: Show Ip Rip

    DGS-3620 m/ mSW Rls. 1.02.000 show ip rip 13-13 show ip rip Use this command to show the RIP information. show ip rip [vrf VRF-NAME] Syntax Description vrf VRF-NAME (Optional) Specifies to display information about the RIP VRF instance. Default None.
  • Page 440: Metric

    DGS-3620 m/ mSW Rls. 1.02.000 show ip rip Field Description RIP Global state The global status of RIP, the value is Disabled or Enabled. Update Time Rate (in seconds) at which update packets are set. Timeout Time Interval of time (in seconds) after which a route is declared invalid. Garbage Amount of time (in seconds) that must pass before the route is removed from the Collection Time...
  • Page 441 DGS-3620 m/ mSW Rls. 1.02.000 show ip rip To check RIP information in VRF VPN-A: Switch#show ip rip vrf VPN-A VRF: VPN-A RIP Global State : Enabled Update Time : 40 seconds Timeout Time : 120 seconds Garbage Collection Time : 120 seconds RIP Interface Settings Interface...
  • Page 442: Show Ip Rip Interface

    DGS-3620 m/ mSW Rls. 1.02.000 show ip rip interface 13-14 show ip rip interface This command is used to show information of all RIP interfaces. show ip rip interface Syntax None Description Default None Command Mode Privileged mode Usage Guideline This command will display all interfaces specific information, such as: authentication, send version, receive version, and v2 broadcast mode, status.
  • Page 443: Administrative State: Disabled

    DGS-3620 m/ mSW Rls. 1.02.000 show ip rip interface RX Mode The version of receiving RIP packets on the interface. The value is V1 Only, V2 Only, V1 or V2, or Disabled. Authentication The authentication state. The value is Disabled or Enabled. Password for The value of password.
  • Page 444: Timers Basic

    DGS-3620 m/ mSW Rls. 1.02.000 timers basic 13-15 timers basic To adjust Routing Information Protocol (RIP) network timers. To restore the default timers use the no form of this command. timers basic UPDATE TIMEOUT GARBAGE_COLLECTION no timers basic Syntax Description UPDATE Rate (in seconds) at which updates are sent.
  • Page 445 DGS-3620 m/ mSW Rls. 1.02.000 timers basic To configure RIP update time to 40 seconds, timeout time to 120 seconds, and garbage collection time to 120 in VRF VPN-A: Switch#configure terminal Switch(config)#router rip Switch(config)#address-family ipv4 vrf VPN-A Switch(config-router-af)#timer basic 40 120 120 CLI Reference Guide...
  • Page 446 DGS-3620 m/ mSW Rls. 1.02.000 version 13-16 version Use this command to specify Routing Information Protocol (RIP) version globally as the default version for all interfaces. Use the no form of this command to restore to the default value. version {1 | 2} no version Syntax Description (Optional) Specifies RIP Version 1.
  • Page 447: Address-Family Ipv4 Vrf (Rip)

    DGS-3620 m/ mSW Rls. 1.02.000 address-family ipv4 vrf (RIP) 13-17 address-family ipv4 vrf (RIP) Use this command to create an RIP VRF instance and enter RIP VRF address family configuration mode. Use the no form of this command to destroy RIP VRF instance.
  • Page 448: Exit Address-Family

    DGS-3620 m/ mSW Rls. 1.02.000 exit address-family 13-18 exit address-family Use this command to exit the address family configuration mode. exit address-family Syntax None Description Default None Command Mode Address family configuration mode. Usage Guideline This command is used to exit address family configuration mode. Example To exit address family configuration mode: Switch# configure terminal...
  • Page 449: Route Map Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Route Map Commands List of commands discussed in this chapter. Page 14-1 route-map 14-2 match as-path 14-3 match community 14-4 match extcommunity 14-5 match interface 14-6 match ip address 14-7 match ip next-hop 14-8 match ip route-source 14-9 match metric 14-10 match route-type 14-11 set as-path prepend...
  • Page 450 DGS-3620 m/ mSW Rls. 1.02.000 route-map 14-1 route-map Use this command to create or configure a route map or enter route map configuration mode. Use the no form of this command to delete a route map or remove a clause of route map. route-map MAP-NAME [permit | deny] [SEQUENCE-NUM] no route-map MAP-NAME [permit | deny] [SEQUENCE-NUM] Syntax Description...
  • Page 451 DGS-3620 m/ mSW Rls. 1.02.000 route-map There is a maximum count about route map and it is project dependent. The clauses of one route map also have a maximum count and it is also project dependent. If no argument is specified when use no route-map command, the route map is deleted.
  • Page 452: Match As-Path

    DGS-3620 m/ mSW Rls. 1.02.000 match as-path 14-2 match as-path Use this command to add a match command to match a BGP autonomous system (AS) path access list. Use the no form of this command to delete the match command with BGP autonomous system path access list. match as-path ACCESS-LIST-NAME no match as-path Syntax Description...
  • Page 453: Match Community

    DGS-3620 m/ mSW Rls. 1.02.000 match community 14-3 match community Use this command to add a match command to match a Border Gateway Protocol (BGP) community list. Use the no form of this command to delete the match command with BGP community list. match community COMMUNITY-LIST-NAME [exact] no match community Syntax Description...
  • Page 454: Match Extcommunity

    DGS-3620 m/ mSW Rls. 1.02.000 match extcommunity 14-4 match extcommunity Use this command to add a match command to match a Border Gateway Protocol (BGP) extended community (extcommunity) list. Use the no form of this command to delete the match command with BGP extended community list. match extcommunity EXTCOMMUNITY-LIST-NAME no match extcommunity Syntax Description...
  • Page 455: Ipif_Name

    DGS-3620 m/ mSW Rls. 1.02.000 match interface 14-5 match interface Use this command to add a match command to match the outgoing interface of routes. Use the no form of this command to delete the match command with outgoing interface of routes. match interface IPIF_NAME no match interface Syntax Description...
  • Page 456: Match Ip Address

    DGS-3620 m/ mSW Rls. 1.02.000 match ip address 14-6 match ip address Use this command to add a match command to match the destination network address of routes. Use the no form of this command to delete the match command with destination network address of routes.
  • Page 457: Match Ip Next-Hop

    DGS-3620 m/ mSW Rls. 1.02.000 match ip next-hop 14-7 match ip next-hop Use this command to add a match command to match the next hop of routes. Use the no form of this command to delete the match command with next hop of routes.
  • Page 458: Match Ip Route-Source

    DGS-3620 m/ mSW Rls. 1.02.000 match ip route-source 14-8 match ip route-source Use this command to add a match command to match the source router IP address of the routes. Use the no form of this command to delete the match command with source router IP address.
  • Page 459: Match Metric

    DGS-3620 m/ mSW Rls. 1.02.000 match metric 14-9 match metric Use this command to add a match command to match the metric of routes. Use the no form of this command to delete the match command with metric of routes. match metric NUMBER no match metric Syntax Description...
  • Page 460: Match Route-Type

    DGS-3620 m/ mSW Rls. 1.02.000 match route-type 14-10 match route-type Use this command to add a match command to match the type of routes. Use the no form of this command to delete the match command with type of routes. match route-type {internal| external| type-1 | type-2} no match route-type Syntax Description...
  • Page 461: Set As-Path Prepend

    DGS-3620 m/ mSW Rls. 1.02.000 set as-path prepend 14-11 set as-path prepend Use this command to add a set command to modify an autonomous system path of BGP routes. Use the no form of this command to delete this set command. set as-path prepend ASPATH-LIST no set as-path prepend Syntax Description...
  • Page 462: Set Community

    DGS-3620 m/ mSW Rls. 1.02.000 set community 14-12 set community Use this command to add a set command to modify the BGP communities attribute. Use the no form of this command to delete this set command. set community [COMMUNITY-SET | internet | local-as | no-advertise | no-export](1) [additive] no set community Syntax Description COMMUNITY-SET...
  • Page 463: Set Dampening

    DGS-3620 m/ mSW Rls. 1.02.000 set dampening 14-13 set dampening Use this command to add a set command specify the dampening parameters of routes. Use the no form of this command to delete this set command. set dampening HALF-LIFE REUSE SUPPRESS MAX-SUPPRESS-TIME UN-REACHABILITY-HALF- LIFE no set dampening Syntax Description...
  • Page 464 DGS-3620 m/ mSW Rls. 1.02.000 set dampening Examples To add a set command to modify the dampening parameters of route 120.1.1.0/ Switch# configure terminal Switch(config)# ip standard access-list Strict-Control Switch(config-ip-acl)# permit 120.1.1.0/24 Switch(config-ip-acl)# exit Switch(config)# route-map rmap1 permit 10 Switch(config-route-map)# match ip address Strict-Control Switch(config-route-map)# set dampening 14 500 900 60 15 Switch(config-route-map)# CLI Reference Guide...
  • Page 465: Set Ip Next-Hop

    DGS-3620 m/ mSW Rls. 1.02.000 set ip next-hop 14-14 set ip next-hop Use this command to add a set command to modify the next hop of routes. Use the no form of this command to delete this set command. set ip next-hop {IP-ADDRESS | peer-address} no set ip next-hop Syntax Description IP-ADDRESS...
  • Page 466: Set Local-Preference

    DGS-3620 m/ mSW Rls. 1.02.000 set local-preference 14-15 set local-preference Use this command to add a set command to modify the local preference attribute of routes. Use the no form of this command to delete this set command. set local-preference NUMBER no set local-preference Syntax Description NUMBER...
  • Page 467: Set Metric

    DGS-3620 m/ mSW Rls. 1.02.000 set metric 14-16 set metric Use this command to add a set command to modify the metric of routes. Use the no form of this command to delete this command. set metric NUMBER no set metric Syntax Description NUMBER Specifies the metric of routes.
  • Page 468: Set Metric-Type

    DGS-3620 m/ mSW Rls. 1.02.000 set metric-type 14-17 set metric-type Use this command to add a set command to modify the metric type of routes. Use the no form of this command to delete this set command. set metric-type { type-1 | type-2} no set metric-type Syntax Description type-1...
  • Page 469: Set Origin

    DGS-3620 m/ mSW Rls. 1.02.000 set origin 14-18 set origin Use this command to add a set command to modify the BGP origin code. Use the no form of this command to delete this set command. set origin {igp | egp | incomplete} no set origin Syntax Description Specifies that the origin code of the route will be set to IGP.
  • Page 470: Set Weight

    DGS-3620 m/ mSW Rls. 1.02.000 set weight 14-19 set weight Use this command to add a set command to specify the weight of BGP routes Use the no form of this command to delete this set command. set weight NUMBER no set weight Syntax Description NUMBER...
  • Page 471: Show Route-Map

    DGS-3620 m/ mSW Rls. 1.02.000 show route-map 14-20 show route-map Use this command to show route map settings. show route-map [MAP-NAME] Syntax Description MAP-NAME (Optional) Specifies the name of a route map. The maximum length is 16 characters. Default None Command Mode Privileged mode Usage Guideline...
  • Page 472: Virtual Lan (Vlan) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Virtual LAN (VLAN) Commands List of commands discussed in this chapter. Page 15-1 vlan mapping profile 15-2 vlan mapping rule 15-3 show vlan mapping profile 15-4 switchport vlan mapping profile CLI Reference Guide...
  • Page 473: Vlan Mapping Profile

    DGS-3620 m/ mSW Rls. 1.02.000 vlan mapping profile 15-1 vlan mapping profile Use vlan mapping profile configuration command to enter VLAN mapping profile configuration mode. If the VLAN mapping profile doesn’t exist, it will be created. Use no command to remove the VLAN mapping profile. vlan mapping profile ID [ type [ethernet | ip | ipv6] ] no vlan mapping profile ID Syntax Description...
  • Page 474: Vlan Mapping Rule

    DGS-3620 m/ mSW Rls. 1.02.000 vlan mapping rule 15-2 vlan mapping rule Use the rule command in VLAN mapping profile configuration mode to configure the VLAN mapping rules of the profile. Use the no rule command to remove the previous configured rules rule {SN} match [ src-mac MAC-ADDRESS | dst-mac MAC-ADDRESS | priority COS-VALUE | inner-vid VLAN-ID | ether-type VALUE | src-ip NETWORK-PREFIX | dst-ip NETWORK-PREFIX | src-ipv6 IPV6- NETWORK-PREFIX / PREFIX-LENGTH | dst-ipv6 IPV6- NETWORK-PREFIX /...
  • Page 475 DGS-3620 m/ mSW Rls. 1.02.000 vlan mapping rule Default No VLAN mapping rule Command Mode VLAN mapping profile configuration mode Usage Guideline The rule command is used to configure the VLAN mapping rules of the profile. If a profile is applied on an interface, the switch tests the incoming packets according the rules of the profile.
  • Page 476: Show Vlan Mapping Profile

    DGS-3620 m/ mSW Rls. 1.02.000 show vlan mapping profile 15-3 show vlan mapping profile Use show vlan mapping profile command to show previous configured VLAN mapping profile information show vlan mapping profile [ ID ] Syntax Description (Optional) Specifies the ID of the VLAN mapping profile. If nothing specified, shows all configured VLAN mapping profile.
  • Page 477: Switchport Vlan Mapping Profile

    DGS-3620 m/ mSW Rls. 1.02.000 switchport vlan mapping profile 15-4 switchport vlan mapping profile Use switchport vlan mapping profile command to apply the VLAN mapping rules of profile to specified interface. Use no switchport vlan-mapping profile command to remove the application. switchport vlan mapping profile ID no switchport vlan mapping profile ID Syntax Description...
  • Page 478 DGS-3620 m/ mSW Rls. 1.02.000 switchport vlan mapping profile The customer packets that go to 100.1.1.0/24 will be added S-VLAN 100 and the packets that go to 200.1.1.0/24 will be added S-VLAN 200. Switch(config)# vlan mapping profile 1 type ip Switch(config-vlan-map)# rule 10 match dst-ip 100.1.1.0/24 dot1q-tunnel outer-vid 100 Switch(config-vlan-map)# rule 20 match dst-ip 200.1.1.0/24 dot1q-tunnel...
  • Page 479: Virtual Private Wire Service (Vpws) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Virtual Private Wire Service (VPWS) Commands List of commands discussed in this chapter. Page 16-1 xconnect 16-2 xconnect backup 16-3 show mpls l2transport vc CLI Reference Guide...
  • Page 480 DGS-3620 m/ mSW Rls. 1.02.000 xconnect 16-1 xconnect Use the xconnect command to enable the VPWS service on the interface. Use the no form of this command to cancel the VPWS service. xconnect VC-ID IP-ADDRESS encapsulation mpls [{raw| tagged}] [mtu 0-65535] no xconnect Syntax Description VC-ID...
  • Page 481 DGS-3620 m/ mSW Rls. 1.02.000 xconnect making the VLAN 10 packets from CE one can be transmitted to the other end through the MPLS network, user shall configure PE1 and PE2 as follows: Configuring PE 1: Switch(config)#interface vlan 20 Switch(config-if)#mpls ip Switch(config-if)#mpls label protocol ldp Switch(config-if)#exit Switch(config)#mpls ip...
  • Page 482: Xconnect Backup

    DGS-3620 m/ mSW Rls. 1.02.000 xconnect backup 16-2 xconnect backup Use the xconnect backup command to enable the PW redundancy of VPWS service on the interface. Use the no xconnect backup command to cancel the PW redundancy of VPWS service. xconnect backup VC-ID IP-ADDRESS no xconnect backup Syntax Description...
  • Page 483 DGS-3620 m/ mSW Rls. 1.02.000 xconnect backup Switch(config)#interface vlan 20 Switch(config-if)#mpls ip Switch(config-if)#mpls label protocol ldp Switch(config-if)#exit Switch(config)#mpls ip Switch(config)#mpls label protocol ldp Switch(config-mpls-router)#ldp router-id 110.1.1.1 Switch(config-mpls-router)#exit Switch(config)#interface GigabitEthernet 1 Switch(config-if)#encapsulation dot1q 10 Switch(config-subif)#xconnect 2 130.1.1.2 encapsulation mpls Switch(config-subif)#xconnect backup 2 120.1.1.2 CLI Reference Guide...
  • Page 484: Show Mpls L2Transport Vc

    DGS-3620 m/ mSW Rls. 1.02.000 show mpls l2transport vc 16-3 show mpls l2transport vc Use this command to display the VPWS VC information. show mpls l2transport vc [VC-ID] [detail] Syntax Description VC-ID Show the specified PW ID only. detail Show the detailed PW information. Default Command Mode EXEC mode...
  • Page 485 DGS-3620 m/ mSW Rls. 1.02.000 show mpls l2transport vc Switch# show mpls l2transport vc 3 detail VC ID: 3, Peer IP Address: 140.1.1.2, Operate Status: Up, Primary Local AC: Eth1/VLAN4, Status: Up Remote AC Status: Up MPLS VC Labels: Local 17, Remote 17 Outbound Tunnel label: 101 MTU: Local 1500, Remote 1500 Group ID: Local 0, Remote 0...
  • Page 486: Virtual Private Lan Service (Vpls) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Virtual Private LAN Service (VPLS) Commands List of commands discussed in this chapter. Page 17-1 vpls 17-2 vpls-id 17-3 service-type 17-4 mtu 17-5 mac-limit 17-6 peer 17-7 peer backup 17-8 xconnect vpls 17-9 show vpls 17-10 show mac-address-table vpls 17-11 clear mac-address-table vpls 17-12 show mpls l2transport vc...
  • Page 487 DGS-3620 m/ mSW Rls. 1.02.000 vpls 17-1 vpls Use the vpls command in global configuration mode to create a VPLS and enter VPLS configuration mode. Use the no vpls command in global configuration mode to delete a VPLS. vpls VPLS-NAME no vpls VPLS-NAME Syntax Description VPLS-NAME...
  • Page 488 DGS-3620 m/ mSW Rls. 1.02.000 vpls-id 17-2 vpls-id Use the vpls-id command in VPLS configuration mode to set VPLS ID of a VPLS. vpls-id VPLS-ID Syntax Description VPLS-ID Specifies VPLS ID of a VPLS. The value range is 1-4294967295. VPLS ID is used as VC ID of the pseudowires in the VPLS, which do not have specified VC ID.
  • Page 489 DGS-3620 m/ mSW Rls. 1.02.000 service-type 17-3 service-type Use the service-type command in VPLS configuration mode to set the type of emulated service in a VPLS. service-type {raw | tagged} Syntax Description Specifies the service type is Ethernet-raw mode in a VPLS. It means the encapsulation of all pseudowires in the VPLS is Ethernet-raw mode.
  • Page 490 DGS-3620 m/ mSW Rls. 1.02.000 17-4 mtu Use the mtu command in VPLS configuration mode to set the local AC link MTU of a VPLS. mtu <VALUE 0-65535> Syntax Description <VALUE 0-65535> Specifies local AC link MTU of a VPLS that will be advertised to remote peers in this VPLS.
  • Page 491 DGS-3620 m/ mSW Rls. 1.02.000 mac-limit 17-5 mac-limit Use the mac-limit command in VPLS configuration mode to set MAC address learning limitation of a VPLS. mac-limit VALUE Syntax Description VALUE Specifies the limited number of learned MAC addresses in a VPLS. The maximum value of limited number of learned MAC addresses is project dependent setting.
  • Page 492 DGS-3620 m/ mSW Rls. 1.02.000 peer 17-6 peer Use the peer command in VPLS configuration mode to create a peer i.e. a pseudowire in a VPLS. Use the no peer command in VPLS configuration mode to delete a peer in a VPLS. peer IP-ADDRESS [VC-ID] [{network | spoke}] no peer IP-ADDRESS [VC-ID] Syntax Description...
  • Page 493 DGS-3620 m/ mSW Rls. 1.02.000 peer The following example shows how to delete a peer of a VPLS, for which the IP ADDRESS is 2.2.2.2, and VC ID is 100 switch(config-vpls)#no peer 2.2.2.2 100 switch(config-vpls)# The follow example shows how to delete all peers of a VPLS, for which the IP ADDRESS is 2.2.2.2 switch(config-vpls)#no peer 2.2.2.2 switch(config-vpls)#...
  • Page 494 DGS-3620 m/ mSW Rls. 1.02.000 peer backup 17-7 peer backup Use the peer backup command in VPLS configuration mode to create a backup peer i.e. a backup pseudowire for PW redundancy of H-VPLS. peer backup IP-ADDRESS [VC-ID] Syntax Description IP-ADDRESS Specifies the LSR ID that is used to identify the PE which the peer belongs to.
  • Page 495: Xconnect Vpls

    DGS-3620 m/ mSW Rls. 1.02.000 xconnect vpls 17-8 xconnect vpls Use the xconnect vpls command in interface configuration mode to create a local AC in a VPLS. Use the no xconnect vpls command in interface configuration mode to delete a local AC in a VPLS. xconnect vpls VPLS-NAME no xconnect vpls VPLS-NAME Syntax Description...
  • Page 496 DGS-3620 m/ mSW Rls. 1.02.000 xconnect vpls The following example shows how to delete a local AC, which is Ethernet VLAN- based AC and Ethernet port is 1 and VLAN is 100, from a VPLS which name is “vpls100”. switch(config)#interface GigabitEthernet 1 switch(config)#encapsulation dot1q 100 switch(config-subif)#no xconnect vpls vpls100 switch(config-subif)#...
  • Page 497: Show Vpls

    DGS-3620 m/ mSW Rls. 1.02.000 show vpls 17-9 show vpls Use the show vpls command in EXEC mode to show VPLS information. show vpls [VPLS-NAME] [detail] Syntax Description VPLS-NAME Optional, specifies VPLS name. The name range is 1 – 32 characters. detail Optional, specifies detail VPLS information.
  • Page 498 DGS-3620 m/ mSW Rls. 1.02.000 show vpls The following example shows how to show all VPLS detail information. switch#show vpls detail VPLS Name: vpls100, Operate Status: Up VPLS ID: 100, Service Type: Tagged, MTU: 1500, MAC Limit: 0 Peers via Pseudowires: VC ID Peer Type...
  • Page 499 DGS-3620 m/ mSW Rls. 1.02.000 show vpls The following example shows how to show VPLS detail information for a VPLS. switch#show vpls vpls100 detail VPLS Name: vpls100, Operate Status: Up VPLS ID: 100, Service Type: Tagged, MTU: 1500, MAC Limit: 0 Peers via Pseudowires: VC ID Peer...
  • Page 500 DGS-3620 m/ mSW Rls. 1.02.000 show mac-address-table vpls 17-10 show mac-address-table vpls Use the show mac-address-table vpls command in EXEC mode to show VPLS MAC address information. show mac-address-table vpls [VPLS-NAME [{peer IP-ADDRESS [VC-ID] | ac interface INTERFACE-ID [vlan VLAN-ID]}]] [address MAC-ADDR] Syntax Description VPLS-NAME Optional, specifies VPLS name.
  • Page 501 DGS-3620 m/ mSW Rls. 1.02.000 show mac-address-table vpls Example The following example shows how to show all VPLS MAC address information. switch#show mac-address-table vpls VPLS Name MAC Address Peer (VC ID/IP) or AC -------------------------------- ----------------- ------------------------ vpls100 00-08-A1-79-9A-DF 101/1.1.1.1 vpls100 00-08-A1-79-9A-E0 101/1.1.1.1 vpls100...
  • Page 502 DGS-3620 m/ mSW Rls. 1.02.000 show mac-address-table vpls The following example shows how to show the VPLS MAC addresses for a peer of a VPLS. switch#show mac-address-table vpls vpls100 peer 1.1.1.1 VPLS Name MAC Address Peer (VC ID/IP) or AC -------------------------------- ----------------- ------------------------ vpls100 00-08-A1-79-9A-DF...
  • Page 503 DGS-3620 m/ mSW Rls. 1.02.000 show mac-address-table vpls The following example shows how to show a specified VPLS MAC addresses in a VPLS which name is “vpls100”. switch#show mac-address-table vpls vpls100 address 00:08:A1:79:9A:DF VPLS Name MAC Address Peer (VC ID/IP) or AC -------------------------------- ----------------- ------------------------ vpls100 00-08-A1-79-9A-DF...
  • Page 504 DGS-3620 m/ mSW Rls. 1.02.000 clear mac-address-table vpls 17-11 clear mac-address-table vpls Use the clear mac-address-table vpls command in EXEC mode to clear VPLS MAC address. clear mac-address-table vpls dynamic [VPLS-NAME [{peer IP-ADDRESS [VC-ID] | ac interface INTERFACE-ID [vlan VLAN-ID] | address MAC-ADDR}]] Syntax Description VPLS-NAME Optional, specifies VPLS name.
  • Page 505 DGS-3620 m/ mSW Rls. 1.02.000 clear mac-address-table vpls The following example shows how to clear VPLS MAC address for a local AC of a VPLS. switch#clear mac-address-table vpls dynamic vpls100 ac interface gigabitEthernet 1 vlan 100 switch# The following example shows how to clear one VPLS MAC address. switch#clear mac-address-table vpls dynamic vpls100 address 00:11:22:33:44:55 switch#...
  • Page 506 DGS-3620 m/ mSW Rls. 1.02.000 show mpls l2transport vc 17-12 show mpls l2transport vc Use the show mpls l2transport vc command in EXEC mode to show VC information for VPWS and VPLS. show mpls l2transport vc [VC-ID] [detail] Syntax Description VC-ID Optional, specifies the pseudowire id.
  • Page 507: Virtual Routing And Forwarding Lite (Vrf Lite) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Virtual Routing and Forwarding Lite (VRF Lite) Commands List of commands discussed in this chapter. Page 18-1 address-family ipv4 vrf 18-2 exit-address-family 18-3 import map 18-4 ip vrf 18-5 ip vrf forwarding 18-6 maximum routes 18-7 rd 18-8 route-target 18-9 show ip vrf...
  • Page 508 DGS-3620 m/ mSW Rls. 1.02.000 address-family ipv4 vrf 18-1 address-family ipv4 vrf Use this command to enter VRF address family configuration mode. Use the no form of this command to disable VRF address family configuration mode. address-family ipv4 vrf VRF-NAME no address-family ipv4 vrf VRF-NAME Syntax Description VRF-NAME...
  • Page 509 DGS-3620 m/ mSW Rls. 1.02.000 exit-address-family 18-2 exit-address-family Use this command to exit address family configuration mode. exit-address-family Syntax None. Description Default None. Command Mode Address family configuration mode Usage Guideline This command is used to exit address family configuration mode. Example To exit address family configuration mode: Switch# configure terminal...
  • Page 510: Import Map

    DGS-3620 m/ mSW Rls. 1.02.000 import map 18-3 import map Use this command to set import route map of one VRF. Use the no form of this command to delete the import route map. import map ROUTE-MAP no import map Syntax Description ROUTE-MAP Specifies the name of import route map of the VRF.
  • Page 511: Ip Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 ip vrf 18-4 ip vrf Use this command to create a new VRF instance. Use the no form of this command to delete one VRF instance. ip vrf VRF-NAME no ip vrf VRF-NAME Syntax Description VRF-NAME Specifies the name of the VRF.
  • Page 512: Ip Vrf Forwarding

    DGS-3620 m/ mSW Rls. 1.02.000 ip vrf forwarding 18-5 ip vrf forwarding Use this command to associate one interface to a VRF instance. Use the no form of this command to restore one interface to global routing instance. ip vrf forwarding VRF-NAME no ip vrf forwarding VRF-NAME Syntax Description VRF-NAME...
  • Page 513: Maximum Routes

    DGS-3620 m/ mSW Rls. 1.02.000 maximum routes 18-6 maximum routes Use this command to limit the maximum routes within the VRF. Use the no form of this command to remove the limit. maximum routes LIMIT {WARN-THRESHOLD | WARNING-ONLY} no maximum routes Syntax Description LIMIT Specifies the maximum number of routes within the VRF.
  • Page 514 DGS-3620 m/ mSW Rls. 1.02.000 18-7 rd Use this command to set the route distinguisher of one VRF. rd ROUTE-DISTINGUISHER Syntax Description ROUTE- Specifies VRF’s route distinguisher, witch is used to prepend an 8-bytes value to DISTINGUISHER an IPv4 prefix to create a VPN-IPv4 prefix. Default By default, no route distinguisher is set for one VRF.
  • Page 515 DGS-3620 m/ mSW Rls. 1.02.000 route-target 18-8 route-target Use this command to add one route target of a VRF. Use the no form of this command to remove one route target. route-target {import | export | both} ROUTE-TARGET no route-target {import | export | both} ROUTE-TARGET Syntax Description import (Optional) Specifies to add import route target to import routing information from...
  • Page 516: Show Ip Vrf

    DGS-3620 m/ mSW Rls. 1.02.000 show ip vrf 18-9 show ip vrf Use this command to show VRF settings. show ip vrf [{details | interfaces}] [VRF-NAME] Syntax Description details (Optional)Specifies to show detail information about one or more VRFs. interfaces (Optional)Specifies to show interfaces associated with one or more VRFs.
  • Page 517 DGS-3620 m/ mSW Rls. 1.02.000 show ip vrf To check interfaces associated with VRFs: Switch# show ip vrf interfaces Interfaces IP Address ------------ ------------------ ------------ ip100 100.1.1.1/24 VPN-A CLI Reference Guide...
  • Page 518: Virtual Router Redundancy Protocol (Vrrp) Commands

    DGS-3620 m/ mSW Rls. 1.02.000 Virtual Router Redundancy Protocol (VRRP) Commands List of commands discussed in this chapter. Page 19-1 vrrp authentication 19-2 vrrp critical-ip 19-3 vrrp ip 19-4 vrrp preempt 19-5 vrrp priority 19-6 vrrp timers advertise 19-7 show vrrp 19-8 debug vrrp 19-9 debug vrrp errors 19-10 debug vrrp events...
  • Page 519: Vrrp Authentication

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp authentication 19-1 vrrp authentication Use this command to enable VRRP authentication and set the password on an interface. Use the no form of this command to remove the authentication. vrrp authentication STRING no vrrp authentication Syntax Description STRING Specifies the plaintext authentication password (8 characters).
  • Page 520: Vrrp Critical-Ip

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp critical-ip 19-2 vrrp critical-ip Use this command to set the critical IP address of a virtual router. Use the no form of this command to remove the critical IP address. vrrp VRID critical-ip IP-ADDRESS no vrrp VRID critical-ip Syntax Description VRID...
  • Page 521: Vrrp Ip

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp ip 19-3 vrrp ip Use this command to create a VRRP router. Use the no form of this command to remove a VRRP router. vrrp VRID ip IP-ADDRESS no vrrp VRID Syntax Description VRID Specifies the virtual router identifier that identifies the VRRP group.
  • Page 522: Vrrp Preempt

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp preempt 19-4 vrrp preempt Use this command to allow a router to take over the master role if it has a better priority than the current master. Use the no form of the command to restore to the default setting.
  • Page 523: Vrrp Priority

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp priority 19-5 vrrp priority Use this command in the interface configuration mode to set the priority of a virtual router. Use the no form of this command to restore to the default priority. vrrp VRID priority PRIORITY no vrrp VRID priority Syntax Description VRID...
  • Page 524: Vrrp Timers Advertise

    DGS-3620 m/ mSW Rls. 1.02.000 vrrp timers advertise 19-6 vrrp timers advertise Use this command to configure the interval between successive VRRP advertisements by the master router. Use the no form of this command to restore to the default value. vrrp VRID timers advertise INTERVAL no vrrp VRID timers advertise Syntax Description...
  • Page 525: Show Vrrp

    DGS-3620 m/ mSW Rls. 1.02.000 show vrrp 19-7 show vrrp Use this command to view the VRRP status. show vrrp [interface IPIF_NAME [group VRID]] [brief] Syntax Description interface IPIF_NAME (Optional) Only show information about the virtual routers that belong to specified interface.
  • Page 526 DGS-3620 m/ mSW Rls. 1.02.000 show vrrp “Y” represents IP address owner. The preempt mode of virtual router, as specified with the vrrp preempt command. “Y” represents the preempt mode is enabled. State State of this virtual router, which could be Master, Backup or Init Master addr The IP address of the interface that the Master virtual router belongs to.
  • Page 527 DGS-3620 m/ mSW Rls. 1.02.000 show vrrp Switch# show vrrp interface System System – Group 1 State is Master Virtual IP Address is 10.1.1.1 Virtual MAC Address is 00-00-5E-00-01-01 Advertisement Interval is 1 sec Preemption is Enabled Priority is 255 Master Router is 10.1.1.1 System –...
  • Page 528: Debug Vrrp

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp 19-8 debug vrrp Use this command to turn on VRRP debug. Use the no form of the command to turn off VRRP debug. debug vrrp no debug vrrp Syntax None. Description Default By default VRRP debug is turned off. Command Mode Privileged mode Usage Guideline...
  • Page 529: Debug Vrrp Errors

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp errors 19-9 debug vrrp errors Use this command to turn on VRRP error prompt debug switch. Use the no form of the command to turn off VRRP error prompt debug switch. debug vrrp errors no debug vrrp errors Syntax None.
  • Page 530: Debug Vrrp Events

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp events 19-10 debug vrrp events Use this command to turn on VRRP event debug switch. Use the no form of the command to turn off VRRP event debug switch. debug vrrp events no debug vrrp events Syntax None Description...
  • Page 531: Debug Vrrp Packets

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp packets 19-11 debug vrrp packets Use this command to turn on VRRP packet debug switch. Use the no form of the command to turn off VRRP packet debug switch. debug vrrp packets no debug vrrp packets Syntax None Description...
  • Page 532: Debug Vrrp State

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp state 19-12 debug vrrp state Use this command to turn on VRRP state debug switch. Use the no form of the command to turn off VRRP state debug switch. debug vrrp state no debug vrrp state Syntax None.
  • Page 533: Debug Vrrp Log

    DGS-3620 m/ mSW Rls. 1.02.000 debug vrrp log 19-13 debug vrrp log Use this command to turn on log of VRRP. Use the no form of the command to turn off log of VRRP. debug vrrp log no debug vrrp log Syntax None.
  • Page 534: List Of Commands (Alphabetical)

    DGS-3620 m/ mSW Rls. 1.02.000 List of Commands (Alphabetical) address-family ipv4 vrf (RIP)..........................437 address-family ipv4 vrf ............................498 address-family ipv4 ..............................17 address-family vpnv4 .............................. 18 aggregate-address ..............................19 area default-cost ..............................323 area nssa ................................324 area range................................325 area stub ................................
  • Page 535 DGS-3620 m/ mSW Rls. 1.02.000 debug ip bgp show as-path-access-list ........................79 debug ip bgp show community-list .......................... 80 debug ip bgp show damp ............................72 debug ip bgp show global ............................62 debug ip bgp show interface ........................... 75 debug ip bgp show neighbors ..........................
  • Page 536 DGS-3620 m/ mSW Rls. 1.02.000 ip igmp static-group............................... 209 ip igmp version ..............................214 ip mroute ................................233 ip mtu ..................................253 ip multicast-routing ..............................235 ip ospf authentication ............................335 ip ospf authentication-key ............................. 337 ip ospf cost ................................338 ip ospf dead-interval..............................
  • Page 537 DGS-3620 m/ mSW Rls. 1.02.000 mpls ip (global configuration) ..........................266 mpls ip (interface configuration) ..........................268 mpls label protocol ldp (global configuration)......................273 mpls label protocol ldp (interface configuration)....................275 mpls ldp distribution-mode ............................ 287 mpls ldp hello-holdtime ............................276 mpls ldp hello-interval ............................
  • Page 538 DGS-3620 m/ mSW Rls. 1.02.000 route-preference..............................130 router bgp................................131 router ospf ................................347 router rip................................428 router-id................................. 348 route-target................................505 service-type................................479 set as-path prepend .............................. 451 set community ............................... 452 set dampening............................... 453 set ip next-hop............................... 455 set local-preference............................... 456 set metric................................
  • Page 539 DGS-3620 m/ mSW Rls. 1.02.000 show ip ospf interface ............................358 show ip ospf neighbor ............................361 show ip ospf virtual-link ............................363 show ip ospf virtual-neighbor ..........................365 show ip ospf ................................349 show ip pim ................................413 show ip pim dense-mode interface ........................403 show ip pim neighbor ............................
  • Page 540 DGS-3620 m/ mSW Rls. 1.02.000 vrrp preempt................................512 vrrp priority ................................513 vrrp timers advertise.............................. 514 xconnect backup ..............................472 xconnect vpls ................................ 485 xconnect................................470 CLI Reference Guide...

Table of Contents