CanogaOS Command Reference Model 9170 Model 9171
CanogaOS Command Reference 812 IP ADDRESSING COMMANDS ...
CanogaOS Command Reference 6-106.16 switchport access vlan Use this command to set the access port to a specified vlan. To
CanogaOS Command Reference 6-11This example shows how to set the switchport mode to access. Switch(config-if)# switchport
CanogaOS Command Reference 6-12UsageThe trunk port ingress-filter configuration should only be allowed on a trunk port. When
CanogaOS Command Reference 6-136.21 switchport trunk native Use this command to set the native vlan for sending and recei
CanogaOS Command Reference 7-17 Spanning-tree Commands 7.1 spanning-tree enable Use this command to enable the Spanning Tr
CanogaOS Command Reference 7-2DefaultThe default priority is 32678 (or hex 0x8000). UsageThis command must be used to set the
CanogaOS Command Reference 7-3 Command Syntax spanning-tree forward-time seconds no spanning-tree forward-time seconds Forward
CanogaOS Command Reference 7-4UsageThe allowable range of values is 1-10 seconds. However, make sure that the value of the
CanogaOS Command Reference 7-57.7 spanning-tree max-hops Use this command to specify the maximum allowed hops for a BPDU i
CanogaOS Command Reference 7-6 UsageExamplesSwitch# configure terminal Switch(config)# spanning-tree transmit-holdcount 5
CanogaOS Command Reference 915.7 AUTO-COST ...
CanogaOS Command Reference 7-7command to disable the BPDU filter for the bridge. Command Syntax spanning-tree edgeport bpdu-
CanogaOS Command Reference 7-8Switch(config)# spanning-tree bpdu-transparent enable Related Commands 7.12 spanning-tree po
CanogaOS Command Reference 7-9The default priority is 1. UsageExamplesSwitch# configure terminal Switch(config)# interfac
CanogaOS Command Reference 7-10Command Syntax spanning-tree path-cost number no spanning-tree path-cost number The cost
CanogaOS Command Reference 7-11Switch(config-if)# spanning-tree link-type shared Related Commands 7.17 spanning-tree edge
CanogaOS Command Reference 7-12UsageThis command supersedes the bridge level configuration for the BPDU Guard feature. When
CanogaOS Command Reference 7-13Related Commands 7.20 spanning-tree guard root Use this command to enable the Root Guard fea
CanogaOS Command Reference 7-14Interface mode Default UsageExamplesSet the value to enforce the spanning tree protocol: Switch# c
CanogaOS Command Reference 7-157.23 spanning-tree restricted-role Use this command to set the restricted-role value of the por
CanogaOS Command Reference 7-16The Multiple Spanning Tree Protocol uses port priority as a tiebreaker to determine which port
CanogaOS Command Reference 1016.10 BGP CONFEDERATION IDENTIFIER ...
CanogaOS Command Reference 7-17 7.26 spanning-tree instance restricted-tcn Use this command to set the restricted TCN val
CanogaOS Command Reference 7-18UsageExamplesSwitch# configure terminal Switch(config)# interface eth-0-1 Switch(config-if)# spa
CanogaOS Command Reference 7-19mst configuration mode Default UsageWhen you map VLANs to an MST instance, the mapping is in
CanogaOS Command Reference 7-20Related Commands 7.31 revision Use this command to create an mstp revision number. Command Syn
CanogaOS Command Reference 7-21UsageExamplesSwitch# clear spanning-tree detected protocols bridge 2 Related Commands 7.33
CanogaOS Command Reference 7-22 Mode - Multiple spanning tree protocol Path Cost Standard - dot1t CIST Root Path Cost 0
CanogaOS Command Reference 7-23Command ModePrivileged Exec modes Default UsageThe following is an output of this command di
CanogaOS Command Reference 7-247.36 show spanning-tree interface Use this command to show the state of the spanning tree of t
CanogaOS Command Reference 7-25 eth-0-1: Edgeport bpdu-guard Default - Current edgeport bpdu-guard on eth-0-1: Edgepo
CanogaOS Command Reference 7-26eth-0-10 Designated Forwarding 20000 128.10 P2p eth-0-11 Designat
CanogaOS Command Reference 1116.56 NEIGHBOR NEXT-HOP-SELF ...
CanogaOS Command Reference 7-27Privileged Exec modes Default UsageExamplesThe following is an output of this command display
CanogaOS Command Reference 7-28 Usage ExamplesThe following is an output of this command displaying the mstp information.
CanogaOS Command Reference 7-29 Bridge up - Spanning Tree Enabled Mode - Multiple spanning tree protocol Path Cost
CanogaOS Command Reference 7-30 MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 32768 MSTI Root Id 800fe08
CanogaOS Command Reference 7-31 eth-0-48: Designated Bridge 0000000000000000 eth-0-48: Message Age 0 - Max Age 0 eth-
CanogaOS Command Reference 7-32 CIST Bridge Id 8000be8c722f7f00 Edgeport bpdu-filter disabled Edgeport bpdu-guard disable
CanogaOS Command Reference 7-33Interface Role State Cost Priority.Number Type ---------------------
CanogaOS Command Reference 8-18 ERPS Commands 8.1 erps Use this command to create/remove erps domain instance. Command Syntax
CanogaOS Command Reference 8-2primary: primary ring sub: sub ring vlan : <2-4094> VLAN ID Command Mode Global co
CanogaOS Command Reference 8-3Global configuration UsageNone ExamplesThis example shows how to set fail timer interval of e
CanogaOS Command Reference 1216.102 UNDEBUG BGP...
CanogaOS Command Reference 8-4Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#erps 11 ring 1 lev
CanogaOS Command Reference 8-5And you can check the result by using “show erps 11” command. Switch# show erps 11 ERPS doma
CanogaOS Command Reference 8-6Switch(config-if)# exit Switch(config)# erps 11 ring 1 primary interface eth-0-9 And you c
CanogaOS Command Reference 8-7Switch(config)# erps 11 ring 1 edge-mode edge And you can check the result by using “show er
CanogaOS Command Reference 8-8Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Swi
CanogaOS Command Reference 8-9 ExamplesThis example shows how to disable srpt functionality for ERPS domain 11 ring 1. Swit
CanogaOS Command Reference 8-10ExamplesThis example shows how to enable ERPS domain 11 ring 1. Switch# configure terminal
CanogaOS Command Reference 8-11This example shows how to enable erps domain 11. Switch# configure terminal Enter configurati
CanogaOS Command Reference 8-12ERPS domain sub control VLAN ID: 15 ERPS domain hello timer interval: 1 second(s) ERPS domain fail t
CanogaOS Command Reference 9-19 QinQ Commands 9.1 vlan mapping table Use this command to add or delete vlan mapping table C
CanogaOS Command Reference 1319.15 SET AS-PATH...
CanogaOS Command Reference 9-2UsageThis example shows how to add one vlan mapping entry to vlan mapping table ExamplesAdd v
CanogaOS Command Reference 9-3Command Mode Interface configuration UsageThis command is used to configure a switchport to d
CanogaOS Command Reference 9-4UsageConfigure dot1q-tunnel port’s native vlan. ExamplesConfigure the eth-0-1 to dot1q-tunnel
CanogaOS Command Reference 9-5no switchport dot1q-tunnel vlan mapping table Command Mode Interface configuration UsageApply
CanogaOS Command Reference 9-6ExamplesSwitch (config-if)# switchport trunk vlan-translation vlan mapping table vlantransta
CanogaOS Command Reference 9-7 9.13 l2protocol-tunnel tunnel-dmac MAC Use this command to l2protocol tunnel destination MAC a
CanogaOS Command Reference 9-89.15 l2protocol-discard stp Use this command to enable stp discard on port. Command Syntax
CanogaOS Command Reference 9-9Command Syntax vlan dot1q tag native no vlan dot1q tag native Command Mode Global configuration
CanogaOS Command Reference 10-110 Ethernet CFM Commands Default Ethernet CFM Configuration Ethernet CFM is globally disabl
CanogaOS Command Reference 10-210.2 Configuring the CFM frame ethertype Use the command to configure the ethertype for CFM fram
CanogaOS Command Reference 1421.18 SHOW IP MROUTE-RPF...
CanogaOS Command Reference 10-3UsageThe MD level. To configure the level, enter a value in the range 0 to 7. The levels define
CanogaOS Command Reference 10-4 ethernet cfm mep level LEVEL (down|up) mpid MEPID vlan VLANID no ethernet cfm mep level LEVEL (d
CanogaOS Command Reference 10-5Switch(config)#spanning-tree max-age 12 Related Commands 10.7 Configuring a RMEP archive hold ti
CanogaOS Command Reference 10-6The default is disable. UsageThe level ID identifies the domain to which configuration applies
CanogaOS Command Reference 10-7Command Syntax ethernet cfm mip level LEVEL no ethernet cfm mip level LEVEL Command Mode Inter
CanogaOS Command Reference 10-8Usage1˅This command is used to transmit a loopback message for a MAC address to a remote MP for
CanogaOS Command Reference 10-9Related Commands 10.13 Configure the CFM linktrace cache Use the command to configure the
CanogaOS Command Reference 10-10Command Syntax ethernet cfm mip fdb hold-time <60-65535> Command Mode Configure mod
CanogaOS Command Reference 10-11ExamplesSwitch# ethernet cfm mep crosscheck enable level 7 vlan 10,20-30 Related Commands 10.
CanogaOS Command Reference 10-12UsageNoneExamplesSwitch# show ethernet cfm cc config Related Commands 10.18 Displaying rela
CanogaOS Command Reference 1524.16 IP PIM RP-CANDIDATE ...
CanogaOS Command Reference 10-13NoneUsageNoneExamplesSwitch# show ethernet cfm errors level 7 Related Commands 10.20 Displ
CanogaOS Command Reference 10-1410.21 Displaying information related to path trace cache Use this command to display CFM
CanogaOS Command Reference 10-15Related Commands
CanogaOS Command Reference 11-111 Ethernet OAM Commands Default Ethernet OAM Configuration Ethernet OAM is disabled on all int
CanogaOS Command Reference 11-211.2 ethetnet oam mode Use the command to configure Ethernet OAM mode on an interface Comm
CanogaOS Command Reference 11-3UsageSet the timer to emit at least one OAMPDU per second and ensure that the sublayer adheres
CanogaOS Command Reference 11-4Command Syntax ethernet oam link-monitor on no ethernet oam link-monitor on on Link mo
CanogaOS Command Reference 11-5Command Syntax ethernet oam link-monitor frame threshold high HIGH_THRES|none low LOW_THRES wind
CanogaOS Command Reference 11-6WINDOW Window for frame-seconds events, in milliseconds, in multiples of 100, in the
CanogaOS Command Reference 11-711.10 ethernet oam link-monitor remote-failure Use this command to define action when remote
CanogaOS Command Reference 1625.31 RELATED COMMANDSROUTER-ID ...
CanogaOS Command Reference 11-8Command Mode Interface mode DefaultThe default state for the remote loopback is not supported
CanogaOS Command Reference 11-9Use this command to stop an Ethernet OAM remote loopback mechanism. UsageUse this command to s
CanogaOS Command Reference 11-10 UsageThe following sample output from this command displays ethenet oam adminstrative and operat
CanogaOS Command Reference 12-112 IP Addressing Commands 12.1 ip address To set a primary or secondary IP address for an inter
CanogaOS Command Reference 12-2 Two subnets of a single network might otherwise be separated by another network. This sit
CanogaOS Command Reference 12-3mode. To let switch select the router ID automatically, use the no form of this command. C
CanogaOS Command Reference 12-4 12.5 ip route To establish static routes, use the ip route command in global configuration mode. T
CanogaOS Command Reference 12-5prefix IP route prefix. prefix-length Prefix length for the route. protocol (Optional
CanogaOS Command Reference 12-6vrf name VRF instance name. protocol (Optional) The name of a routing protocol, or the key
CanogaOS Command Reference 12-7vrf name VRF instance name. protocol (Optional) The name of a routing protocol. If you s
CanogaOS Command Reference 1727.1 ADDRESS-FAMILY IPV4 VRF ...
CanogaOS Command Reference 13-113 ARP Commands 13.1 arp To add a permanent entry in the Address Resolution Protocol (ARP) cac
CanogaOS Command Reference 13-2arp timeout secondsno arp timeout seconds Time (in seconds) that an entry remains in the ARP
CanogaOS Command Reference 13-3UsageThis command updates the dynamically learned IP address and MAC address mapping informa
CanogaOS Command Reference 13-4 Internet 10.0.20.254 - 0000.5e00.0101 eth-0-10 Related Commands arp 13.5
CanogaOS Command Reference 14-114 RIP Commands 14.1 default-information originate (RIP) To generate a default route into Routing In
CanogaOS Command Reference 14-2DefaultBuilt-in, automatic metric translations, as appropriate for each routing protocol. Command M
CanogaOS Command Reference 14-3Command Mode Router configuration UsageRoute Source Default Distance Connected interface
CanogaOS Command Reference 14-4 DefaultNo authentication is provided for RIP packets. Command Mode Interface configuration
CanogaOS Command Reference 14-5Switch(config-if)# ip rip authentication mode md5 Related Commands ip rip authentication key-cha
CanogaOS Command Reference 14-6ip rip receive-packet no ip rip receive-packet DefaultThis command is enabled by default. Co
CanogaOS Command Reference 1828.27 SET TAG...
CanogaOS Command Reference 14-7 ExamplesThe following example configures the interface to send both RIP Version 1 and Version
CanogaOS Command Reference 14-8ip rip split-horizen [poisoned] no ip rip split-horizen poisoned Split horizon with poi
CanogaOS Command Reference 14-9ExamplesThe following example defines RIP as the routing protocol to be used on all interfaces
CanogaOS Command Reference 14-10Related Commands router rip 14.13 offset-list (RIP) To add an offset to incoming and outgoing metr
CanogaOS Command Reference 14-11 Command Syntax passive-interface interface-id no passive-interface interface-id interface-id Th
CanogaOS Command Reference 14-12 Command Mode Router configuration UsageThe metric value specified in the redistribute comma
CanogaOS Command Reference 14-1314.17 timers basic (RIP) To adjust Routing Information Protocol (RIP) network timers, use the ti
CanogaOS Command Reference 14-1414.18 show ip rip database To display summary address entries in the Routing Information Pr
CanogaOS Command Reference 14-15 Usage ExamplesThe following is sample output from the show ip rip interface command. Switch
CanogaOS Command Reference 14-16 Related Commands ip rip receive version ip rip send version
1931.15 TRUST OUTER ... 31-1
CanogaOS Command Reference 15-115 OSPF Commands 15.1 area authentication To enable authentication for an Open Shortest Path
CanogaOS Command Reference 15-2 no switchport ip address 10.56.0.201/16 ip ospf authentication-key ijklmnop ! router o
CanogaOS Command Reference 15-3 ip address 10.56.0.201/16 ! router ospf 201 network 10.0.0.0/8 area 10.0.0.0 area 10.0.0.0 s
CanogaOS Command Reference 15-4been configured for this area, type 3 LSAs that correspond to the area range are sent to all oth
CanogaOS Command Reference 15-5 ip address 192.168.110.201/24 ! interface eth-0-2 ip address 192.168.120.201/24 ! router
CanogaOS Command Reference 15-6The following example assigns a default cost of 20 to stub network 10.0.0.0: interface eth-0-1
CanogaOS Command Reference 15-7transmission. The default value is 1 second. dead-interval seconds (Optional) Time (in seco
CanogaOS Command Reference 15-8no auto-cost reference-bandwidth reference-bandwidth mbps Rate in Mbps (bandwidth). The ran
CanogaOS Command Reference 15-915.9 compatible rfc1583 To restore the method used to calculate summary route costs per RFC 15
CanogaOS Command Reference 15-10configuration command, the default metric value is 10. The value used is specific to the protoco
CanogaOS Command Reference 2032.6 QUEUE <0-3> THRESHOLD ...
CanogaOS Command Reference 15-11Built-in, automatic metric translations, as appropriate for each routing protocol. The metric
CanogaOS Command Reference 15-12dist2: 110 dist3: 110 Command Mode Router configuration UsageYou may specify one of the keywo
CanogaOS Command Reference 15-13 ExamplesIn the following example, OSPF process 1 is configured to accept two networks, netw
CanogaOS Command Reference 15-14Switch(config-if)# ip ospf authentication message-digest Related Commands area authenticat
CanogaOS Command Reference 15-1515.16 ip ospf cost To explicitly specify the cost of sending a packet on an interface, use the i
CanogaOS Command Reference 15-16 Command Mode Interface configuration Usage ExamplesThe following example prevents flooding
CanogaOS Command Reference 15-17 ip ospf dead-interval 20 Related Commands ip ospf hello-interval show ip ospf interface 15.19
CanogaOS Command Reference 15-18 Default10 seconds (Ethernet) 30 seconds (nonbroadcast) Command Mode Interface configuration
CanogaOS Command Reference 15-19interface eth-0-11 ip ospf message-digest-key 100 md5 OLD You change the configuration to
CanogaOS Command Reference 15-20 Command Mode Interface configuration Usage ExamplesThe following example sets a new mtu value w
2133.29 IP ACCESS-GROUP... 33-21 3
CanogaOS Command Reference 15-2115.24 ip ospf network To configure the Open Shortest Path First (OSPF) network type to a type
CanogaOS Command Reference 15-22 no switchport ip address 192.168.77.17/24 ip ospf network non-broadcast Related Command
CanogaOS Command Reference 15-2315.26 ip ospf retransmit-interval To specify the time between link-state advertisement (LSA)
CanogaOS Command Reference 15-24 Default1 second Command Mode Interface configuration UsageLink-state advertisements (LSAs)
CanogaOS Command Reference 15-25the number argument are the only options that are applicable. This keyword does not apply t
CanogaOS Command Reference 15-26 DefaultThis command is disabled by default. Command Mode Router configuration UsageThe ip-addres
CanogaOS Command Reference 15-27Router configuration UsageIf you disable the sending of routing updates on an interface, t
CanogaOS Command Reference 15-28Router configuration UsageThe metric value specified in the redistribute command supersedes
CanogaOS Command Reference 15-29 Related Commands clear ip ospf router ospf 15.33 router ospf To configure an Open Shortes
CanogaOS Command Reference 15-30summary-address prefix/prefix-length [not-advertise] no summary-address prefix/prefix-length [n
CanogaOS Command Reference 2237.8 DOT1X TIMEOUT...
CanogaOS Command Reference 15-31 ExamplesThe following is sample output from the show ip ospf command when entered without a spec
CanogaOS Command Reference 15-3215.36 show ip ospf border-routers To display the internal Open Shortest Path First (OSPF) ro
CanogaOS Command Reference 15-33show ip ospf [process-id] database [router][adv-router [ip-address]]show ip ospf [process-id]
CanogaOS Command Reference 15-3415.38 show ip ospf interface To display Open Shortest Path First (OSPF)-related interface informat
CanogaOS Command Reference 15-35neighbor-id (Optional) Neighbor ID. detail (Optional) Displays all neighbors given in detai
CanogaOS Command Reference 15-36 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in inactive
CanogaOS Command Reference 16-116 BGP Commands 16.1 address-family Use this command to enter the IPv4, IPv6 or VPNv4 address-
CanogaOS Command Reference 16-216.2 aggregate-address Use this command to configure BGP aggregate entries. Use the no parameter w
CanogaOS Command Reference 16-3 Command Mode Router mode UsageMulti Exit Discriminator (MED) is used in best path selection by B
CanogaOS Command Reference 16-4Use the no parameter with this command to revert the selection and ignore AS confederation path
CanogaOS Command Reference 2340.2 IP SSH SERVER...
CanogaOS Command Reference 16-5address on the router, with preference given to loopback addresses. Router-id can be manuall
CanogaOS Command Reference 16-6Related Commands bgp-always-compare-med, bgp bestpath as-path ignore, bgp deterministic-med 16.8
CanogaOS Command Reference 16-7A.B.C.D Route Reflector Cluster-id in IP address format <1-4294967295> Route Reflector cluster
CanogaOS Command Reference 16-816.11 bgp confederation peers Use this command to configure the Autonomous Systems (AS) that belo
CanogaOS Command Reference 16-9the route is suppressed. The default suppress limit is 2000. MAXSUPPRESS <1-255> Specifies
CanogaOS Command Reference 16-10Switch(config) router bgp 100 Switch(config-router) bgp default ipv4-unicast 16.14 bgp de
CanogaOS Command Reference 16-11Router mode UsageMulti Exit Discriminator (MED) is used in best path selection by BGP. MED i
CanogaOS Command Reference 16-1216.17 bgp fast-external-failover Use this command to reset a BGP session immediately, if th
CanogaOS Command Reference 16-13• Neighbor deleted • Member added to peer group • Administrative shutdown • Remote AS changed
CanogaOS Command Reference 16-14TIME= <0-60> Scanning interval in seconds. The default scanning interval is 60 seconds
CanogaOS Command Reference 2440.48 SHOW FILE SYSTEM ...
CanogaOS Command Reference 16-15clear bgp ipv6 (A.B.C.D|X:X::X:X) (IN|out|SOFT) A.B.C.D Specifies the IPv4 address of the
CanogaOS Command Reference 16-16Command Syntax clear bgp external (IN|out|SOFT) clear bgp ipv6 external (IN|out|SOFT) external
CanogaOS Command Reference 16-17 Command Syntax clear ip bgp * (IN|out|SOFT|) clear ip bgp * ipv4 PREFIX ROUTES clear ip bg
CanogaOS Command Reference 16-18out = Indicates that outgoing advertised routes will be cleared. SOFT = soft (in|out) Indi
CanogaOS Command Reference 16-19clear ip bgp ipv4 PREFIX flap-statistics (A.B.C.D|A.B.C.D/M) A.B.C.D Specifies the IPv4 address fo
CanogaOS Command Reference 16-2016.31 clear ip bgp external Use this command to reset a BGP connection for all external peers
CanogaOS Command Reference 16-21unicast = address family modifier multicast = address family modifier Command Mode Privileged
CanogaOS Command Reference 16-22debug bgp (all|dampening|events|filters|fsm|keepalives|mpls|nsm|UPDATES) no debug all bgp no d
CanogaOS Command Reference 16-23Command Mode Router mode UsageUse this command to set the administrative distance for BGP. Thi
CanogaOS Command Reference 16-2416.37 ip as-path access-list Use this command to define a BGP Autonomous System (AS) path access li
CanogaOS Command Reference 2541 MIRROR COMMANDS...
CanogaOS Command Reference 16-25no-export Specifies routes not to be advertised outside of Autonomous System boundary. Command
CanogaOS Command Reference 16-26community attributes in a specified format and not with regular expressions. The expanded commu
CanogaOS Command Reference 16-27community-list is compiled into binary format and is directly compared with the BGP communit
CanogaOS Command Reference 16-2816.42 ip extcommunity-list standard Use this command to create and delete a standard extended com
CanogaOS Command Reference 16-29Switch# configure terminal Switch(config)# router bgp 100 Switch(config-router)# mpls-resolution 16.
CanogaOS Command Reference 16-30NEIGHBORID = A.B.C.D|X:X::X:X|TAG A.B.C.D Specifies the address of the BGP neighbor in IPv4 format.
CanogaOS Command Reference 16-31Switch(config-router)# neighbor 10.10.0.75 attribute-unchanged as-path med 16.47 neighbor
CanogaOS Command Reference 16-32neighbor peer-group and neighbor remote-as commands. When this parameter is used with a comm
CanogaOS Command Reference 16-3316.50 neighbor default-originate Use this command to allow a BGP local router to send the default r
CanogaOS Command Reference 16-34 Command Mode Router mode and Address Family ipv4 vrf mode (if BGP/VPN is supported) ExamplesSwitc
CanogaOS Command Reference 2644.17 SHOW SNMP-SERVER CONTEXT ...
CanogaOS Command Reference 16-3516.53 neighbor ebgp-multihop Use this command to accept and attempt BGP connections to external pe
CanogaOS Command Reference 16-36out Indicates that outgoing advertised routes will be filtered. Command Mode Router mode and
CanogaOS Command Reference 16-37Switch(config-router)# neighbor 10.10.0.72 maximum-prefix 1244 warning-only 16.56 neighbor ne
CanogaOS Command Reference 16-38specified group. Command Mode Router mode ExamplesSwitch# configure terminal Switch(config)#
CanogaOS Command Reference 16-39Command Mode Router mode UsageUse this command to Neighbors with the same update policies are
CanogaOS Command Reference 16-4016.61 neighbor prefix-list Use this command to distribute BGP neighbor information as specifie
CanogaOS Command Reference 16-4116.62 neighbor remote-as Use this command to configure an internal or external BGP (iBGP or eBGP
CanogaOS Command Reference 16-42Command Mode Router mode and Address Family (ipv4 unicast | ipv4 multicast | ipv6 | vpnv4 u
CanogaOS Command Reference 16-4316.65 neighbor send-community Use this command to specify that a community attribute should be
CanogaOS Command Reference 16-4416.66 neighbor shutdown Use this command to disable a neighbor. Use the no parameter with t
CanogaOS Command Reference1-11 Preface 1.1 Audience This guide is for the networking professional using the CanogaOS command-line interface (CLI) to m
CanogaOS Command Reference 16-45Use this command to store updates for inbound soft reconfiguration. Soft-reconfiguration may be used
CanogaOS Command Reference 16-46TAG Name of an existing peer-group. For information on how to create peer groups, refer to th
CanogaOS Command Reference 16-47more-specific routes to a particular neighbor. ExampleSwitch# configure terminal Switch(confi
CanogaOS Command Reference 16-4816.72 neighbor version Use this command to configure the software to accept only a particular BGP
CanogaOS Command Reference 16-49 Command Mode Router mode UsageUse this command to specify a weight value to all routes learned f
CanogaOS Command Reference 16-50natural class boundary, and hence, is perceived as a host route, that is, 1.2.3.0/32. Swit
CanogaOS Command Reference 16-5116.76 synchronization Use this command to enable IGP synchronization of Internal BGP (iBGP)
CanogaOS Command Reference 16-52Command Syntax (no) router bgp ASN ASN Specifies the Autonomous System (AS) number. Command Mod
CanogaOS Command Reference 16-53Command Mode Privileged Exec mode and Exec mode ExamplesSwitch# show ip bgp 10.10.1.34/24 1
CanogaOS Command Reference 16-54Switch# show ip bgp cidr-only BGP table version is 0, local router ID is 10.10.10.50 Status cod
NOTICE Canoga Perkins has prepared this manual for use by customers and Canoga Perkins personnel as a guide for the proper installation, operation an
CanogaOS Command Reference1-2噝 Nonprinting characters, such as passwords or tabs, are in angle brackets (< >). Notes, cautions, and warnings us
CanogaOS Command Reference 16-55 Command Mode Privileged Exec mode and Exec mode ExamplesSwitch# show ip bgp community-info 16.84 show
CanogaOS Command Reference 16-56unicast Specifies a IPv4 unicast address family. This is the default option. multicast Specif
CanogaOS Command Reference 16-57show ip bgp filter-list LISTNAME show ip bgp ipv4 PREFIX filter-list LISTNAME LISTNAME Specif
CanogaOS Command Reference 16-58show ip bgp ipv4 PREFIX neighbors (IPADDRESS (advertised-routes|RECEIVED|receivedroutes|rout
CanogaOS Command Reference 16-59Local host: 192.10.23.80, Local port: 33837 Foreign host: 192.10.23.67, Foreign port: 179 Nextho
CanogaOS Command Reference 16-60 ExamplesSwitch# show ip bgp prefix-list mylist 16.91 show ip bgp quote-regexp Use this com
CanogaOS Command Reference 16-61 ExamplesSwitch# show ip bgp regexp myexpression 16.93 show ip bgp scan Use this command to di
CanogaOS Command Reference 16-6210.10.14.51 4 100 93 120 0 0 0 00:42:16 0 Total number of neighbors 2 16.95 show ip bgp vie
CanogaOS Command Reference 16-63 Command Mode Privileged Exec mode and Exec mode ExamplesSwitch# show ip bgp view I2 neighbors BGP n
CanogaOS Command Reference 16-64Command Mode Privileged Exec mode and Exec mode ExamplesThe following example shows the summary
CanogaOS Command Reference Definitions of Service Request Severity To ensure that all service requests are reported in a standard format, Cisco has es
CanogaOS Command Reference 16-65* i 10.10.14.0/24 10.10.0.1 141 0 65000 ? *> 10.10.14.0/24 10.10.14.50 0 0 65000 ? * i 10.1
CanogaOS Command Reference 16-66Interface Send Recv Key-chain eth0 2 2 Routing for Networks: 10.10.0.0/24Routing Information S
CanogaOS Command Reference 16-67filters Disable debugging for BGP filters. fsm Disable debugging for BGP Finite State Machine (FSM
CanogaOS Command Reference 17-117 VRRP Commands 17.1 advertisement-interval To configure the interval between successive adv
CanogaOS Command Reference 17-217.2 authentication mode To authenticate Virtual Router Redundancy Protocol (VRRP) packets r
CanogaOS Command Reference 17-3 Command Syntax interface interface-name no interfaceinterface-name Interface name. DefaultNo i
CanogaOS Command Reference 17-4of 200 is higher than that of the current master virtual router. router vrrp 1 preempt-mode tru
CanogaOS Command Reference 17-5Command Syntax router vrrp groupno router vrrp group group Group number to which the tracki
CanogaOS Command Reference 17-6ExamplesThe following is sample output from the track command: router vrrp 1 track interface eth-0
CanogaOS Command Reference 17-7 Related Commands router vrrp 17.9 show vrrp To display a brief or detailed status of one or a
2-12 Using the Command-Line Interface The 9170/9171 Switches are supported by CanogaOS software. This chapter describes how to use the switch command
CanogaOS Command Reference 18-118 VRRP Remote Tracking Commands 18.1 IP SLA MONITOR To create an IP SLA entry and enter IP SLA m
CanogaOS Command Reference 18-2destination-ip-address Destionation ip address of sending icmp packet;destination-hostname D
CanogaOS Command Reference 18-3show ip sla monitor 18.4 TIMEOUT Sets the amount of time an IP SLA operation waits for a respon
CanogaOS Command Reference 18-4Frequency timeout threshold Command Mode Ipsla mode DefaultsDefault value is 5 seconds. Exa
CanogaOS Command Reference 18-518.7 IP SLA MONITOR SCHEDULE To enable an IP SLA entry, use ip sla monitor schedule in CONFIG mo
CanogaOS Command Reference 18-6ExamplesIn the following example, the show ip sla monitor command is used to show ip sla monit
CanogaOS Command Reference 18-7Switch(config-track)# Related Commands Show track 18.10 TRACK RTR REACHABILITY Create a track object and track the
CanogaOS Command Reference 18-8When the state of ip sla entry is OK , track object state is up; otherwise track object state is down. Command Syntax t
CanogaOS Command Reference 18-9ExamplesIn the following example, the track command is used to create an track object: Switch(config)#track 1 Switch(co
CanogaOS Command Reference 18-10Command Syntax delay down seconds no delay down Syntax Description seconds Time range is from 1 to 180. Command Mode
CanogaOS Command Reference 2-2This example shows you how to access global configuration mode: Switch# configure terminal Enter configu
CanogaOS Command Reference 18-11 Type : Response Time Reporter(RTR) Reachability Interface : eth-0-2 State
CanogaOS Command Reference 18-12Command Mode EXEC mode Defaultsnone ExamplesIn the following example, the show vrrp command is used to show track obje
CanogaOS Command Reference 19-119 Route-map Commands 19.1 route-map To define the conditions for redistributing routes from one routing protocol into
CanogaOS Command Reference 19-2The permit keyword is the default. ExamplesThe following example shows how to create a route-map and enter route-map co
19-3not redistributed or controlled. If the match criteria are not met then the route is neither accepted nor forwarded, irrespective of permit or den
CanogaOS Command Reference 19-4 Communities are used to group and filter routes. They are designed to provide the ability to apply policies to large
CanogaOS Command Reference 19-5The match interface command specifies the next-hop interface name of a route to be matched. Note:This command is val
CanogaOS Command Reference 19-6 Note:This command is valid for BGP, OSPF and RIP only. Command Syntax match ip address ACCESSLISTIDno match ip addr
CanogaOS Command Reference 19-7tables. Note:This command is valid for BGP, OSPF and RIP only. Command Syntax match ip address prefix-list LISTNAME
CanogaOS Command Reference 19-8Packet forwarding based on configured policies overrides packet forwarding specified in routing tables. Note:This c
CanogaOS Command Reference 2-3Switch(config)# vlan database Switch(config-vlan)# The supported commands can vary depending on the version
CanogaOS Command Reference 19-9match ip next-hop prefix-list LISTNAMEno match ip next-hop prefix-list [ LISTNAME ] Syntax Description LISTNAME A strin
CanogaOS Command Reference 19-10No match local-preference is specified by default. ExamplesSwitch# configure terminal Switch(config)# route-map mymap
CanogaOS Command Reference 19-11DefaultsNo match metric is specified by default. ExamplesSwitch# configure terminal Switch(config)# route-map myroute
CanogaOS Command Reference 19-12match origin { egp | igp | incomplete } no match origin Syntax Description egplearned from EGP.igpLocal IGP incomplet
CanogaOS Command Reference 19-13Route-map mode DefaultsNo match route-type is specified by default. ExamplesSwitch# configure terminal Switch(config)
CanogaOS Command Reference 19-14match route-type external 19.14 set aggregator Use this command to set the AS number for the route map and router I
CanogaOS Command Reference 19-15Switch(config-route-map)# set aggregator as 43 10.10.0.3 Related Commands 19.15 set as-path Use this command to m
CanogaOS Command Reference 19-16Switch(config-route-map)# set as-path prepend 8 24 Related Commands 19.16 set atomic-aggregate Use this command t
CanogaOS Command Reference 19-1719.17 set comm-list delete Use this command to delete the matched communities from the community attribute of an inb
CanogaOS Command Reference 19-18the match criteria are met. If the packets do not match any of the defined criteria, they are routed through the nor
CanogaOS Command Reference 3-13 General Commands 3.1 configure terminal To enter global configuration mode, use the configure terminal command i
CanogaOS Command Reference 19-19Switch(config-route-map)# set community 10:01 23:34 12:14 no-export Related Commands 19.19 set dampening Use this
CanogaOS Command Reference 19-20ExamplesSwitch# configure terminal Switch(config)# route-map R1 permit 24 Switch(config-route-map)# set dampening 20
CanogaOS Command Reference 19-21ExamplesSwitch# configure terminal Switch (config)# route-map rmap1 permit 3 Switch (config-route-map)# set extcommun
CanogaOS Command Reference 19-22Switch(config-route-map)# set ip next-hop 10.10.0.67 Related Commands 19.22 set local-preference Use this command
CanogaOS Command Reference 19-23preferred path into an Autonomous System (AS). The preferred path is the one with a lower metric value. A router comp
CanogaOS Command Reference 19-24 Note:This command is valid for OSPF only. Command Syntax set metric-type {type1 | type2} no set metric-type Syntax
CanogaOS Command Reference 19-25 Note:This command is valid for BGP only. Command Syntax set origin { egp | igp | incomplete } no set origin Synta
CanogaOS Command Reference 19-26Command Syntax set originator-id IPADDRESSno set originator-id Syntax Description IPADDRESS Specifies the IP address
CanogaOS Command Reference 19-27 Command Mode Route-map mode DefaultsNo set tag is specified by default. ExamplesSwitch# configure terminal Switch(
CanogaOS Command Reference 19-28DefaultsNo set vpnv4 next-hop is specified by default. ExamplesSwitch# configure terminal Switch(config)# route-map
CanogaOS Command Reference 3-2 ExamplesIn the following example, the user enters privileged EXEC mode using the enable command, then exits back
CanogaOS Command Reference 19-29Command Mode Route-map mode DefaultsNo set weight is specified by default. ExamplesSwitch# configure terminal Switch(
CanogaOS Command Reference 20-120 VRF Commands VRF is routing and forwarding table associated with one or more directly connected VPN sites(CE router
CanogaOS Command Reference 20-220.2 show ip vrf To show the set of defined VRFs and assocaited interfaces, use the show ip vrf command in EXEC mode
CanogaOS Command Reference 20-3 UsageExecuting this command on an interface removes the IP address on this interface, The IP address should be reconf
CanogaOS Command Reference 20-4And user can use command show ip route vrf VPN-NAME to show the result.Switch#show ip route vrf ComA database Codes: K
CanogaOS Command Reference 20-5 20.6 show ip arp vrf Use this command to show arp entry in vrf. Command Syntax show ip arp vrf VRF-NAME NAME: VPN R
CanogaOS Command Reference 20-6Related Commands arp vrf : add one static arp entry in vrf. 20.8 ping vrf Use this command to ping address in vrf.
CanogaOS Command Reference 20-7WORD: Trace route to destination address or hostname Command Mode Privileged EXEC mode UsageThis example shows
CanogaOS Command Reference 21-121 IGMP Commands 21.1 ip igmp access-group Use this command to apply an access-list to the igmp interface. To remove t
CanogaOS Command Reference 21-2ExamplesThis example shows how to apply an access-list to configure which groups support immediately-leave on interfac
3-33.4 end To end the current configuration session and return to privileged EXEC mode, use the end command in global configuration mode. Command Syn
CanogaOS Command Reference 21-3Command Syntax ip igmp last-member-query-interval <1000-25500> no ip igmp last-member-query-interval <1000-255
CanogaOS Command Reference 21-4This example shows how to set the max num of groups allowed to 1000 globally. Switch(config)#ip igmp limit 1000 This ex
CanogaOS Command Reference 21-5Interface configuration UsageThis command is used with command ip igmp mroute-proxy and to set the upstream interface o
CanogaOS Command Reference 21-621.9 ip igmp query-interval Use this command to set the igmp query interval. To return it to default value, use the no
CanogaOS Command Reference 21-7UsageNone ExamplesThis example shows how to set the igmp query max response time to 20 seconds. Switch(config-if)# ip i
CanogaOS Command Reference 21-821.12 ip igmp version Use this command to set the igmp version on interface. To return it to default value, use the no
CanogaOS Command Reference 21-9None ExamplesThis example shows how to set the maximum number of the multicast routes to 512. Switch(config)# ip multic
CanogaOS Command Reference 21-10show ip igmp groups [ip_address |interface interface |detail] ip_address: the ip address of the igmp group specified i
CanogaOS Command Reference 21-11Command Syntax show ip mroute [ip_address |count |route-limit |sparse |summary] ip_address: source or group ip address
CanogaOS Command Reference 21-12 21.18 show ip mroute-rpf Use this command to display rpf information for multicast source. Command Syntax show ip mr
CanogaOS Command Reference 3-4command mode in the CLI mode hierarchy. For example, use the exit command in global configuration mode
CanogaOS Command Reference 21-13None
CanogaOS Command Reference 22-122 IGMP Snooping Commands 22.1 ip igmp snooping Use this command to enable igmp snooping. To disable igmp snooping, us
CanogaOS Command Reference 22-2UsageThis command will overwrite the configuration of immediate-leave. ExamplesThis example shows how to enable igmp sn
CanogaOS Command Reference 22-322.4 ip igmp snooping max-member-num Use this command to set the max member number of igmp snooping. To return it to de
CanogaOS Command Reference 22-4None ExamplesThis example shows how to set the igmp snooping query interval to 64s. Switch(config)# ip igmp snooping qu
CanogaOS Command Reference 22-5Command Syntax ip igmp snooping report-suppression no ip igmp snooping report-suppression DefaultsEnable Command Mode G
CanogaOS Command Reference 22-6ip igmp snooping 22.9 ip igmp snooping discard-unknown Use this command to enable discard-unknown multicast traffic.
CanogaOS Command Reference 22-7mrouter interface interface: the mroute interface on this vlan querier [address address]: the address of querier on thi
CanogaOS Command Reference 22-822.12 show ip igmp snooping global Use this command to show the global configurations of igmp snooping. Command Syntax
CanogaOS Command Reference22-922.14 show ip igmp snooping vlan Use this command to show the configurations of igmp snooping on vlan. Command Syntax s
CanogaOS Command Reference 3-53.7 hostname To specify or modify the host name for the network server, use the hostname command
CanogaOS Command Reference 23-123 MVR Commands 23.1 mvr Use this command to enable or disable MVR Command Syntax mvr no mvr Command Mode Global conf
CanogaOS Command Reference 23-2 Related Commands None 23.3 mvr group Use this command to configure global group for MVR Command Syntax mvr group A
CanogaOS Command Reference23-3ExamplesCreate mvr source address Switch(config)# mvr source-address 192.168.11.1 Resume mvr source address as 10.0.0.1
CanogaOS Command Reference 23-4show mvr Command Mode Privileged EXEC UsageShow mvr information ExamplesSwitch# show mvr MVR Running: FALSE MVR Mu
CanogaOS Command Reference 23-523.8 show mvr group Use this command to show mvr group learned from receiver port. Command Syntax show mvr groups [v
CanogaOS Command Reference 23-6239.255.0.1 239.255.0.2 239.255.0.3 239.255.0.4 239.255.0.5 239.255.0.6 239.255.0.7 239.255.0.8 239.255.0.9 239.255.0.1
CanogaOS Command Reference 24-124 PIM Commands 24.1 ip pim accept-register Use this command to apply an access-list to limit the pim register message
CanogaOS Command Reference 24-2None ExamplesThis example shows how to set anycast rendezvous-point. Switch(config)#ip pim anycast-rp 10.10.10.1 10.10.
CanogaOS Command Reference 24-3ip pim bsr-border no ip pim bsr-border Command Mode Interface configuration UsageNone ExamplesThis example shows how
CanogaOS Command Reference 24-4None 24.6 ip pim exclude-genid Use this command to exclude generation id option from pim hello packets on this interf
CanogaOS Command Reference 3-6 ExamplesIn the following example, the quit command is used to move from global configuration mode
CanogaOS Command Reference 24-5None ExamplesThis example shows how to set the pim hello message interval to 100s. Switch(config-if)#ip pim hello-inter
CanogaOS Command Reference 24-6ip pim jp-timer jp-timer no ip pim jp-timer jp-timer : <1-65535> Join/Prune timer value (second)Defaults60 second
CanogaOS Command Reference24-7 24.11 ip pim register-rate-limit Use this command to set the rate limit for pim registers. To return the rate limit to
CanogaOS Command Reference24-8The source address for pim register is the interface ip of dr by default. ExamplesThis example shows how to set the sour
CanogaOS Command Reference24-9Command Syntax ip pim register-suppression <1-65535> no ip pim register-suppression <1-65535>: register supp
CanogaOS Command Reference 24-10This example shows how to set the pim rp address to 1.1.1.1. Switch(config)#ip pim rp-address 1.1.1.1 This example sho
CanogaOS Command Reference 24-11ip pim rp-register-kat <time> time: <1-65535> KAT time in seconds Command Mode Global configuration Us
CanogaOS Command Reference24-1224.19 ip pim cisco-register-checksum Use this command to calculate register checksum over whole packet (cisco compatib
CanogaOS Command Reference 24-13This example shows how to enable pim sparse mode on the interface. Switch(config-if)# ip pim sparse-mode This example
CanogaOS Command Reference24-14UsageNone ExamplesThis example shows how to display the information of bootstrap router. Switch#show ip pim sparse-mode
CanogaOS Command Reference 3-7 3.10 service terminal-length To set the number of lines on the current terminal screen for all
CanogaOS Command Reference 24-15None ExamplesThis example shows how to display the pim local membership information. Switch#show ip pim sparse-mode lo
CanogaOS Command Reference 24-16None ExamplesThis example shows how to display the neighbor information of pim sparse mode. Switch# show ip pim spars
CanogaOS Command Reference24-17None ExamplesThis example shows how to display the information of rp to be chosen based on group 224.0.0.10. Switch#sho
CanogaOS Command Reference25-125 LDP Commnands 25.1 advertise-labels for Use this command to specify which destinations have their labels advertise
CanogaOS Command Reference25-2A.B.C.D The address of the adjacent peer.* Use to clear all adjacencies. Command Mode Privileged Exec mode DefaultsTh
CanogaOS Command Reference 25-3show ldp session 25.3 clear ldp statistics Use this command to clear LDP packet statistics. Command Syntax clear ldp
CanogaOS Command Reference25-4DefaultsThis command has no default settings. ExamplesIn the following example, the clear ldp statistics advertise-labe
CanogaOS Command Reference 25-5orderedSets control mode to ordered processing. independentSets control mode to independent processing. Command ModeR
CanogaOS Command Reference 25-6 Related Commands show debugging ldp 25.7 debug ldp all Use this command to enable all LDP troubleshooting functions.
CanogaOS Command Reference 25-725.8 debug ldp dsm Use this command to write Downstream state machine specific information to the output. Note:On us
CanogaOS Command Reference 3-8none The lowest strength, no detection of password strength is performed. Default The default pas
CanogaOS Command Reference 25-825.9 debug ldp events Use this command to monitor all LDP events, such as sending packets and receiving packets. Note:
CanogaOS Command Reference 25-92002/06/18 11:30:36 LDP: SEND to socket 13 port 646 addr 224.0.0.2 2002/06/18 11:30:37 LDP: Server : TCP Connection est
CanogaOS Command Reference 25-102002/06/18 11:40:01 LDP: FSM: State changed from NON_EXISTENT to INITIALIZED for event LDP_EVENT_TCP_established 2002
CanogaOS Command Reference 25-11This command has no default settings. ExamplesIn the following example, the debug ldp hexdump command is used to wr
CanogaOS Command Reference 25-122002/06/18 11:43:23 LDP: PDU Version: 1 2002/06/18 11:43:23 LDP: PDU Length: 22 2002/06/18 11:43:23 LDP: LDP Identifi
CanogaOS Command Reference 25-1325.13 debug ldp qos Use this command to write Quality of Service information to the output. Note:On using a debug co
CanogaOS Command Reference 25-14output until the no parameter is used with the command. The debug output and system error messages are written on the
CanogaOS Command Reference 25-15 Defaults This command has no default settings. ExamplesIn the following example, the debug ldp vc events command is
CanogaOS Command Reference 25-16Switch (config-if)# disable-ldp Related Commands 25.17 disnable-ldp Use this command to enable LDP on a specified in
CanogaOS Command Reference 25-17MPLS/BGP VPNs.Use the no parameter to stop sending explicit-null labels for directly connected FECs, and resume send
CanogaOS Command Reference 3-9You will not ordinarily enter an encryption type. Typically you enter an encryption type only if you
CanogaOS Command Reference 25-18Command Mode Router mode Defaults The default is 5 seconds. ExamplesIn the following example, the hello-interval com
CanogaOS Command Reference 25-19 Related Commands hello-interval ldp hello-interval ldp hold-time 25.21 keepalive-interval Use this command to set th
CanogaOS Command Reference 25-2025.22 keepalive-timeout Use this command to set the global value for the time-out after which sessions are rejected.
CanogaOS Command Reference 25-21(no) ldp hello-interval numberSyntax Description number Specifies the interval in seconds, the range is 1 to 21845
CanogaOS Command Reference 25-22 Defaults The default is 15 seconds. ExamplesIn the following example, the ldp hold-time command is used to set the
CanogaOS Command Reference 25-23session:Switch# configure terminal Switch(config)# interface eth-0-1 Switch(config-if)# ldp keepalive-interval 635 Re
CanogaOS Command Reference 25-2425.27 ldp multicast-hellos Use this command to enable multicast hello exchange on a specified interface. Use the no pa
CanogaOS Command Reference 25-25 Command Mode Interface mode DefaultsThe default is 15 seconds. ExamplesIn the following example, the ldp targeted-p
CanogaOS Command Reference 25-26DefaultsThe default is 45 seconds. ExamplesIn the following example, the ldp targeted-peer-hold
CanogaOS Command Reference 25-27Switch# configure router Switch(config)# router ldpSwitch(config-router)# 25.31 Related Comman
CanogaOS Command Reference 3-10 Default No encryption Command Mode Global configuration UsageThe actual encryption process occurs when the cu
CanogaOS Command Reference 25-28Command Syntax show debugging ldp Syntax description This command has no arguments or keywords. Co
CanogaOS Command Reference 25-29 ExamplesThe following is a sample output from the show ldp command displaying basic LDP attribu
CanogaOS Command Reference 25-30ExamplesIn the following example, the show ldp adjacency command is used to display all the adj
CanogaOS Command Reference 25-31label information exchanged. Command Syntax show ldp downstream Syntax description This comma
CanogaOS Command Reference 25-3225.37 show ldp fecUse the following command to display all FECs known to the current LSR. Com
CanogaOS Command Reference 25-33 Command Syntax show ldp interface [IFNAME]Syntax description IFNAME The name of the interface
CanogaOS Command Reference 25-34This command has no arguments or keywords. Command Mode Privileged Exec mode DefaultsThis co
CanogaOS Command Reference 25-35show ldp lsp host show ldp lsp prefix show ldp lsp cr-lsp 25.40 show ldp mpls-l2-circuit Use t
CanogaOS Command Reference 25-36Syntax description A.B.C.D The IPv4 address of the peer for which information is to be shown.
CanogaOS Command Reference 25-37192.168.4.5Received Labels : Fec Label Maps To IPV4:10.10.0.0/24 impl-null none IPV4:192.168.3.
CanogaOS Command Reference 4-14 Interface Commands 4.1 line console Use this command to enter line configuration mode and configure
CanogaOS Command Referenc25-38Keepalive 1932 1932 Address 1 1 Address Withdraw 0 0 Label Mapping 7 7 Label Request 0 0 Label Withdraw 1 0 Label Releas
CanogaOS Command Reference25-39Command Mode Privileged Exec mode ExamplesIn the following example, the show ldp targeted-peers command is used to dis
CanogaOS Command Reference25-40Session peer 192.168.13.60: Upstream state: Established Label: impl-null RequestID: 0 Peer: 192.168.13.60 Attr:NoneUpst
CanogaOS Command Reference25-41This command has no default settings. ExamplesIn the following example, the show memory ldp command is used to display
CanogaOS Command Reference 25-4225.46 Related Commandstargeted-peer Use this command to specify a targeted LDP peer. Command Syntax targeted-peer A.B
CanogaOS Command Reference 25-43Command Mode Router mode DefaultsThe default is 15 seconds. ExamplesIn the following example, the targeted-peer-hel
CanogaOS Command Reference25-44 Related Commands 25.49 targeted-peer-hold-time Use this command to set the time-out value that is the time that the ro
CanogaOS Command Reference25-45If the label-space is not specified in either form of this command, a label-space of zero is assumed. Command Syntax
25-46detailShow detailed information VPLS_ID Specifies the VPLS identifier, the range is 1 to 4294967295. Command Mode Privileged Exec mode Default
CanogaOS Command Reference26-126 MPLS Commands 26.1 mpls ilm-entry Use this command to configure one static ILM entry. Command Syntax mpls ilm-en
CanogaOS Command Reference 4-2Switch(config-line)# This example shows how to exit vty line configuration mode Switch(config-li
CanogaOS Command Reference 26-2Command Mode Configure mode DefaultsThis command has no default settings. ExamplesIn the following example, the no mp
CanogaOS Command Reference26-3no mpls ftn-entry 26.4 no mpls ftn-entry Use this command to remove one static FTN entry. Command Syntax no mpls ftn-en
CanogaOS Command Reference26-4Command Mode Configure mode DefaultsThis command has no default settings. ExamplesIn the following example, the mpls l
CanogaOS Command Reference 26-5Command Syntax mpls map-route { A.B.C.D/M | A.B.C.D M.M.M.M } N.N.N.N/MSyntax Description A.B.C.D/M IPv4 prefix to be m
CanogaOS Command Reference 26-6In the following example, the no mpls map-route command is used to remove one route map relation: Switch# configure te
CanogaOS Command Reference26-7mpls enable-all-interfaces Use this command to enable all the L3 interfaces’ label switch function. Command Syntax mpls
CanogaOS Command Reference26-8Syntax Description This command has no arguments or keywords. Command Mode Configure mode DefaultsLabel switch functio
CanogaOS Command Reference 26-9This command has no arguments or keywords. Command Mode Interface mode DefaultsLabel switch function is disabled.
CanogaOS Command Reference 26-10 26.12 show mpls ftn-database Use this command to display MPLS Forwarding table for detail. Command Syntax show mpls
CanogaOS Command Reference 26-11 26.13 show mpls ftn-forwarding Use this command to display MPLS Forwarding table. Command Syntax show mpls f
CanogaOS Command Reference 4-3Command Syntax exitCommand Mode All configuration modes UsageThe exit command is used to exit fr
CanogaOS Command Reference26-12 26.14 show mpls ilm-database Use this command to display MPLS Incoming Label Map table for detail. Command Syntax sh
CanogaOS Command Reference 26-1326.15 show mpls ilm-forwarding Use this command to display MPLS Incoming Label Map table. Command Syntax show mpls il
CanogaOS Command Reference 26-14 Command Syntax show mpls interface [IFNAME] Syntax description IFNAME The name of the interface, the format follows
CanogaOS Command Reference 26-15This command has no arguments or settings. Command Mode Privileged EXEC mode ExamplesIn the following example, the s
CanogaOS Command Reference26-16Privileged EXEC mode ExamplesIn the following example, the show mpls mapped-routes command is used to display mapped M
CanogaOS Command Reference 26-17 Command Mode Privileged EXEC mode ExamplesIn the following example, the show mpls statistics all command is used to
CanogaOS Command Reference26-18 Minimum label configured: 16 Maximum label configured: 16383 Per label-space information: Label-space 0 is using
CanogaOS Command Reference 27-127 BGP VPN Commands 27.1 address-family ipv4 vrf Use this command to enable the exchanging of VRF routing information
CanogaOS Command Reference 27-2Command Syntax address-family vpnv4 unicast unicast Address Family modifier DefaultDisabled Command Mode Router mode
CanogaOS Command Reference 27-327.4 exit-address-family Use this command to exit address-family-vrf or address-family-vpnv4 mode.fd Command Syntax ex
CanogaOS Command Reference 4-4The following example removes the password: Switch(config-line)# no line-password Related Comma
CanogaOS Command Reference 27-4Switch(config-router)# address-family vpnv4 unicast Switch(config-router-af)# neighbor 10.10.2
CanogaOS Command Reference 27-5neighbor NEIGHBORADDRESS as-origination-interval TIME (no) neighbor NEIGHBORADDRESS as-origination
27-6neighbor as-override command on the PE router removes the CE neighbor’s ASN from the AS_PATH attribute allowing CE routers with the same ASN to ac
CanogaOS Command Reference 27-7NEIGHBORADDRESS neighbor IP address. Use A.B.C.D form. ASN <1-65535> AS number of the cust
CanogaOS Command Reference 27-8Switch(config-router-af)#neighbor 10.10.0.1 send-community extended 27.12 neighbor shutdown U
CanogaOS Command Reference 27-9Address Family-vrf mode UsageIf the customer AS is multi-homed to ISP, this command ensures th
CanogaOS Command Reference 27-10192.16.10.1:1) Command Mode VRF mode UsageUse the route distinguisher command to create routi
CanogaOS Command Reference 27-11Switch(config)# ip vrf VRF_A Switch(config-vrf)# route-target both 100:10 Switch(config)# ip vrf
CanogaOS Command Reference 27-1227.18 show ip vrf Use this command to display the routing information of the VRF. Command Syntax
CanogaOS Command Reference 28-128 Route-map Commands 28.1 route-map To define the conditions for redistributing routes from one
CanogaOS Command Reference 4-5Command Mode Line configuration Default15 UsageNone ExamplesThe following example assigns defau
CanogaOS Command Reference 28-2ExamplesThe following example shows how to create a route-map and enter route-map configuration
CanogaOS Command Reference 28-3accepted nor forwarded, irrespective of permit or deny specifications. The route specified by t
CanogaOS Command Reference 28-4apply policies to large numbers of routes by using match and set commands. Community lists are u
CanogaOS Command Reference 28-5 Note:This command is valid only for RIP, OSPF. Command Syntax match interface IFNAMEno match in
CanogaOS Command Reference 28-6 Note:This command is valid for BGP, OSPF and RIP only. Command Syntax match ip address ACCESSLIST
CanogaOS Command Reference 28-7 Note:This command is valid for BGP, OSPF and RIP only. Command Syntax match ip address prefix-l
CanogaOS Command Reference 28-8tables. Note:This command is valid for BGP, OSPF and RIP only Command Syntax match ip next-hop
CanogaOS Command Reference 28-9no match ip next-hop prefix-list [ LISTNAME ] Syntax Description LISTNAME A string specifying the p
CanogaOS Command Reference 28-10ExamplesSwitch# configure terminal Switch(config)# route-map mymap permit 3 Switch(config-rout
CanogaOS Command Reference 28-11No match metric is specified by default. ExamplesSwitch# configure terminal Switch(config)#
CanogaOS Command ReferenceiTable of Content TABLE OF CONTENT ...
CanogaOS Command Reference 4-64.9 clear counters Use this command to clear the counters on the interface Command Syntax cle
CanogaOS Command Reference 28-12no match origin Syntax Description egplearned from EGP.igpLocal IGP incompleteUnknown heritage Com
CanogaOS Command Reference 28-13DefaultsNo match route-type is specified by default. ExamplesSwitch# configure terminal Switch(config
CanogaOS Command Reference 28-14 28.14 set aggregator Use this command to set the AS number for the route map and router ID. Use th
CanogaOS Command Reference 28-15 Related Commands 28.15 set as-path Use this command to modify an autonomous system path for a r
CanogaOS Command Reference 28-16 Related Commands 28.16 set atomic-aggregate Use this command to set an atomic aggregate attribu
CanogaOS Command Reference 28-1728.17 set comm-list delete Use this command to delete the matched communities from the community att
CanogaOS Command Reference 28-18match command specifies the match criteria under which redistribution is allowed for the current route
CanogaOS Command Reference 28-19Switch# configure terminal Switch(config)# route-map rmap1 permit 3 Switch(config-route-map)# set c
CanogaOS Command Reference 28-20DefaultsReference to the syntax description above. ExamplesSwitch# configure terminal Switch(confi
CanogaOS Command Reference 28-21DefaultsNo set extcommunity is specified by default. ExamplesSwitch# configure terminal Switch (co
CanogaOS Command Reference 4-7The following example sets the description on the interface. Switch(config-if)# description t
CanogaOS Command Reference 28-22Switch# configure terminal Switch(config)# route-map mymap permit 3 Switch(config-route-map)# se
CanogaOS Command Reference 28-23 This command sets the metric value for a route, and influences external neighbors about the prefer
CanogaOS Command Reference 28-24This command sets the type to either Type-1 or Type-2 in the AS-external-LSA when the route-map m
CanogaOS Command Reference 28-25If the packets do not match any of the defined criteria, they are routed through the normal routing
CanogaOS Command Reference 28-26 Note:This command is valid for BGP only. Command Syntax set originator-id IPADDRESSno set orig
CanogaOS Command Reference 28-27Syntax Description TAGVALUE <0-4294967295> Tag value for destination routing protocol.
CanogaOS Command Reference 28-28IPADDRESS Specifies the IP address of next hop. Command Mode Route-map mode DefaultsNo set vpn
CanogaOS Command Reference 28-29Syntax Description WEIGHT <0-4294967295> Specifies the weight value. Command Mode Route
CanogaOS Command Reference 28-30 route-map
29-129 VPLS Commands 29.1 mpls vpls-vlan Use this command to create a block of continuous vlan id which are used for vpls function. Note:This comman
CanogaOS Command Reference 4-8 4.12 interface Use this command to enter interface mode. Command Syntax interface interfac
CanogaOS Command Reference 29-229.2 no mpls vpls-vlan Use this command to release a block of continuous vlan id which used for
CanogaOS Command Reference 29-3Syntax Description NAME Identifying string for VPLS instance. VPLS-ID Identifying value for VP
CanogaOS Command Reference 29-429.5 vpls-description Use this command to add characters describing for VPLS instance. Command
CanogaOS Command Reference 29-5vpls-description 29.7 vpls-mtu Use this command to set mtu for VPLS instance. Note:If set the MT
CanogaOS Command Reference 29-6 DefaultsThis command has no default settings. ExamplesIn the following example, the no vpls-mtu
CanogaOS Command Reference 29-7Related Commands no vpls-peer 29.10 no vpls-peer Use this command to remove a remote PE from VPLS i
CanogaOS Command Reference 29-81048575. OUT-LABEL Outgoing label, the range should be from 16 to 1048575. Command Mode Configure
CanogaOS Command Reference 29-9 ExamplesIn the following example, the vpls-fib-delete command is used to delete a static PW for
CanogaOS Command Reference 29-1029.14 no mpls-vpls Use this command to unbind an interface to a VPLS instance. Command Syntax no mpls-
CanogaOS Command Reference 29-11ExamplesIn the following example, the clear mpls vpls command is used to remove MAC addresses that
CanogaOS Command Reference 4-9Jumboframe is disabled by default. The max frame which can be transmitted is 1534 bytes. When enab
CanogaOS Command Reference 29-12 vpls2 720 0 0 0 Inactive vpls1 7000
CanogaOS Command Reference 29-13 29.17 show mac address-table vpls Use this command to display FDB learned by
CanogaOS Command Reference 30-130 MPLS OAM Commnands 30.1 ping mpls ipv4 Use this command to initiate checking MPLS host reachabi
CanogaOS Command Reference 30-2 Command Mode Privileged EXEC mode DefaultsThis command has no default settings. ExamplesIn the fo
CanogaOS Command Reference 30-320000.Default is 2. repeatREP_VAL Specifies the number of times to resend a packet. The range is fro
CanogaOS Command Reference 30-4request packet. destinationA.B.C.D Specifies a network 127/8 address to be used as the destination ad
CanogaOS Command Reference 30-530.4 traceroute mpls ipv4 Use this command to initiate tracing the route traversed by specifying th
CanogaOS Command Reference 30-6 DefaultsThis command has no default settings. ExamplesIn the following example, the traceroute mp
CanogaOS Command Reference 30-7reply-mode MODE Specifies the reply mode for the echo request packet. z Reply with IP UDP packet
CanogaOS Command Reference 30-8MPLS echo reply, sender address of the packet, and return codes. dsmap Indicates that a downs
CanogaOS Command Reference 4-10Command Syntax shutdown no shutdown Command Mode Interface configuration UsageNone Examples
31-131 QoS Commands 31.1 qos enable Use this command to enable qos. To disable qos, use the no form of this command. Command Syntax qos enable no qo
CanogaOS Command Reference 31-2Global configuration UsageThe default map-table: DSCP map to PRIORITY & COLOR: -------------
CanogaOS Command Reference 31-3show qos map-table 31.3 qos map cos-pri-color Use this command to modify the COS-to-Priority/Color m
CanogaOS Command Reference 31-4no qos map exp-pri-color (<0-7>)<0-7>: select which exp will be specified map <0-63>
CanogaOS Command Reference 31-5------------------------------------------- IP-prec : 0 1 2 3 4 5
CanogaOS Command Reference 31-6Switch(config)#qos map pri-color-cos 63 green to 7 This example shows how to return to the default value
31-731.8 qos map pri-color-exp Use this command to modify the PRI_COLOR-to-EXP map. To return to the default value, use the no form of this command. C
CanogaOS Command Reference 31-8show qos map-table all {default |running} default: default configuration running: running configuration
CanogaOS Command Reference 31-9 | none red yellow green ------------------------------------------- PRIORITY:
CanogaOS Command Reference 31-10 DSCP map to PRIORITY & COLOR: ------------------------------------------- DSCP : 0 1
CanogaOS Command Reference 4-11This example shows how to set the speed on a port to 1000 Mb/s: Switch(config-if)# speed 1000
CanogaOS Command Reference 31-11Command Mode Interface configuration UsageNone ExamplesThis example shows how to configure the port tr
CanogaOS Command Reference 31-12Interface configuration UsageNone ExamplesThis example shows how to configure the port trust state to
31-13This example shows how to configure the cos trust state to port. Switch(config-if)# trust cos Related Commands no trust 31.18 replace cos Use thi
CanogaOS Command Reference 31-14None ExamplesThis example shows how to replace the dscp field in packets on egress. Switch(config-if)#
CanogaOS Command Reference 31-15queue <0-7> random-detect no queue <0-7> random-detect <0-7>: queue id Command Mode
CanogaOS Command Reference 31-16When the queue length is less than min-threshold, the packets will not be dropped. When the queue length
CanogaOS Command Reference 31-17This example shows how to configure queue 1 random detect mode max-threshold to 90 (drop precedence
CanogaOS Command Reference 31-18 31.25 queue threshold Use this command to configure the interface queue threshold. To remove this s
CanogaOS Command Reference 31-19qb2: queue 2 bandwidth percent range qb3: queue 3 bandwidth percent range qb4: queue 4 bandwid
CanogaOS Command Reference 31-20 31.28 clear qos queue statistics Use this command to clear the queue statistics on specified
CanogaOS Command Reference 4-12Command Mode EXEC UsageNone ExamplesThis example shows how to display the management ip addres
31-21Switch(config-if)# no shape Related Commands None 31.30 queue shape Use this command to configure shaping for a queue of a physical port. Comman
CanogaOS Command Reference 31-22cir: CIR - Commit Information Rate (kbps) cbs: commit burst size (bytes) ebs: EBS - Excess Burs
CanogaOS Command Reference 31-23Switch(config)#no class-map cm1 Related Commands Show class-map (NAME|) 31.33 match access-group
CanogaOS Command Reference 31-24Use the policy-map global configuration command to create or modify a policy map that can be at
CanogaOS Command Reference 31-25Command Syntax (no)trust (dscp|cos|ip-prec|port|outer) trust: set trust value for the class dsc
CanogaOS Command Reference 31-26 31.38 policer Use this command to police traffic matching this class-map. Command Syntax (no)policer (c
CanogaOS Command Reference 31-27Define a aggregated policer for classified traffic. ExamplesSwitch(config)#policy-map pm1 Switch(config-
31-28None 31.41 service-policy Use this command to configure a policy for interface to match the traffic defined by class-map, do according actions.
CanogaOS Command Reference 31-29None ExamplesSet flow policing first Switch(config)#qos policer flow-first Related Commands None 31
CanogaOS Command Reference 31-30This command is used to clear aggregate policing statistics. ExamplesSwitch#clear qos aggregate-po
CanogaOS Command Reference 4-13 The threshold values are calibrated. --------------------------------------------------
CanogaOS Command Reference 31-31None 31.47 show running-config policy-map Use this command to show running-config policy-map informa
CanogaOS Command Reference 31-32 State: attached CLASS-MAP-NAME: cmp1 trust: cos CIR 5000 kbps, CBS 40
CanogaOS Command Reference 31-33Privileged EXEC UsageThis command is used to show running-config class-map information. ExamplesSwitc
CanogaOS Command Reference 31-34show qos aggregator-policer (NAME|) NAME: Specify a aggregator-policer name, if not specify, all aggr
CanogaOS Command Reference 31-35 Queue 1 class 0, bandwidth percent 12.5 Tail drop mode Tail drop
CanogaOS Command Reference 31-1
CanogaOS Command Reference 32-132 H-QoS Command 32.1 qos sap-egress Use this command to create an SAP (Service Access Point) egress pol
CanogaOS Command Reference 32-2 UsageNone ExamplesIn the following example, the description command is used to add a description
CanogaOS Command Reference 32-332.4 queue-rate Use this command to configure queue shaping rates for the three high priority q
CanogaOS Command Reference 32-432.5 queue-weight Use this command to configure a bandwidth allocation weight for queue 0 in SA
CanogaOS Command Reference 4-14To remove the port from the static-channel-group, use the no form of this command. Command
CanogaOS Command Reference 32-5THRESH3: The drop threshold for green-colored packets. If the current queue length is greater t
CanogaOS Command Reference 32-6 None 32.8 description Use this command to add a description for the network egress policy. T
CanogaOS Command Reference 32-7Network Egress Policy Configuration Usage1. The total-rate should be at least be the sum rate
CanogaOS Command Reference 32-84. Queues in the same class will be served by WDRR (Weight Deficit Round Robin) scheduling alg
CanogaOS Command Reference 32-9 32.12 queue <0-3> threshold Use this command to configure Tail Drop threshold for each q
CanogaOS Command Reference 32-10Command Mode Global configuration UsageNone ExamplesIn the following example, the ethernet ev
CanogaOS Command Reference 32-1132.15 qos-policy sap-egress Use this command to apply an SAP egress policy to a specific EVC
CanogaOS Command Reference 32-12ExamplesIn the following example, the qos evc net-egress command is used to associate a QoS n
CanogaOS Command Reference 32-13 Tail drop threshold (drop prec 0 -> 3): 56 60 64 108 Transmit 0 packets,
32-14sap-egress: If this argument is specified, only sap-egress queue statistics of the EVC is cleared. net-egress: If this argument is specified, onl
CanogaOS Command Reference 4-15 Interface current state: Administratively DOWN Hardware is Ethernet, address is bc3e.6
CanogaOS Command Reference 32-1532.20 show ethernet evc statistics This command is used to display statistics for all EVC unless
CanogaOS Command Reference 32-161023: Clear statistics for packet length range between 512 and 1023 bytes. 1518: clear statistics fo
CanogaOS Command Reference 33-133 ACL Commands 33.1 arp access-list Use this command to create ARP ACL and enter ARP ACL configura
CanogaOS Command Reference 33-2None ExamplesThis example shows how to create a filter in ARP ACL to deny ARP response packet whose se
CanogaOS Command Reference 33-3Switch(config-arp-acl)#permit ip any mac any Related Commands no sequence-num 33.4 no sequence-num
CanogaOS Command Reference 33-4Switch# show access-list arp Related Commands None 33.6 mac access-list Use this command to
CanogaOS Command Reference 33-5exitCommand Mode MAC ACL configuration UsageNone ExamplesThis example shows how to quit the MAC
CanogaOS Command Reference 33-6[vlan vlan] [cos value] [protocol {arp | rarp | mpls | mpls-mcast}] [type {eth2 | snap | sap}]
CanogaOS Command Reference 33-7[time-range time-range-name] [stats] <1-2147483646>: the sequence number of the filter in
CanogaOS Command Reference 33-8remark: the remarks of the MAC ACL Command Mode MAC ACL configuration UsageThe remarks are up to
CanogaOS Command Referenceii4.12 INTERFACE ...
CanogaOS Command Reference 4-16 ----------------------------------------------------------------------------- eth-0-1 down
CanogaOS Command Reference 33-9Related Commands mac access-list 33.13 show access-list mac Use this command to show the MAC
CanogaOS Command Reference 33-10Switch# clear access-list counters mac_list_1 Related Commands None 33.15 ip access-list Use
CanogaOS Command Reference 33-11Command Syntax exitCommand Mode IP ACL configuration UsageNone ExamplesThis example shows how t
CanogaOS Command Reference 33-1233.18 deny Use this command to discard ongoing IP packets matching the IP filter. Command Syntax
CanogaOS Command Reference 33-13Related Commands deny tcp deny udp deny icmp deny igmp 33.19 deny tcp Use this command to re
CanogaOS Command Reference 33-14Related Commands deny deny udp deny icmp deny igmp 33.20 deny udp Use this command to reject U
CanogaOS Command Reference 33-1533.21 deny icmp Use this command to reject ICMP packets matching the IP filter. Command Syntax
CanogaOS Command Reference 33-16UsageNone ExamplesThis example shows how to create a filter in IP ACL to deny any IGMP packe
CanogaOS Command Reference 33-17If IP address wildcard bits is provided, the IP address is logically-anded in bitwise with the
CanogaOS Command Reference 33-18UsageThe fragments will be invalid when the layer 4 information is specified (i.e. src-port). E
CanogaOS Command Reference 4-17agg1(SU) Static eth-0-1(B) eth-0-1(D) eth-0-2(D) agg10(SD) LACP
CanogaOS Command Reference 33-19ExamplesThis example shows how to create a filter in IP ACL to deny any UDP packets. Switch(conf
CanogaOS Command Reference 33-2033.27 permit igmp Use this command to permit IGMP packets matching the IP filter. Command Syntax
CanogaOS Command Reference 33-21UsageThe remarks are up to 100 characters. The exceed parts will not be stored and will be trunc
CanogaOS Command Reference 33-2233.30 show access-list ip Use this command to show the information of IP ACL. Command Syntax sho
CanogaOS Command Reference 33-23<1-2147483646> permit <1-2147483646> deny 33.32 absolute Use this command to define
CanogaOS Command Reference 33-24This example shows how to define a time range started from 09:00 and ended by 17:00 everyday.
CanogaOS Command Reference 34-134 ARP Inspection Commands 34.1 arp access-list To define an ARP access list or add clauses
CanogaOS Command Reference 34-2DefaultNo defined ARP ACLs are applied to any VLAN. Command Mode Global configuration UsageW
CanogaOS Command Reference 34-3 Command Syntax ip arp inspection log-buffer {entries number | logs number interval seconds}
CanogaOS Command Reference 34-4make the interfaces untrusted, use the no form of this command. Command Syntax ip arp inspectio
CanogaOS Command Reference 4-18Defaultsdisabled UsageWhen disable port-security, all the port-security mac address learned dy
CanogaOS Command Reference 34-5dst-mac (Optional) Checks the destination MAC address in the Ethernet header against the target MAC
CanogaOS Command Reference 34-6 Command Mode Global configuration UsageYou must specify on which VLANs to enable DAI. DAI ma
CanogaOS Command Reference 34-7All denied or dropped packets are logged. Command Mode Global configuration UsageThe acl-mat
CanogaOS Command Reference 34-8Command Mode Privileged EXEC UsageTo display all entries in the ARP cache, use this command with
CanogaOS Command Reference 34-9Switch# Related Commands arp access-list
35-135 IP Source Guard Commands 35.1 ip source binding Use the ip source binding global configuration command on the switch to configure static IP so
CanogaOS Command Reference 35-2number Specify maximum number of bindings. The range is 0 to 30. DefaultMaximum number is 10. C
CanogaOS Command Reference 35-3 35.4 show ip source binding Use the show ip source binding privileged EXEC command to display th
CanogaOS Command Reference 36-136 DHCP Snooping Commands 36.1 clear dhcp snooping Use the clear dhcp snooping privileged EX
CanogaOS Command Reference 36-2DHCP snooping is disabled. Command Mode Global configuration UsageFor any DHCP snooping con
CanogaOS Command Reference 4-19 ExamplesThis example sets the maximum number of secure MAC addresses on a port. Switch(config-
CanogaOS Command Reference 36-3VLAN to which the interface belongs. Use the show dhcp snooping binding privileged EXEC comman
CanogaOS Command Reference 36-436.5 dhcp snooping information option Use the dhcp snooping information option global configuratio
CanogaOS Command Reference 36-536.6 dhcp snooping information option allow-untrusted Use the dhcp snooping information option a
CanogaOS Command Reference 36-636.7 dhcp snooping trust Use the dhcp snooping trust interface configuration command on the s
CanogaOS Command Reference 36-7 UsageIn a service-provider network, when a switch receives a packet from a DHCP client on an
CanogaOS Command Reference 36-8show dhcp snooping config show dhcp snooping binding 36.10 show dhcp snooping binding Use th
CanogaOS Command Reference 36-9 ExamplesThe following is sample output from the show dhcp snooping config command: Switch# sh
CanogaOS Command Reference 36-1036.13 show dhcp snooping trusted-sources Use the show dhcp snooping trusted-sources privil
CanogaOS Command Reference 37-137 IEEE 802.1x Commands 37.1 dot1x initialize Use the dot1x initialize privileged EXEC comman
CanogaOS Command Reference 37-2 UsageYou should change the default value of this command only to adjust for unusual circumsta
CanogaOS Command Reference 4-204.28 show port-security address-table Use this command to show port-security mac address-ta
CanogaOS Command Reference 37-3specific port. ExamplesThe following is sample output from the dot1x port-control command: Swi
CanogaOS Command Reference 37-4dot1x quiet-period seconds no dot1x quiet-period seconds The time interval (in seconds) betwee
CanogaOS Command Reference 37-5Related Commands show dot1x 37.7 dot1x re-authenticae Use the dot1x re-authenticate privilege
CanogaOS Command Reference 37-6packets by the switch to the IEEE 802.1x client. The range is 1 to 65535. tx-period seconds Num
CanogaOS Command Reference 37-75 minutes. Command Mode Global configuration UsageUse this command to cause the switch to mark
CanogaOS Command Reference 37-8overrides the global setting of the radius-server key command. If no key string is specified, th
CanogaOS Command Reference 37-9If the RADIUS server is only a few hops from the router, we recommend that you configure the
CanogaOS Command Reference 37-1037.13 show dot1x Use the show dot1x user EXEC command to display IEEE 802.1x statistics, ad
CanogaOS Command Reference 38-138 Radius Authenication Commands 38.1 aaa new-model Enable the authentication, authorizati
CanogaOS Command Reference 38-2This is a sample output from the command displaying how to disable aaa access control model. S
CanogaOS Command Reference 4-21switchport port-security maximum show port-security maximum mac-num interface interface 4.30
CanogaOS Command Reference 38-3Related Commands no aaa authentication login default 38.4 no aaa authentication login Delete
CanogaOS Command Reference 38-4Command Mode Line configuration mode UsageThis is a sample output from the command displayin
CanogaOS Command Reference 38-5method-lists: Method lists defined in the AAA subsystem authentication: authentication Command
CanogaOS Command Reference 38-6Switch# show aaa status Related Commands
CanogaOS Command Reference 39-139 File Operation Commands 39.1 cd To change the default directory or file system, use the c
CanogaOS Command Reference 39-2copy source-name destination-name source-name The location URL of the source file or directory
39-3 ExamplesThe following example deletes the file named test from the flash: Switch# delete flash:/test Are you sure to delete flash:/test? [yes/no]
CanogaOS Command Reference 39-4 Related Commands ls 39.5 ls To display a list of files on a file system, use the ls command in EX
CanogaOS Command Reference 39-539.6 more To display the contents of a file, use the more command in EXEC mode. Command Syn
CanogaOS Command Reference 39-6Command Mode Privileged EXEC UsageThis command is valid only for local file systems Exampl
CanogaOS Command Reference 4-22Switch# show port-security maximum mac-num interface eth-0-1 Maximum MAC Addresses : 1024 Relat
CanogaOS Command Reference 39-7 drwxr-xr-x 2 0 Jan 1 1970 log -rw-r----- 1 1020 Jul 29 19:18 startup-config.conf -
CanogaOS Command Reference 39-8 Command Mode Privileged EXEC UsageThe source-directory must be a directory. ExamplesThe fol
CanogaOS Command Reference 39-939.12 tar xtract To display files in the tar file, use the tar table command in Privileged EX
CanogaOS Command Reference 39-10 ExamplesThe following shows an example to save current configuration to starup-config file:
CanogaOS Command Reference 39-11copy startup-config {destination-name | ftp://address/destination-name | tftp://address/d
CanogaOS Command Reference 39-12 key chain Displays key chain information. policy-map Displays policy map informatio
CanogaOS Command Reference 39-1339.17 show startup-config To display the contents of the currently running configuration fi
CanogaOS Command Reference 39-14privileged EXEC UsageThe write file command has been replaced by the copy running-config des
CanogaOS Command Reference 39-15Command Mode privileged EXEC UsageUse the ftp command to upload and download files from re
CanogaOS Command Reference 39-16 Command Mode Global configuration UsageThe username must also follow the rules. They must start w
CanogaOS Command Reference 4-23Command Syntax show storm-control [interface]Command Mode EXEC UsageNone ExamplesThis example
CanogaOS Command Reference 39-1739.24 ftp passive To set the FTP mode in PASSIVE mode, use the ftp passive command in global config
CanogaOS Command Reference 39-18ftp username: root ftp password: unencrypted, abc Switch# Related Commands ftp username ftp
CanogaOS Command Reference 40-140 System Management Commands 40.1 show version To display the basic version information in a
CanogaOS Command Reference 40-2enable Turn on the SSH service. disable Turn off the SSH service. DefaultSSH service is enabled
CanogaOS Command Reference 40-3show ip ssh server status 40.4 ip ssh server authentication-timeout To configure Secure Shell (SSH) authenticatio
CanogaOS Command Reference 40-4 DefaultThe default authentication type is all. Command Mode Global configuration Usage ExamplesThe follo
CanogaOS Command Reference 40-540.7 ip ssh server rekey-interval To configure Secure Shell (SSH) rekey interval on your switch,
CanogaOS Command Reference 40-6 UsageYou can use this command with the 2 keyword to ensure that your switch will not inadvertently establish
CanogaOS Command Reference 40-740.10 show ip ssh server status To display the version and configuration data for Secure Shell (SSH
CanogaOS Command Reference 40-8 Switch(config)# rsa key KEY1 Switch(config-rsa-key)# Related Commands show rsa keys 40.12 key format To
CanogaOS Command Reference 5-15 LACP Commands 5.1 channel-group Use the this command to assign a port to a channel group. U
CanogaOS Command Reference 40-9 UsageUse the key string end command to exit the rsa key configuration mode. ExamplesThe following example show
CanogaOS Command Reference 40-10 Command Mode Rsa key configuration UsageUse the reset command to clear all key configuration
CanogaOS Command Reference 40-11 Command Syntax KEYLINE Command Mode Rsa key configuration UsageType any key string. Exampl
CanogaOS Command Reference 40-12Related Commands rsa key generate rsa key import 40.19 rsa key import To import the key file from a specified
CanogaOS Command Reference 40-13Privileged EXEC UsageUse the rsa key generate command to generate a key. ExamplesThe following example displays the
CanogaOS Command Reference 40-14key2 public 0 1024 Related Commands show rsa key 40.22 clock set datetime To ma
CanogaOS Command Reference 40-15length of the zone argument is limited to 32 characters. add The positive time zone.minus The negative time zo
CanogaOS Command Reference40-16month Month (by number). day Day in the month (by number). year Year (2000 - 2037). offset Number of minut
CanogaOS Command Reference 40-17the timing source. In general, NTP synchronization takes approximately 15 to 20 minutes. ExamplesThe following examp
CanogaOS Command Reference 40-18DefaultNo ACE is created. UsageUse this command if you want to allow the system to synchronize with the specified ser
CanogaOS Command Reference 5-2 None ExamplesThis example shows how to configure the port priority 100 for the Link Aggregatio
CanogaOS Command Reference 40-1940.28 ntp broadcast client To configure the system to receive Network Time Protocol (NTP) broadcast
CanogaOS Command Reference 40-20No value is defined for NTP keys. UsageUse this command to create a value for a NTP key. ExamplesIn the following
CanogaOS Command Reference 40-21 hostname Name of the time server or peer. key (Optional) Defines the authentication key. key-id (Optional) Au
CanogaOS Command Reference 40-22This command is disabled by default. Usage ExamplesThe following example shows configuration of a NTP source on a s
CanogaOS Command Reference 40-23 Related Commands show ntp ntp key 40.34 ntp trustedkey To authenticate the identity of a system to which Network Tim
CanogaOS Command Reference 40-2440.35 show ntp To display the NTP configurations, use the show ntp command in privileged EXEC mode. Command Synta
CanogaOS Command Reference 40-25 ExamplesThe following example shows the status of NTP associations: Switch# show ntp associations Current
CanogaOS Command Reference 40-26 Command Syntax show ntp status Command Mode Privileged EXEC Usage ExamplesThe following is sample o
CanogaOS Command Reference40-27Current NTP I/O statistics: ============================================================ time since reset: 175834
CanogaOS Command Reference40-28 show environment 40.41 show environment To display the environment information in a device, use the show environment
CanogaOS Command Reference 56.8 SHOW INTERFACE SWITCHPORT ...
CanogaOS Command Reference 5-3Command Syntax lacp system-priority priority priority: <1-65535>Command Mode Global
CanogaOS Command Reference 40-29 Command Syntax show process spu sorted Command Mode Privileged EXEC Usage ExamplesThe following is s
CanogaOS Command Reference 40-30 39 00:00:00 0.0 ? pdflush 40 00:00:00 0.0 ? kswapd0 Related Commands show
CanogaOS Command Reference40-31 234 tty2 1320 2428 607 bash 233 tty1 1316 2428 607 bash 684 ? 1312 4716 1179 ripngd
CanogaOS Command Reference 40-32 Memory type Alloc cells Alloc bytes =================================== =========
CanogaOS Command Reference 40-33 40.45 show network services To display the network services in your switch, use the show network services
CanogaOS Command Reference 40-34 raw 0 0 *:89 *:* 7 raw 0 0 *:103 *:*
CanogaOS Command Reference 40-35 tcp 0 0 localhost:3871 localhost:705 ESTABLISHED tcp 0 0 localhost:705 localh
CanogaOS Command Reference 40-36 Icmp: 55 ICMP messages received 0 input ICMP message failed. ICMP input histogram: destina
CanogaOS Command Reference 40-37 Command Syntax show file system Command Mode Privileged EXEC Usage ExamplesThe following is sample output from t
CanogaOS Command Reference 40-38Related Commands 40.50 debug dhcp relay To display debugging information about the Dynamic Host Configuration Prot
CanogaOS Command Reference 5-45/D\HU6/D\HU+VWDQGE\ZZDLW8
CanogaOS Command Reference 40-39 dump Specify the output as format of Hexadecimal. error Debug error information of DHCP snooping. eve
40-40and to learn the status of the multicast routing process, or why packets are forwarded out of particular interfaces. ExamplesThe following is sa
CanogaOS Command Reference 40-41command. Command Syntax debug ospf [all | events | ifsm | lsa | nfsm | nsm | packet | route] no debug ospf [all
CanogaOS Command Reference 40-42 state PIM state. timer PIM timers. Command Mode Privileged EXEC UsagePIM uses Internet Gr
40-43 Command Mode Privileged EXEC Usage ExamplesThe following is sample output from the show debugging command. Switch# show debugging Related Com
CanogaOS Command Reference 40-44traceroute command in privileged EXEC mode. Command Syntax traceroute [ip-address | ip ip-address | ipv6 ipv6-address
CanogaOS Command Reference 40-45 40.60 reload To reload the operating system, use the reload command in privileged EXEC mode. Command Syntax reload
CanogaOS Command Reference 40-46 UsageIf you specify the month and day, the reload is scheduled to take place at the specified time and date. If
CanogaOS Command Reference 40-47privileged EXEC mode. Command Syntax show boot Command Mode Privileged EXEC Usage ExamplesThe foll
CanogaOS Command Reference 40-48show boot 40.65 clear logging buffer To clear messages from the logging buffer, use the clear logging buffer co
CanogaOS Command Reference 5-5&KDQQHOJURXSOLVWLQJ*URXS
CanogaOS Command Reference 40-49 Logging trap is disabled UsageA trap is an unsolicited message sent to a remote network management host. Logging tra
CanogaOS Command Reference 40-50configuration mode. To return the logging to the default level, use the no form of this command. Command Synta
CanogaOS Command Reference 40-51 {3 | error} Error conditions. {4 | warning} Warning conditions. {5 | notice} Normal but significant
CanogaOS Command Reference 40-52 this time, the switch buffered these same logs. You can use the timeout keyword to set the time range, and use the
CanogaOS Command Reference 40-53Command Syntax logging server {enable | disable} enable Enable logging server. disable Disable logging ser
CanogaOS Command Reference 40-54In the following example, messages are logged to a server at 209.165.202.169: Switch(config)# logging server a
CanogaOS Command Reference 40-55 no logging server severity {0 | emergency} System is unusable. {1 | alert} Immediate action needed. {2 | c
CanogaOS Command Reference 40-5640.76 logging timestamp To configure the system to apply a time-stamp to debugging messages or system logging messa
CanogaOS Command Reference 40-57Usage ExamplesThe following is sample output from the show logging command. Switch# show logging Current l
CanogaOS Command Reference 40-58Switch# show logging buffer statistics Logging buffer statistics: ==============================================
CanogaOS Command Reference 5-6/$&3SRUW$GPLQ2SHU3RUW3RUW3RUW)O
CanogaOS Command Reference 40-59 40.80 clear line vty To clear a specified line session, use the clear line vty command in privileged EXEC mode
CanogaOS Command Reference 40-60 ================================================================= 1 Test_A
CanogaOS Command Reference 40-61 ================================================================= 1 Test_A 10
CanogaOS Command Reference 40-62 ExamplesThe following is sample output from the show usernames command. Switch# show usernames Number User na
CanogaOS Command Reference 40-6340.86 mac-address-table forward Use the mac-address-table forward global configuration command on the switch to add s
CanogaOS Command Reference 40-64mac-address-table mac-addr discard no mac-address-table mac-addr discard mac-addr Destination MAC address (unicast o
CanogaOS Command Reference 40-65No default is defined. Usage ExamplesThis example shows how to remove a specific MAC address from the dynamic addre
CanogaOS Command Reference 40-66 Command Syntax show mac address-table [dynamic | static | multicast] [address mac-addr | interface interface-id | vl
CanogaOS Command Reference 40-67Dynamic Address Count : 1 (Security: 0) Static Address Count : 1 (Security: 0) T
CanogaOS Command Reference 41-1 41 Mirror Commands 41.1 monitor session destination interface Use this command to set mirror destination interface.
CanogaOS Command Reference 5-73RUWVWDWH 8S,Q%QGO&KDQQHOQXPEHU 3URWRFRO /$&3&am
CanogaOS Command Reference 41-2 tx: monitor transmitted traffic only on that interface Command Mode Global configuration Usage None ExamplesThis ex
CanogaOS Command Reference41-3 Related Commands monitor session destination show monitor 41.4 show monitor Use this command to show the information
CanogaOS Command Reference42-142 DHCP Relay Commands 42.1 dhcp relay To enable the DHCP relay service, use the dhcp relay command in global configur
CanogaOS Command Reference 42-2 Command Mode Global configuration Usage ExamplesThe following is sample output from the dhcp-server command: Switc
CanogaOS Command Reference 42-3 42.4 dhcp relay information check To configure a Dynamic Host Configuration Protocol (DHCP) s
CanogaOS Command Reference 42-4 Command Mode Global configuration UsageThis command enables a DHCP server to identify the user (for example, cab
CanogaOS Command Reference 42-5 ExamplesThe following is sample output from the dhcp relay information policy command: Switch(config)# dhcp rela
CanogaOS Command Reference 42-6 42.8 dhcp relay information trusted To configure an interface as a trusted source of the Dynamic Host Configuration P
CanogaOS Command Reference 42-7 Command Mode Global configuration UsageOnly the main DHCP service is enabled by the service dhcp command, can other D
CanogaOS Command Reference 42-8Related Commands dhcp-server (global) 42.11 show dhcp relay interfaces To display to which DHCP server group the inte
CanogaOS Command Reference 5-8/$&3SRUW$GPLQ2SHU3RUW3RUW3RUW)
CanogaOS Command Reference42-9 ExamplesThe following is sample output from the show dhcp relay information config command: Switch# show dhcp relay inf
CanogaOS Command Reference 42-10 Command Syntax show dhcp relay statistics Command Mode Privileged EXEC Usage ExamplesThe follo
43-1 43 DNS Commands 43.1 ip host To define static hostname-to-address mappings in the Domain Name System (DNS) hostname cache for a DNS view, use t
CanogaOS Command Reference43-2 no dns domain domain-name domain-name Default domain name used to complete unqualified hostnames. DefaultNo default do
CanogaOS Command Reference 43-3Switch(config)# dns server 10.10.1.1 Switch(config)# dns server 20.20.2.2 Related Commands show dns 43.4 show
CanogaOS Command Reference 43-4Privileged EXEC Usage ExamplesThe following is sample output from the show ip host command: Switch# show
CanogaOS Command Reference 44-1 44 SNMP Commands 44.1 snmp-server access To set the access security of MIB view, use the snmp-server access command
CanogaOS Command Reference 44-2 44.2 snmp-server community To set up the community access string to permit access to the Simple Network Management
CanogaOS Command Reference 44-3 context-name Name of the SNMP context being created. DefaultNo SNMP contexts are configured. Command Mode Glo
CanogaOS Command Reference 44-4 44.5 snmp-server engineID To specify the Simple Network Management Protocol (SNMP) engine ID on the local device, us
CanogaOS Command Reference 5-9ExamplesThis example shows how to display internal information of all of the channel groups:6Z
CanogaOS Command Reference 44-5 DefaultNo SNMP server groups are configured. Command Mode Global configuration UsageThe SNMP engine
CanogaOS Command Reference 44-6show snmp-server notify 44.8 snmp-server system-contact To set the system contact (sysContact) string, use the
CanogaOS Command Reference 44-7 Global configuration Usage ExamplesThe following is an example of a system location string: Switch(config)# snmp-se
CanogaOS Command Reference 44-8 44.11 snmp-server trap target-address To specify the recipient of a Simple Network Management Protocol (SNMP) notifi
CanogaOS Command Reference44-9 md5 (Optional) Specifies the HMAC-MD5 authentication level. sha (Optional) Specifies the HMAC-SHA authentication level.
CanogaOS Command Reference 44-10 Command Mode Global configuration Usage ExamplesThe following is sample output from the snmp-server version com
CanogaOS Command Reference 44-11 Related Commands show snmp-server view 44.15 show snmp-server access To display the ACL information of SNMP, use th
CanogaOS Command Reference 44-12Command Syntax show snmp-server community Command Mode Privileged EXEC Usage ExamplesThe following is sample output
CanogaOS Command Reference 44-13 44.18 show snmp-server engineID To display the identification of the local Simple Network Management Protocol (S
CanogaOS Command Reference 44-14a11 usm ab Related Commands 44.20 show snmp-server notify To display notification i
CanogaOS Command Reference 5-10 EXEC Usage None Examples This example shows how to display detailed internal information of
CanogaOS Command Reference 44-15 ExamplesThe following is sample output from the show snmp-server sys-info command: Switch# show snmp-server sys-inf
CanogaOS Command Reference44-16Command Mode Privileged EXEC UsageAn SNMP user must be part of an SNMP group, as configured using the snmp-server usm-
CanogaOS Command Reference 44-17 44.25 show snmp-server view To display the family name, storage type, and status of a Simple Network Management Pro
CanogaOS Command Reference 45-1 45 Sflow Commands 45.1 sflow enable Use this command to enable or disable sFlow globally. Command Syntax (no|)sflo
CanogaOS Command Reference 45-2 Examples This example shows how to add a collector with IP address 10.0.0.254 and UDP port 3000. Switch (config)
CanogaOS Command Reference 45-3 Interface configuration mode UsageUse this command to enable counter sampling on individual port. Use the no par
CanogaOS Command Reference 45-4 Examples This example shows how to set the sFlow sampling rate to 2048 on eth-0-1. Switch# configure terminal Swit
CanogaOS Command Reference 45-5 Switch (config)# sflow sample output Switch (config)# interface eth-0-2 Switch (config)# switchport Switch (config
CanogaOS Command Reference 45-6 Command Syntax (no)debug sflow sample (no)debug sflow counter (no)debug sflow packet (no)debug s
CanogaOS Command Reference 45-7 Examples This example shows how to show the debugging status of sFlow. Switch#show debugging sflow sFlow debugging
CanogaOS Command Reference 5-11&KDQQHOJURXSQHLJKERUV$FWRUVLQIRUPDWLRQ$FWRU$F
45-8 Notes: CanogaOS Command Reference
CANOGA PERKINS CORPORATION 20600 Prairie Street Chatsworth, California 91311-6008 USA Phone: (818) 718-6300 FAX: (818) 718-6312 Web Site: www.canog
CanogaOS Command Reference 5-12/$&3$FWRU$FWRU$FWRU3RUW3ULRULW\2SHU.H\
CanogaOS Command Reference 67.31 REVISION ...
CanogaOS Command Reference 5-13ExamplesThis example shows how to display neighbor information of all of the channel groups:6
CanogaOS Command Reference 5-145.10 show lacp neighbor detail Use this command to display detailed neighbor information of
CanogaOS Command Reference 5-15/$&33DUWQHU3DUWQHU3DUWQHU3RUW3ULRULW\2
CanogaOS Command Reference 5-166ZLWFKVKRZODFSQHLJKERUGHWDLO)ODJV6'HYLFHLVUHTXHVWLQJ6ORZ/$&3&apo
CanogaOS Command Reference 5-17 show channel-group port [ifname]show channel-group channel-group-number portifname: inter
CanogaOS Command Reference 5-183RUWHWK3RUWVWDWH 8S,Q%QGO&KDQQHOQXPEHU
CanogaOS Command Reference 5-19HWK)$FDFHGD[[I3RUWHWK
CanogaOS Command Reference 5-203DUWQHUVLQIRUPDWLRQ/$&3SRUW$GPLQ2SHU3R
CanogaOS Command Reference 5-213DUWQHUVLQIRUPDWLRQ/$&3SRUW$GPLQ2SHU
CanogaOS Command Reference 5-22This example shows how to display the packet traffic on a specified channel group : 6ZLWFK
CanogaOS Command Reference 79.16 SHOW L2PROTOCOL-TUNNEL ...
CanogaOS Command Reference 5-23Usage None ExamplesThis example shows how to clear all counters of all of the channel groups
CanogaOS Command Reference 6-16 VLAN Commands 6.1 vlan database Use this command to enter vlan configure mode Command Syntax
CanogaOS Command Reference 6-2This example shows how to enable dscp on vlan 1: Switch(config-vlan)# vlan 1 replace dscp This
CanogaOS Command Reference 6-3Command Syntax vlan VLAN_LISTno vlan VLAN_LISTVLAN_LIST: vlan list connected with ‘-’ and ‘,’
CanogaOS Command Reference 6-4show vlan all 6.6 show vlan all Use this command to show the information on all the vlan.
CanogaOS Command Reference 6-56.8 show interface switchport Use this command to show the vlan configurations on all bridge po
CanogaOS Command Reference 6-6This example shows how to apply vlan classifier group 1 to the interface: Switch(config-if)# vl
CanogaOS Command Reference 6-76.11 vlan classifier rule Use this command to create vlan classifier rule. To remove the v
CanogaOS Command Reference 6-8UsageNone ExamplesThis example shows how to display information about vlan classifier group
CanogaOS Command Reference 6-9EXEC UsageNone ExamplesThis example shows how to display information about all the vlan clas
Comentários a estes Manuais