Step 1 |
configure
RP/0/RP0/CPU0:router# configure
|
Enters global
configuration mode.
|
Step 2 |
service cgn
instance-name
RP/0/RP0/CPU0:router(config)# service cgn cgn1
RP/0/RP0/CPU0:router(config-cgn)#
|
Configures the
instance named cgn1 for the CGN application and enters CGN configuration mode.
|
Step 3 |
service-location
preferred-active
node-id
[preferred-standby
node-id]
RP/0/RP0/CPU0:router(config-cgn)# service-location preferred-active 0/2/CPU0 preferred-standby 0/4/CPU0
|
Specifies the
global command applied per cgn instance. It initiates the particular instance
of the cgn application on the active and standby locations.
|
Step 4 |
service-type ds-lite
instance
RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite dsl1
|
Configures the
service type keyword definition for the DS LITE application.
|
Step 5 |
portlimit
value
RP/0/RP0/CPU0:router(config-cgn)# service-type ds-lite dsl1
|
Configures the
service type keyword definition for the DS LITE application.
|
Step 6 |
bulk-port-alloc
size
value
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# bulk-port-alloc size 128
|
Enables bulk
port allocation and sets bulk size that is used to reduce logging data volume.
|
Step 7 |
map address-pool
address
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# map address-pool 52.52.52.0/24
|
Specifies the
address pool for the DS LITE instance.
Note
|
52.52.52.0/24
is the IPv4 public address pool assigned to the DS Lite instance.
|
|
Step 8 |
aftr-tunnel-endpoint-address
<address>
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# aftr-tunnel-endpoint address 3001:DB8:EOE:E01::
|
Specifies the
IPv6 address of the tunnel end point. The IPv4 elements must address their IPV6
packets to this address.
|
Step 9 |
address-family ipv4
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# address-family ipv4
|
Enters the
address family IPv4 configuration mode.
|
Step 10 |
interface
ServiceApp41
RP/0/RP0/CPU0:router(config-cgn-ds-lite-afi)# interface ServiceApp41
|
Specifies the
ServiceApp on which IPv4 traffic enters and leaves.
|
Step 11 |
address-family
ipv6
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# address-family ipv6
|
Enters the
address family IPv6 configuration mode.
|
Step 12 |
interface ServiceApp61
RP/0/RP0/CPU0:router(config-cgn-ds-lite-afi)# interface ServiceApp61
|
Specifies the
ServiceApp on which IPv6 traffic enters and leaves.
|
Step 13 |
protocol
tcp
RP/0/RP0/CPU0:router(config-cgn-ds-lite-afi)# protocol tcp
|
Configures the
TCP protocol session.
|
Step 14 |
session {initial | active}
timeout
seconds
RP/0/RP0/CPU0:router(config-cgn-proto)# session initial timeout 90
|
This command
configures the timeout value in seconds for ICMP,TCP or UDP sessions for a
service instance. For TCP and UDP, you can configure the initial and active
session timeout values. For ICMP, there are no such options. This configuration
is applicable to all the IPv4 addresses that belong to a particular service
instance. This example configures the initial session timeout value as 90 for
the TCP session.
|
Step 15 |
msssize
RP/0/RP0/CPU0:router(config-cgn-proto)# mss 1100
|
Configures the
adjustment MSS value as 1100.
|
Step 16 |
external-logging netflow9
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# external-logging netflowv9
|
Configures the
external-logging facility for the DS LITE instance named dsl1 and enters the
external logging configuration mode.
|
Step 17 |
server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)# server
|
Configures the
logging server information for the IPv4 address and port for the server that is
used for the netflow-v9 based external-logging facility and enters external
logging server configuration mode.
|
Step 18 |
address
A.B.C.D port
port-number
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# address 90.1.1.1 port 99
|
Configures the
netflow server address and port number to use for netflow version 9 based
external logging facility for DS LITE instance.
|
Step 19 |
external-logging syslog
RP/0/RP0/CPU0:router(config-cgn-ds-lite)# external-logging syslog
|
Configures the
external-logging facility for the DS LITE translation entries that can be
logged in syslog servers to analyze and debug the information.
|
Step 20 |
server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog)# server
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)#
|
Configures the
logging server information for the IPv4 address and port for the server that is
used for the syslog based external-logging facility.
|
Step 21 |
address
A.B.C.D port
port-number
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# address 90.1.1.1 port 514
|
Configures the
syslog server address and port number to use for syslog based external logging
facility for DS LITE instance.
|
Step 22 |
end
or
commit
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# end
or
RP/0/RP0/CPU0:router(config-cgn-ds-lite-extlog-server)# commit
|
Saves
configuration changes.
-
When you
issue the end command,
the system prompts you to commit changes:
Uncommitted changes found,
commit them before exiting (yes/no/cancel)?
[cancel]:
-
Entering
yes saves configuration changes to the running configuration file, exits
the configuration session, and returns the router to EXEC mode.
-
Entering
no exits the configuration session and returns the router to EXEC mode
without committing the configuration changes.
-
Entering
cancel leaves the router in the current configuration
session without exiting or committing the configuration changes.
-
Use the
commit
command to save the configuration changes to the running configuration file and
remain within the configuration session.
|