Table Of Contents
Advanced Router Configuration
Configuring Support for PPP over Ethernet
Configuring PPPoE Client Support
Configuration Example
Configuring TCP Maximum Segment Size for PPPoE
Configuration Example
Configuring Low Latency Queuing and Link Fragmentation and Interleaving
Configuring Low Latency Queuing
Configuring LFI
Configuring Class-Based Traffic Shaping to Support Low Latency Queuing
Configuring CBTS for LLQ
Configuration Example
Configuring the Length of the PVC Transmit Ring
Configuration Example
Configuring DHCP Server Import
Configuration Examples
Configuring IP Control Protocol Subnet Mask Delivery
Configuration Examples
Configuring the Service Assurance Agent
Configuring Secure Shell
Configuring IP Named Access Lists
Configuring International Phone Support
Configuration Example
International Tone, Cadence, Ring Frequency, and Impedance Support
Configuring a Regional Analog Voice Tone
Configuring an FXS Ring Cadence
Configuring the FXS Voice Port Ring Frequency
Configuring the Terminating Impedance
International Caller ID Support
Configuring the FXS Port for Caller ID
Configuring Caller ID Alerting
Configuring Caller ID Display Blocking
Configuring Committed Access Rate
Configuration Example
Configuring VPN IPSec Support Through NAT
NAT Default Inside Server Enhancement
Configuration Example
Configuring VoAAL2 ATM Forum Profile 9 Support
Configuring ATM Forum Profile 9
Configuration Example
Configuring ATM OAM F5 Continuity Check Support
Configuring Continuity Checking on a PVC
Configuration Example
Configuring CC Activation and Deactivation Request Frequency
Configuration Example
Disabling CC Support on the VC
Configuration Example
Configuring Continuity Checking Debugging
Configuring Generation of End-to-End F5 OAM Loopback Cells
Example Output
Configuring RADIUS Support
Configuring Cisco Easy VPN Client
Configuration Example
Configuring Dial-on-Demand Routing for PPPoE Client
Configuring DDR for a PPPoE Client
Configuring Weighted Fair Queuing
Configuring WFQ
Example Configuration
Configuring DSL Commands
Configuration Example
Enabling the DSL Training Log
Retrieving the DSL Training Log and Then Disabling Further Retrieval of the Training Log
Selecting Secondary DSL Firmware
Output Example
Configuration Example
Configuring DNS-Based X.25 Routing
Configuring X.25 Load Balancing
Configuring X.25 Closed User Group
Configuring FTP Client
Configuring Authentication Proxy
Configuring Port to Application Mapping
Configuring CBAC Audit Trails and Alerts
Advanced Router Configuration
This chapter includes advanced configuration procedures for the Cisco 800 series and Cisco SOHO series routers.
Note
Every feature described is not necessarily supported on every router model. Where possible and applicable, these feature limitations will be listed.
If you prefer to use network scenarios to build a network, see Chapter 4, "Network Scenarios." For basic router configuration topics, see Chapter 7, "Router Feature Configuration."
This chapter contains the following sections:
•
Configuring Support for PPP over Ethernet
•
Configuring TCP Maximum Segment Size for PPPoE
•
Configuring Low Latency Queuing and Link Fragmentation and Interleaving
•
Configuring LFI
•
Configuring Class-Based Traffic Shaping to Support Low Latency Queuing
•
Configuring the Length of the PVC Transmit Ring
•
Configuring DHCP Server Import
•
Configuring IP Control Protocol Subnet Mask Delivery
•
Configuring the Service Assurance Agent
•
Configuring Secure Shell
•
Configuring IP Named Access Lists
•
Configuring International Phone Support
•
Configuring Committed Access Rate
•
Configuring VPN IPSec Support Through NAT
•
NAT Default Inside Server Enhancement
•
Configuring VoAAL2 ATM Forum Profile 9 Support
•
Configuring ATM OAM F5 Continuity Check Support
•
Configuring RADIUS Support
•
Configuring Cisco Easy VPN Client
•
Configuring Dial-on-Demand Routing for PPPoE Client
•
Configuring Weighted Fair Queuing
•
Configuring DSL Commands
•
Configuring FTP Client
•
Configuring Authentication Proxy
•
Configuring Port to Application Mapping
•
Configuring CBAC Audit Trails and Alerts
Each section includes a configuration example and verification steps, as available.
In some instances, certain features are supported across all Cisco 800 series and Cisco SOHO series router models. Router model feature restrictions or requirements are also listed in each applicable section in this chapter.
Configuring Support for PPP over Ethernet
The following sections describe how to configure support for PPP over Ethernet (PPPoE).
•
Configuring PPPoE Client Support
•
Configuring TCP Maximum Segment Size for PPPoE
Configuring PPPoE Client Support
PPPoE is supported on the following Cisco routers:
•
Cisco 806 and 831
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
The PPPoE client is supported on an ATM permanent virtual circuit (PVC). Only one PPPoE client is supported on a single ATM PVC.
Follow these steps to configure the router for PPPoE client support:
Step 1
Configure the virtual private dialup network (VPDN) group number.
a.
Enter the vpdn enable command in global configuration mode.
b.
Configure the VPDN group by entering the vpdn group tag command.
c.
Specify the dialing direction by entering the request-dialin command in the VPDN group.
d.
Specify the type of protocol in the VPDN group by entering the protocol pppoe command.
Step 2
Configure the ATM interface with PPPoE support.
a.
Configure the ATM interface by entering the interface atm 0 command.
b.
Specify the ATM PVC by entering the pvc number command.
c.
Configure the PPPoE client and specify the dialer interface to use for cloning by entering the pppoe-client dial-pool-number number command.
Step 3
Configure the dialer interface by entering the int dialer number command.
a.
Configure the IP address as negotiated by entering the ip address negotiated command.
b.
(Optional) Configure authentication for your network by entering the ppp authentication protocol command.
c.
Configure the dialer pool number by entering the dialer pool number command.
d.
Configure the dialer-group number by entering the dialer-group number command.
e.
Configure a dialer list corresponding to the dialer-group by entering the dialer-list 1 protocol ip permit command.
Note
Multiple PPPoE clients can run on a different PVCs, in which case each client has to use a separate dialer interface and a separate dialer pool, and the PPP parameters need to be applied on the dialer interface.
A PPPoE session is initiated on the client side by the network. If the session has a timeout or is disconnected, the PPPoE client immediately attempts to reestablish the session.
If you enter the clear vpdn tunnel pppoe command with a PPPoE client session already established, the PPPoE client session stops, and the PPPoE client immediately tries to reestablish the session.
Configuration Example
The following example shows a configuration of a PPPoE client.
pppoe-client dial-pool-number 1
Configuring TCP Maximum Segment Size for PPPoE
The configuring TCP maximum segment size for PPP over Ethernet feature is supported on the following Cisco routers:
•
Cisco 806 and 831
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
If a Cisco router terminates the PPPoE traffic, a computer connected to the Ethernet interface may have problems accessing websites. The solution is to manually reduce the maximum transmission unit (MTU) configured on the computer by constraining the TCP maximum segment size (MSS). Enter the following command on the router's Ethernet 0 interface:
where mss is 1452 or less.
Configuration Example
The following example shows a configuration of a PPPoE client.
ip address 192.168.100.1 255.255.255.0
pppoe-client dial-pool-number 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
Configuring Low Latency Queuing and Link Fragmentation and Interleaving
Low latency queuing (LLQ) provides a low-latency, strict-priority transmit queue for voice over IP (VoIP) traffic.
LLQ is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco 828
Link fragmentation and interleaving (LFI) reduces voice traffic delay and jitter by fragmenting large data packets and interleaving voice packets within the data fragments.
Configuring Low Latency Queuing
Follow the steps below to configure the router for LLQ :
Step 1
Ensure that the voice and data packets have different IP precedence values so that the router can differentiate between them. Normally, data packets should have an IP precedence of 0, and voice packets should have an IP precedence of 5. If the VoIP packets are generated from within the router, you may set the IP precedence to 5 for these packets by entering the ip precedence number command in dial-peer voice configuration mode as follows:
a.
Enter the global configuration dial-peer voice 1 voip command.
b.
Enter the ip precedence 5 command.
Step 2
Create an access list and a class map for the voice packets.
a.
Create an access list by entering the access-list 101 permit ip any any precedence 5 command.
b.
Create a class map for the voice packets by entering class-map match-all voice command.
c.
Link the class map to the access list by entering the match access-group 101 command.
Step 3
Create LLQ for voice traffic.
a.
Create a policy map by entering the policy-map mypolicy command.
b.
Define the class by entering the class voice command.
c.
Assign the priority bandwidth to the voice traffic. The priority bandwidth assigned to the voice traffic depends on the codec used and the number of simultaneous calls that you allow. For example, a G.711 codec call consumes 200 kbps; therefore, to support one G.711 voice call you would enter a priority 200 command.
Step 4
Attach LLQ to the dialer interface.
a.
Enter the global configuration interface dialer 1 command.
b.
Create a service policy by entering the service-policy out mypolicy command.
Configuring LFI
Follow the steps below to configure the router for LFI.
Note
When you are configuring LFI, the data fragment size must be greater than the voice packet size; otherwise, the voice packets fragment, and voice quality deteriorates.
Step 1
Configure the dialer bandwidth. The dialer interface has a default bandwidth of 56 kbps, which may be less than the upstream bandwidth of your digital subscriber line (DSL) connection. You can find the upstream bandwidth of your DSL connection by entering the show dsl interface atm0 command in dialer interface configuration mode. If you have two or more PVCs sharing the same DSL connection, the bandwidth configured for the dialer interface must be the same as the bandwidth allocated to its assigned PVC.
Step 2
Enable PPP multilink, and configure fragment delay and interleaving for the dialer interface.
a.
Enter the global configuration interface dialer 1 command.
b.
Specify the dialer bandwidth by entering the bandwidth 640 command. The bandwidth is specified in kilobits per second (kbps).
c.
Enter the ppp multilink command.
d.
Specify PPP multilink interleaving by entering the ppp multilink interleave command.
e.
Define the fragment delay by entering the ppp multilink fragment-delay 10 command.
f.
Calculate the fragment size using the following formula:
fragment size = (bandwidth in kbps/ 8) * fragment-delay in milliseconds (ms)
In this case, the fragment size = (640/8) * 10, resulting in a fragment size of 800. The fragment size is greater than the maximum voice packet size of 200, which is G.711 20 ms. A low fragment delay corresponds to a fragment size that may be smaller than the voice packet size, resulting in reduced voice quality.
Configuring Class-Based Traffic Shaping to Support Low Latency Queuing
Class-based traffic shaping (CBTS) is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 831
CBTS can be used to control the WAN interface traffic transmission speed to match the speed of the attached broadband modem or of the remote target interface. CBTS ensures that the traffic conforms to the policies configured for it, thereby eliminating topology bottlenecks with data-rate mismatches.
The shape average kbps and the shape peak kbps commands enable you to define traffic shaping for an interface.
Note
CBTS is supported on the Ethernet 1 interface.
Configuring CBTS for LLQ
Follow the steps below to configure CBTS, beginning in global configuration mode. This procedure shows how to create multiple traffic classes and associate them with policy maps, and then to associate the policy maps with a router interface.
Step 1
Define a traffic classification.
a.
Enter the class-map map-name command to define a traffic classification. For example, the name voice could be used to specify that this is a class map for voice traffic.
b.
Now in class configuration mode, enter the match ip precedence 5 command to match all IP voice traffic with a precedence of 5. Cisco Architecture for Voice, Video and Integrated Data (AVVID) documentation specifies a precedence value of 5 for voice-over-IP traffic.
c.
Enter exit to leave class configuration mode.
Step 2
Define a policy map and associated classes for low-latency queuing.
a.
Enter the policy-map map-name command in global configuration mode to construct policies and to allocate different network resources for the defined traffic classes. The name LLQ could be used to specify that this is the policy map for LLQ.
b.
Now in policy-map mode, define a class to handle voice traffic by entering class QOS-class-name, using the class-map name you defined using the class-map command in Step 1. This command places the router in QOS-class configuration mode.
c.
Enter priority number, where number is bandwidth in kilobits per second. A value of 300, as shown in the example configuration, provides enough bandwidth for two G.711 voice ports. Before setting a priority value, refer to the specification for the CODEC used for voice calls.
d.
Enter exit to return to policy-map configuration mode.
e.
Enter class class-default to use the default class for all traffic other than voice traffic. The name class-default is well known, and does not have to be predefined using the class-map command.
f.
Apply WFQ to non-voice traffic by entering the fair-queue command.
g.
Enter exit twice to return to global configuration mode.
Step 3
Define a traffic-shaping policy map.
a.
Enter policy-map map-name in global configuration mode. The name shape should be used to indicate this map defines overall traffic shaping that is compatible with the remote transmission rate bandwidth.
b.
Enter class class-default to associate the default class with this policy map.
c.
Set the transmission speed to be used after traffic shaping to match the speed of the broadband modem or remote interface by entering the shape average kbps command, where kbps is a value in kilobits per second.
Caution 
The transmission speed entered must be less than or equal to the TX bandwidth of the DSL or cable modem to which the router is attached. Specifying a value greater than the modem's TX bandwidth will result in the modem's becoming congested, and the benefits of applying QOS might be lost.
d.
Enter service-policy name to associate the LLQ policy map with the traffic-shaping policy map. If the map name for the low-latency queue were LLQ, then name would be LLQ.
e.
Enter exit twice to return to global configuration mode.
Step 4
Apply these policies to the Ethernet 1 interface.
a.
Enter the interface Ethernet 1 command.
b.
Apply the service policy to the Ethernet 1 interface by entering service-policy output name, where name matches the policy defined in the traffic-shaping policy map. If the traffic-shaping policy map name were shape, the service-policy name would also be shape.
Step 5
Enter end to leave router configuration mode.
Configuration Example
The following example shows how a Cisco 806 router can be configured to connect to a broadband modem with limited bandwidth, while ensuring voice line quality. Two policy maps are configured:
•
Policy map LLQ
•
Policy map shape
Policy map LLQ ensures that voice traffic has a strict priority queue with bandwidth of up to 300 kbps. The policy map shape limits the total throughput to 2.2 MBps.
service timestamps debug uptime
service timestamps log uptime
no service password encryption
class-map match-all voice
ip address 1.7.65.11 255.255.0.0
ip address 192.168.1.101 255.255.255.0
service-policy output shape
scheduler max-task-time 5000
Configuring the Length of the PVC Transmit Ring
The length of the PVC transmit ring can be configured on the following Cisco routers:
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
If both voice and data packets share the same PVC, it is important to reduce the PVC transmit (TX) ring size. This reduces the maximum number of data packets and fragments that can be in front of a voice packet in the hardware queue, thus reducing latency.
Follow these steps to reduce the PVC TX ring size:
Step 1
Enter the global configuration int atm 0 command.
Step 2
Specify the PVC number by entering the pvc 1/100 command.
Step 3
Reduce the PVC TX ring size to 3 by entering the tx-ring-limit 3 command.
Configuration Example
The following example combines LFI, LLQ, and the PVC TX ring configurations.
class-map match-all voice
ip address 70.0.0.1 255.255.255.0
interface ATM0.1 point-to-point
encapsulation aal5mux ppp dialer
ip address 60.0.0.1 255.255.255.0
service-policy output mypolicy
ppp multilink fragment-delay 10
access-list 101 permit ip any any precedence 5
destination-pattern 1105555
destination-pattern 2105555
session target ipv4:60.0.0.2
Configuring DHCP Server Import
The Cisco IOS DHCP server has been enhanced to allow configuration information to be updated automatically by PPP. You can enable PPP to automatically configure the Domain Name System (DNS), the Windows Information Name Server (WINS), or the NetBIOS Name Service (NBNS), and the server IP address information within a Cisco IOS DHCP server pool.
This feature is supported on the following Cisco routers:
•
Cisco 806 and 831
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96 and SOHO 97
•
Cisco 828
Follow the steps below to configure the Cisco router for DHCP server import:
Step 1
Configure the asynchronous transfer mode (ATM) interface and the asymmetric digital subscriber line (ADSL) operating mode.
Step 2
Create an ATM PVC for data traffic, enter virtual circuit configuration mode, and specify the virtual path identifier/virtual channel identifier (VPI/VCI) values, the encapsulation type, and the dial-pool member.
Step 3
Create a dialer interface.
a.
Enter configuration mode for the dialer interface.
b.
Specify the MTU size as 1492.
c.
Assign ip address negotiated to the dialer interface.
d.
Configure the dialer group number.
e.
Configure PPP encapsulation and (if needed) Challenge Handshake Authentication Protocol (CHAP).
f.
Configure IP negotiation of DNS and WINS requests.
Step 4
Define an IP DHCP pool name.
a.
Configure the network and domain name (if needed) for the DHCP pool.
b.
Enter the import all command.
Step 5
Configure a dialer list and a static route for the dialer interface.
Configuration Examples
The following example shows a configuration of the DHCP server import on the Cisco 800 series and Cisco SOHO series routers.
Building configuration...
Current configuration :1510 bytes
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
username 3620-4 password 0 lab
ip dhcp excluded-address 192.150.2.100
network 192.150.2.0 255.255.255.0
default-router 192.150.2.100
no ip dhcp-client network-discovery
ip address 192.150.2.100 255.255.255.0
pppoe-client dial-pool-number 1
ip route 0.0.0.0 0.0.0.0 Dialer0
ip nat inside source list 101 interface Dialer0 overload
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
scheduler max-task-time 5000
The following example shows a DHCP proxy client configuration on the Cisco 800 series and Cisco SOHO series routers:
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
username 820-uut1 password 0 lab
username 820-uut4 password 0 lab
ip address-pool dhcp-proxy-client
ip dhcp-server 192.150.1.101
ip address 192.150.1.100 255.255.255.0
no atm scrambling cell-payload
interface Virtual-Template1
ip address 2.2.2.1 255.255.255.0
peer default ip address dhcp
ip kerberos source-interface any
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
dialer-list 1 protocol ip permit
The following example shows a configuration on the remote DHCP server on the Cisco 800 series and Cisco SOHO series routers.
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
ip host PAGENT-SECURITY-V3 45.41.44.82 13.15.0.0
ip dhcp excluded-address 2.2.2.1
network 2.2.2.0 255.255.255.0
netbios-name-server 66.22.66.22
ip address 192.150.1.101 255.255.255.0
ip address 192.168.254.165 255.255.255.0
ip route 0.0.0.0 0.0.0.0 1.1.1.1
ip route 0.0.0.0 0.0.0.0 Ethernet0
dialer-list 1 protocol ip permit
no scheduler max-task-time
Configuring IP Control Protocol Subnet Mask Delivery
The IP control protocol subnet mask delivery feature is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96, and SOHO 97
•
Cisco 828
The IP Control Protocol (IPCP) feature assigns IP address pools to customer premises equipment (CPE) devices. These devices then assign IP addresses to the CPE and to a DHCP pool.
IPCP provides the following functions:
•
The Cisco IOS CPE device requests and uses the subnet.
•
The authentication, authorization, and accounting (AAA) Remote Authentication Dial-In User Service (RADIUS) provides the subnet and inserts the framed route into the proper virtual route forwarding (VRF) table.
•
The provider edge or the edge router helps in providing the subnet through IPCP.
DHCP is no longer supported on the client side because the CPE can now receive both the IP address and the subnet mask during the PPP setup negotiation. If the CPE uses the DHCP servers to allocate addresses for its own network, subnets can be assigned through the node route processor (NRP) on the network access server (NAS) and distributed to the remote CPE DHCP servers.
Follow the steps below to configure the CPE for IPCP:
Step 1
Configure the ATM interface, and enter the ADSL operating mode.
Step 2
Configure the ATM subinterface.
a.
Create an ATM PVC for data traffic, enter virtual circuit configuration mode, and specify the VPI and VCI values.
b.
Set the encapsulation of the PVC as aal5mux ppp to support data traffic.
Step 3
Create a dialer interface.
a.
Enter configuration mode for the dialer interface.
b.
Specify the PPP encapsulation type for the PVC.
c.
Enter the ip unnumbered Ethernet 0 command to assign the Ethernet interface to the dialer interface.
d.
Configure the dialer group number.
e.
Configure CHAP.
f.
Enter the ppp ipcp mask request command.
g.
Assign a dialer list to this dialer interface.
Step 4
Define an IP DHCP pool name.
a.
Enter the import all command.
b.
Enter the origin ipcp command.
Step 5
Configure the Ethernet interface, and assign an IP address pool. Enter the pool name that you defined in Step 4.
Step 6
Configure a dialer list and a static route for the dialer interface.
Configuration Examples
The following example shows a IPCP configuration on the Cisco 827-4V router:
Building configuration...
Current configuration :1247 bytes
no service single-slot-reload-enable
service timestamps debug datetime msec
service timestamps log uptime
no service password-encryption
logging rate-limit console 10 except errors
username 6400-nrp2 password 0 lab
no ip dhcp-client network-discovery
ip address pool IPPOOLTEST
interface ATM0.1 point-to-point
encapsulation aal5mux ppp dialer
ppp authentication chap callin
ppp chap hostname router-8274v-1
ppp chap password 7 12150415
ip route 0.0.0.0 0.0.0.0 Dialer0
dialer-list 1 protocol ip permit
scheduler max-task-time 5000
The following example shows an IPCP configuration on the remote server for a Cisco 827-4V router:
Building configuration...
Current configuration :1654 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
aaa authentication ppp default group radius
aaa authorization network default group radius
username router-8274v-1 password 0 lab
username TB2-8274v-2 password 0 lab
no secondary console enable
interface ATM0/0/0.4 point-to-point
encapsulation aal5mux ppp Virtual-Template5
!interface ATM0/0/0.5 point-to-point
protocol ip 7.0.0.60 broadcast
encapsulation aal5mux ppp Virtual-Template6
description admin IP address 192.168.254.201 255.255.255.0
ip address 192.168.254.240 255.255.255.0
interface FastEthernet0/0/0
ip address 192.168.100.101 255.255.255.0
interface Virtual-Template5
ip unnumbered FastEthernet0/0/0
no peer default ip address
interface Virtual-Template6
ip unnumbered FastEthernet0/0/0
no peer default ip address
ip radius source-interface FastEthernet0/0/0
radius-server host 192.168.100.100 auth-port 1645 acct-port 1646
radius-server retransmit 3
radius-server attribute nas-port format d
The following example shows an IPCP configuration on the RADIUS server for a Cisco 827-4V router (Cisco Access Registrar 1.5):
/opt/AICar1/usrbin-4 % ./aregcmd
Access Registrar Configuration Utility Version 1.5
Copyright (C) 1995-1998 by American Internet Corporation, and
1998-2000 by
Cisco Systems, Inc. All rights reserved.
400 Login failed/opt/AICar1/usrbin-5 % ./aregcmd
Access Registrar Configuration Utility Version 1.5
Copyright (C) 1995-1998 by American Internet Corporation, and
1998-2000 by
Cisco Systems, Inc. All rights reserved.
LicenseKey = SBUC-7DQF-PM1E-5HPC (expires in 51 days)
Server 'Radius' is Running, its health is 10 out of 10
DefaultAuthenticationService~ = local-users
DefaultAuthorizationService~ = local-users
DefaultAccountingService~ = local-file
[ //localhost/Radius/Profiles ]
Entries 1 to 6 from 6 total entries
[ //localhost/Radius/Profiles ]
Entries 1 to 6 from 6 total entries
[ //localhost/Radius/Profiles/router-8274v-1 ]
[ //localhost/Radius/Profiles/router-8274v-1 ]
[ //localhost/Radius/Profiles/router-8274v-1/Attributes ]
cisco-avpair = "ip:wins-servers=100.100.100.100 200.200.200.200"
cisco-avpair = "ip:dns-servers=60.60.60.60 70.70.70.70"
Framed-Compression = none
Framed-IP-Address = 40.1.2.30
Framed-IP-Netmask = 255.255.255.0
Configuring the Service Assurance Agent
The Service Assurance Agent (SAA) can be configured on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
The SAA is an application-aware synthetic operation agent that monitors network performance by measuring key metrics such as response time, availability, jitter (interpacket delay variance), connect time, throughput, and packet loss. This feature is intended to provide support for Service Level Agreement (SLA) reporting functionality of the Cisco VPN Solution Center, but it can also be used for troubleshooting, analysis before problems occur, and for designing future network topologies. Response Time Monitoring (RTM) functionality is supported.
For configuration information on this command, refer to the Cisco IOS Release 12.0 documentation set.
Configuring Secure Shell
Secure Shell (SSH) is a protocol that provides a secure and remote connection to a router. SSH is available in two versions: SSH Version 1 and SSH Version 2. Only SSH Version 1 is available in the Cisco IOS software.
SSH is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco 828
•
Cisco SOHO 91, SOHO 96, and SOHO 97
For configuration information on this command, refer to the Cisco IOS Release 12.0 documentation set.
Configuring IP Named Access Lists
IP named access lists are supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
You can identify IP access lists with an alphanumeric string (name) instead of a number. When you use named access lists, you can configure more IP access lists in a router.
For configuration information on this command, refer to the Cisco IOS Release 12.0 documentation set.
Configuring International Phone Support
Cisco 827-4V routers provide international phone support (H.323 only) for the following countries:
•
Italy
•
Denmark
•
Australia
International phone support commands configure voice port settings and caller ID settings.
H.323 international phone support has been tested and verified to work with the following equipment identified for Italy and Denmark.
The following devices are supported in Italy:
•
Telephones:
–
Siemens Gigaset 3015 Class Model
–
Telecom Italia MASTER s.p. LUPO VIEW
–
Alcatel Dial Face Mod. SIRIO 2000 Basic A
•
Caller ID devices:
–
BRONDI INDOVINO
•
Fax equipment:
–
Canon FAX-B155
The following devices are supported in Denmark:
•
Telephones:
–
Tele Danmark dana classic
–
Tele Danmark Danafon Topas
•
Caller ID devices:
–
DORO Danmark DOROX5
Follow the steps below to configure a voice port to support caller ID, international cadence, impedance, and ring frequency, starting in global configuration mode:
| |
Command
|
Task
|
Step 1
|
voice-port number
|
Enter voice-port configuration mode.
|
Step 2
|
cptone country-code
|
Specify settings for call-progress tone, ring cadence, line impedance, and ring frequency.
|
Step 3
|
caller-id enable
caller-id alerting alerting-method
|
Enable caller ID support, or enter the second command to enable caller ID support and to specify the alerting method.
|
Step 4
|
caller-id block
|
Request blocking of the display of caller ID information at the far end of the call.
|
Step 5
|
end
|
Exit router configuration mode.
|
Configuration Example
The following voice-port configuration example shows two voice ports configured for the progress tone and line characteristics for Denmark. Caller ID is enabled on both ports, and port 1 requests that caller ID information be blocked at the other end when a phone call originates from this port. The second port uses the line-reversal alerting method.
timeouts call-disconnect 0
caller-id alerting line-reversal
timeouts call-disconnect 0
International Tone, Cadence, Ring Frequency, and Impedance Support
The default voice-port configuration for all voice ports specifies the U.S. country code, 600-ohm impedance, and 25-Hz ring frequency. Cisco IOS software supports commands for setting ring tone, cadence, frequency, and line impedance.
Configuring a Regional Analog Voice Tone
Use the cptone command to specify a regional analog voice interface-related tone. Use the no form of this command to disable the selected tone.
cptone { dk | it | au }
no cptone { dk | it | au }
The following table shows what each code specifies.
Code
|
Country
|
Parameters
|
dk
|
Denmark
|
POTS line type 2 (complex impedance), a-law encoding, OSI disconnect supervision, 25-Hz ringing frequency, 0 guard time
|
it
|
Italy
|
POTS line type 2 (complex impedance), a-law encoding, OSI disconnect supervision, 25-Hz ringing frequency, 0 guard time
|
au
|
Australia
|
POTS line type 2 (complex impedance), a-law encoding, OSI disconnect supervision, 20-Hz ringing frequency, 0 guard time
|
Configuring an FXS Ring Cadence
Use the ring cadence command in voice-port configuration mode to specify the ring cadence for a Foreign Exchange Station (FXS) voice port. Use the no form of this command to restore the default value for this command.
The ring cadence command can take the following values.
Value
|
Meaning
|
define
|
User-defined cadence
|
pattern01
|
2 seconds on, 4 seconds off
|
pattern02
|
1 second on, 4 seconds off
|
pattern03
|
1.5 seconds on, 3.5 seconds off
|
pattern04
|
1 second on, 2 seconds off
|
pattern05
|
1 second on, 5 seconds off
|
pattern06
|
1 second on, 3 seconds off
|
pattern07
|
0.8 second on, 3.2 seconds off
|
pattern08
|
1.5 seconds on, 3 seconds off
|
pattern09
|
1.2 seconds on, 3.7 seconds off
|
pattern10
|
1.2 seconds on, 4.7 seconds off
|
pattern11
|
0.4 second on, 0.2 second off, then 0.4 second on, 2 seconds off
|
pattern12
|
0.4 second on, 0.2 second off, then 0.4 second on, 2.6 seconds off
|
Configuring the FXS Voice Port Ring Frequency
To specify the ring frequency for a specified FXS voice port, use the ring frequency command in voice-port configuration mode. Use the no form of this command to restore the default value for this command.
To select the ring frequency, use the commands as follows.
25
|
Specify a 25-Hz ring frequency.
|
50
|
Specify a 50-Hz ring frequency.
|
Configuring the Terminating Impedance
Use the impedance command in voice-port interface mode to specify the terminating impedance of a voice port interface. Use the no form of this command to restore the default value.
impedance {600c | 600r | 900c | 900r | complex1 | complex2 }
no impedance {600c | 600r | 900c | 900r | complex1 | complex2 }
The following table shows what each code specifies.
Code
|
Impedance
|
600c
|
600-ohm complex
|
600r
|
600-ohm real
|
900c
|
900-ohm complex
|
900r
|
900-ohm real
|
complex1
|
complex 1
|
complex2
|
complex 2
|
When using the impedance command, be aware of the following constraints:
•
The c600r option selects the current POTS line type 0 implementation.
•
The 900r option selects the current POTS line type 1 implementation.
•
The 600c, 900c, complex1, and complex2 options select the current POTS line type 2 implementation.
International Caller ID Support
Caller ID (CLID) is an analog service that displays the number of the calling line to the receiving line's terminal device when it receives a call. In some countries, CLID is called Calling Line Identity Presentation (CLIP). The Cisco router receives CLID data as a part of the H.225 Setup Message and transmits it to the terminal device, which can either be a CLID device or a telephone capable of showing CLID messages.
There are two types of CLID: Type I and Type II. Type I transmits the CLID information when the receiving phone is on hook. Type II transmits the CLID information when the receiving phone is off hook. Only type I CLID is supported in this release.
Configuring the FXS Port for Caller ID
To allow the sending of caller ID information to the FXS voice port, use the caller-id enable voice-port configuration command. To disable the sending of caller ID information, use the no form of this command, which also clears all other caller ID configuration settings for the voice port.
The country code specified in the cptone command must represent one of the countries for which caller ID is supported. Caller ID is disabled by default.
Configuring Caller ID Alerting
Specify the caller ID alerting method and enable caller ID support by using the caller-id alerting voice-port configuration command. The no form of this command sets the caller ID alerting type to caller ID alerting ring type 1.
caller-id alerting { line-reversal | pre-ring | ring < 1 | 2 > }
no caller-id alerting { line-reversal | pre-ring | ring < 1 | 2 > }
Alerting methods are described in the following table.
Alerting Method
|
Description
|
line-reversal
|
Use line-reversal alerting method.
|
pre-ring
|
Set a 250-millisecond pre-ring alerting method for caller ID information for on-hook (Type 1) caller ID at an FXS voice port.
|
ring < 1 | 2 >
|
Set the ring-cycle method for receiving caller ID information for on-hook (Type 1) caller ID at an FXS voice port.
|
| |
• If your telephone service provider specifies it, use this setting to provide caller ID alerting (display) after the first ring at the receiving station.
|
| |
• If your telephone service provider specifies it, use this setting to provide caller ID alerting (display) after the second ring.
|
The default alerting method is ring 1. If the country in which the router is installed uses a different alerting method, the appropriate alerting method must be configured. The caller-id alerting ring command can be used in countries using the BellCore/Telcordia standard. The caller-id alerting line-reversal, the caller-id alerting pre-ring, and caller-id alerting ring commands can be used in countries that do not use the BellCore/Telcordia standard.
The caller-id alerting command automatically enables caller ID support for the specific voice port.
Configuring Caller ID Display Blocking
To request the blocking of the display of caller ID information at the far end of a call for calls originated at an FXS port, use the caller-id block voice-port configuration command at the originating Foreign FXS voice port. To allow the display of caller ID information, use the no form of this command.
The default is no blocking of caller ID information.
Note
The calling party information is included in the routed on-net call, as this information is often required for other purposes, such as billing and call blocking. The request to block display of the calling party information on terminating FXS ports is normally accepted by Cisco routers, but no guarantee can be made regarding the acceptance of the request by other equipment.
Configuring Committed Access Rate
This feature is available on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco 828
Use the committed access rate (CAR) to limit bandwidth transmission rates to traffic sources and destinations and to specify policies for handling traffic that breaches the specified bandwidth allocations. To enable CAR, enter the rate-limit command while in ATM interface configuration mode.
Configuration Example
The following example shows a CAR configuration:
interface ATM0.1 point-to-point
ip address 10.0.0.10 255.255.255.0
rate-limit output 368000 2000 2000 conform-action set-dscp-transmit
40 exceed-action set-dscp-transmit 48
protocol ip 10.0.0.9 broadcast
Configuring VPN IPSec Support Through NAT
This feature is available on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco SOHO 77, SOHO 78, SOHO 96, and SOHO 97
•
Cisco 828
This feature includes client software that does not use Transmission Control Protocol (TCP) wrapping or User Datagram Protocol (UDP) wrapping. On Cisco routers, this feature allows the simultaneous use of multiple, PC-based IPSec clients on which IPSec packet wrapping is disabled or is not supported. When PCs connected to the router create an IPSec tunnel, network address translation (NAT) on the router translates the private IP addresses in these packets to public IP addresses. This NAT feature also supports multiple Point-to-Point Tunnel Protocol (PPTP) sessions, which may be initiated by PCs with PPTP client software.
You must enter the following command in global configuration mode for this feature to work:
ip nat inside source list number interface BVI number overload
NAT Default Inside Server Enhancement
This feature is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 831, 836, and 837
•
Cisco SOHO 91, SOHO 96, and SOHO 97
The NAT command has been extended to allow you to specify an inside local address to receive packets that do not match criteria in other NAT statements in the configuration.
The syntax is as follows:
ip nat inside source static inside_local interface interface_name
Configuration Example
The following example shows configuration of a Cisco 806 router supporting two devices with the addresses 20.0.0.14, and 20.0.0.16, as shown in Figure 8-1.
Figure 8-1 Cisco 806 Router Performing Network Address Translation for Two Devices
Several NAT statements direct traffic to the address 20.0.0.14. All packets not matching those NAT statements will be routed to 20.0.0.16.
Current configuration :942 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip ssh authentication-retries 3
crypto mib ipsec flowmib history tunnel size 200
crypto mib ipsec flowmib history failure size 200
ip address 20.0.0.1 255.0.0.0
ip address 10.0.0.1 255.0.0.0
ip nat inside source static tcp 20.0.0.14 80 interface Ethernet1 80
ip nat inside source static udp 20.0.0.14 161 interface Ethernet1 161
ip nat inside source static 20.0.0.16 interface Ethernet1
! 20.0.0.16 is defined as the catch-all address
ip nat inside source static udp 20.0.0.14 1000 interface Ethernet1
1000
! udp port 1000 traffic will be routed to 20.0.0.14
ip nat inside source static tcp 20.0.0.14 23 interface Ethernet1 23
! telnet traffic will be routed to 20.0.0.14
Configuring VoAAL2 ATM Forum Profile 9 Support
The Cisco 827-4V router supports voice over ATM Adaptation Layer 2 (VoAAL2) ATM Forum Profile 9. ATM Forum Profile 9 supports a 44-byte payload, optimizing voice transport efficiency, and makes interoperability with Tdsoft gateways possible.
This feature enables the Cisco router to interoperate with GR.303 and V5.2 gateways that communicate with Class 5 switches. The voice PVC is routed to a VoAAL2 gateway that supports either the General Recommendation 303 (GR.303) or the V5.2 protocol. This gateway converts the AAL2-encoded voice cells to a format that can be sent over a time-division multiplexed connection to a Class 5 switch. The data PVC can be routed through the digital subscriber line access multiplexer (DSLAM) or aggregator to the data network.
Configuring ATM Forum Profile 9
Follow the steps below to configure ATM Forum Profile 9 support for a voice port, beginning in global configuration mode.
| |
Command
|
Task
|
Step 1
|
voice class permanent 1
|
Configure a voice class.
|
Step 2
|
signal timing oos timeout disabled
|
Disable the assertion of the receive out-of-service (oos) pattern to the PBX when signaling packets are lost.
|
Step 3
|
exit
|
Exit voice class configuration mode.
|
Step 4
|
voice service voatm
|
Enter voice service configuration mode.
|
Step 5
|
session protocol aal2
|
Enter voice-service session configuration mode, and specify AAL2 trunking.
|
Step 6
|
mode bles
|
Indicate that VOATM is to be used in broadband loop emulation service (BLES) mode.
|
Step 7
|
exit
|
Enter the exit command to leave session protocol mode. Enter exit again to leave voice service configuration mode.
|
Step 8
|
interface atm0
|
Enter ATM 0 interface configuration mode.
|
Step 9
|
pvc vpi vci
|
Specify the virtual path identifier (VPI) and the virtual channel identifier (VCI) of the PVC.
|
Step 10
|
vbr-rt pcr acr bcs
|
Specify the variable bit rate-real time peak cell rate and average cell rate in kbps, and the burst cell size in number of cells.
|
Step 11
|
encapsulation aal2
|
Specify ATM adaptation layer 2 (AAL2) type encapsulation.
|
Step 12
|
no atm cell-clumping-disable
|
Ensure that sufficient bandwidth is allocated for data packets when voice calls are in progress.
|
Step 13
|
exit
|
Exit ATM 0 interface configuration mode.
|
Step 14
|
dial-peer voice tag voatm
|
Place the router in dial-peer voice configuration mode.
|
Step 15
|
session protocol aal2-trunk
|
Configure the session protocol to support AAL2-trunk permanent (private line) trunk calls.
|
Step 16
|
session target atm0 pvc vpi/vci cid cid
|
This command has three parameters: vpi (virtual path identifier), vci (virtual channel identifier), and cid (AAL2 channel identifier).
|
Step 17
|
codec aal2 profile
|
Enter codec aal2-profile atmf 9 g711alaw to specify that only G.711 a-law is used for voice dial peer. Enter codec aal2-profile atmf 9 g711ulaw to specify that only G.711 mu-law is used for voice dial peer.
|
Step 18
|
destination-pattern destination string
|
Associate a dial-peer with a voice port. The destination string is the phone number in E.164 format that must match the destination string configured for the voice-port.
|
Step 19
|
voice-class permanent 1
|
Associate this dial peer with the configured voice class.
|
Step 20
|
no vad
|
Specify no voice activity detection (VAD).
|
Step 21
|
exit
|
Exit dial peer voice configuration mode.
|
Step 22
|
voice port #
|
Enter voice port configuration mode.
|
Step 23
|
connection trunk destination-pattern
|
Specify the dialer string. The destination pattern must match the destination-string configured for the dial peer.
|
Step 24
|
playout-delay mode fixed no-timestamps
|
Play out the AAL2 packet at a fixed rate, and ignore the time stamps carried in the packet.
|
Step 25
|
end
|
Exit router configuration mode.
|

Note
One phone line requires a minimum setting of 78 kbps for both peak cell rate (PCR) and allowed cell rate (ACR) values.
Configuration Example
The following example shows the configuration for two voice ports using Profile 9, and the G.711 a-law codec. VBR-RT, PCR, and ACR values are 312 to accommodate four phone lines, although only two phone lines are currently configured.
signal timing oos timeout disabled
no atm cell-clumping-disable
playout-delay mode fixed no-timestamps
playout-delay mode fixed no-timestamps
!dial-peer voice 1000 voatm
destination-pattern 8881052
session protocol aal2-trunk
session target ATM0 pvc 1/100 16
codec aal2-profile ATMF 9 g711alaw
dial-peer voice 1001 voatm
destination-pattern 8881053
session protocol aal2-trunk
session target ATM0 pvc 1/100 17
codec aal2-profile ATMF 9 g711alaw
Configuring ATM OAM F5 Continuity Check Support
This feature is available on the following Cisco routers:
•
Cisco 826 and 836
•
Cisco 827, 827H, and 837
•
Cisco SOHO 77, SOHO 96, and SOHO 97
ATM Operation, Administration, and Maintenance (OAM) F5 continuity check (CC) cells enable network administrators to detect misconfigurations in the ATM layer. Such misconfigurations can cause misdelivery of a cell stream to a third party or can cause unintended merging of cells from multiple sources.
CC cells provide an in-service tool optimized to detect connectivity problems at the ATM layer. CC cells are sent between a router designated as the source location and a router designated as the sink location. The local router can be configured as the source, as the sink, or as both the source and the sink. It is not necessary to enter a CC configuration on the router at the other end of the segment, because the router on which CC has been configured sends a CC activation request to the router at the other end of the segment, directing it to act as either a source or a sink.
Configuring Continuity Checking on a PVC
Use the following command to configure continuity checking on a PVC.
oam-pvc manage cc segment direction [ source | sink | both ]
Use the no form of this command to disable continuity checking on the segment.
no oam-pvc manage cc segment direction [ source | sink | both ]
Configuration Example
The following configuration example activates CC over the segment and causes the router to function as the source.
ip address 10.0.0.3 255.255.255.0
oam-pvc manage cc segment direction source
The following configuration example activates CC over the segment and causes the router to function as the sink.
ip address 10.0.0.3 255.255.255.0
oam-pvc manage cc segment direction sink
The following configuration example activates CC over the segment and causes the router to function both as the source of CC cells and as the sink:
ip address 10.0.0.3 255.255.255.0
oam-pvc manage cc segment direction both
The following configuration example deactivates segment CC:
ip address 10.0.0.3 255.255.255.0
Configuring CC Activation and Deactivation Request Frequency
The following command sets the frequency at which CC activation and deactivation requests are sent to the router at the other end of the segment.
oam retry cc activation-count number deactivation-count number retry-frequency seconds
The no form of this command removes these settings.
no oam retry cc activation-count number deactivation-count number retry-frequency seconds
Configuration Example
The following configuration example sets the CC activation and deactivation counts, as well as the retry frequency:
ip address 10.0.0.3 255.255.255.0
oam-pvc manage cc segment direction source
retry activation-count 10 deactivation-count 10 retry-frequency 3
Disabling CC Support on the VC
The following command disables CC support on the virtual circuit (VC) under which the command has been entered. A PVC on which CC support has been disabled will deny CC activation requests.
The no form of this command reenables CC support on the VC.
no oam-pvc manage cc deny
Configuration Example
The following configuration example denies segment CC:
ip address 10.0.0.3 255.255.255.0
Configuring Continuity Checking Debugging
Use the following command to see the results of continuity checking.
debug atm oam cc interface atm number
The no form of this command disables continuity checking debugging.
no debug atm oam cc interface atm number
Configuring Generation of End-to-End F5 OAM Loopback Cells
Follow the steps below to configure generation of an end-to-end F5 OAM loopback cell, beginning in global configuration mode.
| |
Command
|
Task
|
Step 1
|
interface atm 0
|
Enter configuration mode for the ATM interface.
|
Step 2
|
pvc routerA vpi/vci
|
Assign PVC to the name router A with the vpi and vci values.
|
Step 3
|
oam-pvc manage 3
|
Enable OAM management with a frequency of 3 seconds between OAM cell transmissions.
|
Step 4
|
oam retry 5 5 10
|
Configure the up count, down count, and retry frequency.
|
The following example enables OAM management on an ATM PVC. The PVC is assigned the name router A and the VPI and VCI are assigned 0 and 32, respectively. OAM management is enabled with a frequency of 3 seconds between OAM cell transmissions.
Example Output
The following example output of the debug atm oam cc command records activity beginning with the entering of the oam-pvc manage cc command, and ending with the entering of the no oam-pvc manage cc command. The ATM 0 interface is specified, and the "both" segment direction is specified. The output shows an activation request sent and confirmed, a series of CC cells sent by the routers on each end of the segment, and a deactivation request and confirmation.
router#debug atm oam cc interface atm0
ATM OAM CC cells debugging is on
00:15:05: CC ACTIVATE MSG (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM
Type:8 OAM Func:1 Direction:3 CTag:5
00:15:05: CC ACTIVATE CONFIRM MSG (ATM0) O:VCD#1 VC 1/40 OAM Cell
Type:4 OAM Type:8 OAM Func:1 Direction:3 CTag:5
00:15:06: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1
00:15:07: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:08: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:09: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:10: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:11: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:12: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:13: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:14: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:15: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:16: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:17: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:18: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:19: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM Func:4
00:15:19: CC DEACTIVATE MSG (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM
Type:8 OAM Func:1 Direction:3 CTag:6
00:15:19: CC DEACTIVATE CONFIRM MSG (ATM0) O:VCD#1 VC 1/40 OAM Cell
Type:4 OAM Type:8 OAM Func:1 Direction:3 CTag:6
The following table describes significant fields.
Field
|
Description
|
00:15:05
|
Time stamp.
|
CC ACTIVATE MSG (ATM0)
|
Message type and interface.
|
0
|
Source.
|
1
|
Sink.
|
VC 1/40
|
Virtual circuit identifier.
|
Direction:3
|
Indication of the direction in which the cells are traveling. 1 indicates local router operates as a sink. 2 indicates local router operates as a source. 3 indicates both routers operate as source and sink.
|
Configuring RADIUS Support
RADIUS is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco 828
RADIUS enables you to secure your network against unauthorized access. A RADIUS server must be configured in the service provider or corporate network in order for the router to use RADIUS client features. For instructions on configuring RADIUS, refer to the Cisco 806 Router Software Configuration Guide and to the Cisco IOS Security Configuration Guide.
Configuring Cisco Easy VPN Client
The Cisco Easy VPN Client feature is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco 828
The Cisco Easy VPN client feature supports two modes of operation:
•
Client—Specifies that Network Address Translation/Port Address Translation (NAT/PAT) be done, so that the PCs and other hosts at the client end of the VPN tunnel form a private network that does not use any IP addresses in the destination server's IP address space.
•
Network Extension—Specifies that the PCs and other hosts at the client end of the VPN tunnel should be given IP addresses in the destination enterprise network's IP address space, so that they form one logical network.
Both modes of operation also optionally support split tunneling, which allows secure access to corporate resources through the VPN tunnel while also allowing Internet access through a connection to an ISP or other service (thereby eliminating the corporate network from the path for Web access). This configuration is enabled by a simple access list implemented on the IPSec server.
Note
Cisco 800 series routers are supported as IPSec clients of VPN 3000 concentrators. Support for other IPSec servers will be available in a future release. Be sure to refer to the Cisco IOS release notes for the current release to determine if there are any other limitations on the use of Cisco Easy VPN Client.
The release note Cisco EZVPN Client for the Cisco uBR905/uBR925 Cable Access Routers provides instructions for configuring the DHCP server pool and the Easy VPN client profile required for implementing Easy VPN. The release note also provides configuration examples for the IPSec server and descriptions of commands for managing Easy VPN.
Configuration Example
This section provides a client mode configuration example for the Cisco 827 router.
The following example configures a Cisco 827 router as an IPSec client, using the Cisco Easy VPN feature in the client mode of operation. This example shows the following components of the Cisco Easy VPN client configuration:
•
DHCP server pool—The ip dhcp pool command creates a pool of IP addresses to be assigned to the PCs connected to the router's Ethernet 1 interface. The pool assigns addresses in the class C private address space (192.168.100.0) and configures each PC so that its default route is 192.168.100.1, which is the IP address assigned to the router's Ethernet interface.
•
EzVPN client configuration—The first crypto ipsec client ezvpn hw-client command (global configuration mode) creates an EzVPN client configuration named hw-client. This configuration specifies a group name of hw-client-groupname and a shared key value of hw-client-password, and it sets the peer destination to the IP address 188.185.0.5 (which is the address assigned to the interface connected to the Internet on the destination peer router). The EzVPN configuration is configured for the default operations mode client.
Note
If DNS is also configured on the router, the peer option also supports a host name instead of an IP address.
•
The second crypto ipsec client ezvpn hw-client command (ATM 0 interface configuration mode) assigns the EzVPN client configuration to the ATM 0 interface, so that all traffic received and transmitted on that interface is sent through the VPN tunnel.
The following is an example output of the show running-config command:
Current configuration :1040 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip dhcp excluded-address 192.168.100.1
network 192.168.100.0 255.255.255.0
default-router 192.168.100.1
ip ssh authentication-retries 3
crypto ipsec client ezvpn hw-client
group hw-client-groupname key hw-client-password
ip address 192.168.100.1 255.255.255.0
ip address 192.168.101.18 255.255.255.0
protocol ip 192.168.101.19 broadcast
crypto ipsec client ezvpn hw-client
ip route 0.0.0.0 0.0.0.0 ATM0
ip route 50.0.0.0 255.0.0.0 40.0.0.19
Configuring Dial-on-Demand Routing for PPPoE Client
Dial-on-demand routing (DDR) for PPPoE client is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837
•
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96, and SOHO 97
•
Cisco 828
DDR for the PPPoE client provides flexibility for subscribers whose ISP charges are based on the amount of time that they are connected to the network (non-flat-rate services). With the DDR for PPPoE client feature, you can designate a type of traffic as traffic of interest. You can then configure the router so that it will bring up the PPPoE connection when any traffic of interest arrives from the LAN interface and so that it will bring down the connection when the dialer idle timer expires.
DDR is configured in Ethernet 1 configuration mode, using the pppoe-client dial-pool-number command with the dial-on demand keyword. The syntax is shown below.
pppoe-client dial-pool-number number [dial-on-demand]
Configuring DDR for a PPPoE Client
Follow the steps below to configure DDR for a PPPoE client, beginning in global configuration mode:
Step 1
Enable VPDN.
a.
In global configuration mode, enter the vpdn enable command.
b.
Enter no vpdn logging command to disable vpdn logging.
Step 2
Configure a virtual private dial-up network (VPDN) group.
a.
Enter the global configuration mode vpdn-group number command, to enter vpdn group configuration mode.
b.
Enter request-dialin to specify the dial-in dialing mode.
Step 3
Configure the Ethernet 1 interface.
a.
Enter interface Ethernet 1 to enter Ethernet 1 interface configuration mode.
b.
Enter pppoe enable to enable PPPoE for this interface.
c.
Activate DDR and create a dial pool by entering pppoe-client dial-pool-number number dial-on-demand. The number value must match the vpdn group number.
Step 4
Configure the dialer interface.
a.
Enter interface dialer 1 to enter dialer interface configuration mode.
b.
Enter ip address negotiated to indicate that the ip address will be negotiated with the DHCP server.
c.
Specify the maximum transmission unit size by entering ip mtu 1492.
d.
Set the encapsulation type by entering encapsulation ppp.
e.
Enter the dialer pool number command to associate the dialer interface with the dialer pool created for the Ethernet 1 interface.
f.
Set the idle timer interval by entering dialer idle-timeout 180 either. The either keyword specifies that either inbound or outbound traffic can reset the idle timer.
Note
A value of 0 specifies that the timer will never expire and that the connection will always be up.
g.
Enter dialer hold-queue 100 to set the queue to a size that will hold packets of interest before the connection is established.
h.
Enter dialer-group 1 to specify the dialer list that defines traffic of interest.
i.
Leave Dialer 1 interface configuration mode by entering exit.
Step 5
In the global configuration mode, enter the dialer-list 1 protocol ip permit command to define IP traffic as the traffic of interest.
Step 6
Create a static route for the Dialer 1 interface by entering the ip route 0.0.0.0 0.0.0.0 dialer 1 permanent command.
Step 7
Enter end to leave configuration mode.
Configuring Weighted Fair Queuing
Weighted fair queuing (WFQ) is supported on the following Cisco routers:
•
Cisco 806
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, 831, and 837 routers
•
Cisco 828
WFQ has certain limitations. It is not scalable if the flow amount increases considerably, and native WFQ is not available on high-speed interfaces such as ATM interfaces. Class-based WFQ, available on Cisco IOS Plus images, overcomes these limitations.
Configuring WFQ
Follow the steps below to apply WFQ to the ATM interface of a Cisco router.
Step 1
Create a policy map for WFQ.
a.
In global configuration mode, enter the policy-map map-name command to construct a WFQ policy. The map name wfq could be used to specify that this is the policy map for WFQ.
b.
Enter class class-default to use the default class for all traffic.
c.
Apply WFQ to all traffic by entering the fair-queue command.
d.
Enter exit twice to return to global configuration mode.
Step 2
Apply the policy map to the router interface.
a.
Enter interface atm number, where number is the ATM interface number.
b.
Enter pvc vpi/vci to specify which PVC you are applying the policy map to.
c.
Enter service-policy output map-name to apply the policy to this PVC. If you named the policy map wfq, you would enter the command service-policy output wfq.
Step 3
Enter end to leave router configuration mode.
Example Configuration
The following configuration applies WFQ to PVC 0/33 on the ATM 0.1 interface. The policy map named wfq is created, and WFQ is applied to the default class referenced in that policy map. Then, wfq is referenced in the ATM 0.1 interface configuration.
service timestamps debug uptime
service timestamps log uptime
no service password encryption
ip address 192.168.1.1 255.255.255.0
service-policy output wfq
scheduler max-task-time 5000
Configuring DSL Commands
The sections below describe the supported DSL commands.
Follow the steps below to configure DSL command-line interface (CLI) commands.
| |
Command
|
Task
|
Step 1
|
dsl noise-margin
|
Set the noise margin offset.
|
Step 2
|
max-tone-bits
|
Set the maximum bits per tone limit.
|
Step 3
|
gain-setting rx-offset
|
Set the receive gain offset.
|
Step 4
|
gain-setting tx-offset
|
Set the transmit gain offset.
|
Configuration Example
The following is a configuration example for the dsl command.
dsl gain-setting tx-offset 0
dsl gain-setting rx-offset 1
Enabling the DSL Training Log
The DSL training log feature is available on the following Cisco routers:
•
Cisco 826 and 836
•
Cisco 827, 827H, 827-4V, and 837 routers
•
Cisco 828
By default, a DSL training log is retrieved each time the Cisco router establishes contact with the DSLAM. The training log is a record of the events that occur when the router trains, or negotiates communication parameters, with the DSLAM at the central office. However, retrieving this log adds significant amount of time to the training process, and retrieval is not always necessary after the router has successfully trained. You must use the dsl enable-training-log command to enable the retrieval of this log. The no form of this command disables retrieval of the DSL training log.
no dsl enable-training-log
Retrieving the DSL Training Log and Then Disabling Further Retrieval of the Training Log
Complete the following tasks to retrieve the training log, examine it, and then disable the router from retrieving the training log the next time it trains with the DSLAM.
Step 1
Configure the router to retrieve the training log.
a.
Enter the global configuration mode interface ATM number command, where number is the number of the ATM interface.
b.
Enter dsl enable-training-log to enable the retrieval of the training log.
c.
Enter end to leave router configuration mode.
Step 2
Unplug the DSL cable from the DSL socket on the back of the router, wait a few seconds, and then plug the cable back in.
Step 3
When the "DSL line up" message appears, issue the show dsl int atm number command, where number is the number of the ATM interface, to display the retrieved log.
Step 4
When you have decided that it is no longer necessary for the router to retrieve the training log, reconfigure the router to disable the retrieval of the log by completing the following tasks.
a.
Enter the global configuration mode interface ATM number command, where number is the number of the ATM interface.
b.
Enter no dsl enable-training-log to disable the retrieval of the training log.
c.
Enter end to leave router configuration mode.
Selecting Secondary DSL Firmware
This command is available on the Cisco 827, 827H, 827-4V, and 837 routers.
The ATM interface mode dsl firmware secondary command enables you to select the secondary DSL firmware.
To revert to using the primary firmware, enter the no form of this command.
no dsl firmware secondary
Note
The router must retrain in order for the configuration changes to take effect. To retrain the line, you can unplug the DSL cable from the DSL socket on the back of the router and then plug the DSL cable back in again.
You can use the show dsl interface atm number command to compare firmware versions in use before retraining the DSL line, and after retraining.
Output Example
The following example output contains show dsl interface atm command output before the dsl secondary firmware command is added to the configuration.
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ITU G.992.1 (G.DMT)
Vendor Specific:0x0000 0x0002
Vendor Country: 0x00 0x00
Noise Margin: 16.5 dB 17.0 dB
Output Power: 8.0 dBm 12.0 dBm
Attenuation: 0.0 dB 4.0 dB
Interrupts: 652 (1 spurious)
After adding the dsl firmware secondary command to the configuration and retraining, the show dsl interface ATM0 output shows that the software version has changed to 3.7123.
Modem Status: Showtime (DMTDSL_SHOWTIME)
DSL Mode: ITU G.992.1 (G.DMT)
Vendor Specific:0x0000 0x0002
Vendor Country: 0x00 0x00
Noise Margin: 18.0 dB 17.0 dB
Output Power: 7.5 dBm 12.0 dBm
Attenuation: 0.0 dB 4.0 dB
Interrupts: 1206 (2 spurious)
Configuration Example
The following example shows configuration of a Cisco 827 router using secondary DSL firmware.
Building configuration...
Current configuration :738 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
ip ssh authentication-retries 3
ip address 192.168.5.23 255.255.255.0
interface Virtual-Template1
ip address 2.2.3.4 255.255.255.0
encapsulation aal5mux ppp Virtual-Template1
dsl operating-mode itu-dmt
dsl firmware secondary ===========> New CLI
scheduler max-task-time 5000
Configuring DNS-Based X.25 Routing
DNS-based X.25 routing is supported only on Cisco 805 routers.
The x25 route disposition xot command option has been modified to include the dns pattern argument after the xot keyword, where pattern is a rewrite element that works in the same way that address substitution utilities works.
Configuring X.25 Load Balancing
X.25 load balancing is supported only on Cisco 805 routers. The Cisco 805 router supports only the rotary method of load distribution because it has only one serial interface.
The current X.25 allocation method for VCs across multiple serial lines fills one serial line to its VC capacity before utilizing the second line at all. As a result, the first serial line is frequently carrying its maximum data traffic before it runs out of VCs.
Using a facility called "hunt-group" (the method for X.25 load balancing), a switch can now view a pool of X.25 lines going to the same host as one address and can assign virtual circuits (VCs) on an "idle logical channel" basis. With this feature, X.25 calls can be load-balanced among all configured outgoing interfaces to fully use and balance all managed lines.
Configuring X.25 Closed User Group
X.25 closed user group (CUG) is supported only on Cisco 805 routers.
A CUG is a collection of DTE devices for which the network controls access between two members and between a member and a non-member. An X.25 network can support up to 10,000 CUGs (numbered between 0 and 9999), each of which can have any number of member DTE devices. An individual DTE becomes a member of a specific network CUG by subscription. The subscription data includes the local number the DTE will use to identify the network CUG (which may or may not be the same as the network number, as determined by network administration and the DTE device's requirements), and any restriction that prohibits the DTE from placing a call within the CUG or, conversely, prohibits the network from presenting a call within the CUG to the DTE.
CUGs are a network service to allow various network subscribers (DTE devices) to be segregated into private subnetworks with limited incoming or outgoing access, which means that a DTE must obtain membership from its network service (POP) for the set of CUGs it needs access to. A DTE may subscribe to none, one, or several CUGs at the same time. A DTE that does not require CUG membership for access is considered to be in the open part of the network. Each CUG typically permits subscribing users to connect to each other, but precludes connections with non-subscribing DTE devices.
Configuring FTP Client
FTP client is available on all Cisco 800 series and Cisco SOHO 70 series routers except for the Cisco 801 through 804 routers.
FTP is an application protocol in the Internet protocol suite. It supports file transfers among unlike hosts in diverse internetworking environments. Using FTP, you can move a file from one computer to another, even if each computer runs a different operating system and uses a different file storage format. Cisco routers that can function as FTP clients can copy files from FTP servers into Flash memory.
When Cisco Router Web Setup (CRWS) software is installed on the router, it uses FTP to update the Cisco IOS image in Flash memory, and it configures the router with the FTP username and password that it requires.
Caution 
CRWS is unable to perform automatic updates if the FTP username and password values it places in the configuration file are changed.
If you need to use FTP to manually copy system images to Flash memory, see the instructions for adding an FTP username and password to the configuration file at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/
ffun_c/ffcprt2/fcf008.htm
Configuring Authentication Proxy
Authentication proxy is supported on Cisco 806 and 831 routers.
The Cisco IOS Firewall authentication proxy feature allows network administrators to apply specific security policies on a per-user basis. Previously, user identity and related authorized access was associated with a user's IP address, or a single security policy had to be applied to an entire user group or subnet. Now, users can be identified and authorized on the basis of their per-user policy, and access privileges tailored on an individual basis are possible, as opposed to general policy applied across multiple users.
With the authentication proxy feature, users can log into the network or access the Internet via HTTP. Their specific access profiles are automatically retrieved and applied from a Cisco Secure ACS or other RADIUS or TACACS+ authentication server. The user profiles are active only when there is active traffic from the authenticated users.
The authentication proxy is compatible with other Cisco IOS security features such as Network Address Translation (NAT), Context-based Access Control (CBAC), IP Security (IPSec) encryption, and VPN client software.
For instructions on configuring authentication proxy, refer to the Cisco IOS Security Configuration Guide.
Configuring Port to Application Mapping
Port to Application Mapping (PAM) is supported on Cisco 806 and 831 routers.
PAM allows network administrators to customize network access control for specific applications and services.
PAM also supports host- or subnet-specific port mapping, which allows you to apply PAM to a single host or subnet, using standard access control lists (ACLs). Host or subnet specific port mapping is done using standard ACLs.
For instructions on configuring PAM, refer to the Cisco IOS Security Configuration Guide.
Configuring CBAC Audit Trails and Alerts
Context-based Access Control (CBAC) audit trails and alerts are supported on Cisco 806 and 831 routers.
CBAC is a security feature that enables the router to filter TCP and UDP packets, based on application-layer protocol session information, and to generate real-time alerts and audit trails. Without CBAC, filtering can only be performed based on network layer and transport layer information. Enhanced audit trail features use SYSLOG to track all network transactions; recording time stamps, source host, destination host, ports used, and the total number of transmitted bytes, for advanced, session-based reporting. Real-time alerts send SYSLOG error messages to central management consoles upon detecting suspicious activity. Using CBAC inspection rules, you can configure alerts and audit trail information on a per-application protocol basis. For example, if you want to generate audit trail information for HTTP traffic, you can specify that in the CBAC rule covering HTTP inspection.
For instructions on configuring CBAC audit trails and alerts, refer to the Cisco IOS Security Configuration Guide.