Skip to content

Commit

Permalink
Update UDL and README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tes3awy committed Jan 5, 2021
1 parent 95f8bdf commit 1510258
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Cisco_IOS_XR_byOsamaAbbas.udl.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<NotepadPlus>
<UserLang name="Cisco IOS XR" ext="cisco ios xr log txt" udlVersion="3.0">
<UserLang name="Cisco IOS XR" ext="cisco ios xr log txt" udlVersion="2.0">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" forceLineCommentsAtBOL="no" foldCompact="no" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="yes" Keywords6="no" Keywords7="no" Keywords8="no" />
Expand All @@ -21,12 +21,12 @@
<Keywords name="Folders in comment, open" id="13">{</Keywords>
<Keywords name="Folders in comment, middle" id="14"></Keywords>
<Keywords name="Folders in comment, close" id="15">}</Keywords>
<Keywords name="Keywords1" id="16">group clock server radius new-model domain name subnet-zero upgrade system timestamps debug datetime msec log version ver secret sec privilege pri priv pad ssid open guest-mode address route-cache mode wep optional ciphers tkip wep128 change membership-termination capability-change local cck ofdm client station-role root fallback threshold subscriber-loop-control block-unknown-source source-learning unicast-flooding password authorization authentication login community contact cdp arp advertise-v2 host missing Service-Type acct-port auth-port key vsa send route con vty aux run http help-path source-interface logging transport trap source-learning spanning-disabled Guest Access voice bpduguard port-security recovery protected dot1Q dhcp client-id access-group traps tty udp eq bootps tcp tftp accounting network router-id start-stop session-id common exec irb key-management wpa eap dot11d country PT indoor v3 auth write view iso included location chassis-id ap authentication-server wds infrastructure priority wnm excluded-address passwords min-length auth-proxy conflict h-node pool range ra trunk native aes-ccm linkdown linkup coldstart warmstart entity disassociate deauthenticate authenticate-fail dot11-qos switch-over rogue-ap wlan-wep config syslog cpu aaa_server udp-port timezone summer-time Z recurring broadcast nat inside source static extendable translation translations tcp-timeout finrst-timeout flow ingress forward-protocol classless time netbios-ns netbios-dgm tacacs bootpc next-hop secure-server cache flow-export destination flow-aggregation entries helper-address redirects secondary traffic-filter allocation policy ascending access-log ratelimit extended cs4 icmp admission proxy page file connection resource console uptime localtime password-encryption counters max age compress-config general-prefix unicast-routing netflow usage crypto pki trustpoint certificate chain enrollment selfsigned subject-name revocation-check rsakeypair cef action device tracking rp nde-address qos self-signed list bootup level minimal flowcontrol bus auto pvst redundancy main-cpu auto-sync running-config sso snmptrap ipsec nat-transparency udp-encaps control-plane dial-peer cor custom update-calendar prefer basic- summary-address nonegotiate dead-criteria tries update newinfo mgmt</Keywords>
<Keywords name="Keywords2" id="17">aaa hostname vrf configure conf username algorithm-type ip mpls boot service dot11 mbssid interface stackwise-virtual int encryption broadcast-key speed power channel rts dot1x reauth-period bridge-group description encapsulation access-list radius-server tacacs-server bridge line copy dir request install duplex world-mode wlccp security domain-name dns-server netbios-name-server netbios-node-type default-router lease client-identifier mls diagnostic spanning-tree switchport errdisable channel-group sntp route-map ntp service-policy policy-map class police class-map router startup-config banner wr storm-control autostate rsa vtp</Keywords>
<Keywords name="Keywords3" id="18">no deny timeout inactive exec-timeout session-timeout output outside out exceed-action drop expired failure stop-record boot-end-marker error reset end shutdown shut system-shutdown exit none down removed</Keywords>
<Keywords name="Keywords4" id="19">permit RW RO enable generate verify en gt any full match active in conform-action transmit receive reload clean established success boot-start-marker on up set</Keywords>
<Keywords name="Keywords5" id="20">Ethernet eth FastEthernet fa GigabitEthernet gi gig TenGigabitEthernet te TwentyFiveGigE tw FortyGigabitEthernet fo HundredGigabitEthernet HundredGigE hu Loopback lo port-channel po stopbits Vlan scrypt sha256 default-gateway BVI Dot11Radio synchronous snooping sticky psecure-violation include inc ospf bgp eigrp option negotiation link</Keywords>
<Keywords name="Keywords6" id="21">www smtp snmp snmp-server telnet ssh ipv4 ipv6 ftp echo dscp isakmp nntp gopher pop3 ident ftp-data sonet default log-input all</Keywords>
<Keywords name="Keywords1" id="16">group clock server radius new-model domain name subnet-zero upgrade system timestamps debug datetime msec log version ver secret sec privilege pri priv pad ssid open guest-mode address route-cache mode wep optional ciphers tkip wep128 change membership-termination capability-change local cck ofdm client station-role root fallback threshold subscriber-loop-control block-unknown-source source-learning unicast-flooding password authorization authentication login community contact cdp arp advertise-v2 host missing Service-Type acct-port auth-port key vsa send route con vty aux run http help-path source-interface logging transport trap source-learning spanning-disabled Guest Access voice bpduguard port-security recovery protected dot1Q dhcp client-id access-group traps tty udp eq bootps tcp tftp accounting network router-id start-stop session-id common exec irb key-management wpa eap dot11d country PT indoor v3 auth write view iso included location chassis-id ap authentication-server wds infrastructure priority wnm excluded-address passwords min-length auth-proxy conflict h-node pool range ra trunk native aes-ccm linkdown linkup coldstart warmstart entity disassociate deauthenticate authenticate-fail dot11-qos switch-over rogue-ap wlan-wep config syslog cpu aaa_server udp-port timezone summer-time Z recurring broadcast nat inside source static extendable translation translations tcp-timeout finrst-timeout flow ingress forward-protocol classless time netbios-ns netbios-dgm tacacs bootpc next-hop secure-server cache flow-export destination flow-aggregation entries helper-address redirects secondary traffic-filter allocation policy ascending access-log ratelimit extended cs4 icmp admission proxy page file connection resource console uptime localtime password-encryption counters max age compress-config general-prefix unicast-routing netflow usage crypto pki trustpoint certificate chain enrollment selfsigned subject-name revocation-check rsakeypair cef action device tracking rp nde-address qos self-signed list bootup level minimal flowcontrol bus auto pvst redundancy main-cpu auto-sync running-config sso snmptrap ipsec nat-transparency udp-encaps control-plane dial-peer cor custom update-calendar prefer basic- summary-address nonegotiate dead-criteria tries update newinfo mgmt </Keywords>
<Keywords name="Keywords2" id="17">aaa hostname vrf configure conf username algorithm-type ip mpls boot service dot11 mbssid interface stackwise-virtual int encryption broadcast-key speed power channel rts dot1x reauth-period bridge-group description encapsulation access-list radius-server tacacs-server bridge line copy dir request install duplex world-mode wlccp security domain-name dns-server netbios-name-server netbios-node-type default-router lease client-identifier mls diagnostic spanning-tree switchport errdisable channel-group sntp route-map ntp service-policy policy-map class police class-map router startup-config banner wr storm-control autostate rsa vtp </Keywords>
<Keywords name="Keywords3" id="18">no deny timeout inactive exec-timeout session-timeout output outside out exceed-action drop expired failure stop-record boot-end-marker error reset end shutdown shut system-shutdown exit none down removed </Keywords>
<Keywords name="Keywords4" id="19">permit RW RO enable generate verify en gt any full match active in conform-action transmit receive reload clean established success boot-start-marker on up set </Keywords>
<Keywords name="Keywords5" id="20">Ethernet eth FastEthernet fa GigabitEthernet gi gig TenGigabitEthernet te TwentyFiveGigE tw FortyGigabitEthernet fo HundredGigabitEthernet HundredGigE hu Loopback lo port-channel po stopbits Vlan scrypt sha256 default-gateway BVI Dot11Radio synchronous snooping sticky psecure-violation include inc ospf bgp eigrp option negotiation link </Keywords>
<Keywords name="Keywords6" id="21">www smtp snmp snmp-server telnet ssh ipv4 ipv6 ftp echo dscp isakmp nntp gopher pop3 ident ftp-data sonet default log-input all </Keywords>
<Keywords name="Keywords7" id="22"></Keywords>
<Keywords name="Keywords8" id="23"></Keywords>
<Keywords name="Delimiters" id="24">00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,20 @@

