hit counter script

Cisco NCS 5000 Series Manual page 94

System management configuration guide for cisco ncs 5000 series routers
Hide thumbs Also See for NCS 5000 Series:
Table of Contents

Advertisement

Configuring Flexible Command Line Interface
Regular Expressions in Configuration Groups
end-group
group g-ptp
interface 'Gi.*\..*' point-to-point
.
.
end-group
Regular Expressions for an OSPF Configuration
Exact router process names and OSPF areas cannot be used. You must use a regular expression to specify a
process name or group of OSPF areas. To specify that the OSFP area can be either a scalar value or an IP
address, use the regular expression '.*', as in this example:
group g-ospf
router ospf '.*'
area '.*'
mtu-ignore enable
!
!
end-group
To specify that the OSPF area must be an IP address, use the expression '\.' as in this example:
group g-ospf-ipaddress
router ospf '.*\..*\..*\..*'
area '.*'
passive enable
!
!
end-group
To specify that the OSPF area must be a scalar value, use the expression '1.*', as in this example:
group g-ospf-match-number
router ospf '.*'
area '1.*'
passive enable
!
!
end-group
Regular Expressions for a BGP AS
Exact BGP AS values cannot be used in configuration groups. Use a regular expression to specify either AS
plain format, or AS dot format as in the format X.Y. To match AS plain format instances, use a simple regular
expression. To match AS dot format instances, use two regular expressions separated by a dot, as shown in
this example:
group g-bgp
router bgp '*'.'*'
address-family ipv4 unicast
!
!
end-group
Regular Expressions for ANCP
Exact Access Node Control Protocol (ANCP) sender-name identifiers cannot be used in configuration groups.
Because the sender name argument can be either an IP address or a MAC address, you must specify in the
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
84

Advertisement

Table of Contents
loading

Table of Contents