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

Configuring a Static Rule Using a Route Map Procedure Configuring Network Address Translation Configuring a Static Rule Using a Route Map Command or Action Purpose Step 5 reload Example: Switch# reload Reloads the operating system. 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 ACL1 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 mode is applicable. • acl-name: Specifies the access list using numeric indentifier to which all commands entered from ACL configuration mode is applicable. The range is from 100 to 199. The extended range is from 2000 to 2699. Step 4 access-list seq-num ip ip-addresses Example: Switch(config-ext-nacl)# access-list 10 permit ip 1.1.1.0 0.0.0.255 8.8.8.0 0.0.0.255 Switch# access-list 20 permit ip 1.1.1.0 0.0.0.255 8.8.8.2 0.0.0.255 Permits IP traffic between the specified IP addresses. Step 5 exit Example: Switch(config-ext-nacl)# exit Switch(config)# Exits ACL configuration mode.

Step 6 route-mapname{permit|deny|seq-num|ordering-seq} Example: Associates ACL with a route map. • name: Specifies the route-map name. Configuring Network Address Translation 26