<br />

> **This is an enhanced version of the User Defined Language (UDL) made by LuisPisco. His UDL can be found [here](https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/UDLs/Cisco_IOS_byLuisPisco.xml).**
> This is an enhanced version of the **User Defined Language (UDL)** made by LuisPisco. His UDL can be found [here](https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/UDLs/Cisco_IOS_byLuisPisco.xml).
After Installing [NotePad++](https://notepad-plus-plus.org/downloads/), place the `Cisco_IOS_XR_byOsamaAbbas.udl.xml` file within the `%AppData%\Notepad++\userDefineLangs` folder, and restart NotePad++.

Files with extensions `.cisco`, `.ios`, `.xr`, `.log`, and `.txt` will automatically use this UDL as their default language when opened with NotePad++.

To change this behavior, open `Cisco_IOS_XR_byOsamaAbbas.udl.xml` file, remove `txt` from `ext` property in `<UserLang>` (See below snippet), save the file, and restart NotePad++.
Files with extensions `.cisco`, `.ios`, `.xr`, `.log`, and `.txt` will automagically use this new UDL as their default language when opened with NotePad++.

To change this behavior:
1. Open `Cisco_IOS_XR_byOsamaAbbas.udl.xml` file.
2. For example, remove `txt` from `ext` property in `<UserLang>`.
```xml
<UserLang name="Cisco IOS XR" ext="cisco ios xr log" udlVersion="3.0">
```
<UserLang name="Cisco IOS XR" ext="cisco ios xr log" udlVersion="2.0">
```
3. Save the UDL file.
4. Restart NotePad++.

## Preview

Expand Down

0 comments on commit 1510258

Please sign in to comment.