![]() |
Cisco IOS Broadband Access Aggregation and DSL Command Reference
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ac name through logging rate-limit
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents
ac name through logging rate-limit access-list templateTo enable template access control list (ACL) processing (as defined by the Template ACL feature), use the access-list template command in global configuration mode. To disable template ACL processing, use the no form of this command. Syntax Description
Usage GuidelinesReducing the number of rules for template ACL status can lower CPU utilization. Checking each ACL against other known ACLs in the system is easier if the matching task can be aborted earlier.
If template ACL processing is disabled, the system replaces all existing template ACL instances with ACLs. Therefore, before you disable the feature, you must ensure that the number of template ACLs does not exceed the system capabilities. If template ACL processing is enabled, the system scans and evaluates all configured per-session ACLs, and then creates all required template ACLs. Default Settings If the number-of-rules argument is specified for the no version of the command, the default of 100 will be used, and only ACLs with 100 or fewer rules will be considered for template status. Cisco 1000 Series Routers On the Cisco 1000 series routers, if the number of rules is smaller than the largest similar Attribute 242 ACL, the processing of this new setting can use up substantial CPU resources because ACLs that previously would be considered as template ACL duplicates are instead compiled using TurboACL compilation without regard to other ACLs already in the router. If the ACLs have fewer than eight rules, the CPU increase will not be so noticeable, because ACLs will be compiled as MiniACLs. If the number of rules is set larger than the largest similar Attribute 242 ACL, then increased CPU resources may be required to conduct the comparison task. This potential increase in CPU resources is offset by the elimination of TurboACL and MiniACL compilation. ac nameTo specify the name of the access concentrator to be used in PPPoE Active Discovery Offers (PADO), use the ac name command in BBA group configuration mode. To remove this specification, use the no form of this command. Command DefaultIf the name of the access concentrator is not specified, the name of the router is used as the access concentrator name. Usage GuidelinesThe ac name command allows you to advertise a unique access concentrator name other than the router name to PPPoE clients. atm pppatm link resetTo configure the system to bring down PPP over ATM (PPPoA) sessions when the virtual circuit (VC) is deactivated, use the atm pppatm link reset command in subinterface configuration mode. To return to the default behavior (PPPoA sessions are not brought down), use the no form of this command. Usage GuidelinesUse the atm pppatm link reset command to configure the system to place PPPoA sessions in a nonoperational state when a VC is deactivated. This command is useful on customer premises equipment (CPE) that is not configured with Dialer. On L2TP access concentrators (LACs), issues of scalability make it useful to allow PPPoA sessions to remain up when a VC is deactivated. ExamplesIn the following example, PPPoA sessions on permanent virtual circuit (PVC) 3/501 will be brought down when that PVC is deactivated: interface ATM4/0 atm pppatm link reset pvc 3/501 encapsulation aal5snap protocol ppp virtual-template 1 ! interface virtual-template 1 no ip address ppp chap hostname boston ppp chap password 7 111F1111 ppp multilink ppp multilink group 1 interface multilink1 ip unnumbered loopback 0 ppp multilink ppp multilink group 1 atm route-bridgedTo configure an interface to use the ATM routed bridge encapsulation (RBE), use the atm route-bridgedcommand in interface configuration mode. Command History
Usage GuidelinesUse this command to configure RBE on an ATM interface. The atm route-bridgedcommand can also be used to integrate RBE with quality of service (QoS) features on the Cisco 800 and 1700 series routers. Routing of IPv6 and IP Packets IP and IPv6 packets can be routed using RBE only over ATM point-to-point subinterfaces. Routing of IP packets and IPv6 half-bridging, bridging, PPP over Ethernet (PPPoE), or other Ethernet 802.3-encapsulated protocols can be configured on the same subinterface. Router Advertisements with IPv6 Router advertisements are suppressed by default. For stateless autoconfiguration, router advertisements must be allowed with the no ipv6 nd suppress-ra command. For static configuration, router advertisement is not required; however, the aggregator should either have the RBE interface on the same subnet as the client or have a static IPv6 route to that subnet through the RBE interface. IP Encapsulation ExampleThe following example configures ATM routed bridge encapsulation on an interface: interface atm 4/0.100 point-to-point ip address 172.16.5.9 255.255.255.0 atm route-bridged ip pvc 0/32 IPv6 Encapsulation ExampleThe following example shows a typical configuration on an RBE interface to allow routing of IPv6 encapsulated Ethernet packets. IPv6 packets sent out of the subinterface are encapsulated over Ethernet over the RBE interface. interface ATM1/0.1 point-to-point ipv6 enable ipv6 address 3FEE:12E1:2AC1:EA32::/64 no ipv6 nd suppress-ra atm route-bridged ipv6 pvc 1/101 In this example, the ipv6 enable command allows the routing of IPv6 packets. The ipv6 address command specifies an IPv6 address for the interface and an IPv6 prefix to be advertised to a peer. The no ipv6 nd ra suppress command enables router advertisements on the interface. IPv6 Routing and Bridging of Other Traffic ExampleThe following example shows a configuration in which IPv6 packets are routed and all other packets are bridged. interface ATM1/0.1 point-to-point ipv6 enable ipv6 address 3FEE:12E1:2AC1:EA32::/64 atm route-bridged ipv6 bridge-group 1 pvc 1/101 IP and IPv6 Routing with Bridging of Other Protocols ExampleIP and IPv6 routing can be configured on the same interface as shown in this example. All other packets are bridged. PPPoE could also be configured on this same interface. interface ATM1/0.1 point-to-point ipv6 enable ipv6 address 3FEE:12E1:2AC1:EA32::/64 ip address 10.0.0.1 255.255.255.0 atm route-bridged ipv6 atm route-bridged ip bridge-group 1 pvc 1/101 Static Configuration ExampleThe following example shows the IPv6 static route configured. Unlike IP, the IPv6 interface on an aggregator is always numbered and, minimally, has a link local IPv6 address. Router# configure terminal Router(config)# ipv6 route 3FEE:12E1:2AC1:EA32::/64 atm1/0.3 Router(config)# end show ipv6 interface ExampleNotice in this show ipv6 interface output display that each RBE link has its own subnet prefix. Unlike proxy ARP in IPv4 RBE configurations, the aggregator does not require proxy ND in IPv6 RBE deployments.
Router# show ipv6 interface atm1/0.1
ATM1/0.1 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::203:FDFF:FE3B:B400
Global unicast address(es):
3FEE:12E1:2AC1:EA32::, subnet is 3FEE:12E1:2AC1:EA32::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:0
FF02::1:FF3B:B400
MTU is 4470 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
Hosts use stateless autoconfig for addresses
Integrated Class-Based Weighted Fair Queueing and RBE on ATM ExampleThe following partial example configures a single PVC using AAL5SNAP encapsulation and class-based routing for traffic shaping on the interface where RBE is enabled. The following CBWFQ parameters are configured: access-list with different IP precedence, class map, policy map, and service policy. Different bandwidth classes are configured in the same policy. RBE base configuration: interface FastEthernet0 ip address 172.22.1.1 255.255.0.0 ! interface ATM0.1 point-to-point ip address 10.1.1.5 255.255.255.252 atm route-bridged ip pvc 88/800 encapsulation aal5snap ! interface ATM0.1 point-to-point ip address 10.1.1.1 255.255.255.252 atm route-bridged ip pvc 99/900 encapsulation aal5snap ! interface ATM0.1 point-to-point ip address 172.18.0.1 255.0.0.0 pvc 100/1000 ! router eigrp 100 network 10.1.0.0 network 172.18.0.0 network 172.22.0.0 . . . CBWFQ configuration: class-map match-all voice match access-group 105 ! policy-map voicedatapolicy class voice bandwidth 200 class class-default fair-queue random-detect ! interface Ethernet0 ip address 172.25.1.1 255.0.0.0 hold-queue 600 in hold-queue 100 out ! interface ATM0 no ip address no atm ilmi-keepalive dsl operating-mode auto ! interface ATM0.1 point-to-point ip address 10.2.3.4 255.255.255.0 atm route-bridged ip pvc 1/42 protocol ip 10.2.3.5 broadcast vbr-nrt 300 300 encapsulation aal5snap service-policy output voicedatapolicy . . . bba-group pppoeTo create a PPP over Ethernet (PPPoE) profile, use the bba-group pppoe command in global configuration mode. To delete a PPPoE profile, use the no form of this command. Usage GuidelinesPPPoE profiles contain the configuration for a group of PPPoE sessions. Once a profile has been defined, it can be assigned to a PPPoE port (Ethernet interface, VLAN, or PVC), a virtual circuit (VC) class, or an ATM PVC range. PPPoE profiles can also be used with PPP over ATM (PPPoA)/PPPoE autosense. Multiple PPPoE profiles can be created and assigned to different ports. The global PPPoE profile serves as the default profile for any port that has not been assigned a specific PPPoE profile. ExamplesThe following example shows the configuration of a global PPPoE profile and a profile called "vpn1". PPPoE sessions established on PVCs that use the VC class "class-pppoe-global" will use the global profile. PVCs in the range "range-pppoe-1" will use the "vpn1" profile. Router(config)# bba-group pppoe global Router(config-bba-group)# virtual-template 1 Router(config-bba-group)# sessions max limit 8000 Router(config-bba-group)# sessions per-vc limit 8 Router(config-bba-group)# sessions per-mac limit 2 ! Router(config-bba-group)# bba-group pppoe vpn1 Router(config-bba-group)# virtual-template 1 Router(config-bba-group)# sessions per-vc limit 2 Router(config-bba-group)# sessions per-mac limit 1 ! Router(config-bba-group)# vc-class atm class-pppoe-global Router(config-bba-group)# protocol pppoe ! Router(config-bba-group)# interface ATM1/0.10 multipoint Router(config-bba-group)# range range-pppoe-1 pvc 100 109 Router(config-bba-group)# protocol pppoe group vpn1 ! Router(config-bba-group)# interface ATM1/0.20 multipoint Router(config-bba-group)# class-int class-pppoe-global Router(config-bba-group)# pvc 0/200 Related Commands
call admission limitTo instruct Internet Key Exchange (IKE) to drop security association (SA) requests (that is, calls for Call Admission Control [CAC]) when a specified level of system resources is being consumed, use the call admission limit command in global configuration mode. To disable this feature, use the no form of this command. Usage GuidelinesTo prevent IKE processes from using excessive CPU resources, you can set a limit value depending on the network topology, the capabilities of the router, and the traffic patterns. ExamplesThe following example causes IKE to drop calls when a given level of system resources are being used:
Router(config)# call admission limit 90000
Related Commands
call admission loadTo configure a call admission control (CAC) metric for scaling WAN protocol session load, use the call admission load command in global configuration mode. To disable this feature, use the no form of this command. Command DefaultThe default values are 100 for the multiplier and 1 for the poll rate. These values should not be changed without guidance from Cisco technical personnel. Usage GuidelinesThis command enables CAC to limit overconsumption of Cisco IOS CPU cycles. On hardware-forwarded router platforms, established sessions tend not to consume much of the router processor resources, but there is a need to reduce resource utilization during session establishment, especially, to determine when a call cannot be handled and then to determine when it can be handled again. For the call admission load command, the router load is calculated when software routines average the current CPU utilization. The command is configured as a mathematical formula--call admission load multiplier metric-poll-rate--where CPU utilization is polled every metric-poll-rateseconds and multiplied by a multiplier, which is the scaling factor. This formula results in a metric value for the current router load determined by existing sessions. The value is compared to that set for the call admission limit command, and if it exceeds the value, the call is rejected; otherwise, the call is accepted.
ExamplesThe following example shows recommended settings for the call admission load and call admission limit commands on the Cisco 10000 ESR: Router(config)# call admission limit 90 Router(config)# call admission load 100 1 Related Commands
class-rangeTo assign a virtual circuit (VC) class to an ATM permanent virtual circuit (PVC) range, use the class-range command in PVC range configuration mode. To remove the VC class, use the no form of this command. Usage GuidelinesWhen you create a VC class for an ATM PVC range, you can use the following commands to define your parameters: abr, broadcast, cbr, encapsulation aal5, ilmi manage, inarp, oam-pvc, oam retry, protocol, ubr, ubr+, vbr-nrt, and vbr-rt. Parameters that are configured for a PVC range through discrete commands entered in PVC range configuration mode supersede VC class parameters assigned to an ATM PVC range using the class-range command. ExamplesIn the following example, a class called "classA" is created and then applied to an ATM PVC range called "range-pppoa-1": ! The following commands create the class classA: vc-class atm classA ubr 10000 encapsulation aal5snap ! The following commands apply classA to an ATM PVC range: interface atm 6/0.110 multipoint range range-pppoa-1 pvc 0/102 0/199 class-range classA clear call admission statisticsTo clear call admission control (CAC) statistics, use the clear call admission statistics command in privileged EXEC mode. Usage GuidelinesUse the clear call admission statistics command to clear statistics associated with CAC. ExamplesThe following example clears the CAC statistics shown in the show call admission statistics EXEC command report: Router# show call admission statistics Total call admission charges: 0, limit 25 Total calls rejected 150, accepted 51 Router# clear call admission statistics Clear call admission statistics [confirm]y Related Commands
clear ip http client cookieTo remove the HTTP client cookies, use the clear ip http client cookie command in privileged EXEC mode. Syntax Description
clear mpf interfaceTo clear Multi-Processor Forwarding (MPF) packet counts on all physical interfaces, use the clear mpf interface command in user EXEC or privileged EXEC mode. Usage GuidelinesThis command has no output. It resets the packet counters shown in the show mpf interface command output. ExamplesThe following example uses the clear mpf interface command to reset the packet counters displayed in the output of the show mpf interface command:
Router# clear mpf interface
Related Commands
clear mpf puntTo clear Multi-Processor Forwarding (MPF) per-box punt reason and counts, use the clear mpf puntcommand in user EXEC or privileged EXEC mode. Usage GuidelinesThis command clears all punt counters and implicitly generates show mpf punt output. It resets for each box or router chassis the punt packet counters shown in the show mpf puntcommand output. Packets that are punted are directed for Cisco IOS processing and are not accelerated by MPF. ExamplesThe following example clears the type of packets (Type), the reasons for the punt (Message), and the punt packet counts (Count) for the router chassis, then implicitly generates show mpf punt output.
Router# show mpf punt
Type Message Count
l2tp unknown session errors 7
l2tp L2TP control 6
ipv4/verify adjacency punt 1
ethernet unknown ethernet type 542
ppp punts due to unknown protocol 333
arp ARP request 6
Router# clear mpf punt
Type Message Count
arp ARP request 38
ethernet unknown ethernet type 591
l2tp unknown session errors 71790
l2tp unsupported output feature 24000
The table below describes the fields in the clear mpf punt output display. Related Commands
clear ppp subscriber statisticsTo clear PPP subscriber statistics and reset counters to zero, use the clear ppp subscriber statisticscommand in privileged EXEC mode. Usage GuidelinesUse the clear ppp subscriber statistics command to clear all PPP subscriber statistics and reset counters to zero. clear pppatm interface atmTo clear PPP ATM sessions on an ATM interface, use the clear pppatm interface atmcommand in privileged EXEC mode.
clear pppatm interface atm
interface-number
[sub-interface-number]
[vc{[ [vpif] ]vci virtual-circuit-name}]
Syntax Description
Usage GuidelinesThis command clears the PPP over ATM (PPPoA) sessions in an interface, or in a VC when the VC is specified. When the clear pppatm interface atmcommand is used to clear sessions on an interface, PPP keepalives continue to work and can be used to detect a broken link. clear pppatm statisticsTo clear PPP over ATM statistics and reset counters to zero, use the clear pppatm statisticscommand in privileged EXEC mode. Usage GuidelinesUse the clear pppatm statistics command to clear PPPoA statistics and reset counters to zero. clear pppoe
clear
pppoe
{interface type number [vc {[ [vpi/] ] vci | vc-name}] [vlan vlan-id] | rmac mac-address [sid session-id] | all}
Syntax Description
Command History
Usage GuidelinesUse the clear pppoe all command to clear all PPPoE sessions. Use the interface keyword and arguments and the vlan keyword and argument to clear PPPoE sessions on a specific Ethernet 802.1Q VLAN. Use the interface, vc, and vlan keywords and arguments to clear PPPoE over 802.1Q VLAN sessions on an ATM. clear pppoe derivedTo clear the cached PPP over Ethernet (PPPoE) configuration of a PPPoE profile and force the PPPoE profile to reread the configuration from the assigned subscriber profile, use the clear pppoe derived command in privileged EXEC mode. Usage GuidelinesA subscriber profile can be configured locally on the router or remotely on an authentication, authorization, and accounting (AAA) server. The PPPoE configuration that is derived from a subscriber profile is cached locally under the PPPoE profile. Use the clear pppoe derived command to clear the cached PPPoE configuration of a specified PPPoE profile and force the PPPoE profile to reread the configuration from the assigned subscriber profile. A subscriber profile contains a list of PPPoE service names. The PPPoE server will advertise the service names that are listed in the subscriber profile to each PPPoE client connection that uses the configured PPPoE profile. You can assign a subscriber profile to a PPPoE profile by using the service profile command in BBA group configuration mode. ExamplesThe following example clears the cached PPPoE configuration for PPPoE profile "group1". The PPPoE profile will reread the configuration from the subscriber profile that is assigned to that PPPoE profile.
Router# clear pppoe derived group1
Related Commands
clear pppoe relay contextTo clear the PPP over Ethernet (PPPoE) relay context created for relaying PPPoE Active Discovery (PAD) messages, use the clear pppoe relay contextcommand in privileged EXEC mode. clear pppoe statisticsTo clear PPP over Ethernet (PPPoE) statistics and reset counters to zero, use the clear pppoe statisticscommand in privileged EXEC mode. Usage GuidelinesUse the clear pppoe statistics command to clear all PPPoE statistic and reset counters to zero. connection request usernameconnection request passwordTo specify the password used to authenticate an auto-configuration server (ACS) which makes a connection request to a customer premise equipment (CPE), use the connection request passwordcommand in TR-069 Agent configuration mode. Syntax Descriptioncontrol-packets vlan cosTo set the 802.1P priority bits in 802.1Q frames containing PPP over Ethernet (PPPoE) control packets, use the control-packets vlan cos command in BBA group configuration mode. To remove the setting, use the no form of this command. Usage GuidelinesThis command allows the setting of class of service (CoS) values on PPPoE control packets to valid priority value compatible with IEEE 802.1P particularly for PPPoEo802.1Q, and PPPoE over QinQ. Settings for PPPoE control packets can differ depending on the BBA group that they are associated with. ExamplesIn the following examples, PPPoE control packets associated with BBA group global have a priority of 5, whereas PPPoE control packets associated with BBA group cisco have a priority of 2: Router(config)# bba-group pppoe global Router(config-bba-group)# control-packets vlan cos 5 Router(config)# bba-group pppoe cisco Router(config-bba-group)# control-packets vlan cos 2 The following example shows the setting of 802.1P priority bits in 802.1Q frames containing PPPoE:
Router(config-bba-group)# control-packets vlan cos
5
controller shdslTo configure a controller for single-pair high-bit-rate digital subscriber line (SHDSL) mode, use the controller shdslcommand in global or controller configuration mode. Cisco HWIC-4SHDSL and HWIC-2SHDSL
controller
shdsl
slot
number
subslot
number
port
number
Cisco IAD2420 Series
controller
shdsl
number
Syntax Description
Command ModesCisco HWIC-4SHDSL and HWIC-2SHDSL
Cisco IAD2420 Series
Cisco HWIC-4SHDSL and HWIC-2SHDSLThe following example uses the controller shdsl command to configure a Cisco HWIC-4SHDSL installed in a Cisco access router, controller number 0, subslot 2, port number 0); the example enters controller configuration mode: Router(config)# controller shdsl 0/2/0 Router(config-controller)# cwmp agentcwmp wanTo define the WAN interfaces on the customer premises equipment (CPE), use the cwmp wan command in interface configuration mode. Usage GuidelinesAny interface without this command is considered a LAN interface by TR-069 protocol. There can be multiple WAN and LAN interfaces configured on the CPE. By default, an ATM interface on the CPE will be considered a WAN interface by the TR-069 protocol. cwmp wan defaultTo define the default WAN interfaces on the customer premises equipment (CPE), use the cwmp wan defaultcommand in interface configuration mode. Usage GuidelinesAmong the multiple WAN interfaces, there can be only one default WAN interface in which the TR-069 communication will happen. If you try to configure this command on multiple interfaces, only the latest configuration will be active and the previous default WAN interface will become a WAN interface, ensuring only one interface is the default at any point in time. dialer-groupTo control access by configuring an interface to belong to a specific dialing group, use the dialer-group command in interface configuration mode. To remove an interface from the specified dialer access group, use the no form of this command. Usage GuidelinesAn interface can be associated with a single dialer access group only; multiple dialer-group assignment is not allowed. A second dialer access group assignment will override the first. A dialer access group is defined with the dialer-group command. The dialer-list command associates an access list with a dialer access group. Packets that match the dialer group specified trigger a connection request. ExamplesThe following example specifies dialer access group number 1. The destination address of the packet is evaluated against the access list specified in the associated dialer-list command. If it passes, either a call is initiated (if no connection has already been established) or the idle timer is reset (if a call is currently connected). interface async 1 dialer-group 1 access-list 101 deny igrp 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.0 access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 dialer-list 1 protocol ip list 101 dialer-list protocolTo define a dial-on-demand routing (DDR) dialer list for dialing by protocol or by a combination of a protocol and a previously defined access list, use the dialer-list protocol command in global configuration mode. To delete a dialer list, use the no form of this command.
dialer-list
dialer-group
protocol
protocol-name
{permit | deny | list access-list-number | access-group}
no
dialer-list
dialer-group
[protocol protocol-name [list access-list-number | access-group]]
Syntax Description
Command HistoryUsage GuidelinesThe various noforms of this command have the following effects:
The dialer-list protocol command permits or denies access to an entire protocol. The dialer-list protocol listcommand provides a finer permission granularity and also supports protocols that were not previously supported. The dialer-list protocol list command applies protocol access lists to dialer access groups to control dialing using DDR. The dialer access groups are defined with the dialer-groupcommand. The table below lists the access list types and number range that the dialer-list protocol listcommand supports. The table does not include International Organization for Standardization (ISO) Connectionless Network Services (CLNS) or IPv6 because those protocols use filter names instead of predefined access list numbers.
ExamplesDialing occurs when an interesting packet (one that matches access list specifications) needs to be output on an interface. Using the standard access list method, packets can be classified as interesting or uninteresting. In the following example, Integrated Gateway Routing Protocol (IGRP) TCP/IP routing protocol updates are not classified as interesting and do not initiate calls: access-list 101 deny igrp 0.0.0.0 255.255.255.255 255.255.255.255 0.0.0.0 The following example classifies all other IP packets as interesting and permits them to initiate calls: access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 Then the following command places list 101 into dialer access group 1: dialer-list 1 protocol ip list 101 In the following example, DECnet access lists allow any DECnet packets with source area 10 and destination area 20 to trigger calls: access-list 301 permit 10.0 0.1023 10.0 0.1023 access-list 301 permit 10.0 0.1023 20.0 0.1023 Then the following command places access list 301 into dialer access group 1: dialer-list 1 protocol decnet list 301 In the following example, both IP and VINES access lists are defined. The IP access lists define IGRP packets as uninteresting, but permits all other IP packets to trigger calls. The VINES access lists do not allow Routing Table Protocol (RTP) routing updates to trigger calls, but allow any other data packets to trigger calls. access-list 101 deny igrp 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 ! vines access-list 107 deny RTP 00000000:0000 FFFFFFFF:FFFF 00000000:0000 FFFFFFFF:FFFF vines access-list 107 permit IP 00000000:0000 FFFFFFFF:FFFF 00000000:0000 FFFFFFFF:FFFF Then the following two commands place the IP and VINES access lists into dialer access group 1: dialer-list 1 protocol ip list 101 dialer-list 1 protocol vines list 107 In the following example, a CLNS filter is defined and then the filter is placed in dialer access group 1: clns filter-set ddrline permit 47.0004.0001.... ! dialer-list 1 protocol clns list ddrline The following example configures an IPv6 access list named list2 and places the access list in dialer access group 1: ipv6 access-list list2 deny fec0:0:0:2::/64 any ipv6 access-list list2 permit any any ! dialer-list 1 protocol ipv6 list list2 Related Commands
dsl enable-training-logTo enable the retrieval of the digital subscriber line (DSL) training log, use the dsl enable-training-log command in interface configuration mode. To disable the retrieval of the DSL training log use the no form of this command. Syntax Description
Usage GuidelinesThe training log records the events that occur when the router trains or negotiates communication parameters with the DSL access multiplexer (DSLAM). Use this command to enable collection of the DSL logs. Enabling the training log uses 1 MB of memory. Cisco recommends using the training log for debugging purposes only.
dsl equipment-typeTo configure the digital subscriber line (DSL) ATM interface to function as central office or customer premises equipment, use the dsl equipment-type command in interface configuration mode. To restore the default equipment type, use the no form of this command. Command History
Usage GuidelinesThis configuration command applies to a specific ATM interface. You must specify the ATM interface before you enter this command. The ATM interface must be in the shutdown state before you enter this command. ExamplesThe following example shows how to configure DSL ATM interface 1/1 to function as central office equipment: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface atm 1/1 Router(config-if)# dsl equipment-type co ignore-error-duration 18'''' Router(config-if)# end Router# clear interface atm 0 /1 dsl gain-setting rx-offsetTo add an offset to the receive (Rx) gain in a modem, use the dsl gain-setting rx-offsetcommand in global configuration mode. Usage GuidelinesIn most cases this command does not need to be used because the default value should be adequate. If the service provider improves the line rates, as often happens, using this and other DSL commands will not improve the DSL performance. ExamplesThe following example shows how to add an offset of -2 to the receive (Rx) gain of the modem: dsl gain-setting rx-offset -2 Related Commands
dsl gain-setting tx-offsetTo add an offset to the transmit gain in a modem, use the dsl gain-setting tx-offsetcommand in global configuration mode. Usage GuidelinesIn most cases this command does not need to be used because the default value should be adequate. If the service provider improves the line rates, as often happens, using this and other DSL commands will not improve the DSL performance. ExamplesThe following example shows how to add an offset of .5 to the transmit (Tx) gain of the modem: dsl gain-setting tx-offset .5 Related Commands
dsl linerateTo specify a line rate for the digital subscriber line (DSL) ATM interface, use the dsl lineratecommand in interface configuration mode. To restore the default line rate, use the no form of this command. Syntax Description
Command DefaultThe DSL ATM interface automatically synchronizes its line rate with the far-end DSLAM or WIC. Usage GuidelinesThis configuration command applies to a specific ATM interface. You must specify the ATM interface before you enter this command. The ATM interface must be in the shutdown state before you enter this command. ExamplesThe following example shows how to configure DSL ATM interface 0/1 to operate at a line rate of 1040 kbps. Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface atm 0/1 Router(config-if)# dsl linerate 1040 Router(config-if)# end Router# clear interface atm 0 / 1 dsl lomdsl max-tone-bitsTo set a limit on the number of bits that are loaded into each upstream tone, use the dsl max-tone-bitscommand in global configuration mode. Usage GuidelinesIn most cases this command does not need to be used because the default value should be adequate. If the service provider improves the line rates, as often happens, using this and other DSL commands will not improve the DSL performance. ExamplesThe following example sets 10 as the maximum number of bits to be loaded into each upstream tone: dsl max-tone-bits 10 Related Commands
dsl noise-marginTo add an offset to the receive (Rx) target noise margin of a modem, use the dsl noise-margincommand in global configuration mode. Usage GuidelinesIn most cases this command does not need to be used because the default value should be adequate. If the service provider improves the line rates, as often happens, using this and other digital subscriber line (DSL) commands will not improve the DSL performance. ExamplesThe following example shows how to add an offset of -0.5 to the noise margin: dsl noise-margin -.5 Related Commands
dsl operating-modeTo configure the (DSL) operating mode, use the dsl operating-mode command in interface configuration mode on Annex A and Annex M interfaces. dsl operating-mode {adsl2 [annex a | annex m] | adsl2+ [annex a | annex m] | ansi-dmt | auto | itu-dmt} The router continues switching between modes, in sequence, until the router reaches the state showtime (which signifies that the connection attempt was successful) and connects using one of the modes. This switching process is designed specifically for expediting DSL performance. Syntax Description
Usage GuidelinesIn the default auto mode, a router first tries to connect using the configured ITU operating modes. If the connection fails, the router tries with ANSI/ETSI mode for the allowed number of seconds (2 seconds by default). This time can be modified with the dsl sync interval command. If this command fails, the router tries ITU mode again for the allotted number of seconds (2 seconds by default). The router can be forced to try connecting with ANSI mode first by using the dsl sync mode ansi command. If this also fails, the router tries ITU mode again for 3 seconds or the interval specified by dsl sync interval. If that fails, the router repeats the cycle mode, including any modes other than ansi mentioned above. If the router is forced to connect in a mode other than auto, you must use DSL operating-mode with the attribute auto to set the router back to the default auto mode. The router continues switching between modes, in sequence as described, until the router reaches the showtime state (which signifies that the connection attempt is successful) and connects, using one of the modes. This switching process is designed specifically for expediting DSL performance. dsl operating-mode (ADSL over ISDN)To specify the operating mode of the digital subscriber line (DSL) for an ATM interface, use the dsl operating-mode command in interface configuration mode. To restore the default operating mode, use the no form of this command. Syntax Description
Usage GuidelinesIn auto mode, a modem first tries to connect using etsi mode. If the connection fails, the modem retries a set number of times. If the modem fails to connect after several retries using etsi mode, the modem automatically switches to annexb-ur2 mode and tries several times to connect using annexb-ur2 mode. If the modem fails to connect after several retries using annexb-ur2 mode, the modem automatically switches back to etsi mode and tries to connect. The modem continues switching between modes, in sequence as described, until the modem reaches the state SHOWTIME (which signifies that the connection attempt was successful) and connects using one of the modes. This switching process is designed specifically for expediting DSL modem performance. dsl operating-mode gshdslTo specify the operating mode of the digital subscriber line (DSL) for an ATM interface, use the dsl operating-mode command in interface configuration mode. To restore the default operating mode, use the no form of this command. Command History
Usage GuidelinesThis configuration command applies to a specific ATM interface. You must specify the ATM interface before you enter this command. The ATM interface must be in the shutdown state before you enter this command. ExamplesThe following example shows how to configure DSL ATM interface 0/0 to operate in G.SHDSL mode: Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# interface atm 0/0 Router(config-if)# dsl operating-mode gshdsl symmetric annex A Router(config-if)# end Router# clear interface atm 0/1 dsl power-cutbackTo set the maximum noise margin that can occur on a digital subscriber line (DSL) before a power cutback happens, use the dsl power-cutback command in interface configuration mode. To reset the maximum noise margin to the default value of 31, use the no form of this command. dsl-mode shdsl symmetric annexTo specify the operating mode of the digital subscriber line (DSL) controller, use the dsl-mode shdsl symmetric annexcommand in controller configuration mode. To specify the line coding type of the DSL controller, use the dsl-mode shdsl symmetric annex codingcommand in controller configuration mode. To return the DSL to the default Annex A, use the no form of the command.
dsl-mode
shdsl
symmetric
annex
mode
[coding type]
no
dsl-mode
shdsl
symmetric
annex
mode
[coding type]
Syntax DescriptionThe annex defaults to A for North America. Command HistoryUsage GuidelinesThis command is used to configure the DSL controller interface to operate in a specified DSL mode and to set regional operating parameters. The shdsl keyword is used to set the mode to SHDSL and configures multirate, high-speed DSL per ITU G.991.2. The symmetric keyword configures the controller to symmetric mode. The annex keyword configures the controller to use regional operating parameters. The regional operating parameters default to North America. The coding keyword configures the controller Trellis Encoded Pulse Amplitude Modulation (TCPAM) line coding type. ExamplesThe following example displays the use of the controller dsl 0/0commandto configure the controller in the router configured on the central office (CO) side. Use the dsl-mode shdsl symmetric annex bcommand to configure the controller for multirate, high-speed DSL with symmetric mode for European operating parameters. Router# configure terminal Router(config)# controller dsl 0/0 Router(config-controller)# line-term co Router(config-controller)# dsl-mode shdsl symmetric annex b Router(config-controller)# mode atm Router(config-controller)# 00:22:07: %CONTROLLER-5-UPDOWN: Controller DSL 0/0, changed state to down Router(config-controller)# line-mode 4-wire 00:23:25: %CONTROLLER-5-UPDOWN: Controller DSL 0/0, changed state to up 00:23:31: %LINK-3-UPDOWN: Interface ATM0/0, changed state to up 00:23:32: %LINEPROTO-5-UPDOWN: Line protocol on Interface ATM0/0, changed state to up The following example uses the dsl-mode shdsl symmetric annex command to configure the controller for 2-wire line 0, annex F, AUTO-TCPAM line coding. Router> enable Router# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# controller dsl 0 Router(config-controller)# line-mode 2-wire line-zero Router(config-controller)# dsl-mode shdsl symmetric annex f coding ? 16bit-TCPAM 16bit-TCPAM line coding 32bit-TCPAM 32bit-TCPAM line coding AUTO-TCPAM AUTO-TCPAM line coding Router(config-controller)# dsl-mode shdsl symmetric annex f coding auto-tcpam Router(config-controller)# Router# ip http digest algorithmip mpfTo enable Multi-Processor Forwarding (MPF) on the second CPU of a Cisco 7200 VXR and Cisco 7301 routers, use the ip mpf command in global configuration mode. To disable MPF, use the no form of this command. Usage GuidelinesThis command allows you to disable and reenable MPF. MPF is enabled by default on the second CPU (CPU1). The special MPF image is bundled together with the Cisco IOS image and must be purchased. Because MPF is enabled by default when the special MPF image is booted up, if CEF is not enabled, MPF is not enabled and boots up with an error message in the error log. ExamplesThe following example disables MPF on the second CPU: Router(config)# no ip mpf The following configuration example shows a system where CEF is disabled and the resulting error message showing that MPF cannot be enabled: 00:00:13:%MPF-4-NOIPCEF:MPF disabled due to IP CEF disabled 00:00:13:%MPF-6-MODULE:CPU 1 switching module is ready The following configuration example shows that 1) CEF cannot be disabled until MPF is disabled first; and 2) MPF cannot be enabled until CEF is enabled first: Router(config)# no ip cef %Cannot disable CEF on this platform Router(config)# no ip mpf Router(config)# no ip cef Router(config)# ip mpf %Can not enable MPF when CEF is disabled. Router(config)# ip cef Router(config)# ip mpf Related Commands
ip tcp adjust-mssTo adjust the maximum segment size (MSS) value of TCP synchronize/start (SYN) packets going through a router, use the ip tcp adjust-mss command in interface configuration mode. To return the MSS value to the default setting, use the no form of this command. Command History
Usage GuidelinesWhen a host (usually a PC) initiates a TCP session with a server, it negotiates the IP segment size by using the MSS option field in the TCP SYN packet. The value of the MSS field is determined by the maximum transmission unit (MTU) configuration on the host. The default MSS value for a PC is 1500 bytes. The PPP over Ethernet (PPPoE) standard supports an MTU of only 1492 bytes. The disparity between the host and PPPoE MTU size can cause the router in between the host and the server to drop 1500-byte packets and terminate TCP sessions over the PPPoE network. Even if the path MTU (which detects the correct MTU across the path) is enabled on the host, sessions may be dropped because system administrators sometimes disable the Internet Control Message Protocol (ICMP) error messages that must be relayed from the host in order for path MTU to work. The ip tcp adjust-mss command helps prevent TCP sessions from being dropped by adjusting the MSS value of the TCP SYN packets. The ip tcp adjust-mss command is effective only for TCP connections passing through the router. In most cases, the optimum value for the max-segment-size argument is 1452 bytes. This value plus the 20-byte IP header, the 20-byte TCP header, and the 8-byte PPPoE header add up to a 1500-byte packet that matches the MTU size for the Ethernet link. If you are configuring the ip mtu command on the same interface as the ip tcp adjust-mss command, we recommend that you use the following commands and values: ExamplesThe following example shows the configuration of a PPPoE client with the MSS value set to 1452: vpdn enable no vpdn logging ! vpdn-group 1 request-dialin protocol pppoe ! interface Ethernet0 ip address 192.168.100.1 255.255.255.0 ip tcp adjust-mss 1452 ip nat inside ! interface ATM0 no ip address no atm ilmi-keepalive pvc 8/35 pppoe client dial-pool-number 1 ! dsl equipment-type CPE dsl operating-mode GSHDSL symmetric annex B dsl linerate AUTO ! interface Dialer1 ip address negotiated ip mtu 1492 ip nat outside encapsulation ppp dialer pool 1 dialer-group 1 ppp authentication pap callin ppp pap sent-username sohodyn password 7 141B1309000528 ! ip nat inside source list 101 interface Dialer1 overload ip route 0.0.0.0 0.0.0.0 Dialer1 access-list 101 permit ip 192.168.100.0 0.0.0.255 any logging rate-limitTo limit the rate of messages logged per second, use the logging rate-limit command in global configuration mode . To disable the limit, use the no form of this command.
logging
rate-limit
{number | all number | console {number | all number}}
[except severity]
no
logging
rate-limit
Syntax Description
Command History
Usage GuidelinesThe logging rate-limit command controls the output of messages from the system. Use this command to avoid a flood of output messages. You can select the severity of the output messages and the output rate by using the logging rate-limit command. You can issue the logging rate-limit command at any time. System performance is not negatively affected and may improve when severities and rates of output messages are specified. You can use logging rate-limit command with or without the logging synchronous line configuration command. For example, if you want to see all severity 0, 1, and 2 messages, use the no logging synchronous command and specify logging rate-limit 10 except 2. By using the two commands together, you cause all messages of 0, 1, and 2 severity to print and limit the less severe ones (higher number than 2) to only 10 per second. The table below shows the numeric severity level, equivalent meaning in text, and a description for error messages.
Cisco 10000 Series Router To avoid CPU overload and router instability, use the logging rate-limit command to limit the rate at which the Cisco 10000 series router logs system messages. To increase the Point-to-Point Protocol call rate, you can turn off console logging completely using the no logging console command. limit pado service-nameTo limit the service-name provided in the PPP over Ethernet Active Discovery Offer ( PADO) message to the service-name received in the PPP Protocol over Ethernet Active Discovery Initiation ( PADI) message, use the limit pado service-name command in BBA group configuration mode. To disable this configuration, use the no form of this command. Usage GuidelinesThis command when enabled limits the service-name provided in the PADO message to the service name received in the PADI message, regardless of the number of service name configured for the BBA group. This command works in conjunction with the service name match command. ExamplesIn the following example, the service name provided in the PADO message is limited to the service name received in the PADI message:
Router(config-bba-group)# limit pado service-name
Related Commands
© 2012 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|