| | 1 | = Extreme Networks Switch Configuration Notes = |
| | 2 | [[ShowPath()]] |
| | 3 | |
| | 4 | == VLAN Commands == |
| | 5 | === Creating a new VLAN === |
| | 6 | {{{ |
| | 7 | create vlan <name> |
| | 8 | configure vlan <name> ipaddress <x.x.x.x/y> |
| | 9 | configure vlan <name> tag <tag> |
| | 10 | <configure vlan <name> add ports <1,2,3> untagged> |
| | 11 | <configure vlan <name> add ports <4,5,6> tagged> |
| | 12 | enable ipforwarding vlan <name> |
| | 13 | enable loopback-mode vlan <name> |
| | 14 | configure ospf add vlan <name> area 0.0.0.0 |
| | 15 | |
| | 16 | save |
| | 17 | }}} |
| | 18 | |
| | 19 | |
| | 20 | == BGP Commands == |
| | 21 | === Add Subnet to BGP Announcements === |
| | 22 | {{{ |
| | 23 | configure bgp add network <subnet>/<cidrmask> |
| | 24 | |
| | 25 | save |
| | 26 | }}} |
| | 27 | |
| | 28 | === Remove Subnet to BGP Announcements === |
| | 29 | {{{ |
| | 30 | configure bgp delete network <subnet>/<cidrmask> |
| | 31 | |
| | 32 | save |
| | 33 | }}} |
| | 34 | |
| | 35 | |
| | 36 | === View BGP Announcements === |
| | 37 | {{{ |
| | 38 | show bgp |
| | 39 | }}} |
| | 40 | |
| | 41 | === Next Hop Routing === |
| | 42 | {{{ |
| | 43 | Setting next hop can be done with Policy-Based redirect on Extreme switches. |
| | 44 | |
| | 45 | Please refer page 601 and 602 in EXOS Concepts guides 12.2.1. |
| | 46 | |
| | 47 | (Your version is 12.0.3, but the basic idea is same. Plus 12.2.1 Concept guides has an example configuration.) |
| | 48 | |
| | 49 | |
| | 50 | |
| | 51 | ------<snip>------ |
| | 52 | |
| | 53 | Use the following procedure: |
| | 54 | |
| | 55 | 1 Issue the following command to prevent the redirect IP address from clearing from the IP ARP table |
| | 56 | |
| | 57 | due to a timeout: |
| | 58 | |
| | 59 | enable iparp refresh |
| | 60 | |
| | 61 | 2 Configure the ACL, either applying an ACL policy file similar to the example, or a Dynamic ACL. |
| | 62 | |
| | 63 | 3 Ping or send traffic so that the redirect IP adjacency is resolved. |
| | 64 | |
| | 65 | You may want to create a static ARP entry for the redirect IP address, so that there will always be a |
| | 66 | |
| | 67 | cache entry. |
| | 68 | |
| | 69 | ------<snip>------ |
| | 70 | |
| | 71 | |
| | 72 | |
| | 73 | Below is examples for step 2. |
| | 74 | |
| | 75 | |
| | 76 | |
| | 77 | If you would like to redirect any traffic coming from 10.0.0.1 to 3.3.3.2 .. |
| | 78 | |
| | 79 | (Or say, to configure the next hop of any packets with 10.0.0.1 as SA to 3.3.3.2) |
| | 80 | |
| | 81 | |
| | 82 | |
| | 83 | This is an example of the policy file, “redirect_10.cfg”. |
| | 84 | |
| | 85 | |
| | 86 | |
| | 87 | entry redirect_10 { |
| | 88 | |
| | 89 | if match all { |
| | 90 | |
| | 91 | source-address 10.0.0.1; |
| | 92 | |
| | 93 | } then { |
| | 94 | |
| | 95 | redirect 3.3.3.2; |
| | 96 | |
| | 97 | } |
| | 98 | |
| | 99 | } |
| | 100 | |
| | 101 | |
| | 102 | |
| | 103 | This is an example when you apply “redirect_10.cfg” on the switch globally. |
| | 104 | |
| | 105 | #configure access-list redirect_10 any |
| | 106 | |
| | 107 | (any packets with 10.0.0.1 as SA ingress’ing to the switch will be redirected to 3.3.3.2) |
| | 108 | }}} |
| | 109 | |