Sunday, December 1, 2013

ACME Net-Net: Practice Config

I had a lab ACME that I was working on that I already had some configuration on it.  Its a working config, and I wanted to practice adding some config into it.  I added two realm-configs, two steering-pools, two sip-interfaces and a local-policy.

TestACME# config t
TestACME(configure)# media-manager
TestACME(media-manager)# realm-config
TestACME(configure)# media-manager
TestACME(media-manager)# realm-config
TestACME(realm-config)# identifier Outside

TestACME(realm-config)# network-inter m10:0
TestACME(realm-config)# out-man NAT_IP
TestACME(realm-config)# account disabled
TestACME(realm-config)# exit
Save Changes [y/n]?: y
**TestACME(media-manager)# realm-config
**TestACME(realm-config)# identifier Inside
**TestACME(realm-config)# network-interfaces m00:0
**TestACME(realm-config)# out-man NAT_IP
**TestACME(realm-config)# exit
Save Changes [y/n]?: y

**TestACME(media-manager)# steering-pool
**TestACME(steering-pool)# ip-add 192.168.9.91
**TestACME(steering-pool)# start-port 7000
**TestACME(steering-pool)# end-port 7999
**TestACME(steering-pool)# realm-id Outside
**TestACME(steering-pool)# exit
Save Changes [y/n]?: y
steering-pool
        ip-address                     192.168.9.91
        start-port                     7000
        end-port                       7999
        realm-id                       Outside
        network-interface
        last-modified-by               admin@10.1.1.1.
        last-modified-date             2013-11-18 14:35:22
**TestACME(media-manager)# steering-pool
**TestACME(steering-pool)# ip-add 192.168.90.75
**TestACME(steering-pool)# start-port 7000
**TestACME(steering-pool)# end-port 7999
**TestACME(steering-pool)# realm-id Inside
**TestACME(steering-pool)# exit
Save Changes [y/n]?: y
steering-pool
        ip-address                     192.168.90.75
        start-port                     7000
        end-port                       7999
        realm-id                       Inside
        network-interface
        last-modified-by               admin@10.1.1.1.
        last-modified-date             2013-11-18 14:36:37

**TestACME(media-manager)# exit
**TestACME(configure)# session-router
**TestACME(session-router)# sip-interface
**TestACME(sip-interface)# realm-id Outside
**TestACME(sip-interface)# sip-port
**TestACME(sip-port)# address 192.168.9.91
**TestACME(sip-port)# port 5060
**TestACME(sip-port)# transport-protocol udp
**TestACME(sip-port)# allow-anonymous all
**TestACME(sip-port)# exit
Save Changes [y/n]?: y
        sip-port
                address                        192.168.9.91
                port                           5060
                transport-protocol             UDP
                tls-profile
                allow-anonymous                all
                ims-aka-profile
**TestACME(sip-interface)# trans-expire 14
**TestACME(sip-interface)# out-manipulationid NAT_IP
**TestACME(sip-interface)# rfc2833-mode preferred
**TestACME(sip-interface)# add-sdp-invite invite
**TestACME(sip-interface)# add-sdp-profiles G729 PCMU telephone-event
**TestACME(sip-interface)# exit
Save Changes [y/n]?: y

**TestACME(session-router)# sip-interface
**TestACME(sip-interface)# realm-id Inside
**TestACME(sip-interface)# sip-port
**TestACME(sip-port)# add 192.168.90.75
**TestACME(sip-port)# port 5060
**TestACME(sip-port)# transport-protocol udp
**TestACME(sip-port)# allow-anonymous all
**TestACME(sip-port)# exit
Save Changes [y/n]?: y
        sip-port
                address                        192.168.90.75
                port                           5060
                transport-protocol             UDP
                tls-profile
                allow-anonymous                all
                ims-aka-profile
**TestACME(sip-interface)# trans-expire 14
**TestACME(sip-interface)# out-manipulationid NAT_IP
**TestACME(sip-interface)# rfc2833-mode preferred
**TestACME(sip-interface)# exit
Save Changes [y/n]?: y

**TestACME(session-router)# local-policy
**TestACME(local-policy)# from-add *
**TestACME(local-policy)# to-add *
**TestACME(local-policy)# source-realm Inside
**TestACME(local-policy)# policy-attributes
**TestACME(local-policy-attributes)#
**TestACME(local-policy-attributes)# next-hop 4.3.4.3
**TestACME(local-policy-attributes)# realm                          Outside
**TestACME(local-policy-attributes)# action                         replace-uri
**TestACME(local-policy-attributes)# terminate-recursion            disabled
**TestACME(local-policy-attributes)# exit
Save Changes [y/n]?: y
policy-attribute
        next-hop                       4.3.4.3
        realm                          Outside
        action                         replace-uri
        terminate-recursion            disabled
        carrier
        start-time                     0000
        end-time                       2400
        days-of-week                   U-S
        cost                           0
        app-protocol
        state                          enabled
        methods
        media-profiles
        lookup                         single
        next-key
        eloc-str-lkup                  disabled
        eloc-str-match
**TestACME(local-policy)# exit
Save Changes [y/n]?: y
local-policy
        from-address
                                       *
        to-address
                                       *
        source-realm
                                       Inside
        description
        activate-time                  N/A
        deactivate-time                N/A
        state                          enabled
        policy-priority                none
        last-modified-by               admin@10.1.1.1.
        last-modified-date             2013-11-18 14:47:02
        policy-attribute
                next-hop                       4.3.4.3
                realm                          Outside
                action                         replace-uri
                terminate-recursion            disabled
                carrier
                start-time                     0000
                end-time                       2400
                days-of-week                   U-S
                cost                           0
                app-protocol
                state                          enabled
                methods
                media-profiles
                lookup                         single
                next-key
                eloc-str-lkup                  disabled
                eloc-str-match
**TestACME(session-router)# exit
**TestACME(configure)# exit

No comments:

Post a Comment

Your comment will be reviewed for approval. Thank you for submitting your comments.