Send document comments to nexus3k-docfeedback@cisco.com
11-8
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
Chapter11 Configuring Route Policy Manager
Configuring Route Policy Manager
3. (Optional) show mac-list name
4. (Optional) copy running-config startup-config
DETAILED STEPS
Configuring AS-path Lists
You can specify an AS-path list filter on both inbound and outbound BGP routes. Each filter is an access
list based on regular expressions. If the regular expression matches the representation of the AS-path
attribute of the route as an ASCII string, then the permit or deny condition applies.
SUMMARY STEPS
1. configure terminal
2. ip as-path access-list name {deny | permit} expression
3. (Optional) show ip as-path list name
4. (Optional) copy running-config startup-config
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
mac-list
name
[seq
number
] {permit |
deny}
mac-address
{mac-mask]
Example:
switch(config)# mac-list AllowMac seq 1
permit 0022.5579.a4c1 ffff.ffff.0000
Creates a MAC list or adds a MAC address to an
existing MAC list. The seq range is from 1 to
4294967294. The mac-mask specifies the portion of
the MAC address to match against and is in MAC
address format.
Step 3
show mac-list
name
Example:
switch(config)# show mac-list AllowMac
(Optional) Displays information about MAC lists.
Step 4
copy running-config startup-config
Example:
switch# copy running-config
startup-config
(Optional) Saves this configuration change.