cisco Catalyst 9300 Series Switch — Configuring a Dynamic Rule Using a Route Map

Configuring a Dynamic Rule Using a Route Map Procedure Configuring Network Address Translation Configuring a Dynamic Rule Using a Route Map Command or Action Purpose Switch(config)# route-map RM1 permit 10 Switch(config-route-map)# • seq-num: Specifies sequence number to insert or delete from existing route-map entry. The range is from 0 to 65535. • ordering-seq: Specifies ordered sequence number to insert or delete from existing route-map entry. • permit: Permits set operations of the route-map. • deny: Denies set operations of the route-map. Step 7 match ip-address acl-name Example: Switch(config-route-map)# match ip address ACL1 Configures the specified ACL's policies to the route map.

Step 8 ip nat inside source static local-ip global-ip route-map name Example: Switch(config-route-map)# ip nat inside source static 1.1.1.10 20.20.20.20 route-map RM1 Associates the route map with a static rule. Command or Action Purpose Step 1 enable Example: Switch> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Switch# configure terminal Enters global configuration mode. Step 3 ip access-list extended{acl-num|acl-name} Example: Switch(config)# ip access-list extended ACL2 Switch(config-ext-nacl)# Enables extended ACL configuration mode. • acl-name:

Specifies the access list using an alphanumeric string to which all commands entered from ACL configuration modeis applicable. Configuring Network Address Translation 27